You can subscribe to this list here.
| 2012 |
Jan
|
Feb
(214) |
Mar
(139) |
Apr
(198) |
May
(187) |
Jun
(151) |
Jul
(210) |
Aug
(169) |
Sep
(58) |
Oct
(53) |
Nov
(54) |
Dec
(301) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2013 |
Jan
(348) |
Feb
(178) |
Mar
(219) |
Apr
(154) |
May
(117) |
Jun
(194) |
Jul
(61) |
Aug
(132) |
Sep
(121) |
Oct
(110) |
Nov
(11) |
Dec
(18) |
| 2014 |
Jan
(34) |
Feb
(50) |
Mar
(82) |
Apr
(98) |
May
(39) |
Jun
(111) |
Jul
(67) |
Aug
(36) |
Sep
(33) |
Oct
(26) |
Nov
(53) |
Dec
(44) |
| 2015 |
Jan
(29) |
Feb
(47) |
Mar
(25) |
Apr
(19) |
May
(23) |
Jun
(20) |
Jul
(49) |
Aug
(7) |
Sep
(10) |
Oct
(10) |
Nov
(4) |
Dec
(25) |
| 2016 |
Jan
(8) |
Feb
(7) |
Mar
(1) |
Apr
|
May
(3) |
Jun
|
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
(7) |
Dec
(5) |
| 2017 |
Jan
(4) |
Feb
|
Mar
|
Apr
|
May
(15) |
Jun
|
Jul
(18) |
Aug
(24) |
Sep
|
Oct
(14) |
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
(22) |
Mar
|
Apr
(11) |
May
(1) |
Jun
(17) |
Jul
(2) |
Aug
(2) |
Sep
|
Oct
(6) |
Nov
(5) |
Dec
|
| 2019 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
| 2025 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <txm...@us...> - 2014-04-12 21:28:10
|
Revision: 12442
http://sourceforge.net/p/xoops/svn/12442
Author: txmodxoops
Date: 2014-04-12 21:28:01 +0000 (Sat, 12 Apr 2014)
Log Message:
-----------
Updated
Modified Paths:
--------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/building.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/tables.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/abstractfiles.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_footer.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_header.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_index.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_menu.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_pages.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_permissions.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_templates.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks_files.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks_templates.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/class_files.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/css_styles.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/docs_files.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/file.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/form_elements.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/htmlsmartycodes.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_comments.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_common.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_functions.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_install.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_jquery.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_notifications.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_search.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language_admin.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language_blocks.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language_main.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language_modinfo.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/sql_file.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates_footer.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates_header.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates_index.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_footer.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_header.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_index.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_pages.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_templates.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_xoopsversion.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/tables.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/language/english/admin.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/sql/mysql.sql
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_fields.html
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_modules.html
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_tables.html
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/xoops_version.php
Added Paths:
-----------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_objects.php
Removed Paths:
-------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/fields_parameters.php
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/building.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/building.php 2014-04-11 11:35:06 UTC (rev 12441)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/building.php 2014-04-12 21:28:01 UTC (rev 12442)
@@ -56,6 +56,16 @@
default:
$template_main = 'tdmcreate_building.html';
$GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('building.php'));
+ // Redirect if there aren't modules
+ $nb_modules = $modulesHandler->getObjects(null);
+ if ( $nb_modules == 0 ) {
+ redirect_header('modules.php?op=new', 2, _AM_TDMCREATE_NOTMODULES );
+ }
+ // Redirect if there aren't tables
+ $nb_tables = $tablesHandler->getObjects(null);
+ if ($nb_tables == 0) {
+ redirect_header('tables.php?op=new', 2, _AM_TDMCREATE_NOTTABLES );
+ }
include_once TDMC_PATH . '/class/building.php';
$handler = TDMCreateBuilding::getInstance();
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php 2014-04-11 11:35:06 UTC (rev 12441)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php 2014-04-12 21:28:01 UTC (rev 12442)
@@ -27,9 +27,9 @@
$table_nbfields = TDMCreate_CleanVars($_REQUEST, 'table_nbfields');
$table_fieldname = TDMCreate_CleanVars($_REQUEST, 'table_fieldname', '', 'string');
// Get field Variables
-$field_id = TDMCreate_CleanVars($_REQUEST, 'field_id');
+$field_id = TDMCreate_CleanVars($_REQUEST, 'field_id', 0);
+$field_mid = TDMCreate_CleanVars($_REQUEST, 'field_mid');
$field_tid = TDMCreate_CleanVars($_REQUEST, 'field_tid');
-$field_mid = TDMCreate_CleanVars($_REQUEST, 'field_mid');
$field_numb = TDMCreate_CleanVars($_REQUEST, 'field_numb');
$field_name = TDMCreate_CleanVars($_REQUEST, 'field_name', '', 'string');
//
@@ -49,21 +49,29 @@
$GLOBALS['xoopsTpl']->assign('tdmc_url', TDMC_URL);
$GLOBALS['xoopsTpl']->assign('tdmc_upload_url', TDMC_UPLOAD_URL);
$GLOBALS['xoopsTpl']->assign('pathIcon32', $pathIcon32);
+ // Redirect if there aren't modules
+ $nb_modules = $modulesHandler->getObjects(null);
+ if ( $nb_modules == 0 ) {
+ redirect_header('modules.php?op=new', 2, _AM_TDMCREATE_NOTMODULES );
+ }
// Get the list of tables
$criteria = new CriteriaCompo();
$criteria->add(new Criteria('table_mid', $table_mid));
$criteria->setSort('table_id ASC, table_name');
$criteria->setOrder('ASC');
- $nb_tables = $tablesHandler->getCount();
+ $nb_tables = $tablesHandler->getCount($criteria);
$tables_arr = $tablesHandler->getAll($criteria);
unset($criteria);
+ if ($nb_tables == 0) {
+ redirect_header('tables.php?op=new', 2, _AM_TDMCREATE_NOTTABLES );
+ }
if ($nb_tables > 0)
{
foreach (array_keys($tables_arr) as $t)
{
$table['id'] = $t;
$table['mid'] = $tables_arr[$t]->getVar('table_mid');
- $table['name'] = $tables_arr[$t]->getVar('table_name');
+ $table['name'] = ucfirst($tables_arr[$t]->getVar('table_name'));
$table['image'] = $tables_arr[$t]->getVar('table_image');
$table['nbfields'] = $tables_arr[$t]->getVar('table_nbfields');
$table['blocks'] = $tables_arr[$t]->getVar('table_blocks');
@@ -73,9 +81,33 @@
$table['search'] = $tables_arr[$t]->getVar('table_search');
$table['comments'] = $tables_arr[$t]->getVar('table_comments');
$table['notifications'] = $tables_arr[$t]->getVar('table_notifications');
- $table['permissions'] = $tables_arr[$t]->getVar('table_permissions');
- $GLOBALS['xoopsTpl']->append('tables_list', $table);
- unset($mod);
+ $table['permissions'] = $tables_arr[$t]->getVar('table_permissions');
+ // Get the list of tables
+ $criteria = new CriteriaCompo();
+ $criteria->add(new Criteria('field_mid', $field_mid));
+ $criteria->add(new Criteria('field_tid', $t));
+ $criteria->setSort('field_id ASC, field_name');
+ $criteria->setOrder('ASC');
+ $nb_fields = $fieldsHandler->getCount($criteria);
+ $fields_arr = $fieldsHandler->getAll($criteria);
+ unset($criteria);
+ // Display tables list
+ $fields = array();
+ if ( $nb_fields > 0 )
+ {
+ foreach (array_keys($fields_arr) as $f)
+ {
+ $field['id'] = $f;
+ $field['mid'] = $fields_arr[$f]->getVar('field_mid');
+ $field['tid'] = $fields_arr[$f]->getVar('field_tid');
+ $field['name'] = str_replace('_', ' ', ucfirst($fields_arr[$f]->getVar('field_name')));
+ $fields[] = $field;
+ unset($field);
+ }
+ }
+ $table['fields'] = $fields;
+ $GLOBALS['xoopsTpl']->append('tables_list', $table);
+ unset($table);
}
if ( $nb_tables > $limit ) {
include_once XOOPS_ROOT_PATH . '/class/pagenav.php';
@@ -83,7 +115,7 @@
$GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav(4));
}
} else {
- $GLOBALS['xoopsTpl']->assign('error', 'Add, Edit or List View in Tables');
+ $GLOBALS['xoopsTpl']->assign('error', 'Add, Edit or List View in Fields');
}
break;
@@ -96,47 +128,47 @@
$GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton());
$obj =& $fieldsHandler->create();
- $form = $obj->getForm($field_mid, $field_tid, $field_numb, $field_name);
+ $form = $obj->getForm($field_tid, $field_mid, $field_numb, $field_name);
$GLOBALS['xoopsTpl']->assign('form', $form->render());
break;
case 'save':
if ( !$GLOBALS['xoopsSecurity']->check() ) {
redirect_header('fields.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors()));
- }
- if (isset($field_id)) {
- $obj =& $fieldsHandler->get($field_id);
- } else {
- $obj =& $fieldsHandler->create();
- }
- //Form fields
- $obj->setVars(array('field_mid' => $table_mid,
- 'field_tid' => $table_id,
- 'field_name' => $_POST['field_name'],
- 'field_numb' => $table_nbfields,
- 'field_type' => $_POST['field_type'],
- 'field_value' => $_POST['field_value'],
- 'field_attribute' => $_POST['field_attribute'],
- 'field_null' => $_POST['field_null'],
- 'field_default' => $_POST['field_default'],
- 'field_key' => $_POST['field_key'],
- 'field_autoincrement' => (($_REQUEST['field_autoincrement'] == 1) ? '1' : '0'),
- 'field_element' => $_REQUEST['fieldelement_name'],
- 'field_inlist' => (($_REQUEST['field_inlist'] == 1) ? '1' : '0'),
- 'field_inform' => (($_REQUEST['field_inform'] == 1) ? '1' : '0'),
- 'field_admin' => (($_REQUEST['field_admin'] == 1) ? '1' : '0'),
- 'field_user' => (($_REQUEST['field_user'] == 1) ? '1' : '0'),
- 'field_block' => (($_REQUEST['field_block'] == 1) ? '1' : '0'),
- 'field_main' => (($_REQUEST['field_main'] == 1) ? '1' : '0'),
- 'field_search' => (($_REQUEST['field_search'] == 1) ? '1' : '0'),
- 'field_required' => (($_REQUEST['field_required'] == 1) ? '1' : '0')
- )
- );
-
- if ($fieldsHandler->insert($obj)) {
+ }
+ if (isset($field_id)) {
+ $obj =& $fieldsHandler->get($field_id);
+ } else {
+ $obj =& $fieldsHandler->create();
+ }
+ for( $i = 0; $i < $table_nbfields; $i++ ) {
+ $obj->setVars(array('field_mid' => $table_mid[$i],
+ 'field_tid' => $table_id[$i],
+ 'field_numb' => $table_nbfields[$i],
+ 'field_name' => $_POST['field_name'][$i],
+ 'field_type' => $_POST['field_type'][$i],
+ 'field_value' => $_POST['field_value'][$i],
+ 'field_attribute' => $_POST['field_attribute'][$i],
+ 'field_null' => $_POST['field_null'][$i],
+ 'field_default' => $_POST['field_default'][$i],
+ 'field_key' => $_POST['field_key'][$i],
+ 'field_autoincrement' => (($_REQUEST['field_autoincrement'][$i] == 1) ? '1' : '0'),
+ 'field_element' => $_REQUEST['fieldelement_name'][$i],
+ 'field_inlist' => (($_REQUEST['field_inlist'][$i] == 1) ? '1' : '0'),
+ 'field_inform' => (($_REQUEST['field_inform'][$i] == 1) ? '1' : '0'),
+ 'field_admin' => (($_REQUEST['field_admin'][$i] == 1) ? '1' : '0'),
+ 'field_user' => (($_REQUEST['field_user'][$i] == 1) ? '1' : '0'),
+ 'field_block' => (($_REQUEST['field_block'][$i] == 1) ? '1' : '0'),
+ 'field_main' => (($i == $_REQUEST['field_main']) ? '1' : '0'),
+ 'field_search' => (($_REQUEST['field_search'][$i] == 1) ? '1' : '0'),
+ 'field_required' => (($_REQUEST['field_required'][$i] == 1) ? '1' : '0')
+ )
+ );
+ }
+ if ($fieldsHandler->insert($obj)) {
redirect_header('fields.php', 2, _AM_TDMCREATE_FORMOK);
}
- echo $obj->getHtmlErrors();
+ $GLOBALS['xoopsTpl']->assign('error', $obj->getHtmlErrors());
$form = $obj->getForm();
$GLOBALS['xoopsTpl']->assign('form', $form->render());
break;
@@ -151,7 +183,7 @@
$GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton());
$obj = $fieldsHandler->get($field_id);
- $form = $obj->getForm($field_mid, $field_tid, $field_numb, $field_name);
+ $form = $obj->getForm($field_tid, $field_mid, $field_numb, $field_name);
$GLOBALS['xoopsTpl']->assign('form', $form->render());
break;
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/tables.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/tables.php 2014-04-11 11:35:06 UTC (rev 12441)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/tables.php 2014-04-12 21:28:01 UTC (rev 12442)
@@ -49,15 +49,15 @@
$criteria = new CriteriaCompo();
$criteria->setSort('mod_id ASC, mod_name');
$criteria->setOrder('ASC');
- $numrows_modules = $modulesHandler->getCount();
+ $nb_modules = $modulesHandler->getCount($criteria);
// Redirect if there aren't modules
- /*if ( $numrows_modules == 0 ) {
+ if ( $nb_modules == 0 ) {
redirect_header('modules.php?op=new', 2, _AM_TDMCREATE_NOTMODULES );
- } */
+ }
$mods_arr = $modulesHandler->getAll($criteria);
unset($criteria);
// Display modules list
- if ( $numrows_modules > 0 )
+ if ( $nb_modules > 0 )
{
foreach (array_keys($mods_arr) as $i)
{
@@ -75,12 +75,12 @@
$criteria->add(new Criteria('table_mid', $i));
$criteria->setSort('table_id ASC, table_name');
$criteria->setOrder('ASC');
- $numrows_tables = $tablesHandler->getCount();
+ $nb_tables = $tablesHandler->getCount($criteria);
$tables_arr = $tablesHandler->getAll($criteria);
unset($criteria);
// Display tables list
$tables = array();
- if ( $numrows_tables > 0 )
+ if ( $nb_tables > 0 )
{
foreach (array_keys($tables_arr) as $t)
{
@@ -101,7 +101,7 @@
unset($table);
}
}
- $mod['tables'] = $tables;
+ $mod['tables'] = $tables;
$GLOBALS['xoopsTpl']->append('modules_list', $mod);
unset($mod);
}
@@ -137,15 +137,12 @@
$obj =& $tablesHandler->create();
}
// Verification if name table exist
- $criteria = new CriteriaCompo();
- $criteria->add(new Criteria('table_name', $obj->getVar('table_name')));
- $criteria->add(new Criteria('table_mid', $mod_id), 'AND');
- $table_name_search = $tablesHandler->getAll($criteria);
- unset($criteria);
+ $table_name_search = $tablesHandler->getObjects(null);
foreach (array_keys($table_name_search) as $t)
{
- if ( $_POST['table_name'] === $table_name_search[$t]->getVar('table_name') ) {
- redirect_header('tables.php?op=new', 5, _AM_TDMCREATE_ERROR_TABLE_NAME_EXIST);
+ if( ($table_name_search[$t]->getVar('table_name') === $_POST['table_name']) &&
+ ($table_name_search[$t]->getVar('table_mid') === $table_mid)) {
+ redirect_header('tables.php?op=new', 8, sprintf(_AM_TDMCREATE_ERROR_TABLE_NAME_EXIST, $_POST['table_name']));
}
}
// Form save tables
@@ -188,8 +185,9 @@
if( $tablesHandler->insert($obj) ) {
if( $obj->isNew() ) {
- $field_tid = $GLOBALS['xoopsDB']->getInsertId();
- redirect_header('fields.php?op=new&field_mid='.$table_mid.'&field_tid='.$field_tid.'&field_numb='.$table_nbfields.'&field_name='.$table_fieldname, 3, _AM_TDMCREATE_FORMOK);
+ $table_iid = $GLOBALS['xoopsDB']->getInsertId();
+ $table_action = '&field_mid='.$table_mid.'&field_tid='.$table_iid.'&field_numb='.$table_nbfields.'&field_name='.$table_fieldname;
+ redirect_header('fields.php?op=new'.$table_action, 3, _AM_TDMCREATE_FORMOK);
} else {
redirect_header('tables.php', 3, _AM_TDMCREATE_FORMOK);
}
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php 2014-04-11 11:35:06 UTC (rev 12441)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php 2014-04-12 21:28:01 UTC (rev 12442)
@@ -41,7 +41,7 @@
$this->table = TDMCreateTables::getInstance();
$this->initVar('field_id', XOBJ_DTYPE_INT);
$this->initVar('field_mid', XOBJ_DTYPE_INT);
- $this->initVar('field_tid', XOBJ_DTYPE_INT);
+ $this->initVar('field_tid', XOBJ_DTYPE_INT);
$this->initVar('field_name', XOBJ_DTYPE_TXTBOX);
$this->initVar('field_type', XOBJ_DTYPE_TXTBOX);
$this->initVar('field_value', XOBJ_DTYPE_TXTBOX);
@@ -83,7 +83,7 @@
* @param string $table_fieldname
* @param mixed $action
*/
- public function getForm($table_id = null, $table_mid = null, $table_nbfields = null, $table_fieldname = null, $action = false)
+ public function getForm($f_tid = null, $f_mid = null, $f_numb = null, $f_name = null, $action = false)
{
if ($action === false) {
$action = $_SERVER['REQUEST_URI'];
@@ -92,11 +92,13 @@
$title = $this->isNew() ? sprintf(_AM_TDMCREATE_FIELD_ADD) : sprintf(_AM_TDMCREATE_FIELD_EDIT);
if ($this->isNew()) {
- $field_tid = $table_id;
- $nb_fields = $table_nbfields;
+ $field_tid = $f_tid;
+ $field_mid = $f_mid;
+ $field_numb = $f_numb;
} else {
+ $field_mid = $this->getVar('field_mid');
$field_tid = $this->getVar('field_tid');
- $nb_fields = $this->getVar('field_numb');
+ $field_numb = $this->getVar('field_numb');
}
$form = new TDMCreateThemeForm($title, 'form', $action, 'post', true);
@@ -115,61 +117,61 @@
$form->addElement(new TDMCreateFormLabel('<th>'._AM_TDMCREATE_FIELD_NULL.'</th>'));
$form->addElement(new TDMCreateFormLabel('<th>'._AM_TDMCREATE_FIELD_DEFAULT.'</th>'));
$form->addElement(new TDMCreateFormLabel('<th>'._AM_TDMCREATE_FIELD_KEY.'</th>'));
- $form->addElement(new TDMCreateFormLabel('<th>'._AM_TDMCREATE_FIELD_OTHERS.'</th>'));
+ $form->addElement(new TDMCreateFormLabel('<th>'._AM_TDMCREATE_FIELD_PARAMETERS.'</th>'));
$form->addElement(new TDMCreateFormLabel('</tr></thead>'));
$form->addElement(new TDMCreateFormLabel('<tbody>'));
$class = 'even';
- for($i = 1; $i <= $nb_fields; $i++)
+ for($i = 1; $i <= $field_numb; $i++)
{
$class = $class ? 'odd' : 'even';
$form->addElement(new TDMCreateFormLabel('<tr class="'.$class.'">'));
// Index ID
$form->addElement(new TDMCreateFormLabel('<td class="center">'.$i.'</td>'));
- $field_name = $this->isNew() ? $table_fieldname . '_' : $this->getVar('field_name');
- $field_name = new XoopsFormText(_AM_TDMCREATE_FIELD_NAME, 'field_name', 15, 255, $field_name);
+ $field_name = $this->isNew() ? $f_name . '_' : $this->getVar('field_name');
+ $field_name = new XoopsFormText(_AM_TDMCREATE_FIELD_NAME, 'field_name['.$i.']', 15, 255, $field_name);
// Field Name
$form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_name->render().'</td>'));
// Field Type
$fieldtypeHandler =& xoops_getModuleHandler('fieldtype');
- $fieldtype_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_TYPE, 'field_type', $this->getVar('field_type'));
+ $fieldtype_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_TYPE, 'field_type['.$i.']', $this->getVar('field_type'));
$fieldtype_select->addOptionArray($fieldtypeHandler->getList());
$form->addElement(new TDMCreateFormLabel('<td class="center">'.$fieldtype_select->render().'</td>'));
// Field Value
- $field_value = new XoopsFormText(_AM_TDMCREATE_FIELD_VALUE, 'field_value', 5, 20, $this->getVar('field_value'));
+ $field_value = new XoopsFormText(_AM_TDMCREATE_FIELD_VALUE, 'field_value['.$i.']', 5, 20, $this->getVar('field_value'));
$form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_value->render().'</td>'));
// Field Attributes
$fieldattrsHandler =& xoops_getModuleHandler('fieldattributes');
- $field_attributes_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_TYPE, 'field_attribute', $this->getVar('field_attribute'));
+ $field_attributes_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_TYPE, 'field_attribute['.$i.']', $this->getVar('field_attribute'));
$field_attributes_select->addOptionArray($fieldattrsHandler->getList());
$form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_attributes_select->render().'</td>'));
// Field Null
$fieldnullHandler =& xoops_getModuleHandler('fieldnull');
- $field_null_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_NULL, 'field_null', $this->getVar('field_null'));
+ $field_null_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_NULL, 'field_null['.$i.']', $this->getVar('field_null'));
$field_null_select->addOptionArray($fieldnullHandler->getList());
$form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_null_select->render().'</td>'));
// Field Default
- $field_default = new XoopsFormText(_AM_TDMCREATE_FIELD_DEFAULT, 'field_default', 15, 25, $this->getVar('field_default'));
+ $field_default = new XoopsFormText(_AM_TDMCREATE_FIELD_DEFAULT, 'field_default['.$i.']', 15, 25, $this->getVar('field_default'));
$form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_default->render().'</td>'));
// Field Key
$fieldkeyHandler =& xoops_getModuleHandler('fieldkey');
- $field_key_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_KEY, 'field_key', $this->getVar('field_key'));
+ $field_key_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_KEY, 'field_key['.$i.']', $this->getVar('field_key'));
$field_key_select->addOptionArray($fieldkeyHandler->getList());
$form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_key_select->render().'</td>'));
// Field Autoincrement
if($i == 1) {
$field_autoincrement = $this->isNew() ? 0 : $this->getVar('field_autoincrement');
- $check_field_autoincrement = new XoopsFormCheckBox(' ', 'field_autoincrement', $field_autoincrement);
+ $check_field_autoincrement = new XoopsFormCheckBox(' ', 'field_autoincrement['.$i.']', $field_autoincrement);
$check_field_autoincrement->addOption(1, _AM_TDMCREATE_FIELD_AUTO_INCREMENT);
$form->addElement(new TDMCreateFormLabel('<td>'.$check_field_autoincrement->render().'</td></tr>'));
} elseif($i > 1) {
// Box header row
$parameters_tray = new XoopsFormElementTray('', '<br />');
// Field Elements
- $field_elements_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_ELEMENT_NAME, 'fieldelement_name', $this->getVar('fieldelement_name'));
+ $field_elements_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_ELEMENT_NAME, 'fieldelement_name['.$i.']', $this->getVar('fieldelement_name'));
$field_elements_select->addOptionArray($fieldelementsHandler->getList());
- $criteria = new CriteriaCompo(new Criteria('table_id', $table_id));
- $criteria->add(new Criteria('table_mid', $table_mid));
+ $criteria = new CriteriaCompo(new Criteria('table_id', $f_tid));
+ $criteria->add(new Criteria('table_mid', $f_mid));
$criteria->setSort('table_name');
$criteria->setOrder('ASC');
$table_arr = $tablesHandler->getAll($criteria);
@@ -184,49 +186,53 @@
$parameters_tray->addElement($field_elements_select);
$field_inlist = $this->isNew() ? 0 : $this->getVar('field_inlist');
- $check_field_inlist = new XoopsFormCheckBox(' ', 'field_inlist', $field_inlist);
+ $check_field_inlist = new XoopsFormCheckBox(' ', 'field_inlist['.$i.']', $field_inlist);
$check_field_inlist->addOption(1, _AM_TDMCREATE_FIELD_INLIST);
$parameters_tray->addElement($check_field_inlist);
$field_inform = $this->isNew() ? 0 : $this->getVar('field_inform');
- $check_field_inform = new XoopsFormCheckBox(' ', 'field_inform', $field_inform);
+ $check_field_inform = new XoopsFormCheckBox(' ', 'field_inform['.$i.']', $field_inform);
$check_field_inform->addOption(1, _AM_TDMCREATE_FIELD_INFORM);
$parameters_tray->addElement($check_field_inform);
$field_admin = $this->isNew() ? 0 : $this->getVar('field_admin');
- $check_field_admin = new XoopsFormCheckBox(' ', 'field_admin', $field_admin);
+ $check_field_admin = new XoopsFormCheckBox(' ', 'field_admin['.$i.']', $field_admin);
$check_field_admin->addOption(1, _AM_TDMCREATE_FIELD_ADMIN);
$parameters_tray->addElement($check_field_admin);
$field_user = $this->isNew() ? 0 : $this->getVar('field_user');
- $check_field_user = new XoopsFormCheckBox(' ', 'field_user', $field_user);
+ $check_field_user = new XoopsFormCheckBox(' ', 'field_user['.$i.']', $field_user);
$check_field_user->addOption(1, _AM_TDMCREATE_FIELD_USER);
$parameters_tray->addElement($check_field_user);
$field_block = $this->isNew() ? 0 : $this->getVar('field_block');
- $check_field_block = new XoopsFormCheckBox(' ', 'field_block', $field_block);
+ $check_field_block = new XoopsFormCheckBox('', 'field_block['.$i.']', $field_block);
$check_field_block->addOption(1, _AM_TDMCREATE_FIELD_BLOCK);
$parameters_tray->addElement($check_field_block);
$field_mnfield = $this->isNew() ? 0 : $this->getVar('field_main');
- $field_main = new XoopsFormRadio(' ', 'field_main', $field_mnfield);
- $field_main->addOption( ' ', _AM_TDMCREATE_FIELD_MAINFIELD );
+ $field_main = new XoopsFormRadio('', 'field_main['.$i.']', $field_mnfield);
+ $field_main->addOption( $i, _AM_TDMCREATE_FIELD_MAINFIELD );
$parameters_tray->addElement($field_main);
$field_search = $this->isNew() ? 0 : $this->getVar('field_search');
- $check_field_search = new XoopsFormCheckBox(' ', 'field_search', $field_search);
+ $check_field_search = new XoopsFormCheckBox(' ', 'field_search['.$i.']', $field_search);
$check_field_search->addOption(1, _AM_TDMCREATE_FIELD_SEARCH);
$parameters_tray->addElement($check_field_search);
$field_required = $this->isNew() ? 0 : $this->getVar('field_required');
- $check_field_required = new XoopsFormCheckBox(' ', 'field_required', $field_required);
+ $check_field_required = new XoopsFormCheckBox(' ', 'field_required['.$i.']', $field_required);
$check_field_required->addOption(1, _AM_TDMCREATE_FIELD_REQUIRED);
$parameters_tray->addElement($check_field_required);
$form->addElement(new TDMCreateFormLabel('<td>'.$parameters_tray->render().'</td></tr>'));
- }
+ }
+ $form->addElement(new XoopsFormHidden('field_id['.$i.']', $i));
}
- $form->addElement(new XoopsFormHidden('field_tid', $field_tid));
+
+ $form->addElement(new XoopsFormHidden('field_mid', $field_mid));
+ $form->addElement(new XoopsFormHidden('field_tid', $field_tid));
+ $form->addElement(new XoopsFormHidden('field_numb', $field_numb));
$form->addElement(new TDMCreateFormLabel('</tbody>'));
$form->addElement(new TDMCreateFormLabel('<tfoot><tr>'));
$form_hidden = new XoopsFormHidden('op', 'save');
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/abstractfiles.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/abstractfiles.php 2014-04-11 11:35:06 UTC (rev 12441)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/abstractfiles.php 2014-04-12 21:28:01 UTC (rev 12442)
@@ -53,6 +53,13 @@
* @var mixed
*/
private $table = null;
+
+ /**
+ * "field" attribute of the files
+ *
+ * @var mixed
+ */
+ private $fields = null;
/**
* "folder" attribute of the files
@@ -93,45 +100,88 @@
return $ret;
}
- /**
- * get the "path" attribute for the element
- *
- * @return string "path" attribute value
- */
- public function getPath()
- {
+ /*
+ * @private function setPath
+ * @param string $path
+ */
+ private function setPath($path) {
+ $this->path = $path;
+ }
+
+ /*
+ * @private function getPath
+ * @param null
+ */
+ private function getPath() {
return $this->path;
}
- /**
- * get the "upload_path" attribute for the element
- *
- * @return string "upload_path" attribute value
- */
+ /*
+ * @public function getLocalPath
+ * @param mixed $subdir
+ */
+ public function getLocalPath($subdir = false)
+ {
+ if ($subdir) {
+ $ret = $this->getUploadPath() . DIRECTORY_SEPARATOR . $this->getModuleName() . DIRECTORY_SEPARATOR . $subdir;
+ } else {
+ $ret = $this->getUploadPath() . DIRECTORY_SEPARATOR . $this->getModuleName();
+ }
+ return $ret;
+ }
+
+ /*
+ * @private function setUploadPath
+ * @param string $upload_path
+ */
+ private function setUploadPath($upload_path) {
+ $this->upload_path = $upload_path;
+ }
+
+ /*
+ * @public function getUploadPath
+ * @param null
+ */
public function getUploadPath()
{
return $this->upload_path;
}
-
+
/**
- * get the "upload_path" attribute for the element
- *
- * @return string "upload_path" attribute value
+ * public function setFileName
+ * @param mixed $module
*/
- public function getUploadPath()
+ public function setModule($module)
{
- return $this->upload_path;
+ $this->module = $module;
}
+ /*
+ * @public function getModule
+ * @param null
+ */
+ public function getModule()
+ {
+ return $this->module;
+ }
+
/**
- * get the "file_name" attribute for the element
- *
- * @return string "file_name" attribute value
+ * public function setFileName
+ * @param mixed $file_name
*/
+ public function setFileName($file_name)
+ {
+ $this->file_name = $file_name;
+ }
+
+ /*
+ * @public function getFileName
+ * @param null
+ */
public function getFileName()
{
return $this->file_name;
- }
+ }
/*
* @public function getModuleName
@@ -142,27 +192,82 @@
return $ret;
}
+ /**
+ * public function setTable
+ * @param mixed $table
+ */
+ public function setTable($table)
+ {
+ if (is_array($table)) {
+ foreach($table as $t) {
+ $this->table[] = $t;
+ }
+ } elseif (is_array($this->table)) {
+ $this->table[] = $table;
+ } else {
+ $this->table = $table;
+ }
+ }
+
/*
- * @public function getTableName
+ * @public function getTable
* @param null
*/
- public function getTableName() {
- $ret = $this->table->getVar('table_name');
- return $ret;
+ public function getTable() {
+ if (is_array($this->table)) {
+ $ret = array();
+ foreach ($this->table as $table) {
+ $ret[] = $table;
+ }
+ return $ret;
+ }
}
+ /**
+ * @public function setFields
+ * @param mixed $fields
+ */
+ public function setFields($fields)
+ {
+ if (is_array($fields)) {
+ foreach($fields as $f) {
+ $this->fields[] = $f;
+ }
+ } elseif (is_array($this->fields)) {
+ $this->fields[] = $fields;
+ } else {
+ $this->fields = $fields;
+ }
+ }
+
/*
+ * @public function getFields
+ * @param null
+ */
+ public function getFields() {
+ if (is_array($this->fields)) {
+ $ret = array();
+ foreach ($this->fields as $fields) {
+ $ret[] = $fields;
+ }
+ return $ret;
+ }
+ }
+
+ /*
* @public function getLanguage
* @param string $prefix
* @param string $postfix
*/
public function getLanguage($prefix = '', $postfix = '') {
$lang = '_' . $prefix . '_' . strtoupper($this->module->getVar('mod_name'));
- if(!empty($postfix)) {
+ if(!empty($postfix) || $postfix != '_') {
$ret = $lang . '_' . $postfix;
+ } elseif($postfix == '_') {
+ $ret = $lang . '_';
} else {
$ret = $lang;
- }
+ }
return $ret;
}
@@ -181,8 +286,8 @@
$mod_min_xoops = $this->module->getVar('mod_min_xoops');
$mod_author = $this->module->getVar('mod_author');
$mod_credits = $this->module->getVar('mod_credits');
- $mod_a_m = $this->module->getVar('mod_author_mail');
- $mod_a_w_url = $this->module->getVar('mod_author_website_url');
+ $mod_author_mail = $this->module->getVar('mod_author_mail');
+ $mod_author_website_url = $this->module->getVar('mod_author_website_url');
$mod_license = $this->module->getVar('mod_license');
$mod_subversion = $this->module->getVar('mod_subversion');
$date = date('D Y/m/d G:i:s');
@@ -207,7 +312,7 @@
* @package {$package}
* @since {$mod_since}
* @min_xoops {$mod_min_xoops}
- * @author {$mod_author} <{$mod_a_m}> - <{$mod_a_w_url}>
+ * @author {$mod_author} <{$mod_author_mail}> - <{$mod_author_website_url}>
* @version \$Id: {$mod_version} {$file_name} {$mod_subversion} {$date}Z {$mod_credits} \$
*/\n
EOT;
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_footer.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_footer.php 2014-04-11 11:35:06 UTC (rev 12441)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_footer.php 2014-04-12 21:28:01 UTC (rev 12442)
@@ -23,39 +23,30 @@
class AdminFooter extends TDMCreateFile
{
/*
+ * @var string
+ */
+ private $tdmcfile = null;
+ /*
* @public function constructor
* @param string $modules
*/
public function __construct($module, $file_name) {
$this->tdmcfile = TDMCreateFile::getInstance();
- $this->module = $module;
- $this->file_name = $file_name;
+ $this->setModule($module);
+ $this->setFileName($file_name);
}
/*
- * @public function getSupportName
- * @param null
- */
- public function getSupportName() {
- $ret = $this->module->getVar('mod_support_name');
- return $ret;
- }
- /*
- * @public function getSupportName
- * @param null
- */
- public function getSupportUrl() {
- $ret = $this->module->getVar('mod_support_url');
- return $ret;
- }
- /*
* @public function render
* @param null
*/
public function render() {
- $support_name = $this->getSupportName();
- $support_url = $this->getSupportUrl();
+ $path = $this->getLocalPath('admin');
+ $module = $this->getModule();
+ $filename = $this->getFileName();
+ $support_name = $module->getVar('mod_support_name');
+ $support_url = $module->getVar('mod_support_url');
$language = $this->getLanguage('AM');
- $content = $this->getHeaderFilesComments($module, $file_name).PHP_EOL;
+ $content = $this->getHeaderFilesComments($module, $filename);
$content .= <<<EOT
\necho "<div class='center'><a href='http://www.xoops.org' title='Visit XOOPS' target='_blank'>
<img src='".\$sysPathIcon32."/xoopsmicrobutton.gif' alt='XOOPS' /></a></div>";
@@ -64,7 +55,7 @@
<a href='{$support_url}' title='Visit {$support_name}' class='tooltip' rel='external'>{$support_name}</a></div>";
xoops_cp_footer();
EOT;
- $this->tdmcfile->create($path, $file_name, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ $this->tdmcfile->create($path, $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
return $this->tdmcfile->renderFile();
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_header.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_header.php 2014-04-11 11:35:06 UTC (rev 12441)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_header.php 2014-04-12 21:28:01 UTC (rev 12442)
@@ -23,37 +23,45 @@
class AdminHeader extends TDMCreateFile
{
/*
+ * @var string
+ */
+ private $tdmcfile = null;
+ /*
* @public function constructor
* @param string $module
* @param string $file_name
*/
public function __construct($module, $table, $file_name) {
$this->tdmcfile = TDMCreateFile::getInstance();
- $this->module = $module;
- $this->table = $table;
- $this->file_name = $file_name;
+ $this->setModule($module);
+ $this->setTable($table);
+ $this->setFileName($file_name);
}
/*
* @public function render
* @param null
*/
public function render() {
- $module_name = $this->getModuleName();
+ $path = $this->getLocalPath('admin');
+ $module = $this->getModule();
+ $filename = $this->getFileName();
+ $module_name = $module->getVar('mod_name');
$stl_mod_name = strtolower($module_name);
$ucfmod_name = ucfirst($module_name);
+
$language = $this->getLanguage('AM');
- $content = $this->getHeaderFilesComments($this->module, $this->file_name).PHP_EOL;
+ $content = $this->getHeaderFilesComments($module, $filename);
$content .= <<<EOT
\nrequire_once dirname(dirname(dirname(dirname(__FILE__)))). '/include/cp_header.php';
\$thisPath = dirname(dirname(__FILE__));
include_once \$thisPath.'/include/common.php';
include_once \$thisPath.'/include/functions.php';
EOT;
- if ( $table_name != '' ) {
+ if ( $this->getTable()->getVar('table_name') != '' ) {
$content .= <<<EOT
\ninclude_once \$thisPath.'/class/helper.php';
// Get instance
-\${$stl_mod_name}_Helper = {$ucfmod_name}Helper::getInstance();
+\${$stl_mod_name}Helper = {$ucfmod_name}Helper::getInstance();
EOT;
}
$content .= <<<EOT
@@ -97,7 +105,7 @@
xoops_cp_header();
\$adminMenu = new ModuleAdmin();
EOT;
- $this->tdmcfile->create($path, $file_name, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ $this->tdmcfile->create($path, $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
return $this->tdmcfile->renderFile();
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_index.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_index.php 2014-04-11 11:35:06 UTC (rev 12441)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_index.php 2014-04-12 21:28:01 UTC (rev 12442)
@@ -23,6 +23,10 @@
class AdminIndex extends TDMCreateFile
{
/*
+ * @var string
+ */
+ private $tdmcfile = null;
+ /*
* @public function constructor
* @param string $module
* @param mixed $table
@@ -30,82 +34,47 @@
*/
public function __construct($module, $table, $file_name) {
$this->tdmcfile = TDMCreateFile::getInstance();
- $this->module = $module;
- $this->table = $table;
- $this->file_name = $file_name;
+ $this->setModule($module);
+ $this->setTable($table);
+ $this->setFileName($file_name);
}
/*
* @public function render
* @param null
*/
public function render() {
- $module_name = $this->getModuleName();
+ $path = $this->getLocalPath('admin');
+ $module = $this->getModule();
+ $table = $this->getTable();
+ $filename = $this->getFileName();
+ $module_name = $module->getVar('mod_name');
$language = $this->getLanguage('AM');
- $content = $this->getHeaderFilesComments($this->module, $this->file_name).PHP_EOL;
+ $language_thereare = $this->getLanguage('AM', 'THEREARE_');
+ $content = $this->getHeaderFilesComments($module, $filename);
$content .= <<<EOT
\ninclude_once 'header.php';
EOT;
- foreach (array_keys($this->table) as $i)
+ foreach (array_keys($table) as $i)
{
- $table_name = $this->table[$i]->getVar('table_name');
- $table_fieldname = $this->table[$i]->getVar('table_fieldname');
+ $table_name = $table[$i]->getVar('table_name');
$content .= <<<EOT
\n//count "total {$table_name}"
\$total_{$table_name} = \${$table_name}Handler->getCount();
EOT;
- if(isset($_REQUEST['table_status'])) {
- $content .= <<<EOT
-\n//count "status"
-\$criteria = new CriteriaCompo();
-\$criteria->add(new Criteria("{$table_fieldname}_status", 1));
-\${$table_fieldname}_status = ${$table_name}Handler->getCount(\$criteria);
-EOT;
- }
- if(isset($_REQUEST['table_online'])) {
- $content .= <<<EOT
-\n//count "online"
-\$criteria = new CriteriaCompo();
-\$criteria->add(new Criteria("{$table_fieldname}_online", 1));
-\${$table_fieldname}_online = ${$table_name}Handler->getCount(\$criteria);
-EOT;
- }
- if(isset($_REQUEST['table_waiting'])) {
- $content .= <<<EOT
-\n\$criteria = new CriteriaCompo();
-\$criteria->add(new Criteria("{$table_fieldname}_waiting", 1));
-\${$table_fieldname}_waiting = ${$table_name}Handler->getCount(\$criteria);
-EOT;
- }
}
$content .= <<<EOT
\n// InfoBox Statistics
\$adminMenu->addInfoBox({$language}STATISTICS);
EOT;
- foreach (array_keys($this->table) as $i)
+ foreach (array_keys($table) as $i)
{
- $table_name = $this->table[$i]->getVar('table_name');
- $table_fieldname = $this->table[$i]->getVar('table_fieldname');
- $ta_stutable_name = $thereare.strtoupper($table_name);
- $ta_stutable_fieldname = $thereare.strtoupper($table_fieldname);
+ $table_name = $table[$i]->getVar('table_name');
+ $ta_stutable_name = $language_thereare.strtoupper($table_name);
$content .= <<<EOT
\n// InfoBox {$table_name}
-\$adminMenu->addInfoBoxLine({$language}STATISTICS, {$ta_stutable_name}, \$total_{$table_name});
+\n\$adminMenu->addInfoBoxLine({$language}STATISTICS, {$ta_stutable_name}, \$total_{$table_name});
+\n\$adminMenu->addInfoBoxLine({$language}STATISTICS, {$ta_stutable_name}, \${$table_name});
EOT;
- if(isset($_REQUEST['table_status'])) {
- $content .= <<<EOT
-\n\$adminMenu->addInfoBoxLine({$language}STATISTICS, {$ta_stutable_fieldname}_STATUS, \${$table_fieldname}_status);
-EOT;
- }
- if(isset($_REQUEST['table_online'])) {
- $content .= <<<EOT
-\n\$adminMenu->addInfoBoxLine({$language}STATISTICS, {$ta_stutable_fieldname}_ONLINE, \${$table_fieldname}_online);
-EOT;
- }
- if(isset($_REQUEST['table_waiting'])) {
- $content .= <<<EOT
-\n\$adminMenu->addInfoBoxLine({$language}STATISTICS, {$ta_stutable_fieldname}_WAITING, \${$table_fieldname}_waiting);
-EOT;
- }
}
$content .= <<<EOT
\n// Render Index
@@ -113,7 +82,7 @@
echo \$adminMenu->renderIndex();
include_once 'footer.php';
EOT;
- $this->tdmcfile->create($path, $file_name, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ $this->tdmcfile->create($path, $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
return $this->tdmcfile->renderFile();
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_menu.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_menu.php 2014-04-11 11:35:06 UTC (rev 12441)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_menu.php 2014-04-12 21:28:01 UTC (rev 12442)
@@ -23,6 +23,10 @@
class AdminMenu extends TDMCreateFile
{
/*
+ * @var string
+ */
+ private $tdmcfile = null;
+ /*
* @var bool
*/
private $permissions = false;
@@ -33,9 +37,9 @@
*/
public function __construct($module, $table, $file_name, $permissions = false) {
$this->tdmcfile = TDMCreateFile::getInstance();
- $this->module = $module;
- $this->table = $table;
- $this->file_name = $file_name;
+ $this->setModule($module);
+ $this->setTable($table);
+ $this->setFileName($file_name);
$this->permissions = $permissions;
}
/*
@@ -43,10 +47,13 @@
* @param null
*/
public function render() {
- $module_name = $this->getModuleName();
+ $path = $this->getLocalPath('admin');
+ $module = $this->getModule();
+ $table = $this->getTable();
+ $filename = $this->getFileName();
$language = $this->getLanguage('MI', 'ADMENU');
$menu = 1;
- $content = $this->getHeaderFilesComments($this->module, $this->file_name).PHP_EOL;
+ $content = $this->getHeaderFilesComments($module, $filename);
$content .= <<<EOT
\n\$dirname = basename( dirname( dirname( __FILE__ ) ) ) ;
\$module_handler =& xoops_gethandler('module');
@@ -60,21 +67,19 @@
\$adminmenu[\$i]['icon'] = \$pathIcon32.'/home.png';
\$i++;
EOT;
- $menu++;
- foreach (array_keys($this->_table) as $i)
+ foreach (array_keys($table) as $i)
{
- if ( $this->_table[$i]->getVar('table_admin') == 1 )
- {
+ if ( $table[$i]->getVar('table_admin') == 1 )
+ {
+ $menu++;
$content .= <<<EOT
\n\$adminmenu[\$i]['title'] = {$language}{$menu};
-\$adminmenu[\$i]['link'] = 'admin/{$this->_table[$i]->getVar('table_name')}.php';
-\$adminmenu[\$i]['icon'] = \$pathIcon32.'/{$this->_table[$i]->getVar('table_image')}';
+\$adminmenu[\$i]['link'] = 'admin/{$table[$i]->getVar('table_name')}.php';
+\$adminmenu[\$i]['icon'] = \$pathIcon32.'/{$table[$i]->getVar('table_image')}';
\$i++;
EOT;
- $menu++;
}
}
- $menu--;
if( $this->permissions != false ) {
$menu++;
$content .= <<<EOT
@@ -93,7 +98,7 @@
EOT;
unset( $menu );
- $this->tdmcfile->create($path, $file_name, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ $this->tdmcfile->create($path, $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
return $this->tdmcfile->renderFile();
}
}
\ No newline at end of file
Added: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_objects.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_objects.php (rev 0)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_objects.php 2014-04-12 21:28:01 UTC (rev 12442)
@@ -0,0 +1,105 @@
+<?php
+/*
+ You may not change or alter any portion of this comment or credits
+ of supporting developers from this source code or any supporting source code
+ which is considered copyrighted (c) material of the original comment or credit authors.
+
+ 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.
+ */
+/**
+ * tdmcreate module
+ *
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
+ * @package tdmcreate
+ * @since 2.5.0
+ * @author Txmod Xoops http://www.txmodxoops.org
+ * @version $Id: admin_objects.php 12258 2014-01-02 09:33:29Z timgno $
+ */
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
+
+class AdminObjects
+{
+ /*
+ * @static function &getInstance
+ * @param null
+ */
+ public static function &getInstance()
+ {
+ static $instance = false;
+ if (!$instance) {
+ $instance = new self();
+ }
+ return $instance;
+ }
+ /*
+ * @public function getTextDateSelect
+ * @param null
+ */
+ public function getTextDateSelect($table_name, $field_name) {
+ $ret = <<<EOT
+ \${$table_name}_obj->setVar('{$field_name}', strtotime(\$_REQUEST['{$field_name}']));
+EOT;
+ return $ret;
+ }
+ /*
+ * @public function getCheckBoxOrRadioYN
+ * @param null
+ */
+ public function getCheckBoxOrRadioYN($table_name, $field_name) {
+ $ret = <<<EOT
+ \${$table_name}_obj->setVar('{$field_name}', strtotime(\$_REQUEST['{$field_name}'] == 1) ? '1' : '0');
+EOT;
+ return $ret;
+ }
+ /*
+ * @public function getUploadImage
+ * @param null
+ */
+ public function getUploadImage($module_name, $field_name) {
+ $ret = <<<EOT
+ include_once XOOPS_ROOT_PATH.'/class/uploader.php';
+ \$uploaddir = XOOPS_UPLOAD_PATH.'/{$module_name}/images/{$table_name}/';
+ \$uploader = new XoopsMediaUploader(\$uploaddir, xoops_getModuleOption('mimetypes', '{$module_name}'),
+ xoops_getModuleOption('maxsize', '{$module_name}'), null, null);
+ if (\$uploader->fetchMedia(\$_POST['xoops_upload_file'][0])) {
+ \$uploader->setPrefix('{$field_name}_');
+ \$uploader->fetchMedia(\$_POST['xoops_upload_file'][0]);
+ if (!\$uploader->upload()) {
+ \$errors = \$uploader->getErrors();
+ redirect_header('javascript:history.go(-1)', 3, \$errors);
+ } else {
+ \${$table_name}_obj->setVar('{$field_name}', \$uploader->getSavedFileName());
+ }
+ } else {
+ \${$table_name}_obj->setVar('{$field_name}', \$_REQUEST['{$field_name}']);
+ }
+EOT;
+ return $ret;
+ }
+ /*
+ * @public function getUploadFile
+ * @param null
+ */
+ public function getUploadFile($module_name, $field_name) {
+ $ret = <<<EOT
+ include_once XOOPS_ROOT_PATH.'/class/uploader.php';
+ \$uploaddir = XOOPS_UPLOAD_PATH.'/{$module_name}/files/{$table_name}/';
+ \$uploader = new XoopsMediaUploader(\$uploaddir, xoops_getModuleOption('mimetypes', '{$module_name}'),
+ xoops_getModuleOption('maxsize', '{$module_name}'), null, null);
+ if (\$uploader->fetchMedia(\$_POST['xoops_upload_file'][0])) {
+ \$uploader->setPrefix('{$field_name}_') ;
+ \$uploader->fetchMedia(\$_POST['xoops_upload_file'][0]);
+ if (!\$uploader->upload()) {
+ \$errors = \$uploader->getErrors();
+ redirect_header('javascript:history.go(-1)', 3, \$errors);
+ } else {
+ \${$table_name}_obj->setVar('{$field_name}', \$uploader->getSavedFileName());
+ }
+ }
+EOT;
+ return $ret;
+ }
+}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_pages.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_pages.php 2014-04-11 11:35:06 UTC (rev 12441)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_pages.php 2014-04-12 21:28:01 UTC (rev 12442)
@@ -23,44 +23,52 @@
class AdminPages extends TDMCreateFile
{
/*
+ * @var string
+ */
+ private $tdmcfile = null;
+ /*
* @public function constructor
* @param string $module
* @param string $file_name
*/
public function __construct($module, $table, $file_name) {
$this->tdmcfile = TDMCreateFile::getInstance();
- $this->module = $module;
- $this->table = $table;
- $this->file_name = $file_name;
+ $this->setModule($module);
+ $this->setTable($table);
+ $this->setFileName($file_name);
}
+
/*
- * @public function render
- * @param null
+ * @public function getAdminPagesHeader
+ * @param string $mod_name
+ * @param string $table_name
*/
- public function render() {
- $module_name = $this->getModuleName();
- $language = $this->getLanguage('AM');
- $content = $this->getHeaderFilesComments($this->module, $this->file_name).PHP_EOL;
- $content .= <<<EOT
+ public function getAdminPagesHeader($mod_name, $table_name) {
+
+ $ret .= <<<EOT
\ninclude_once 'header.php';
//It recovered the value of argument op in URL$
\$op = {$mod_name}_CleanVars(\$_REQUEST, 'op', 'list', 'string');
-EOT;
- if(isset($_REQUEST['table_waiting'])) {
- $content .= <<<EOT
-\n// the number of loading not validated
-\$criteria = new CriteriaCompo();
-\$criteria->add(new Criteria('{$table_fieldname}_waiting', 0));
-\${$table_fieldname}_waiting = \${$table_name}Handler->getCount(\$criteria);
-EOT;
-}
- $content .= <<<EOT
\n\necho \$adminMenu->addNavigation('{$table_name}.php');
switch (\$op)
-{
+{\n
+EOT;
+ return $ret;
+ }
+
+ /*
+ * @public function getAdminPagesList
+ * @param string $table_name
+ * @param string $language
+ */
+ public function getAdminPagesList($table_name, $language) {
+ $stu_table_name = strtoupper($table_name);
+ $ret .= <<<EOT
case 'list':
default:
+ \$limit = xoops_getModuleOption('adminpager');
+ \$start = TDMCreate_CleanVars(\$_REQUEST, 'start', 0);
\$adminMenu->addItemButton({$language}_ADD_{$stu_table_name}, '{$table_name}.php?op=new', 'add');
echo \$adminMenu->renderButton();
\$criteria = new CriteriaCompo();
@@ -68,161 +76,49 @@
\$criteria->setOrder('ASC');
\${$table_name}_rows = \${$table_name}Handler->getCount();
\${$table_name}_arr = \${$table_name}Handler->getAll(\$criteria);
-EOT;
- $fcn = const_show_fields_parameters($mod_name, $table_name, $table_fieldname, $nb_fields, $fields_total, $fpif, $fpda, $fpe, $fpmf, $language, '', 0);
- if ( $table_category != 1 )
- {
- $content .= <<<EOT
- \n\t\t// Table view
- if (\${$table_name}_rows > 0)
- {
- echo "<table width='100%' cellspacing='1' class='outer'>
- <tr>
-EOT;
- $content .= $fcn;
- $content .= <<<EOT
-\n\t\t\t\t\t<th class='center width5'>".{$language}_FORMACTION."</th>
- </tr>";
-
- \$class = "odd";
-
- foreach (array_keys(\${$table_name}_arr) as \$i)
- {
- echo "<tr class='".\$class."'>";
- \$class = (\$class == "even") ? "odd" : "even";\n
-EOT;
- $fields_data = const_show_fields_parameters($mod_name, $table_name, $table_fieldname, $nb_fields, $fields_total, $fpif, $fpda, $fpe, $fpmf, $language, '', 1);
-
- $content .= $fields_data;
- $content .= <<<EOT
-\n\t\t\t\t\techo "<td class='center width5'>
- <a href='{$table_name}.php?op=edit&{$fpif}=".\$i."'><img src=".\$sysPathIcon16."/edit.png alt='"._EDIT."' title='"._EDIT."'></a>
- <a href='{$table_name}.php?op=delete&{$fpif}=".\$i."'><img src=".\$sysPathIcon16."/delete.png alt='"._DELETE."' title='"._DELETE."'></a>
- </td>";
- echo "</tr>";
- }
- echo "</table><br /><br />";
- } else {
- echo "<table width='100%' cellspacing='1' class='outer'>
- <tr>
-EOT;
- $content .= $fcn;
- $content .= <<<EOT
-\n\t\t\t\t\t<th class='center width5'>".{$language}_FORMACTION."</th>
- </tr><tr><td class='errorMsg' colspan='{$nb_fields}'>There are no {$table_name}</td></tr>";
- echo "</table><br /><br />";
- }
-EOT;
- } else {
- $content .= <<<EOT
-\n\t\t// Display function that allows children categories
- function {$mod_name}_children(\$cat_id = 0, \${$table_name}_arr, \$prefix = "", \$order = "", &\$class)
- {
- global \$pathIcon16;
- \$categoriesHandler =& xoops_getModuleHandler("{$mod_name}_categories", "{$mod_name}");
- \$icon = \$prefix."<img src='".'.strtoupper(\$mod_name).'_URL."/images/icons/16/arrow.gif'>";
- foreach (array_keys(\$categories_arr) as \$i)
- {
- \$cat_id = \$categories_arr[\$i]->getVar('cat_id');
- \$cat_image = \$categories_arr[\$i]->getVar('cat_image');
- \$cat_title = \$categories_arr[\$i]->getVar('cat_title');
- \$cat_weight = \$categories_arr[\$i]->getVar('cat_weight');
- echo "<tr class='".\$class."'>";\n
-EOT;
- $content .= const_show_fields_parameters($mod_name, $table_name, $table_fieldname, $nb_fields, $fields_total, $fpif, $fpda, $fpe, $fpmf, $language, '', 1);
- $content .= <<<EOT
-\n\t\t\t\t\techo "<td class='center width5'>
- <a href='{$table_name}.php?op=edit&{$fpif}=".\$i"'><img src=".\$sysPathIcon16."/edit.png alt='"._EDIT."' title='"._EDIT."'></a>
- <a href='{$table_name}.php?op=delete&{$fpif}=".\$i"'><img src=".\$sysPathIcon16."/delete.png alt='"._DELETE."' title='"._DELETE."'></a>
- </td>
- </tr>";
- \$class = (\$class == "even") ? "odd" : "even";
- \$criteria = new CriteriaCompo();
- \$criteria->add(new Criteria("{$table_fieldname}_pid", \${$table_name}_arr[\$i]->getVar('{$table_fieldname}_id')));
- \$criteria->setSort('{$table_fieldname}_title');
- \$criteria->setOrder("ASC");
- \$category_pid = \${$table_name}Handler->getall(\$criteria);
- \$num_pid = \${$table_name}Handler->getCount();
- if ( \$num_pid != 0 )
- {
- {$mod_name}_children(\$cat_id, \$category_pid, \$icon, \$order, \$class);
- }
- }
- }
+ unset(\$criteria);
// Table view
if (\${$table_name}_rows > 0)
- {
- echo "<table width='100%' cellspacing='1' class='outer'>
- <tr>
-EOT;
- $fcn = const_show_fields_parameters($mod_name, $table_name, $table_fieldname, $nb_fields, $fields_total, $fpif, $fpda, $fpe, $fpmf, $language, '', 0);
- $content .= $fcn;
- $content .= <<<EOT
-\n\t\t\t\t\t<th class='center width5'>".{$language}_FORMACTION."</th>
- </tr>";
- \$class = "odd";
- \$icon = "<img src='".{$stu_mod_name}_URL."/images/icons/16/arrow.gif'>";
+ {
foreach (array_keys(\${$table_name}_arr) as \$i)
- {
- if ( \${$table_name}_arr[\$i]->getVar('{$table_fieldname}_pid') == 0 )
- {
- \$cat_id = \${$table_name}_arr[\$i]->getVar('{$table_fieldname}_id');
- \$category_image = \${$table_name}_arr[\$i]->getVar('{$table_fieldname}_image');
- \$category_title = \${$table_name}_arr[\$i]->getVar('{$table_fieldname}_title');
- \$category_weight = \${$table_name}_arr[\$i]->getVar('{$table_fieldname}_weight');
- echo "<tr class='".\$class."'>";\n
-EOT;
- $fields_data = const_show_fields_parameters($mod_name, $table_name, $table_fieldname, $nb_fields, $fields_total, $fpif, $fpda, $fpe, $fpmf, $language, 1, 1);
-
- $content .= $fields_data;
- $content .= <<<EOT
-\n\t\t\t\t\techo "<td class='center width5'>
- <a href='{$table_name}.php?op=edit&{$fpif}=".\$i"'><img src=".\$sysPathIcon16."/edit.png alt='"._EDIT."' title='"._EDIT."'></a>
- <a href='{$table_name}.php?op=delete&{$fpif}=".\$i"'><img src=".\$sysPathIcon16."/delete.png alt='"._DELETE."' title='"._DELETE."'></a>
- </td>
- </tr>";
- \$class = (\$class == "even") ? "odd" : "even";
- \$criteria = new CriteriaCompo();
- \$criteria->add(new Criteria("{$table_fieldname}_pid", \$cat_id));
- \$criteria->setSort("{$table_fieldname}_title");
- \$criteria->setOrder("ASC");
- \$category_pid = \${$table_name}Handler->getall(\$criteria);
- \$num_pid = \${$table_name}Handler->getCount();
-
- if ( \$num_pid != 0)
- {
- {$mod_name}_children(\$cat_id, \$category_pid, \$icon, '{$table_fieldname}_title', \$class);
- }
- }
+ {
+ \${$table_name}['mid'] = \${$table_name}_arr[\$i]->getVar('table_mid');
}
- echo "</table><br /><br />";
- } else {
- echo "<table width='100%' cellspacing='1' class='outer'>
- <tr>
+ }
+ break;
EOT;
- $fcn = const_show_fields_parameters($mod_name, $table_name, $table_fieldname, $nb_fields, $fields_total, $fpif, $fpda, $fpe, $fpmf, $language, '', 0);
- ...
[truncated message content] |
|
From: <be...@us...> - 2014-04-11 11:35:08
|
Revision: 12441
http://sourceforge.net/p/xoops/svn/12441
Author: beckmi
Date: 2014-04-11 11:35:06 +0000 (Fri, 11 Apr 2014)
Log Message:
-----------
Update for XOOPS 2.5.7
Modified Paths:
--------------
XoopsLanguages/german/core/2.5.7/htdocs/modules/system/language/german/admin.php
Modified: XoopsLanguages/german/core/2.5.7/htdocs/modules/system/language/german/admin.php
===================================================================
--- XoopsLanguages/german/core/2.5.7/htdocs/modules/system/language/german/admin.php 2014-04-11 11:17:58 UTC (rev 12440)
+++ XoopsLanguages/german/core/2.5.7/htdocs/modules/system/language/german/admin.php 2014-04-11 11:35:06 UTC (rev 12441)
@@ -84,4 +84,6 @@
define("_MD_AM_PERMADDNGP", "Alle Elemente müssen markiert werden.");
define("_AM_SYSTEM_UNINSTALL","Deinstallieren");
-?>
\ No newline at end of file
+
+define('_AM_SYSTEM_USAGE',"Verwendet");
+define('_AM_SYSTEM_ACTIVE',"Aktiv");
|
|
From: <be...@us...> - 2014-04-11 11:18:00
|
Revision: 12440
http://sourceforge.net/p/xoops/svn/12440
Author: beckmi
Date: 2014-04-11 11:17:58 +0000 (Fri, 11 Apr 2014)
Log Message:
-----------
New branch for German files for XOOPS 2.5.7
Added Paths:
-----------
XoopsLanguages/german/core/2.5.7/
|
|
From: <be...@us...> - 2014-04-11 11:16:49
|
Revision: 12439
http://sourceforge.net/p/xoops/svn/12439
Author: beckmi
Date: 2014-04-11 11:16:41 +0000 (Fri, 11 Apr 2014)
Log Message:
-----------
German language files XOOPS 2.5.6
Added Paths:
-----------
XoopsLanguages/german/core/2.5.6/
XoopsLanguages/german/core/2.5.6/htdocs/
XoopsLanguages/german/core/2.5.6/htdocs/Frameworks/
XoopsLanguages/german/core/2.5.6/htdocs/Frameworks/moduleclasses/
XoopsLanguages/german/core/2.5.6/htdocs/Frameworks/moduleclasses/moduleadmin/
XoopsLanguages/german/core/2.5.6/htdocs/Frameworks/moduleclasses/moduleadmin/language/
XoopsLanguages/german/core/2.5.6/htdocs/Frameworks/moduleclasses/moduleadmin/language/german/
XoopsLanguages/german/core/2.5.6/htdocs/Frameworks/moduleclasses/moduleadmin/language/german/index.html
XoopsLanguages/german/core/2.5.6/htdocs/Frameworks/moduleclasses/moduleadmin/language/german/main.php
XoopsLanguages/german/core/2.5.6/htdocs/class/
XoopsLanguages/german/core/2.5.6/htdocs/class/mail/
XoopsLanguages/german/core/2.5.6/htdocs/class/mail/phpmailer/
XoopsLanguages/german/core/2.5.6/htdocs/class/mail/phpmailer/language/
XoopsLanguages/german/core/2.5.6/htdocs/class/mail/phpmailer/language/phpmailer.lang-de.php
XoopsLanguages/german/core/2.5.6/htdocs/class/xoopseditor/
XoopsLanguages/german/core/2.5.6/htdocs/class/xoopseditor/dhtmltextarea/
XoopsLanguages/german/core/2.5.6/htdocs/class/xoopseditor/dhtmltextarea/language/
XoopsLanguages/german/core/2.5.6/htdocs/class/xoopseditor/dhtmltextarea/language/german.php
XoopsLanguages/german/core/2.5.6/htdocs/class/xoopseditor/textarea/
XoopsLanguages/german/core/2.5.6/htdocs/class/xoopseditor/textarea/language/
XoopsLanguages/german/core/2.5.6/htdocs/class/xoopseditor/textarea/language/german.php
XoopsLanguages/german/core/2.5.6/htdocs/class/xoopseditor/tinymce/
XoopsLanguages/german/core/2.5.6/htdocs/class/xoopseditor/tinymce/language/
XoopsLanguages/german/core/2.5.6/htdocs/class/xoopseditor/tinymce/language/german.php
XoopsLanguages/german/core/2.5.6/htdocs/install/
XoopsLanguages/german/core/2.5.6/htdocs/install/language/
XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/
XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/finish.php
XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/index.html
XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/install.php
XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/install2.php
XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/mysql.lang.data.sql
XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/style.css
XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/support.php
XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/support.png
XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/welcome.php
XoopsLanguages/german/core/2.5.6/htdocs/language/
XoopsLanguages/german/core/2.5.6/htdocs/language/german/
XoopsLanguages/german/core/2.5.6/htdocs/language/german/admin.php
XoopsLanguages/german/core/2.5.6/htdocs/language/german/auth.php
XoopsLanguages/german/core/2.5.6/htdocs/language/german/backend.php
XoopsLanguages/german/core/2.5.6/htdocs/language/german/banners.php
XoopsLanguages/german/core/2.5.6/htdocs/language/german/calendar.php
XoopsLanguages/german/core/2.5.6/htdocs/language/german/captcha.php
XoopsLanguages/german/core/2.5.6/htdocs/language/german/comment.php
XoopsLanguages/german/core/2.5.6/htdocs/language/german/countries.php
XoopsLanguages/german/core/2.5.6/htdocs/language/german/errors.php
XoopsLanguages/german/core/2.5.6/htdocs/language/german/findusers.php
XoopsLanguages/german/core/2.5.6/htdocs/language/german/formdhtmltextarea.php
XoopsLanguages/german/core/2.5.6/htdocs/language/german/global.php
XoopsLanguages/german/core/2.5.6/htdocs/language/german/index.html
XoopsLanguages/german/core/2.5.6/htdocs/language/german/locale.php
XoopsLanguages/german/core/2.5.6/htdocs/language/german/logger.php
XoopsLanguages/german/core/2.5.6/htdocs/language/german/mail.php
XoopsLanguages/german/core/2.5.6/htdocs/language/german/mail_template/
XoopsLanguages/german/core/2.5.6/htdocs/language/german/mail_template/activated.tpl
XoopsLanguages/german/core/2.5.6/htdocs/language/german/mail_template/adminactivate.tpl
XoopsLanguages/german/core/2.5.6/htdocs/language/german/mail_template/comment_notify.tpl
XoopsLanguages/german/core/2.5.6/htdocs/language/german/mail_template/commentsubmit_notify.tpl
XoopsLanguages/german/core/2.5.6/htdocs/language/german/mail_template/deactivated.tpl
XoopsLanguages/german/core/2.5.6/htdocs/language/german/mail_template/default_notify.tpl
XoopsLanguages/german/core/2.5.6/htdocs/language/german/mail_template/lostpass1.tpl
XoopsLanguages/german/core/2.5.6/htdocs/language/german/mail_template/lostpass2.tpl
XoopsLanguages/german/core/2.5.6/htdocs/language/german/mail_template/register.tpl
XoopsLanguages/german/core/2.5.6/htdocs/language/german/mail_template/tellfriend.tpl
XoopsLanguages/german/core/2.5.6/htdocs/language/german/mail_template/welcome.tpl
XoopsLanguages/german/core/2.5.6/htdocs/language/german/misc.php
XoopsLanguages/german/core/2.5.6/htdocs/language/german/notification.php
XoopsLanguages/german/core/2.5.6/htdocs/language/german/pmsg.php
XoopsLanguages/german/core/2.5.6/htdocs/language/german/search.php
XoopsLanguages/german/core/2.5.6/htdocs/language/german/style.css
XoopsLanguages/german/core/2.5.6/htdocs/language/german/timezone.php
XoopsLanguages/german/core/2.5.6/htdocs/language/german/uploader.php
XoopsLanguages/german/core/2.5.6/htdocs/language/german/user.php
XoopsLanguages/german/core/2.5.6/htdocs/language/german/xoopsmailerlocal.php
XoopsLanguages/german/core/2.5.6/htdocs/modules/
XoopsLanguages/german/core/2.5.6/htdocs/modules/pm/
XoopsLanguages/german/core/2.5.6/htdocs/modules/pm/language/
XoopsLanguages/german/core/2.5.6/htdocs/modules/pm/language/german/
XoopsLanguages/german/core/2.5.6/htdocs/modules/pm/language/german/admin.php
XoopsLanguages/german/core/2.5.6/htdocs/modules/pm/language/german/help/
XoopsLanguages/german/core/2.5.6/htdocs/modules/pm/language/german/help/help.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/pm/language/german/help/index.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/pm/language/german/index.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/pm/language/german/main.php
XoopsLanguages/german/core/2.5.6/htdocs/modules/pm/language/german/modinfo.php
XoopsLanguages/german/core/2.5.6/htdocs/modules/profile/
XoopsLanguages/german/core/2.5.6/htdocs/modules/profile/language/
XoopsLanguages/german/core/2.5.6/htdocs/modules/profile/language/german/
XoopsLanguages/german/core/2.5.6/htdocs/modules/profile/language/german/admin.php
XoopsLanguages/german/core/2.5.6/htdocs/modules/profile/language/german/help/
XoopsLanguages/german/core/2.5.6/htdocs/modules/profile/language/german/help/help.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/profile/language/german/help/index.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/profile/language/german/index.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/profile/language/german/mail_template/
XoopsLanguages/german/core/2.5.6/htdocs/modules/profile/language/german/mail_template/emailchanged.tpl
XoopsLanguages/german/core/2.5.6/htdocs/modules/profile/language/german/mail_template/index.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/profile/language/german/main.php
XoopsLanguages/german/core/2.5.6/htdocs/modules/profile/language/german/modinfo.php
XoopsLanguages/german/core/2.5.6/htdocs/modules/protector/
XoopsLanguages/german/core/2.5.6/htdocs/modules/protector/language/
XoopsLanguages/german/core/2.5.6/htdocs/modules/protector/language/german/
XoopsLanguages/german/core/2.5.6/htdocs/modules/protector/language/german/help/
XoopsLanguages/german/core/2.5.6/htdocs/modules/protector/language/german/help/help.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/protector/language/german/help/index.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/protector/language/german/index.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/admin/
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/admin/avatars.php
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/admin/banners.php
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/admin/blocksadmin.php
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/admin/comments.php
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/admin/groups.php
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/admin/images.php
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/admin/index.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/admin/mailusers.php
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/admin/maintenance.php
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/admin/modulesadmin.php
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/admin/preferences.php
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/admin/smilies.php
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/admin/tplsets.php
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/admin/userrank.php
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/admin/users.php
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/admin.php
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/blocks.php
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/cpanel.php
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/help/
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/help/avatars.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/help/banners.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/help/blocksadmin.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/help/comments.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/help/groups.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/help/help_center.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/help/images.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/help/index.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/help/mailusers.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/help/maintenance.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/help/module_index.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/help/modulesadmin.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/help/preferences.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/help/smilies.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/help/tplsets.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/help/userrank.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/help/users.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/images/
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/images/index.html
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/images/lightbox-blank.gif
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/images/lightbox-btn-close.gif
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/images/lightbox-btn-next.gif
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/images/lightbox-btn-prev.gif
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/images/lightbox-ico-loading.gif
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/language/german/modinfo.php
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/themes/
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/themes/default/
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/themes/default/language/
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/themes/default/language/german/
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/themes/default/language/german/admin.php
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/themes/default/language/german/localsupport.php
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/themes/zetadigme/
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/themes/zetadigme/language/
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/themes/zetadigme/language/german/
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/themes/zetadigme/language/german/admin.php
XoopsLanguages/german/core/2.5.6/htdocs/modules/system/themes/zetadigme/language/german/localsupport.php
XoopsLanguages/german/core/2.5.6/htdocs/themes/
XoopsLanguages/german/core/2.5.6/htdocs/themes/suico/
XoopsLanguages/german/core/2.5.6/htdocs/themes/suico/language/
XoopsLanguages/german/core/2.5.6/htdocs/themes/suico/language/german/
XoopsLanguages/german/core/2.5.6/htdocs/themes/suico/language/german/index.html
XoopsLanguages/german/core/2.5.6/htdocs/themes/suico/language/german/main.php
XoopsLanguages/german/core/2.5.6/htdocs/themes/suico/language/german/script.js
XoopsLanguages/german/core/2.5.6/htdocs/themes/suico/language/german/style.css
XoopsLanguages/german/core/2.5.6/htdocs/themes/zetagenesis/
XoopsLanguages/german/core/2.5.6/htdocs/themes/zetagenesis/language/
XoopsLanguages/german/core/2.5.6/htdocs/themes/zetagenesis/language/german/
XoopsLanguages/german/core/2.5.6/htdocs/themes/zetagenesis/language/german/index.html
XoopsLanguages/german/core/2.5.6/htdocs/themes/zetagenesis/language/german/main.php
XoopsLanguages/german/core/2.5.6/htdocs/themes/zetagenesis/language/german/script.js
XoopsLanguages/german/core/2.5.6/htdocs/themes/zetagenesis/language/german/style.css
XoopsLanguages/german/core/2.5.6/htdocs/xoops_lib/
XoopsLanguages/german/core/2.5.6/htdocs/xoops_lib/modules/
XoopsLanguages/german/core/2.5.6/htdocs/xoops_lib/modules/protector/
XoopsLanguages/german/core/2.5.6/htdocs/xoops_lib/modules/protector/language/
XoopsLanguages/german/core/2.5.6/htdocs/xoops_lib/modules/protector/language/german/
XoopsLanguages/german/core/2.5.6/htdocs/xoops_lib/modules/protector/language/german/admin.php
XoopsLanguages/german/core/2.5.6/htdocs/xoops_lib/modules/protector/language/german/index.html
XoopsLanguages/german/core/2.5.6/htdocs/xoops_lib/modules/protector/language/german/main.php
XoopsLanguages/german/core/2.5.6/htdocs/xoops_lib/modules/protector/language/german/modinfo.php
XoopsLanguages/german/core/2.5.6/htdocs/xoops_lib/modules/protector/library/
XoopsLanguages/german/core/2.5.6/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/
XoopsLanguages/german/core/2.5.6/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Language/
XoopsLanguages/german/core/2.5.6/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Language/classes/
XoopsLanguages/german/core/2.5.6/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Language/classes/de-x-test.php
XoopsLanguages/german/core/2.5.6/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Language/messages/
XoopsLanguages/german/core/2.5.6/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Language/messages/de-x-test.php
XoopsLanguages/german/core/2.5.6/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Language/messages/de-x-testmini.php
XoopsLanguages/german/core/2.5.6/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Language/messages/de.php
XoopsLanguages/german/core/2.5.6/upgrade/
XoopsLanguages/german/core/2.5.6/upgrade/language/
XoopsLanguages/german/core/2.5.6/upgrade/language/german/
XoopsLanguages/german/core/2.5.6/upgrade/language/german/index.html
XoopsLanguages/german/core/2.5.6/upgrade/language/german/style.css
XoopsLanguages/german/core/2.5.6/upgrade/language/german/upgrade.php
Added: XoopsLanguages/german/core/2.5.6/htdocs/Frameworks/moduleclasses/moduleadmin/language/german/index.html
===================================================================
--- XoopsLanguages/german/core/2.5.6/htdocs/Frameworks/moduleclasses/moduleadmin/language/german/index.html (rev 0)
+++ XoopsLanguages/german/core/2.5.6/htdocs/Frameworks/moduleclasses/moduleadmin/language/german/index.html 2014-04-11 11:16:41 UTC (rev 12439)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsLanguages/german/core/2.5.6/htdocs/Frameworks/moduleclasses/moduleadmin/language/german/main.php
===================================================================
--- XoopsLanguages/german/core/2.5.6/htdocs/Frameworks/moduleclasses/moduleadmin/language/german/main.php (rev 0)
+++ XoopsLanguages/german/core/2.5.6/htdocs/Frameworks/moduleclasses/moduleadmin/language/german/main.php 2014-04-11 11:16:41 UTC (rev 12439)
@@ -0,0 +1,52 @@
+<?php
+/**
+ * Frameworks Module Admin
+ *
+ * You may not change or alter any portion of this comment or credits
+ * of supporting developers from this source code or any supporting source code
+ * which is considered copyrighted (c) material of the original comment or credit authors.
+ * 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.
+ *
+ * @copyright Grégory Mage (Aka Mage)
+ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
+ * @author Grégory Mage (Aka Mage)
+ */
+
+/* german translation: ka...@xo... */
+
+// Info
+define("_AM_MODULEADMIN_CONFIG","Einstellungen");
+define("_AM_MODULEADMIN_CONFIG_CHMOD","Das Verzeichnis '%s' muss chmod '%s' sein (ist derzeit gesetzt auf %s).");
+define("_AM_MODULEADMIN_CONFIG_FOLDERKO","Das Verzeichnis '%s' existiert nicht");
+define("_AM_MODULEADMIN_CONFIG_FOLDEROK","Das Verzeichnis '%s' ist vorhanden");
+define("_AM_MODULEADMIN_CONFIG_PHP","Sie benötigen mindestens PHP Version %s (Ihre derzeitige Version ist %s)");
+define("_AM_MODULEADMIN_CONFIG_XOOPS","Sie benötigen mindestens Version %s (Ihre derzeitige Version ist %s)");
+
+define('_AM_MODULEADMIN_CONFIG_DB','Sie benötigen mindestens Version: %s (Ihre Version ist %s)');
+define('_AM_MODULEADMIN_CONFIG_ADMIN','Sie benötigen mindestens ModuleAdmin Version: %s (Ihre Version ist %s)');
+
+// About
+define("_AM_MODULEADMIN_ABOUT_CHANGELOG","Changelog");
+define('_AM_MODULEADMIN_ABOUT_DESCRIPTION','Beschreibung');
+define("_AM_MODULEADMIN_ABOUT_MODULEINFO","Modul-Infos");
+define("_AM_MODULEADMIN_ABOUT_MODULESTATUS","Status:");
+define("_AM_MODULEADMIN_ABOUT_UPDATEDATE","Aktualisierungs Datum:");
+define("_AM_MODULEADMIN_ABOUT_WEBSITE","Website:");
+
+define("_AM_MODULEADMIN_ABOUT_RELEASEDATE","Veröffentlicht: ");
+define("_AM_MODULEADMIN_ABOUT_AUTHOR","Autor: ");
+define("_AM_MODULEADMIN_ABOUT_CREDITS","Credits: ");
+define("_AM_MODULEADMIN_ABOUT_LICENSE","Lizenz: ");
+define("_AM_MODULEADMIN_ABOUT_AUTHOR_NAME","Autorname: ");
+define("_AM_MODULEADMIN_ABOUT_AUTHOR_INFO","AutorInfo");
+
+define("_AM_MODULEADMIN_HOME", "Home");
+define("_AM_MODULEADMIN_DASHBOARD", "Übersicht");
+define("_AM_MODULEADMIN_ABOUT", "Über");
+define("_AM_MODULEADMIN_PERMISSIONS", "Berechtigungen");
+
+//ModuleAdmin
+define("_AM_MODULEADMIN_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>This module is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>");
+?>
Property changes on: XoopsLanguages/german/core/2.5.6/htdocs/Frameworks/moduleclasses/moduleadmin/language/german/main.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsLanguages/german/core/2.5.6/htdocs/class/mail/phpmailer/language/phpmailer.lang-de.php
===================================================================
--- XoopsLanguages/german/core/2.5.6/htdocs/class/mail/phpmailer/language/phpmailer.lang-de.php (rev 0)
+++ XoopsLanguages/german/core/2.5.6/htdocs/class/mail/phpmailer/language/phpmailer.lang-de.php 2014-04-11 11:16:41 UTC (rev 12439)
@@ -0,0 +1,23 @@
+<?php
+/**
+ * PHPMailer language file.
+ * Deutsche Version
+ */
+
+$PHPMAILER_LANG = array();
+
+$PHPMAILER_LANG["provide_address"] = 'You must provide at least one ' .
+ 'recipient email address.';
+$PHPMAILER_LANG["mailer_not_supported"] = ' mailer is not supported.';
+$PHPMAILER_LANG["execute"] = 'Could not execute: ';
+$PHPMAILER_LANG["instantiate"] = 'Could not instantiate mail function.';
+$PHPMAILER_LANG["authenticate"] = 'SMTP Error: Could not authenticate.';
+$PHPMAILER_LANG["from_failed"] = 'The following From address failed: ';
+$PHPMAILER_LANG["recipients_failed"] = 'SMTP Error: The following ' .
+ 'recipients failed: ';
+$PHPMAILER_LANG["data_not_accepted"] = 'SMTP Error: Data not accepted.';
+$PHPMAILER_LANG["connect_host"] = 'SMTP Error: Could not connect to SMTP host.';
+$PHPMAILER_LANG["file_access"] = 'Could not access file: ';
+$PHPMAILER_LANG["file_open"] = 'File Error: Could not open file: ';
+$PHPMAILER_LANG["encoding"] = 'Unknown encoding: ';
+?>
Property changes on: XoopsLanguages/german/core/2.5.6/htdocs/class/mail/phpmailer/language/phpmailer.lang-de.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsLanguages/german/core/2.5.6/htdocs/class/xoopseditor/dhtmltextarea/language/german.php
===================================================================
--- XoopsLanguages/german/core/2.5.6/htdocs/class/xoopseditor/dhtmltextarea/language/german.php (rev 0)
+++ XoopsLanguages/german/core/2.5.6/htdocs/class/xoopseditor/dhtmltextarea/language/german.php 2014-04-11 11:16:41 UTC (rev 12439)
@@ -0,0 +1,22 @@
+<?php
+/**
+* Xoops Language - XOOPS editor
+*
+* @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+* @license GNU public license 3.0 (http://www.fsf.org/copyleft/gpl.html)
+* @package xoopseditor
+* @subpackage dhtmltextarea language
+* @version $Id: 2.5.0.a german.php 21.12.2010
+*
+* @LANGCODE de
+* @CHARSET UTF-8
+* Translator XOOPS German Translation Team http://www.myxoops.org
+*
+*/
+
+/**
+ * Assocated with editor_registry.php
+ */
+define( '_XOOPS_EDITOR_DHTMLTEXTAREA', 'DHTML Editor mit xCode' );
+
+?>
Property changes on: XoopsLanguages/german/core/2.5.6/htdocs/class/xoopseditor/dhtmltextarea/language/german.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsLanguages/german/core/2.5.6/htdocs/class/xoopseditor/textarea/language/german.php
===================================================================
--- XoopsLanguages/german/core/2.5.6/htdocs/class/xoopseditor/textarea/language/german.php (rev 0)
+++ XoopsLanguages/german/core/2.5.6/htdocs/class/xoopseditor/textarea/language/german.php 2014-04-11 11:16:41 UTC (rev 12439)
@@ -0,0 +1,22 @@
+<?php
+/**
+* Xoops Language - XOOPS editor
+*
+* @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+* @license GNU public license 3.0 (http://www.fsf.org/copyleft/gpl.html)
+* @package xoopseditor
+* @subpackage textarea language
+* @version $Id: 2.5.0.a german.php 21.12.2010
+*
+* @LANGCODE de
+* @CHARSET UTF-8
+* Translator XOOPS German Translation Team http://www.myxoops.org
+*
+*/
+
+/*
+ * Assocated with editor_registry.php
+ */
+define("_XOOPS_EDITOR_TEXTAREA", "nur Text");
+
+?>
Property changes on: XoopsLanguages/german/core/2.5.6/htdocs/class/xoopseditor/textarea/language/german.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsLanguages/german/core/2.5.6/htdocs/class/xoopseditor/tinymce/language/german.php
===================================================================
--- XoopsLanguages/german/core/2.5.6/htdocs/class/xoopseditor/tinymce/language/german.php (rev 0)
+++ XoopsLanguages/german/core/2.5.6/htdocs/class/xoopseditor/tinymce/language/german.php 2014-04-11 11:16:41 UTC (rev 12439)
@@ -0,0 +1,27 @@
+<?php
+/**
+* Xoops Language - XOOPS editor
+*
+* @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+* @license GNU public license 3.0 (http://www.fsf.org/copyleft/gpl.html)
+* @package xoopseditor
+* @subpackage TinyMCE language
+* @version $Id: 2.5.0.a german.php 21.12.2010
+*
+* @LANGCODE de
+* @CHARSET UTF-8
+* Translator XOOPS German Translation Team http://www.myxoops.org
+*
+*/
+
+// Name of the editor
+define("_XOOPS_EDITOR_TINYMCE", "TinyMCE");
+
+// The value must be the same as /tinymce/jscripts/langs/your_language_code, for example, "en" for English, "de" for German
+// For details, check http://tinymce.moxiecode.com/download_i18n.php
+define("_XOOPS_EDITOR_TINYMCE_LANGUAGE", "de");
+
+// FONT LIST, FORMAT: "Name=value1,value2;Name=value"
+define("_XOOPS_EDITOR_TINYMCE_FONTS", "Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;WingDings=wingdings");
+
+?>
Property changes on: XoopsLanguages/german/core/2.5.6/htdocs/class/xoopseditor/tinymce/language/german.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/finish.php
===================================================================
--- XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/finish.php (rev 0)
+++ XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/finish.php 2014-04-11 11:16:41 UTC (rev 12439)
@@ -0,0 +1,35 @@
+<?php
+/**
+ * Xoops Language
+ *
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license GNU public license 3.0 (http://www.fsf.org/copyleft/gpl.html)
+ * @package Install
+ * @subpackage Xoops Protector Language
+ * @version $Id: 2.5.0.a finish.php 21.12.2010
+ *
+ * @LANGCODE de
+ * @CHARSET UTF-8
+ * Translator XOOPS German Translation Team http://www.myxoops.org
+ *
+ */
+
+$content .=
+"<h3>Ihre Seite</h3>
+<p>Die Installation sollte erfolgreich gewesen sein, wechseln Sie nun auf Ihre <a href='../index.php'>Startseite</a>.</p>
+<h3>Hilfe?</h3>
+<p>Besuchen Sie den Deutschen Support <a href='http://www.myxoops.org'>myXOOPS.org</a>, die englischsprachigen Seiten
+<a href='http://www.xoops.org'>XOOPS.org</a> oder auf Sourceforge <a href='http://xoops.sourceforge.net/'>The XOOPS Project</a>.</p>
+<p>Viel Spass mit Ihrer Installation</p>";
+
+$content .=
+"<h3>Sicherheitskonfiguration</h3>
+<p>Der Installer wird versuchen Ihre Website sicher zu machen. Prüfen Sie folgendes:
+<div class='confirmMsg'>
+Die Datei <em>mainfile.php</em> muss schreibgeschützt sein.<br />
+Entfernen Sie den Ordner <em>{$installer_modified}</em> (oder <em>install</em> wenn dieser nicht automatisch umbenannt wurde) vom Ihrem Server.
+</div>
+</p>
+";
+
+?>
\ No newline at end of file
Property changes on: XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/finish.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/index.html
===================================================================
--- XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/index.html (rev 0)
+++ XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/index.html 2014-04-11 11:16:41 UTC (rev 12439)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/install.php
===================================================================
--- XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/install.php (rev 0)
+++ XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/install.php 2014-04-11 11:16:41 UTC (rev 12439)
@@ -0,0 +1,207 @@
+<?php
+/**
+ * Xoops Language
+ *
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license GNU public license 3.0 (http://www.fsf.org/copyleft/gpl.html)
+ * @package Install
+ * @subpackage Xoops Protector Language
+ * @version $Id: 2.5.0.a install.php 21.12.2010
+ *
+ * @LANGCODE de
+ * @CHARSET UTF-8
+ * Translator XOOPS German Translation Team http://www.myxoops.org
+ *
+ */
+
+define( "SHOW_HIDE_HELP", "Anzeigen/Ausblenden des Hilfe-Textes" );
+// License
+define('LICENSE_NOT_WRITEABLE', 'Lizenz ist %s . <br/><font style="colour:#ff0000">Make ../include/license.php beschreibbar</font>');
+define('LICENSE_IS_WRITEABLE', 'Lizenz ist %s');
+
+// Configuration check page
+define( "SERVER_API", "Server API" );
+define( "PHP_EXTENSION", "%s Erweiterungen" );
+define( "CHAR_ENCODING", "Encoding" );
+define( "XML_PARSING", "XML Parser" );
+define( "REQUIREMENTS", "Anforderungen" );
+define( "_PHP_VERSION", "PHP Version" );
+define( "RECOMMENDED_SETTINGS", "Empfohlene Einstellungen" );
+define( "RECOMMENDED_EXTENSIONS", "Empfohlene Erweiterungen" );
+define( "SETTING_NAME", "Einstellung" );
+define( "RECOMMENDED", "empfohlen" );
+define( "CURRENT", "aktuell" );
+
+define( "RECOMMENDED_EXTENSIONS_MSG", "Diese Erweiterungen sind für den normalen Gebrauch nicht zwingend notwendig,
+ könnten aber bei bestimmten Zusatzfunktionen (wie multi-language oder RSS Unterstützung) benötigt werden.<br />Es empfiehlt sich deswegen diese zu installieren." );
+define( "NONE", "Kein" );
+define( "SUCCESS", "Erfolgreich" );
+define( "WARNING", "Warnung" );
+define( "FAILED", "Fehler" );
+
+// Titles (main and pages)
+define( "XOOPS_INSTALL_WIZARD", "XOOPS Installations-Assistent" );
+define( "LANGUAGE_SELECTION", "Sprachauswahl" );
+define( "LANGUAGE_SELECTION_TITLE", "Bitte wählen Sie Ihre Sprache aus!"); // L128
+define( "INTRODUCTION", "Einleitung" );
+define( "INTRODUCTION_TITLE", "Wilkommen zu XOOPS Installations-Assistenten!" ); // L0
+define( "CONFIGURATION_CHECK", "Konfiguration" );
+define( "CONFIGURATION_CHECK_TITLE", "Überprüfung der Serverkonfiguration" );
+define( "PATHS_SETTINGS", "Pfade" );
+define( "PATHS_SETTINGS_TITLE", "Pfadeinstellungen" );
+define( "DATABASE_CONNECTION", "Datenbankverbindung" );
+define( "DATABASE_CONNECTION_TITLE", "Datenbankverbindung" );
+define( "DATABASE_CONFIG", "Datenbankeinstellungen" );
+define( "DATABASE_CONFIG_TITLE", "Datenbankeinstellungen" );
+define( "CONFIG_SAVE", "Einstellungen speichern" );
+define( "CONFIG_SAVE_TITLE", "Die Systemeinstellunge werden gespeichert." );
+define( "TABLES_CREATION", "Tabellen Erstellung" );
+define( "TABLES_CREATION_TITLE", "Erstellung der Datenbank-Tabellen" );
+define( "INITIAL_SETTINGS", "Administrator" );
+
+define( "INITIAL_SETTINGS_TITLE", "Bitte geben Sie die Einstellungen für den Administrator-Account an." );
+define( "DATA_INSERTION", "Daten einfügen" );
+define( "DATA_INSERTION_TITLE", "Einstellungen werden in der Datenbank gespeichert." );
+define( "WELCOME", "Willkommen" );
+define( "WELCOME_TITLE", "Willkommen auf Ihrer XOOPS-Seite!" ); // L0
+
+// Settings (labels and help text)
+define( "XOOPS_PATHS", "XOOPS Physikalische Pfade" );
+define( "XOOPS_URLS", "Web Einstellungen" );
+
+define( "XOOPS_ROOT_PATH_LABEL", "XOOPS Dokumentroot" );
+define( "XOOPS_ROOT_PATH_HELP", "Physikalischer Pfad zum XOOPS (ohne abschliessenden Slash))" );
+
+define( "XOOPS_LIB_PATH_LABEL", "XOOPS Bibliotheksverzeichnis" );
+
+define( "XOOPS_LIB_PATH_HELP", "Physikalischer Pfad zur XOOPS Bibliothek (ohne abschliessenden Slash), für zukünftige Kompatiblität. Für mehr Sicherheit im XOOPS-Dokumentroot.");
+define( "XOOPS_DATA_PATH_LABEL", "XOOPS Datenverzeichnis" );
+
+define( "XOOPS_DATA_PATH_HELP", "Physikalischer Pfad zu den beschreibbaren XOOPS-Daten Verzeichnis (ohne abschliessenden Slash), für zukünftige Kompatiblität. Für mehr Sicherheit im XOOPS-Dokumentroot.");
+define( "XOOPS_URL_LABEL", "Webseiten-Adresse (URL)" ); // L56
+define( "XOOPS_URL_HELP", "Die URL unter der diese Installation laufen soll" ); // L58
+
+define( "LEGEND_CONNECTION", "Serververbindung" );
+define( "LEGEND_DATABASE", "Datenbank" ); // L51
+
+define( "DB_HOST_LABEL", "Server Hostname" ); // L27
+define( "DB_HOST_HELP", "Hostname des Datenbankservers. <em>localhost</em> wenn Sie unsicher sind"); // L67
+define( "DB_USER_LABEL", "Benutzer" ); // L28
+define( "DB_USER_HELP", "Name des Useraccount für diese Datenbank"); // L65
+define( "DB_PASS_LABEL", "Password" ); // L52
+define( "DB_PASS_HELP", "Password des User der Datenbank"); // L68
+define( "DB_NAME_LABEL", "Datenbankname" ); // L29
+
+define( "DB_NAME_HELP", "Der Name der Datenbank. der Installer prüft , ob diese vorhanden ist. Gegebenenfalls wird diese angelegt"); // L64
+define( "DB_CHARSET_LABEL", "Datenbank Character Set" );
+define( "DB_CHARSET_HELP", "MySQL Zeichensatz, mit dem Sie die Daten speichern.");
+define( "DB_COLLATION_LABEL", "Datenbank Collation" );
+define( "DB_COLLATION_HELP", "Die Koalition der Datenbank");
+define( "DB_PREFIX_LABEL", "Tabellen Prefix" ); // L30
+
+define( "DB_PREFIX_HELP", "Der Prefix, der den Tabellen voangestellt wird. Wenn Sie unsicher sind, belassen Sie die Voreinstellung"); // L63
+define( "DB_PCONNECT_LABEL", "Ständige Verbindung?" ); // L54
+
+define( "DB_PCONNECT_HELP", "Default ist 'Nein'. Stellen Sie auf 'Ja', wenn Sie eine dauerhafte Verbindung zur Datenbank benötigen."); // L69
+define( "DB_DATABASE_LABEL", "Datenbank" );
+
+define( "LEGEND_ADMIN_ACCOUNT", "Administrator Account" );
+define( "ADMIN_LOGIN_LABEL", "Administrator Login:" ); // L37
+define( "ADMIN_EMAIL_LABEL", "Administrator E-mail:" ); // L38
+define( "ADMIN_PASS_LABEL", "Administrator Passwort:" ); // L39
+define( "ADMIN_CONFIRMPASS_LABEL", "Passwort bestätigen:" ); // L74
+
+// Buttons
+define( "BUTTON_PREVIOUS", "Vorheriger Schritt" ); // L42
+define( "BUTTON_NEXT", "Nächster Schritt" ); // L47
+
+// Messages
+define( "XOOPS_FOUND", "%s gefunden!" );
+define( "CHECKING_PERMISSIONS", "Überprüfe Datei- und Ordnerattribute ..." ); // L82
+define( "IS_NOT_WRITABLE", "%s ist NICHT beschreibbar." ); // L83
+define( "IS_WRITABLE", "%s ist beschreibbar." ); // L84
+
+define( "XOOPS_PATH_FOUND", "Pfad gefunden!" );
+
+define( "READY_CREATE_TABLES", "Es wurden keine XOOPS Tabellen gefunden.<br />Der Installations-Assistent wird nun die XOOPS System Tabellen erstellen<br />Bitte auf den Button für den nächsten Schritt klicken." );
+define( "XOOPS_TABLES_FOUND", "In der Datenbank existieren bereits XOOPS System Tabellen.<br />Bitte auf den Button für den nächsten Schritt klicken." ); // L131
+define( "XOOPS_TABLES_CREATED", "XOOPS System Tabellen wurden erstellt!<br />Bitte auf den Button für den nächsten Schritt klicken." );
+define( "READY_INSERT_DATA", "Der Installations-Assistent ist nun bereit, die Daten in Ihre Datenbank zu schreiben." );
+define( "READY_SAVE_MAINFILE", "Der Installations-Assistent ist nun bereit, die Einstellungen in der <em>mainfile.php</em> zu speichern.<br />Bitte auf den Button für den nächsten Schritt klicken." );
+define( "SAVED_MAINFILE", "Die Einstellungen wurden in der mainfile.php gespeichert!" );
+
+define( "SAVED_MAINFILE_MSG", "Der Installations-Assistent hat die Einstellungen in der mainfile.php gespeichert!. Bitte auf den Button für den nächsten Schritt klicken." );
+define( "DATA_ALREADY_INSERTED", "Es existieren bereits XOOPS Daten in Ihrer Datenbank.<br />Bitte auf den Button für den nächsten Schritt klicken." );
+define( "DATA_INSERTED", "Die Daten wurden in die Datenbank geschrieben.<br />Bitte auf den Button für den nächsten Schritt klicken." );
+// %s is database name
+define( "DATABASE_CREATED", "Datenbank %s wurde erstellt!" ); // L43
+// %s is table name
+define( "TABLE_NOT_CREATED", "Tabelle %s konnte nicht erstellt werden" ); // L118
+define( "TABLE_CREATED", "Tabelle %s erstellt." ); // L45
+define( "ROWS_INSERTED", "%d Einträge wurden in die Datenbank %s geschrieben." ); // L119
+define( "ROWS_FAILED", "Fehler beim Schreiben von %d entries in die Tabelle %s." ); // L120
+define( "TABLE_ALTERED", "Tabelle %s wurde aktualisiert."); // L133
+define( "TABLE_NOT_ALTERED", "Fehler beim Aktualisieren der Tabelle %s."); // L134
+define( "TABLE_DROPPED", "Tabelle %s wurde gelöscht."); // L163
+define( "TABLE_NOT_DROPPED", "Fehler beim Löschen der Tabelle %s."); // L164
+
+// Error messages
+define( "ERR_COULD_NOT_ACCESS", "Auf den angegebenen Ordner konnte nicht zugegriffen werden. Bitte vergewissern Sie sich, dass er existiert und vom Server gelesen werden kann!" );
+define( "ERR_NO_XOOPS_FOUND", "Es konnte keine XOOPS Installation im angegebenen Ordner gefunden werden!" );
+define( "ERR_INVALID_EMAIL", "Ungültige Email-Adresse" ); // L73
+define( "ERR_REQUIRED", "Die Eingabe ist erfoderlich." ); // L41
+define( "ERR_PASSWORD_MATCH", "Die beiden Passwörter stimmen nicht überein!" );
+define( "ERR_NEED_WRITE_ACCESS", "Der Server muss Schreibrechte auf die folgenden Ordner bzw. Dateien besitzen.<br />(z.B. <em>chmod 777 Ordner_Name</em>, <em>chmod 666 Datei_Name</em> auf einem UNIX/LINUX Server)<br />Wenn diese nicht vorhanden sind oder nicht ordnungsgemäss erstellt wurden, erstellen Sie diese bitte manuell und vergeben anschliessend die entsprechenden Rechte." );
+define( "ERR_NO_DATABASE", "Es konnte keine Datenbank erstellt werden. Bitte kontaktieren Sie Ihren Server-Administrator." ); // L31
+define( "ERR_NO_DBCONNECTION", "Es konnte keine Verbindung zum Datenbankserver hergestellt werden." ); // L106
+define( "ERR_WRITING_CONSTANT", "Fehler beim Schreiben der Konstante %s." ); // L122
+define( "ERR_COPY_MAINFILE", "Die mainfile.php konnte nicht kopiert werden." );
+define( "ERR_WRITE_MAINFILE", "Die mainfile.php konnte nicht beschrieben werden. Bitte prüfen und ändern Sie ggf. die Dateiattribute und versuchen Sie es erneut.");
+define( "ERR_READ_MAINFILE", "Die mainfile.php konnte nicht gelesen werden!" );
+define( "ERR_INVALID_DBCHARSET", "Der zeichensatz '%s' ist nicht verfügbar." );
+define( "ERR_INVALID_DBCOLLATION", "Die Kollation '%s' ist nicht verfügbar." );
+define( "ERR_CHARSET_NOT_SET", "Default-Zeichensatz ist nicht für XOOPS-Datenbank eingerichtet." );
+define("_INSTALL_CHARSET", "UTF-8");
+define( "SUPPORT", "Support");
+define( "LOGIN", "Anmeldung");
+define( "LOGIN_TITLE", "Login");
+define( "USER_LOGIN", "Administrator Login" );
+define( "USERNAME", "Username :");
+define( "PASSWORD", "Password :");
+
+define( "ICONV_CONVERSION", "Zeichensatz Konvertierung");
+define( "ZLIB_COMPRESSION", "Zlib Kompression");
+define( "IMAGE_FUNCTIONS", "Image Funktion");
+define( "IMAGE_METAS", "Image meta data (exif)");
+
+define( "ADMIN_EXIST", "Ein Administratorzugang existiert bereits.<br />Bitte mit dem <strong>nächsten Schritt</strong> fortfahren");
+
+define( "CONFIG_SITE", "Seitenkonfiguration" );
+define( "CONFIG_SITE_TITLE", "Seitenkonfiguration" );
+define( "MODULES", "Moduleinstallation" );
+define( "MODULES_TITLE", "Moduleinstallation" );
+define( "THEME", "Themeauswahl" );
+define( "THEME_TITLE", "Wählen Sie ihr Theme aus" );
+
+define( "INSTALLED_MODULES", "Die folgenden Module wurden installiert.<br />Bitte mit dem <strong>nächsten Schritt</strong> fortfahren");
+define( "NO_MODULES_FOUND", "Keine Module gefunden.<br />Bitte mit dem <strong>nächsten Schritt</strong> fortfahren");
+define( "NO_INSTALLED_MODULES", "Keine Module installiert.<br />Bitte mit dem <strong>nächsten Schritt</strong> fortfahren");
+
+define( "THEME_NO_SCREENSHOT", "Kein Vorschaubild gefunden.");
+define( "IS_VALOR", " => ");
+// password message
+define( "PASSWORD_LABEL", "Password Stärke: ");
+define( "PASSWORD_DESC", "Password nicht vorhanden");
+define( "PASSWORD_GENERATOR", "Password Generator");
+define( "PASSWORD_GENERATE", "Erzeuge");
+define( "PASSWORD_COPY", "Kopieren");
+
+define( "PASSWORD_VERY_WEAK", "sehr schwach");
+define( "PASSWORD_WEAK", "schwach");
+define( "PASSWORD_BETTER", "besser");
+define( "PASSWORD_MEDIUM", "mittel");
+define( "PASSWORD_STRONG", "gut");
+define( "PASSWORD_STRONGEST", "sehr gut");
+
+define("FILTER_FUNCTIONS","Filterfunction");
+?>
\ No newline at end of file
Property changes on: XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/install.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/install2.php
===================================================================
--- XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/install2.php (rev 0)
+++ XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/install2.php 2014-04-11 11:16:41 UTC (rev 12439)
@@ -0,0 +1,80 @@
+<?php
+/**
+ * Xoops Language
+ *
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license GNU public license 3.0 (http://www.fsf.org/copyleft/gpl.html)
+ * @package Install
+ * @subpackage Xoops Protector Language
+ * @version $Id: 2.5.0.a install2.php 21.12.2010
+ *
+ * @LANGCODE de
+ * @CHARSET UTF-8
+ * Translator XOOPS German Translation Team http://www.myxoops.org
+ *
+ */
+
+// License
+define('LICENSE_NOT_WRITEABLE', 'Lizenz ist %s . <br/><font style="colour:#ff0000">Make ../include/license.php beschreibbar</font>');
+define('LICENSE_IS_WRITEABLE', 'Lizenz ist %s');
+
+define('_INSTALL_WEBMASTER','Webmaster');
+define('_INSTALL_WEBMASTERD','Webmaster dieser Seite');
+define('_INSTALL_REGUSERS','Mitglieder');
+define('_INSTALL_REGUSERSD','Registrierte Usergruppe');
+define('_INSTALL_ANONUSERS','Gäste');
+define('_INSTALL_ANONUSERSD','Anonyme Usergruppe');
+/**
+* New Group types
+*/
+define('_INSTALL_BANNEDUSERS', 'gesperrte Users');
+define('_INSTALL_BANNEDUSERSD', 'Usergruppe die gesperrt ist');
+define('_INSTALL_MODERATORUSERS', 'Moderator');
+define('_INSTALL_MODERATORUSERSD', 'Die Moderatoren dieser Seite');
+define('_INSTALL_SUBMITTERUSERS', 'Autoren');
+define('_INSTALL_SUBMITTERUSERSD', 'Diese Gruppe kann Artikel oder ähnliches schreiben');
+define('_INSTALL_DEVELOPEUSERS', 'Entwickler');
+define('_INSTALL_DEVELOPEUSERSD', 'Diese Gruppe kann Anpassungen der Websites vornehmen.');
+
+define("_INSTALL_L165","Diese Seite ist wegen Wartungsarbeiten geschlossen! Bitte kommen Sie später nocheinmal wieder!");
+define('_INSTALL_ANON','Gast');
+define('_INSTALL_DISCLMR', 'Diese Seite übernimmt keinerlei Haftung für Schäden, die durch das System (die Internetseite) oder
+die angebotenen Dateien entstehen. Alle Dateien sind auf Viren geprüft. Der User wird hiermit
+darauf hingewiesen, selber die Dateien auf Viren und ähnliches zu prüfen.
+Eine Garantie für die Sicherheit der Dateien kann nicht gegeben gegeben werden, da diese Dateien
+meist nicht aus unserer Produktion stammen. Auch kann keine Garantie übernommen werden für die
+Erreichbarkeit unseres Services und von Dateien. Das Herunterladen, die Installation und die
+Verwendung der Programme die unter dieser Seite aufgeführt werden, erfolgt auf eigene Gefahr!
+Der Betreiber übernimmt keine Gewährleistung oder Haftung für etwaige Schäden, Folgeschäden oder
+Ausfälle, die entstehen können.
+
+Erklärung: Bei unseren externen Links handelt es sich um eine subjektive Auswahl von Verweisen
+auf andere Internetseiten. Für den Inhalt dieser Seiten sind die jeweiligen Betreiber / Verfasser
+selbst verantwortlich und haftbar. Von etwaigen illegalen, persönlichkeitsverletzenden,
+moralisch oder ethisch anstößigen Inhalten distanzieren wir uns in aller Deutlichkeit.
+Bitte informieren Sie uns, wenn wir auf ein solches Angebot linken sollten.
+
+Diese Seite ist als Inhaltsanbieter für die eigenen Inhalte, die er zur Nutzung bereithält, nach
+den allgemeinen Gesetzen verantwortlich. Von diesen eigenen Inhalten sind Querverweise (Links) auf
+die von anderen Anbietern bereitgehaltenen Inhalte zu unterscheiden. Für diese fremden Inhalte ist
+diese Seite nur dann verantwortlich, wenn von ihnen (d. h. auch von einem rechtswidrigen bzw.
+strafbaren Inhalt) positive Kenntnis vorliegt und es technisch möglich und zumutbar ist, deren
+Nutzung zu verhindern (§5 Abs.2 TDG). Bei Links handelt es sich allerdings stets um lebende
+(dynamische) Verweise. Diese Seite hat bei der erstmaligen Verknüpfung zwar den fremden Inhalt
+daraufhin überprüft, ob durch ihn eine mögliche zivilrechtliche oder strafrechtliche
+Verantwortlichkeit ausgelöst wird. Der Inhaltsanbieter ist aber nach dem TDG nicht dazu verpflichtet,
+die Inhalte, auf die er in seinem Angebot verweist, ständig auf Veränderungen zu überprüfen, die
+eine Verantwortlichkeit neu begründen könnten. Erst wenn er feststellt oder von anderen darauf
+hingewiesen wird, dass ein konkretes Angebot, zu dem er einen Link bereitgestellt hat, eine
+zivil- oder strafrechtliche Verantwortlichkeit auslöst, wird er den Verweis auf dieses Angebot
+aufheben, soweit ihm dies technisch möglich und zumutbar ist. Die technische Möglichkeit und
+Zumutbarkeit wird nicht dadurch beeinflusst, dass auch nach Unterbindung des Zugriffs von dieser
+Seite, von anderen Servern aus auf das rechtswidrige oder strafbare Angebot zugegriffen werden kann.
+Salvatorische Klausel: Sollte aus irgendwelchen Gründen eine der vorstehenden Bedingungen ungültig
+sein, so wird die Wirksamkeit der anderen Bestimmungen davon nicht berührt. Der Download von
+Programmen von oben genannter Seite erfolgt auf eigene Gefahr. Sämtliche hier angebotenen Downloads
+werden keiner Virenprüfung unterzogen. Eine Haftung seitens dieser Seite für Schäden und
+Beeinträchtigungen durch Computerviren ist ausgeschlossen. Schadenersatzansprüche sind
+ausgeschlossen. Dies gilt auch für Ansprüche auf Ersatz von Folgeschäden wie Datenverlust.');
+
+?>
\ No newline at end of file
Property changes on: XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/install2.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/mysql.lang.data.sql
===================================================================
--- XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/mysql.lang.data.sql (rev 0)
+++ XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/mysql.lang.data.sql 2014-04-11 11:16:41 UTC (rev 12439)
@@ -0,0 +1,33 @@
+#
+# Dumping data for table `ranks`
+#
+
+INSERT INTO ranks VALUES (1, 'Schaut nur mal vorbei', 0, 20, 0, 'ranks/rank3e632f95e81ca.gif');
+INSERT INTO ranks VALUES (2, 'Nicht zu schüchtern zum Reden', 21, 40, 0, 'ranks/rank3dbf8e94a6f72.gif');
+INSERT INTO ranks VALUES (3, 'Schaut öfter mal vorbei', 41, 70, 0, 'ranks/rank3dbf8e9e7d88d.gif');
+INSERT INTO ranks VALUES (4, 'Kann einfach nicht wegbleiben', 71, 150, 0, 'ranks/rank3dbf8ea81e642.gif');
+INSERT INTO ranks VALUES (5, 'Ist fast schon zuhause hier', 151, 10000, 0, 'ranks/rank3dbf8eb1a72e7.gif');
+INSERT INTO ranks VALUES (6, 'Moderator', 0, 0, 1, 'ranks/rank3dbf8edf15093.gif');
+INSERT INTO ranks VALUES (7, 'Webmaster', 0, 0, 1, 'ranks/rank3dbf8ee8681cd.gif');
+
+#
+# Dumping data for table `smiles`
+#
+
+INSERT INTO smiles VALUES (1, ':-D', 'smilies/smilies/smil3dbd4d4e4c4f2.gif', 'Sehr glücklich', 1);
+INSERT INTO smiles VALUES (2, ':-)', 'smilies/smil3dbd4d6422f04.gif', 'Smile', 1);
+INSERT INTO smiles VALUES (3, ':-(', 'smilies/smil3dbd4d75edb5e.gif', 'Traurig', 1);
+INSERT INTO smiles VALUES (4, ':-o', 'smilies/smil3dbd4d8676346.gif', 'Überrascht', 1);
+INSERT INTO smiles VALUES (5, ':-?', 'smilies/smil3dbd4d99c6eaa.gif', 'Verwirrt', 1);
+INSERT INTO smiles VALUES (6, '8-)', 'smilies/smil3dbd4daabd491.gif', 'Cool', 1);
+INSERT INTO smiles VALUES (7, ':lol:', 'smilies/smil3dbd4dbc14f3f.gif', 'Lachen', 1);
+INSERT INTO smiles VALUES (8, ':-x', 'smilies/smil3dbd4dcd7b9f4.gif', 'Verrückt', 1);
+INSERT INTO smiles VALUES (9, ':-P', 'smilies/smil3dbd4ddd6835f.gif', 'Ätsch', 1);
+INSERT INTO smiles VALUES (10, ':oops:', 'smilies/smil3dbd4df1944ee.gif', 'Peinlich', 0);
+INSERT INTO smiles VALUES (11, ':cry:', 'smilies/smil3dbd4e02c5440.gif', 'Weinen (sehr traurig)', 0);
+INSERT INTO smiles VALUES (12, ':evil:', 'smilies/smil3dbd4e1748cc9.gif', 'Böse oder sehr verrückt', 0);
+INSERT INTO smiles VALUES (13, ':roll:', 'smilies/smil3dbd4e29bbcc7.gif', 'Rollende Augen', 0);
+INSERT INTO smiles VALUES (14, ';-)', 'smilies/smil3dbd4e398ff7b.gif', 'Zwinkern', 0);
+INSERT INTO smiles VALUES (15, ':pint:', 'smilies/smil3dbd4e4c2e742.gif', 'Nochn Glas Bier', 0);
+INSERT INTO smiles VALUES (16, ':hammer:', 'smilies/smil3dbd4e5e7563a.gif', 'In Arbeit', 0);
+INSERT INTO smiles VALUES (17, ':idea:', 'smilies/smil3dbd4e7853679.gif', 'Ich habe eine Idee', 0);
\ No newline at end of file
Added: XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/style.css
===================================================================
Added: XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/support.php
===================================================================
--- XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/support.php (rev 0)
+++ XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/support.php 2014-04-11 11:16:41 UTC (rev 12439)
@@ -0,0 +1,31 @@
+<?php
+/**
+ * Xoops Language
+ *
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license GNU public license 3.0 (http://www.fsf.org/copyleft/gpl.html)
+ * @package Install
+ * @subpackage Xoops Protector Language
+ * @version $Id: 2.5.0.a support.php 21.12.2010
+ *
+ * @LANGCODE de
+ * @CHARSET UTF-8
+ * Translator XOOPS German Translation Team http://www.myxoops.org
+ *
+ */
+
+$supports = array();
+
+// Support site for German
+$supports["german"] = array(
+ "url" => "http://www.myxoops.org/",
+ "title" => "deutscher Support",
+);
+
+// Add extra support sites, use corresponding language folder name as key, for instance:
+$supports["english"] = array(
+ "url" => "http://www.xoops.org/",
+ "title" => "English support",
+);
+
+?>
\ No newline at end of file
Property changes on: XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/support.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/support.png
===================================================================
(Binary files differ)
Index: XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/support.png
===================================================================
--- XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/support.png 2014-04-08 21:34:47 UTC (rev 12438)
+++ XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/support.png 2014-04-11 11:16:41 UTC (rev 12439)
Property changes on: XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/support.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/welcome.php
===================================================================
--- XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/welcome.php (rev 0)
+++ XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/welcome.php 2014-04-11 11:16:41 UTC (rev 12439)
@@ -0,0 +1,46 @@
+<?php
+/**
+ * Xoops Language
+ *
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license GNU public license 3.0 (http://www.fsf.org/copyleft/gpl.html)
+ * @package Install
+ * @subpackage Xoops Protector Language
+ * @version $Id: 2.5.0.a welcome.php 21.12.2010
+ *
+ * @LANGCODE de
+ * @CHARSET UTF-8
+ * Translator XOOPS German Translation Team http://www.myxoops.org
+ *
+ */
+
+$content .= '
+<p>
+ <acronym title="eXtensible Object-Oriented Portal System">XOOPS</acronym> ist ein
+ dynamisches OO (Objekt Orientiertes) Open Source Portalskript geschrieben in PHP.
+ XOOPS ist somit ein ideales CMS für den Aufbau von kleineren und größeren Communities.
+</p>
+<p>
+ XOOPS ist freigegeben unter den Bedingungen der
+ <a href="http://www.gnu.org/copyleft/gpl.html">GNU General Public License (GPL)</a>
+ und ist frei zu verwenden und zu ändern. Es ist frei, so lange Änderungen,
+ wie Sie durch die Bestimungen der GPL genannt sind, erhalten bleiben.
+</p>
+<h3>Anforderungen</h3>
+<ul>
+ <li>WWW Server (<a href="http://www.apache.org/" rel="external">Apache</a>, IIS, Roxen, etc)</li>
+ <li><a href="http://www.php.net/" rel="external">PHP</a> 5.2 oder höher</li>
+ <li><a href="http://www.mysql.com/" rel="external">MySQL</a> 5.1 oder höher</li>
+</ul>
+<h3>Vorbereitungen</h3>
+<ol>
+ <li>Setup des HTTP-Servers, PHP und der Datenbankrechte.</li>
+ <li>Erstellen Sie eine Datenbank für Ihre XOOPS-Seite.</li>
+ <li>Bereiten Sie ein Userkonto vor und vergeben Sie dem User die Rechte zur Datenbank.</li>
+ <li>Die folgenden Verzeichnisse und Dateien müssen beschreibbar sein: %s</li>
+ <li>Für mehr Sicherheit sollten die folgenden Verzeichnisse ausserhalb des <a href="http://phpsec.org/projects/guide/3.html" rel="external">Document root</a> sein und umbenannt werden: %s</li>
+ <li>Erstellen Sie folgende Verzeichnisse und machen diese beschreibbar: %s</li>
+ <li>Schalten Sie Cookies und JavaScript in Ihrem Browser ein.</li>
+</ol>
+';
+?>
\ No newline at end of file
Property changes on: XoopsLanguages/german/core/2.5.6/htdocs/install/language/german/welcome.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsLanguages/german/core/2.5.6/htdocs/language/german/admin.php
===================================================================
--- XoopsLanguages/german/core/2.5.6/htdocs/language/german/admin.php (rev 0)
+++ XoopsLanguages/german/core/2.5.6/htdocs/language/german/admin.php 2014-04-11 11:16:41 UTC (rev 12439)
@@ -0,0 +1,37 @@
+<?php
+/**
+* Xoops Language
+*
+* @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+* @license GNU public license 3.0 (http://www.fsf.org/copyleft/gpl.html)
+* @package Core
+* @subpackage form Language
+* @version $Id: 2.5.0.a admin.php 21.12.2010
+*
+* @LANGCODE de
+* @CHARSET UTF-8
+* Translator XOOPS German Translation Team http://www.myxoops.org
+*
+*
+* ISO 3166 Maintenance agency (ISO 3166/MA) - ISO's focal point for country codes
+* Website: http://www.iso.org/iso/country_codes.htm
+*
+*/
+
+define('_AD_NORIGHT', 'Sie haben nicht die Erlaubnis diesen Bereich zu betreten');
+define('_AD_ACTION', 'Aktion');
+define('_AD_EDIT', 'Bearbeiten');
+define('_AD_DELETE', 'Löschen');
+define('_AD_LASTTENUSERS', 'Die letzten 10 registrierten Benutzer');
+define('_AD_NICKNAME', 'Mitgliedsname:');
+define('_AD_EMAIL', 'eMail');
+define('_AD_AVATAR', 'Avatar');
+define('_AD_REGISTERED', 'Registriert am: ');
+// define( '_AD_PRESSGEN', 'This is your first time to enter the administration section. Press the button below to proceed.' );
+define('_AD_LOGINADMIN', 'Sie werden eingeloggt..');
+define('_AD_WARNINGINSTALL', 'WARNUNG: Das Verzeichnis %s besteht auf Ihrem Server. <br />Entfernen Sie bitte dieses Verzeichnis von Ihrem Server aus Sicherheitsgründen!');
+define('_AD_WARNINGWRITEABLE', 'WARNUNG: Die Datei %s ist vom Server beschreibbar. <br />Bitte setzen Sie die Zugriffsrechte richtig, ansonsten ist es ein Sicherheitsrisiko!.<br /> Unix (444), Win32 (read-only)');
+define('_AD_WARNINGNOTWRITEABLE', 'WARNUNG: Das Verzeichnis %s ist nicht vom Server beschreibbar. <br /> Bitte ändern Sie die Rechte für dieses Verzeichnis.<br /> in Unix (777), in Win32 (writable)');
+define('_AD_WARNINGXOOPSLIBINSIDE','WARNUNG: Das Verzeichnis %s liegt innerhalb des Documenten-Root! <br /> Aus Sicherheitsgründen sollte dieses Verzeichnis außerhalb des Documenten-Root liegen!');
+
+?>
Property changes on: XoopsLanguages/german/core/2.5.6/htdocs/language/german/admin.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsLanguages/german/core/2.5.6/htdocs/language/german/auth.php
===================================================================
--- XoopsLanguages/german/core/2.5.6/htdocs/language/german/auth.php (rev 0)
+++ XoopsLanguages/german/core/2.5.6/htdocs/language/german/auth.php 2014-04-11 11:16:41 UTC (rev 12439)
@@ -0,0 +1,25 @@
+<?php
+/**
+* Xoops Language
+*
+* @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+* @license GNU public license 3.0 (http://www.fsf.org/copyleft/gpl.html)
+* @package Core
+* @subpackage form Language
+* @version $Id:...
[truncated message content] |
|
From: <luc...@us...> - 2014-04-08 21:34:52
|
Revision: 12438
http://sourceforge.net/p/xoops/svn/12438
Author: luciorota
Date: 2014-04-08 21:34:47 +0000 (Tue, 08 Apr 2014)
Log Message:
-----------
Christelle corrections, thanks
Modified Paths:
--------------
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/language/english/admin.php
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/language/english/help/help.html
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/language/english/main.php
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/language/english/modinfo.php
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/language/english/admin.php
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/language/english/admin.php 2014-04-08 21:31:01 UTC (rev 12437)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/language/english/admin.php 2014-04-08 21:34:47 UTC (rev 12438)
@@ -34,7 +34,7 @@
define('_AM_XNEWSLETTER_FORMIMAGE_PATH',"File presents in %s");
define('_AM_XNEWSLETTER_FORMACTION',"Action");
define('_AM_XNEWSLETTER_ERROR_NO_VALID_ID',"Error: no valid id!");
-define('_AM_XNEWSLETTER_OK',"Succesful");
+define('_AM_XNEWSLETTER_OK',"Successful");
define('_AM_XNEWSLETTER_FAILED',"failed");
define('_AM_XNEWSLETTER_SAVE',"Save");
define('_AM_XNEWSLETTER_DETAILS',"Show details");
@@ -151,7 +151,7 @@
define('_AM_XNEWSLETTER_ACCOUNTS_PORT_OUT',"Port out");
define('_AM_XNEWSLETTER_ACCOUNTS_SECURETYPE_OUT',"Securetype out");
define('_AM_XNEWSLETTER_ACCOUNTS_DEFAULT',"Default account");
-define('_AM_XNEWSLETTER_ACCOUNTS_BOUNCE_INFO',"Addtional info for Bounced emails handling");
+define('_AM_XNEWSLETTER_ACCOUNTS_BOUNCE_INFO',"Additional info for Bounced emails handling");
define('_AM_XNEWSLETTER_ACCOUNTS_USE_BMH',"Use Bounced emails handling");
define('_AM_XNEWSLETTER_ACCOUNTS_INBOX',"Mailbox to check for Bounced emails");
define('_AM_XNEWSLETTER_ACCOUNTS_HARDBOX',"Use this mailbox as 'hard box'");
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/language/english/help/help.html
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/language/english/help/help.html 2014-04-08 21:31:01 UTC (rev 12437)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/language/english/help/help.html 2014-04-08 21:34:47 UTC (rev 12438)
@@ -47,7 +47,7 @@
- Sending newsletters to unlimited number of recipients or in packages with certain number of recipients by using cronjob<br />
- Bounced email handler for handling Bounced emails in case of invalid e-mail-addresses<br />
- Optionally synchronisation with mailing lists (e.g. majordomo)<br />
- - Maintenace function included<br />
+ - Maintenance function included<br />
- Creating protocol for the important steps<br />
<br />
</p>
@@ -68,7 +68,7 @@
<h5 class="odd">(Un) subscriptions to newsletters</h5>
<p class="even">
- You can define for each newsletter and for each group, whether for (un) subscritpion or change a confirmation email with activation key is necessary or not (use double-option).<br />
+ You can define for each newsletter and for each group, whether for (un) subscription or change a confirmation email with activation key is necessary or not (use double-option).<br />
<br /><br /></p>
<h5 class="odd">Accounts</h5>
@@ -112,7 +112,7 @@
You can restart sending procedure. You can send it again to all subscribers or send it only to the subscribers, where sending procedure failed).<br />
<br />
You can send all emails immediately or limit emails send in one package.<br />
- The number of emails and the minutes untill next sending can be defined in module preferences (e.g. 200 emails all 60 minutes).<br />
+ The number of emails and the minutes until next sending can be defined in module preferences (e.g. 200 emails all 60 minutes).<br />
The first package will be sent immediately. To start the next sending procedure you need an external cronjob, which is calling "../modules/xNewsletter/cron.php". Xoops cannot do this with current version (2.5.5).<br />
<br />
Pay attention: functions like testing account, sending emails, start Bounced email handler,... work not with local server (you get white page).<br />
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/language/english/main.php
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/language/english/main.php 2014-04-08 21:31:01 UTC (rev 12437)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/language/english/main.php 2014-04-08 21:34:47 UTC (rev 12438)
@@ -28,7 +28,7 @@
// Main
define('_MA_XNEWSLETTER_INDEX',"Home");
define('_MA_XNEWSLETTER_TITLE',"xNewsletter");
-define('_MA_XNEWSLETTER_DESC',"Newsletter module for xoops");
+define('_MA_XNEWSLETTER_DESC',"Newsletter module for Xoops");
define('_MA_XNEWSLETTER_WELCOME',"<h2>Welcome in our newsletter system</h2>We hope, we can keep you up to date with our newsletters. Feel free to subscribe to one or more of our newsletters. If you do not want a newsletter any more, than you can easily unsubscribe here. You also can unsubscribe in a simple way via a link in each of our newsletters.");
define('_MA_XNEWSLETTER_ACCOUNTS',"Accounts");
define('_MA_XNEWSLETTER_CAT',"Category");
@@ -46,7 +46,7 @@
define('_MA_XNEWSLETTER_SUBSCRIPTION_EXIST_NONE',"No subscriptions existing");
define('_MA_XNEWSLETTER_REGISTRATION_EXIST',"Existing registrations of this email");
define('_MA_XNEWSLETTER_REGISTRATION_NONE',"Your email isn't registered till now. For subscriptions we need further information. Please fill in registration form.<br />We want to inform you, that your ip-address will be saved for the purpose of transparency.");
-define('_MA_XNEWSLETTER_REGISTRATION_ADD',"If you want, you can add more than one person to one email, and later on you can make different suscriptions");
+define('_MA_XNEWSLETTER_REGISTRATION_ADD',"If you want, you can add more than one person to one email, and later on you can make different subscriptions");
define('_MA_XNEWSLETTER_SUBSCRIPTION_ADD',"Add a new subscription");
define('_MA_XNEWSLETTER_SUBSCRIPTION_EDIT',"Edit subscriptions");
define('_MA_XNEWSLETTER_SUBSCRIPTION_DELETE',"Delete subscriptions");
@@ -71,8 +71,8 @@
define('_MA_XNEWSLETTER_SUBSCRIPTION_PROT_NO_CHANGE',"No changes in selection newsletter '%nl'");
define('_MA_XNEWSLETTER_SUBSCRIPTION_PROT_DAT_QUITED_REMOVED',"Date quit from newsletter '%nl' successful removed");
define('_MA_XNEWSLETTER_SUBSCRIPTION_PROT_SENT_INFO',"Information mail sent to '%e'");
-define('_MA_XNEWSLETTER_SUBSCRIPTION_QUITED',"<span style='color:red'>Attention: quited by the webmaster!</span>");
-define('_MA_XNEWSLETTER_SUBSCRIPTION_QUITED_DETAIL',"<span style='color:red'>Attention: This subscription has been quited by the webmaster at %q as a result of bounced emails! If you want to reactivate the subscription, please let this newsletter checked.</span>");
+define('_MA_XNEWSLETTER_SUBSCRIPTION_QUITED',"<span style='color:red'>Attention: deactivated by the webmaster!</span>");
+define('_MA_XNEWSLETTER_SUBSCRIPTION_QUITED_DETAIL',"<span style='color:red'>Attention: This subscription has been deactivated by the webmaster at %q as a result of bounced emails! If you want to reactivate the subscription, please let this newsletter checked.</span>");
define('_MA_XNEWSLETTER_UNSUBSCRIPTION_OK',"The email '%e' have been successfully unsubscribed from newsletter '%n'");
define('_MA_XNEWSLETTER_UNSUBSCRIPTION_ERROR',"Error while unsubscribe '%e' from newsletter '%n'");
define('_MA_XNEWSLETTER_SUBSCRIPTION_UPDATE_OK',"Your Newsletter has changed");
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/language/english/modinfo.php
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/language/english/modinfo.php 2014-04-08 21:31:01 UTC (rev 12437)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/language/english/modinfo.php 2014-04-08 21:34:47 UTC (rev 12438)
@@ -27,7 +27,7 @@
*/
// Admin
define('_MI_XNEWSLETTER_NAME',"xNewsletter");
-define('_MI_XNEWSLETTER_DESC',"Newsletter module for xoops");
+define('_MI_XNEWSLETTER_DESC',"Newsletter module for Xoops");
//Menu
define('_MI_XNEWSLETTER_ADMENU1',"Dashboard");
define('_MI_XNEWSLETTER_ADMENU2',"Accounts");
@@ -57,7 +57,7 @@
define('_MI_XNEWSLETTER_EDITOR',"Editor");
define('_MI_XNEWSLETTER_KEYWORDS',"Keywords");
define('_MI_XNEWSLETTER_KEYWORDS_DESC',"Insert here the keywords (separate by comma)");
-define('_MI_XNEWSLETTER_ADMINPERPAGE',"Number of list entries in admin pages");
+define('_MI_XNEWSLETTER_ADMINPERPAGE',"Number of list entries in administration pages");
define('_MI_XNEWSLETTER_ADMINPERPAGE_DESC',"Specifies how many items you want to display per page in the list.");
define('_MI_XNEWSLETTER_ADVERTISE',"Code of advertise");
define('_MI_XNEWSLETTER_ADVERTISE_DESC',"Insert here the code of advertisement");
@@ -65,7 +65,7 @@
define('_MI_XNEWSLETTER_SOCIALACTIVE_DESC',"If you want to see the buttons of social networks, click on Yes");
define('_MI_XNEWSLETTER_SOCIALCODE',"Code of social networks");
define('_MI_XNEWSLETTER_SOCIALCODE_DESC',"Insert here the code of social networks");
-define('_MI_XNEWSLETTER_ATTACHMENT_MAXSIZE',"Max file size");
+define('_MI_XNEWSLETTER_ATTACHMENT_MAXSIZE',"Maximum file size");
define('_MI_XNEWSLETTER_ATTACHMENT_MAXSIZE_DESC',"Maximum file size for attachments");
define('_MI_XNEWSLETTER_ATTACHMENT_MIMETYPES',"Mime-types");
define('_MI_XNEWSLETTER_ATTACHMENT_MIMETYPES_DESC',"Allowed mime-types for attachments");
@@ -80,13 +80,14 @@
define('_MI_XNEWSLETTER_USE_SALUTATION',"Use field salutation");
define('_MI_XNEWSLETTER_USE_SALUTATION_DESC',"Please decide, whether you want use salutations like 'Mr.', 'Mrs.',...");
define('_MI_XNEWSLETTER_SEND_IN_PACKAGES',"Send e-mails in packages");
-define('_MI_XNEWSLETTER_SEND_IN_PACKAGES_DESC',"Number of e-mails, which should be sent in one package. 0 means, that all e-mails always be sent immediatly. You can use this option only, if you can start cronjobs with external programs.");
+define('_MI_XNEWSLETTER_SEND_IN_PACKAGES_DESC',"Number of e-mails, which should be sent in one package. 0 means, that all e-mails always be sent immediately. You can use this option only, if you can start cronjobs with external programs.");
define('_MI_XNEWSLETTER_SEND_IN_PACKAGES_TIME',"Time period for sending e-mails in packages");
define('_MI_XNEWSLETTER_SEND_IN_PACKAGES_TIME_DESC',"Time period in minutes, when the next package should be sent. Only used, if 'Send e-mails in packages' is bigger than 0.");
define('_MI_XNEWSLETTER_UPGRADEFAILED',"Error while updating module");
// version 1.2
define('_MI_XNEWSLETTER_SUBSCRINFO_BLOCK',"Info Newsletter");
define('_MI_XNEWSLETTER_SUBSCRINFO_TEXT_BLOCK',"If you want to be informed in time, then subscribe to our newsletter");
+// version 1.3
define('_MI_XNEWSLETTER_WELCOME_MESSAGE',"Welcome message");
define('_MI_XNEWSLETTER_WELCOME_MESSAGE_DESC',"Html format");
define('_MI_XNEWSLETTER_WELCOME',"<h2>Welcome in our newsletter system</h2>We hope, we can keep you up to date with our newsletters. Feel free to subscribe to one or more of our newsletters. If you do not want a newsletter any more, than you can easily unsubscribe here. You also can unsubscribe in a simple way via a link in each of our newsletters.");
|
|
From: <luc...@us...> - 2014-04-08 21:31:06
|
Revision: 12437
http://sourceforge.net/p/xoops/svn/12437
Author: luciorota
Date: 2014-04-08 21:31:01 +0000 (Tue, 08 Apr 2014)
Log Message:
-----------
use defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined");
change $i++; to ++$i;
Modified Paths:
--------------
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/include/config.php
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/include/functions.php
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/include/task.inc.php
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/plugins/xoopsuser.php
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/xoops_version.php
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/include/config.php
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/include/config.php 2014-04-08 21:29:30 UTC (rev 12436)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/include/config.php 2014-04-08 21:31:01 UTC (rev 12437)
@@ -26,9 +26,7 @@
* ****************************************************************************
*/
-if (!defined("XOOPS_ROOT_PATH")) {
- die("XOOPS root path not defined");
-}
+defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined");
// module information
$moduleImageUrl = XNEWSLETTER_URL . "/images/xNewsletter.png";
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/include/functions.php
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/include/functions.php 2014-04-08 21:29:30 UTC (rev 12436)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/include/functions.php 2014-04-08 21:31:01 UTC (rev 12437)
@@ -25,9 +25,7 @@
* Version : 1 Mon 2012/11/05 14:31:32 : Exp $
* ****************************************************************************
*/
-if (!defined("XOOPS_ROOT_PATH")) {
- die("XOOPS root path not defined");
-}
+defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined");
include_once dirname(__FILE__) . '/common.php';
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/include/task.inc.php
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/include/task.inc.php 2014-04-08 21:29:30 UTC (rev 12436)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/include/task.inc.php 2014-04-08 21:31:01 UTC (rev 12437)
@@ -26,9 +26,7 @@
* ****************************************************************************
*/
-if (!defined("XOOPS_ROOT_PATH")) {
- die("XOOPS root path not defined");
-}
+defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined");
include_once dirname(__FILE__) . '/common.php';
function xNewsletter_createTasks($op, $letter_id, $xn_send_in_packages, $xn_send_in_packages_time) {
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/plugins/xoopsuser.php
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/plugins/xoopsuser.php 2014-04-08 21:29:30 UTC (rev 12436)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/plugins/xoopsuser.php 2014-04-08 21:31:01 UTC (rev 12437)
@@ -25,9 +25,7 @@
* Version : $Id $
* ****************************************************************************
*/
-if (!defined("XOOPS_ROOT_PATH")) {
- die("XOOPS root path not defined");
-}
+defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined");
include_once dirname(__FILE__) . '/common.php';
function xnewsletter_plugin_getinfo_xoopsuser() {
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/xoops_version.php
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/xoops_version.php 2014-04-08 21:29:30 UTC (rev 12436)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/xoops_version.php 2014-04-08 21:31:01 UTC (rev 12437)
@@ -79,7 +79,7 @@
$i = 0;
$modversion['helpsection'][$i]['name'] = "Overview";
$modversion['helpsection'][$i]['link'] = "page=help";
-$i++;
+++$i;
$modversion['helpsection'][$i]['name'] = "Install";
$modversion['helpsection'][$i]['link'] = "page=help2";
@@ -131,10 +131,11 @@
$subcount = 1;
$modversion['sub'][$subcount]['name'] = _MI_XNEWSLETTER_SUBSCRIBE;
-$modversion['sub'][$subcount++]['url'] = "subscription.php?op=list_subscriptions";
-
+$modversion['sub'][$subcount]['url'] = "subscription.php?op=list_subscriptions";
+++$subcount;
$modversion['sub'][$subcount]['name'] = _MI_XNEWSLETTER_LIST;
-$modversion['sub'][$subcount++]['url'] = "index.php?op=list_letters";
+$modversion['sub'][$subcount]['url'] = "index.php?op=list_letters";
+++$subcount;
$showEdit = false;
$showCreate = false;
@@ -162,11 +163,13 @@
}
if ($showCreate == true) {
$modversion['sub'][$subcount]['name'] = _MI_XNEWSLETTER_CREATE;
- $modversion['sub'][$subcount++]['url'] = "letter.php?op=new_letter";
+ $modversion['sub'][$subcount]['url'] = "letter.php?op=new_letter";
+ ++$subcount;
}
if ($showList == true) {
$modversion['sub'][$subcount]['name'] = _MI_XNEWSLETTER_LIST_SUBSCR;
- $modversion['sub'][$subcount++]['url'] = "letter.php?op=list_subscrs";
+ $modversion['sub'][$subcount]['url'] = "letter.php?op=list_subscrs";
+ ++$subcount;
}
}
}
@@ -175,45 +178,45 @@
$i = 1;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_header.html';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_footer.html';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_index.html';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_index_list_letters.html';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_subscription.html';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_subscription_result.html';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_subscription_list_subscriptions.html';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_letter.html';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_print.html';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_letter_preview.html';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_letter_list_letters.html';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_letter_list_subscrs.html';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_protocol.html';
$modversion['templates'][$i]['description'] = '';
// Common templates
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_common_breadcrumb.html';
$modversion['templates'][$i]['description'] = '';
@@ -231,14 +234,14 @@
$modversion['config'][$i]['default'] = "dhtmltextarea";
$modversion['config'][$i]['options'] = XoopsLists::getEditorList();
$modversion['config'][$i]['category'] = "global";
-$i++;
+++$i;
$modversion['config'][$i]['name'] = "keywords";
$modversion['config'][$i]['title'] = "_MI_XNEWSLETTER_KEYWORDS";
$modversion['config'][$i]['description'] = "_MI_XNEWSLETTER_KEYWORDS_DESC";
$modversion['config'][$i]['formtype'] = "textbox";
$modversion['config'][$i]['valuetype'] = "text";
$modversion['config'][$i]['default'] = "";
-$i++;
+++$i;
//Uploads : size letter_attachment
$modversion['config'][$i]['name'] = "xn_maxsize";
$modversion['config'][$i]['title'] = "_MI_XNEWSLETTER_ATTACHMENT_MAXSIZE";
@@ -246,7 +249,7 @@
$modversion['config'][$i]['formtype'] = "textbox";
$modversion['config'][$i]['valuetype'] = "int";
$modversion['config'][$i]['default'] = "10485760"; // 1MByte
-$i++;
+++$i;
//Uploads : mimetypes letter_attachment
$modversion['config'][$i]['name'] = "xn_mimetypes";
$modversion['config'][$i]['title'] = "_MI_XNEWSLETTER_ATTACHMENT_MIMETYPES";
@@ -284,7 +287,7 @@
'rtf' => 'text/rtf'
);
-$i++;
+++$i;
//Uploads : path attachments
$modversion["config"][$i]["name"] = "xn_attachment_path";
$modversion["config"][$i]["title"] = "_MI_XNEWSLETTER_ATTACHMENT_PATH";
@@ -292,14 +295,14 @@
$modversion["config"][$i]["formtype"] = "textbox";
$modversion["config"][$i]["valuetype"] = "text";
$modversion["config"][$i]["default"] = "/xNewsletter/attachments/";
-$i++;
+++$i;
$modversion['config'][$i]['name'] = "adminperpage";
$modversion['config'][$i]['title'] = "_MI_XNEWSLETTER_ADMINPERPAGE";
$modversion['config'][$i]['description'] = "_MI_XNEWSLETTER_ADMINPERPAGE_DESC";
$modversion['config'][$i]['formtype'] = "textbox";
$modversion['config'][$i]['valuetype'] = "text";
$modversion['config'][$i]['default'] = '15';
-$i++;
+++$i;
$modversion['config'][$i] = array(
'name' => 'dateformat',
'title' => '_MI_XNEWSLETTER_DATEFORMAT',
@@ -308,70 +311,70 @@
'valuetype' => 'text',
'default' => _DATESTRING
); //'D, d-M-Y');
-$i++;
+++$i;
$modversion['config'][$i]['name'] = "welcome_message";
$modversion['config'][$i]['title'] = "_MI_XNEWSLETTER_WELCOME_MESSAGE";
$modversion['config'][$i]['description'] = "_MI_XNEWSLETTER_WELCOME_MESSAGE_DESC";
$modversion['config'][$i]['formtype'] = "textarea";
$modversion['config'][$i]['valuetype'] = "text";
$modversion['config'][$i]['default'] = _MI_XNEWSLETTER_WELCOME;
-$i++;
+++$i;
$modversion['config'][$i]['name'] = "advertise";
$modversion['config'][$i]['title'] = "_MI_XNEWSLETTER_ADVERTISE";
$modversion['config'][$i]['description'] = "_MI_XNEWSLETTER_ADVERTISE_DESC";
$modversion['config'][$i]['formtype'] = "textarea";
$modversion['config'][$i]['valuetype'] = "text";
$modversion['config'][$i]['default'] = "";
-$i++;
+++$i;
$modversion['config'][$i]['name'] = "social_active";
$modversion['config'][$i]['title'] = "_MI_XNEWSLETTER_SOCIALACTIVE";
$modversion['config'][$i]['description'] = "_MI_XNEWSLETTER_SOCIALACTIVE_DESC";
$modversion['config'][$i]['formtype'] = "yesno";
$modversion['config'][$i]['valuetype'] = "int";
$modversion['config'][$i]['default'] = 0; // false
-$i++;
+++$i;
$modversion['config'][$i]['name'] = "social_code";
$modversion['config'][$i]['title'] = "_MI_XNEWSLETTER_SOCIALCODE";
$modversion['config'][$i]['description'] = "_MI_XNEWSLETTER_SOCIALCODE_DESC";
$modversion['config'][$i]['formtype'] = "textarea";
$modversion['config'][$i]['valuetype'] = "text";
$modversion['config'][$i]['default'] = "";
-$i++;
+++$i;
$modversion['config'][$i]['name'] = "xn_use_mailinglist";
$modversion['config'][$i]['title'] = "_MI_XNEWSLETTER_USE_MAILINGLIST";
$modversion['config'][$i]['description'] = "_MI_XNEWSLETTER_USE_MAILINGLIST_DESC";
$modversion['config'][$i]['formtype'] = "yesno";
$modversion['config'][$i]['valuetype'] = "int";
$modversion['config'][$i]['default'] = 0; // false
-$i++;
+++$i;
$modversion['config'][$i]['name'] = "xn_use_salutation";
$modversion['config'][$i]['title'] = "_MI_XNEWSLETTER_USE_SALUTATION";
$modversion['config'][$i]['description'] = "_MI_XNEWSLETTER_USE_SALUTATION_DESC";
$modversion['config'][$i]['formtype'] = "yesno";
$modversion['config'][$i]['valuetype'] = "int";
$modversion['config'][$i]['default'] = 1; // true
-$i++;
+++$i;
$modversion['config'][$i]['name'] = "xn_groups_without_actkey";
$modversion['config'][$i]['title'] = "_MI_XNEWSLETTER_GROUPS_WITHOUT_ACTKEY";
$modversion['config'][$i]['description'] = "_MI_XNEWSLETTER_GROUPS_WITHOUT_ACTKEY_DESC";
$modversion['config'][$i]['formtype'] = "group_multi";
$modversion['config'][$i]['valuetype'] = "array";
$modversion['config'][$i]['default'] = '1';
-$i++;
+++$i;
$modversion['config'][$i]['name'] = "xn_groups_change_other";
$modversion['config'][$i]['title'] = "_MI_XNEWSLETTER_GROUPS_CHANGE_OTHER";
$modversion['config'][$i]['description'] = "_MI_XNEWSLETTER_GROUPS_CHANGE_OTHER_DESC";
$modversion['config'][$i]['formtype'] = "group_multi";
$modversion['config'][$i]['valuetype'] = "array";
$modversion['config'][$i]['default'] = '1';
-$i++;
+++$i;
$modversion['config'][$i]['name'] = "xn_send_in_packages";
$modversion['config'][$i]['title'] = "_MI_XNEWSLETTER_SEND_IN_PACKAGES";
$modversion['config'][$i]['description'] = "_MI_XNEWSLETTER_SEND_IN_PACKAGES_DESC";
$modversion['config'][$i]['formtype'] = "textbox";
$modversion['config'][$i]['valuetype'] = "int";
$modversion['config'][$i]['default'] = '0';
-$i++;
+++$i;
$modversion['config'][$i]['name'] = "xn_send_in_packages_time";
$modversion['config'][$i]['title'] = "_MI_XNEWSLETTER_SEND_IN_PACKAGES_TIME";
$modversion['config'][$i]['description'] = "_MI_XNEWSLETTER_SEND_IN_PACKAGES_TIME_DESC";
|
|
From: <luc...@us...> - 2014-04-08 21:29:34
|
Revision: 12436
http://sourceforge.net/p/xoops/svn/12436
Author: luciorota
Date: 2014-04-08 21:29:30 +0000 (Tue, 08 Apr 2014)
Log Message:
-----------
change "$i++" to "++$i"
use defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined");
Modified Paths:
--------------
XoopsModules/wfdownloads/trunk/wfdownloads/class/dbupdater.php
XoopsModules/wfdownloads/trunk/wfdownloads/include/comment_functions.php
XoopsModules/wfdownloads/trunk/wfdownloads/include/functions.php
XoopsModules/wfdownloads/trunk/wfdownloads/include/module.php
XoopsModules/wfdownloads/trunk/wfdownloads/xoops_version.php
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/class/dbupdater.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/class/dbupdater.php 2014-04-07 23:49:36 UTC (rev 12435)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/class/dbupdater.php 2014-04-08 21:29:30 UTC (rev 12436)
@@ -38,9 +38,7 @@
* @author marcan <ma...@sm...>
* @link http://www.smartfactory.ca The SmartFactory
*/
-if (!defined("XOOPS_ROOT_PATH")) {
- die("XOOPS root path not defined");
-}
+defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined");
class WfdownloadsTable
{
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/include/comment_functions.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/include/comment_functions.php 2014-04-07 23:49:36 UTC (rev 12435)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/include/comment_functions.php 2014-04-08 21:29:30 UTC (rev 12436)
@@ -19,9 +19,7 @@
* @version svn:$id$
*/
-if (!defined("XOOPS_ROOT_PATH")) {
- die("XOOPS root path not defined");
-}
+defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined");
include_once dirname(__FILE__) . '/common.php';
// comment callback functions
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/include/functions.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/include/functions.php 2014-04-07 23:49:36 UTC (rev 12435)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/include/functions.php 2014-04-08 21:29:30 UTC (rev 12436)
@@ -18,9 +18,7 @@
* @author Xoops Development Team
* @version svn:$id$
*/
-if (!defined("XOOPS_ROOT_PATH")) {
- die("XOOPS root path not defined");
-}
+defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined");
include_once dirname(__FILE__) . '/common.php';
/**
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/include/module.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/include/module.php 2014-04-07 23:49:36 UTC (rev 12435)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/include/module.php 2014-04-08 21:29:30 UTC (rev 12436)
@@ -18,9 +18,7 @@
* @author Xoops Development Team
* @version svn:$id$
*/
-if (!defined("XOOPS_ROOT_PATH")) {
- die("Xoops root path not defined");
-}
+defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined");
include_once(XOOPS_ROOT_PATH . "/modules/wfdownloads/class/dbupdater.php");
include_once(XOOPS_ROOT_PATH . "/modules/wfdownloads/include/common.php");
@include_once(XOOPS_ROOT_PATH . "/modules/wfdownloads/language/" . $xoopsConfig['language'] . "/admin.php");
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/xoops_version.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/xoops_version.php 2014-04-07 23:49:36 UTC (rev 12435)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/xoops_version.php 2014-04-08 21:29:30 UTC (rev 12436)
@@ -68,19 +68,19 @@
$i = 0;
$modversion['helpsection'][$i]['name'] = "Overview";
$modversion['helpsection'][$i]['link'] = "page=help";
-$i++;
+++$i;
$modversion['helpsection'][$i]['name'] = "Fresh Install";
$modversion['helpsection'][$i]['link'] = "page=help2";
-$i++;
+++$i;
$modversion['helpsection'][$i]['name'] = "Import";
$modversion['helpsection'][$i]['link'] = "page=help3";
-$i++;
+++$i;
$modversion['helpsection'][$i]['name'] = "Updates Notes";
$modversion['helpsection'][$i]['link'] = "page=help4";
-$i++;
+++$i;
$modversion['helpsection'][$i]['name'] = "Updates from 2.0 - 3.10";
$modversion['helpsection'][$i]['link'] = "page=help5";
-$i++;
+++$i;
$modversion['helpsection'][$i]['name'] = "Updates from 3.10+";
$modversion['helpsection'][$i]['link'] = "page=help6";
@@ -117,25 +117,25 @@
// Tables created by sql file (without prefix!)
$i = 0;
$modversion['tables'][$i] = $modversion['dirname'] . '_broken';
-$i++;
+++$i;
$modversion['tables'][$i] = $modversion['dirname'] . '_cat';
-$i++;
+++$i;
$modversion['tables'][$i] = $modversion['dirname'] . '_downloads';
-$i++;
+++$i;
$modversion['tables'][$i] = $modversion['dirname'] . '_mod';
-$i++;
+++$i;
$modversion['tables'][$i] = $modversion['dirname'] . '_votedata';
-$i++;
+++$i;
$modversion['tables'][$i] = $modversion['dirname'] . '_indexpage';
-$i++;
+++$i;
$modversion['tables'][$i] = $modversion['dirname'] . '_reviews';
-$i++;
+++$i;
$modversion['tables'][$i] = $modversion['dirname'] . '_mimetypes';
-$i++;
+++$i;
$modversion['tables'][$i] = $modversion['dirname'] . '_meta';
-$i++;
+++$i;
$modversion['tables'][$i] = $modversion['dirname'] . '_mirrors';
-$i++;
+++$i;
$modversion['tables'][$i] = $modversion['dirname'] . '_ip_log';
@@ -171,15 +171,15 @@
}
$i = 0;
if ($isSubmissionAllowed) {
- $i++;
+ ++$i;
$modversion['sub'][$i]['name'] = _MI_WFDOWNLOADS_SMNAME1;
$category_suffix = (!empty($_GET['cid'])) ? "?cid=" . intval($_GET['cid']) : ""; //Added by Lankford on 2008/2/20
$modversion['sub'][$i]['url'] = "submit.php{$category_suffix}";
}
-$i++;
+++$i;
$modversion['sub'][$i]['name'] = _MI_WFDOWNLOADS_SMNAME2;
$modversion['sub'][$i]['url'] = "topten.php?list=hit";
-$i++;
+++$i;
$modversion['sub'][$i]['name'] = _MI_WFDOWNLOADS_SMNAME3;
$modversion['sub'][$i]['url'] = "topten.php?list=rate";
unset($i);
@@ -194,7 +194,7 @@
$modversion['blocks'][$i]['edit_func'] = $modversion['dirname'] . "_top_edit";
$modversion['blocks'][$i]['options'] = "published|10|19";
$modversion['blocks'][$i]['template'] = $modversion['dirname'] . "_block_new.html";
-$i++;
+++$i;
$modversion['blocks'][$i]['file'] = "top.php";
$modversion['blocks'][$i]['name'] = _MI_WFDOWNLOADS_BNAME2;
$modversion['blocks'][$i]['description'] = "Shows most downloaded files";
@@ -202,7 +202,7 @@
$modversion['blocks'][$i]['edit_func'] = $modversion['dirname'] . "_top_edit";
$modversion['blocks'][$i]['options'] = "hits|10|19";
$modversion['blocks'][$i]['template'] = $modversion['dirname'] . "_block_top.html";
-$i++;
+++$i;
$modversion['blocks'][$i]['file'] = "top_by_cat.php";
$modversion['blocks'][$i]['name'] = _MI_WFDOWNLOADS_BNAME3;
$modversion['blocks'][$i]['description'] = "Shows most downloaded files by top categories";
@@ -227,89 +227,89 @@
$i = 1;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_header.html';
$modversion['templates'][$i]['description'] = 'Header info';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_footer.html';
$modversion['templates'][$i]['description'] = 'Footer info';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_brokenfile.html';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_download.html';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_index.html';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_ratefile.html';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_singlefile.html';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_topten.html';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_viewcat.html';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_newlistindex.html';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_reviews.html';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_mirrors.html';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_disclaimer.html';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_submit.html';
$modversion['templates'][$i]['description'] = '';
// Admin templates
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_admin_categorieslist.html';
$modversion['templates'][$i]['type'] = 'admin';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_admin_downloadslist.html';
$modversion['templates'][$i]['type'] = 'admin';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_admin_ip_logslist.html';
$modversion['templates'][$i]['type'] = 'admin';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_admin_reportsmodificationslist.html';
$modversion['templates'][$i]['type'] = 'admin';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_admin_ratingslist.html';
$modversion['templates'][$i]['type'] = 'admin';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_admin_reviewslist.html';
$modversion['templates'][$i]['type'] = 'admin';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_admin_mirrorslist.html';
$modversion['templates'][$i]['type'] = 'admin';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_admin_mimetypeslist.html';
$modversion['templates'][$i]['type'] = 'admin';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_admin_permissions.html';
$modversion['templates'][$i]['type'] = 'admin';
$modversion['templates'][$i]['description'] = '';
// Common templates
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_common_breadcrumb.html';
$modversion['templates'][$i]['description'] = '';
-$i++;
+++$i;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_common_letterschoice.html';
$modversion['templates'][$i]['description'] = '';
@@ -1044,14 +1044,14 @@
$modversion['notification']['category'][$i]['description'] = _MI_WFDOWNLOADS_GLOBAL_NOTIFYDSC;
$modversion['notification']['category'][$i]['item_name'] = '';
$modversion['notification']['category'][$i]['subscribe_from'] = array('index.php', 'viewcat.php', 'singlefile.php');
-$i++;
+++$i;
$modversion['notification']['category'][$i]['name'] = 'category';
$modversion['notification']['category'][$i]['title'] = _MI_WFDOWNLOADS_CATEGORY_NOTIFY;
$modversion['notification']['category'][$i]['description'] = _MI_WFDOWNLOADS_CATEGORY_NOTIFYDSC;
$modversion['notification']['category'][$i]['subscribe_from'] = array('viewcat.php', 'singlefile.php');
$modversion['notification']['category'][$i]['item_name'] = 'cid';
$modversion['notification']['category'][$i]['allow_bookmark'] = true;
-$i++;
+++$i;
$modversion['notification']['category'][$i]['name'] = 'file';
$modversion['notification']['category'][$i]['title'] = _MI_WFDOWNLOADS_FILE_NOTIFY;
$modversion['notification']['category'][$i]['description'] = _MI_WFDOWNLOADS_FILE_NOTIFYDSC;
@@ -1067,7 +1067,7 @@
$modversion['notification']['event'][$i]['description'] = _MI_WFDOWNLOADS_GLOBAL_NEWCATEGORY_NOTIFYDSC;
$modversion['notification']['event'][$i]['mail_template'] = 'global_newcategory_notify';
$modversion['notification']['event'][$i]['mail_subject'] = _MI_WFDOWNLOADS_GLOBAL_NEWCATEGORY_NOTIFYSBJ;
-$i++;
+++$i;
$modversion['notification']['event'][$i]['name'] = 'file_modify';
$modversion['notification']['event'][$i]['category'] = 'global';
$modversion['notification']['event'][$i]['admin_only'] = true;
@@ -1076,7 +1076,7 @@
$modversion['notification']['event'][$i]['description'] = _MI_WFDOWNLOADS_GLOBAL_FILEMODIFY_NOTIFYDSC;
$modversion['notification']['event'][$i]['mail_template'] = 'global_filemodify_notify';
$modversion['notification']['event'][$i]['mail_subject'] = _MI_WFDOWNLOADS_GLOBAL_FILEMODIFY_NOTIFYSBJ;
-$i++;
+++$i;
$modversion['notification']['event'][$i]['name'] = 'file_broken';
$modversion['notification']['event'][$i]['category'] = 'global';
$modversion['notification']['event'][$i]['admin_only'] = true;
@@ -1085,7 +1085,7 @@
$modversion['notification']['event'][$i]['description'] = _MI_WFDOWNLOADS_GLOBAL_FILEBROKEN_NOTIFYDSC;
$modversion['notification']['event'][$i]['mail_template'] = 'global_filebroken_notify';
$modversion['notification']['event'][$i]['mail_subject'] = _MI_WFDOWNLOADS_GLOBAL_FILEBROKEN_NOTIFYSBJ;
-$i++;
+++$i;
$modversion['notification']['event'][$i]['name'] = 'file_submit';
$modversion['notification']['event'][$i]['category'] = 'global';
$modversion['notification']['event'][$i]['admin_only'] = true;
@@ -1094,7 +1094,7 @@
$modversion['notification']['event'][$i]['description'] = _MI_WFDOWNLOADS_GLOBAL_FILESUBMIT_NOTIFYDSC;
$modversion['notification']['event'][$i]['mail_template'] = 'global_filesubmit_notify';
$modversion['notification']['event'][$i]['mail_subject'] = _MI_WFDOWNLOADS_GLOBAL_FILESUBMIT_NOTIFYSBJ;
-$i++;
+++$i;
$modversion['notification']['event'][$i]['name'] = 'new_file';
$modversion['notification']['event'][$i]['category'] = 'global';
$modversion['notification']['event'][$i]['title'] = _MI_WFDOWNLOADS_GLOBAL_NEWFILE_NOTIFY;
@@ -1102,7 +1102,7 @@
$modversion['notification']['event'][$i]['description'] = _MI_WFDOWNLOADS_GLOBAL_NEWFILE_NOTIFYDSC;
$modversion['notification']['event'][$i]['mail_template'] = 'global_newfile_notify';
$modversion['notification']['event'][$i]['mail_subject'] = _MI_WFDOWNLOADS_GLOBAL_NEWFILE_NOTIFYSBJ;
-$i++;
+++$i;
$modversion['notification']['event'][$i]['name'] = 'file_submit';
$modversion['notification']['event'][$i]['category'] = 'category';
$modversion['notification']['event'][$i]['admin_only'] = true;
@@ -1111,7 +1111,7 @@
$modversion['notification']['event'][$i]['description'] = _MI_WFDOWNLOADS_CATEGORY_FILESUBMIT_NOTIFYDSC;
$modversion['notification']['event'][$i]['mail_template'] = 'category_filesubmit_notify';
$modversion['notification']['event'][$i]['mail_subject'] = _MI_WFDOWNLOADS_CATEGORY_FILESUBMIT_NOTIFYSBJ;
-$i++;
+++$i;
$modversion['notification']['event'][$i]['name'] = 'new_file';
$modversion['notification']['event'][$i]['category'] = 'category';
$modversion['notification']['event'][$i]['title'] = _MI_WFDOWNLOADS_CATEGORY_NEWFILE_NOTIFY;
@@ -1119,7 +1119,7 @@
$modversion['notification']['event'][$i]['description'] = _MI_WFDOWNLOADS_CATEGORY_NEWFILE_NOTIFYDSC;
$modversion['notification']['event'][$i]['mail_template'] = 'category_newfile_notify';
$modversion['notification']['event'][$i]['mail_subject'] = _MI_WFDOWNLOADS_CATEGORY_NEWFILE_NOTIFYSBJ;
-$i++;
+++$i;
$modversion['notification']['event'][$i]['name'] = 'approve';
$modversion['notification']['event'][$i]['category'] = 'file';
$modversion['notification']['event'][$i]['invisible'] = true;
@@ -1128,7 +1128,7 @@
$modversion['notification']['event'][$i]['description'] = _MI_WFDOWNLOADS_FILE_APPROVE_NOTIFYDSC;
$modversion['notification']['event'][$i]['mail_template'] = 'file_approve_notify';
$modversion['notification']['event'][$i]['mail_subject'] = _MI_WFDOWNLOADS_FILE_APPROVE_NOTIFYSBJ;
-$i++;
+++$i;
$modversion['notification']['event'][$i]['name'] = 'filemodified';
$modversion['notification']['event'][$i]['category'] = 'file';
$modversion['notification']['event'][$i]['title'] = _MI_WFDOWNLOADS_FILE_FILEMODIFIED_NOTIFY;
@@ -1136,7 +1136,7 @@
$modversion['notification']['event'][$i]['description'] = _MI_WFDOWNLOADS_FILE_FILEMODIFIED_NOTIFYDSC;
$modversion['notification']['event'][$i]['mail_template'] = 'file_filemodified_notify';
$modversion['notification']['event'][$i]['mail_subject'] = _MI_WFDOWNLOADS_FILE_FILEMODIFIED_NOTIFYSBJ;
-$i++;
+++$i;
$modversion['notification']['event'][$i]['name'] = 'filemodified';
$modversion['notification']['event'][$i]['category'] = 'category';
$modversion['notification']['event'][$i]['title'] = _MI_WFDOWNLOADS_CATEGORY_FILEMODIFIED_NOTIFY;
@@ -1144,7 +1144,7 @@
$modversion['notification']['event'][$i]['description'] = _MI_WFDOWNLOADS_CATEGORY_FILEMODIFIED_NOTIFYDSC;
$modversion['notification']['event'][$i]['mail_template'] = 'category_filemodified_notify';
$modversion['notification']['event'][$i]['mail_subject'] = _MI_WFDOWNLOADS_CATEGORY_FILEMODIFIED_NOTIFYSBJ;
-$i++;
+++$i;
$modversion['notification']['event'][$i]['name'] = 'filemodified';
$modversion['notification']['event'][$i]['category'] = 'global';
$modversion['notification']['event'][$i]['title'] = _MI_WFDOWNLOADS_GLOBAL_FILEMODIFIED_NOTIFY;
|
|
From: <txm...@us...> - 2014-04-07 23:49:40
|
Revision: 12435
http://sourceforge.net/p/xoops/svn/12435
Author: txmodxoops
Date: 2014-04-07 23:49:36 +0000 (Mon, 07 Apr 2014)
Log Message:
-----------
Updated
Work in progress
Merged script for logo generator from class/modules.php to js/functions.js
Modified Paths:
--------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/building.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/modules.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_footer.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_header.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_index.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_menu.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_pages.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_permissions.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_templates.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks_files.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks_templates.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/class_files.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/css_styles.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/docs_files.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/file.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/htmlsmartycodes.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_comments.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_common.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_functions.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_install.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_jquery.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_notifications.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_search.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language_admin.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language_blocks.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language_main.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language_modinfo.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/sql_file.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates_footer.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates_header.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates_index.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_footer.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_header.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_index.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_pages.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_templates.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_xoopsversion.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/modules.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/tables.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/functions.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/js/functions.js
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/language/english/admin.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_building.html
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/xoops_version.php
Added Paths:
-----------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/abstractfiles.php
Removed Paths:
-------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/headerfiles.php
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/building.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/building.php 2014-04-07 22:47:55 UTC (rev 12434)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/building.php 2014-04-07 23:49:36 UTC (rev 12435)
@@ -47,8 +47,9 @@
/*} else {
$GLOBALS['xoopsTpl']->assign('base_architecture', false);
}*/
+ $mod_name = 'uploads/tdmcreate/modules/' . str_replace(' ', '', strtolower($modules->getVar('mod_name')));
// Creation of the structure of folders and files
- $GLOBALS['xoopsTpl']->assign('build_list', 'Under new construction - Temporary build');
+ $GLOBALS['xoopsTpl']->assign('build_list', 'Under new construction - Temporary build only folders of this selected module "'.$mod_name.'/"');
break;
case 'default':
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/modules.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/modules.php 2014-04-07 22:47:55 UTC (rev 12434)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/modules.php 2014-04-07 23:49:36 UTC (rev 12435)
@@ -75,6 +75,7 @@
case 'new':
// Define main template
$template_main = 'tdmcreate_modules.html';
+ $GLOBALS['xoTheme']->addScript('modules/TDMCreate/js/functions.js');
$GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('modules.php'));
$adminMenu->addItemButton(_AM_TDMCREATE_MODULES_LIST, 'modules.php', 'list');
$GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton());
@@ -114,11 +115,10 @@
'mod_manual_file' => $_POST['mod_manual_file']));
//Form mod_image
include_once XOOPS_ROOT_PATH . '/class/uploader.php';
- $uploaddir = TDMC_UPLOAD_PATH.'/images/modules/';
- $uploader = new XoopsMediaUploader($uploaddir, xoops_getModuleOption('mimetypes'),
- xoops_getModuleOption('maxsize'), null, null);
+ $uploader = new XoopsMediaUploader(TDMC_UPLOAD_IMGMOD_PATH, $GLOBALS['xoopsModuleConfig']['mimetypes'],
+ $GLOBALS['xoopsModuleConfig']['maxsize'], null, null);
if ($uploader->fetchMedia($_POST['xoops_upload_file'][0])) {
- $extension = preg_replace( '/^.+\.([^.]+)$/sU' , '\\1' , $_FILES['attaccedFile']['name']);
+ $extension = preg_replace( '/^.+\.([^.]+)$/sU' , '\\1' , $_FILES['attachedfile']['name']);
$name_img = $_GET['mod_name'].'_slogo.'.$extension;
$uploader->setPrefix($name_img);
$uploader->fetchMedia($_POST['xoops_upload_file'][0]);
@@ -138,13 +138,15 @@
'mod_support_name' => $_POST['mod_support_name'],
'mod_website_url' => $_POST['mod_website_url'],
'mod_website_name' => $_POST['mod_website_name'],
- 'mod_release' => $_POST['mod_release'], 'mod_status' => $_POST['mod_status'],
+ 'mod_release' => $_POST['mod_release'],
+ 'mod_status' => $_POST['mod_status'],
'mod_admin' => (($_REQUEST['mod_admin'] == 1) ? '1' : '0'),
'mod_user' => (($_REQUEST['mod_user'] == 1) ? '1' : '0'),
'mod_submenu' => (($_REQUEST['mod_submenu'] == 1) ? '1' : '0'),
'mod_search' => (($_REQUEST['mod_search'] == 1) ? '1' : '0'),
'mod_comments' => (($_REQUEST['mod_comments'] == 1) ? '1' : '0'),
'mod_notifications' => (($_REQUEST['mod_notifications'] == 1) ? '1' : '0'),
+ 'mod_permissions' => (($_REQUEST['mod_permissions'] == 1) ? '1' : '0'),
'mod_donations' => $_POST['mod_donations'],
'mod_subversion' => $_POST['mod_subversion'])
);
@@ -161,6 +163,7 @@
case 'edit':
// Define main template
$template_main = 'tdmcreate_modules.html';
+ $GLOBALS['xoTheme']->addScript('modules/TDMCreate/js/functions.js');
$GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('modules.php'));
$adminMenu->addItemButton(_AM_TDMCREATE_ADD_MODULE, 'modules.php?op=new', 'add');
$adminMenu->addItemButton(_AM_TDMCREATE_MODULES_LIST, 'modules.php', 'list');
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php 2014-04-07 22:47:55 UTC (rev 12434)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php 2014-04-07 23:49:36 UTC (rev 12435)
@@ -20,7 +20,7 @@
*/
defined('XOOPS_ROOT_PATH') or die('Restricted access');
require_once 'simplelabel.php';
-require_once 'themeform.php';
+require_once 'form/themeform.php';
/*
* @Class TDMCreateFields
* @extends XoopsObject
@@ -28,7 +28,7 @@
class TDMCreateFields extends XoopsObject
{
/**
- * @var string
+ * @var mixed
*/
private $table = null;
@@ -243,12 +243,18 @@
*/
class TDMCreateFieldsHandler extends XoopsPersistableObjectHandler
{
+ /**
+ * @var mixed
+ */
+ public $table = null;
+
/*
* @public function constructor class
* @param mixed $db
*/
public function __construct(&$db)
{
+ $this->table = TDMCreateTables::getInstance();
parent::__construct($db, 'mod_tdmcreate_fields', 'tdmcreatefields', 'field_id', 'field_tid');
}
}
\ No newline at end of file
Added: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/abstractfiles.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/abstractfiles.php (rev 0)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/abstractfiles.php 2014-04-07 23:49:36 UTC (rev 12435)
@@ -0,0 +1,216 @@
+<?php
+/*
+ You may not change or alter any portion of this comment or credits
+ of supporting developers from this source code or any supporting source code
+ which is considered copyrighted (c) material of the original comment or credit authors.
+
+ 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.
+ */
+/**
+ * tdmcreate module
+ *
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
+ * @package tdmcreate
+ * @since 2.5.0
+ * @author Txmod Xoops http://www.txmodxoops.org
+ * @version $Id: headerfiles.php 12258 2014-01-02 09:33:29Z timgno $
+ */
+
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
+
+/**
+ * Abstract base class for files
+ */
+abstract class TDMCreateAbstractFiles
+{
+ /**
+ * "path" attribute of the files
+ *
+ * @var string
+ */
+ private $path = TDMC_PATH;
+
+ /**
+ * "upload_path" attribute of the files
+ *
+ * @var string
+ */
+ private $upload_path = TDMC_UPLOAD_MODULES_PATH;
+
+ /**
+ * "module" attribute of the files
+ *
+ * @var mixed
+ */
+ private $module = null;
+
+ /**
+ * "table" attribute of the files
+ *
+ * @var mixed
+ */
+ private $table = null;
+
+ /**
+ * "folder" attribute of the files
+ *
+ * @var mixed
+ */
+ private $folder = null;
+
+ /**
+ * "file_name" attribute of the files
+ *
+ * @var mixed
+ */
+ private $file_name = null;
+
+ /**
+ * Generates output for the files.
+ *
+ * This method is abstract and must be overwritten by the child classes.
+ *
+ * @abstract
+ */
+ abstract function render();
+
+ /*
+ * @public function getHeader
+ * @param string $path
+ * @param string $module
+ * @param string $folder
+ * @param string $file_name
+ */
+ public function getHeader($path, $module, $folder, $file_name) {
+ $this->path = $path;
+ $this->folder = $folder;
+ $this->module = $module;
+ $this->file_name = $file_name;
+ $ret = $this->path . DIRECTORY_SEPARATOR . $this->module . DIRECTORY_SEPARATOR . $this->folder . DIRECTORY_SEPARATOR . $this->file_name;
+ return $ret;
+ }
+
+ /**
+ * get the "path" attribute for the element
+ *
+ * @return string "path" attribute value
+ */
+ public function getPath()
+ {
+ return $this->path;
+ }
+
+ /**
+ * get the "upload_path" attribute for the element
+ *
+ * @return string "upload_path" attribute value
+ */
+ public function getUploadPath()
+ {
+ return $this->upload_path;
+ }
+
+ /**
+ * get the "upload_path" attribute for the element
+ *
+ * @return string "upload_path" attribute value
+ */
+ public function getUploadPath()
+ {
+ return $this->upload_path;
+ }
+
+ /**
+ * get the "file_name" attribute for the element
+ *
+ * @return string "file_name" attribute value
+ */
+ public function getFileName()
+ {
+ return $this->file_name;
+ }
+
+ /*
+ * @public function getModuleName
+ * @param null
+ */
+ public function getModuleName() {
+ $ret = $this->module->getVar('mod_name');
+ return $ret;
+ }
+
+ /*
+ * @public function getTableName
+ * @param null
+ */
+ public function getTableName() {
+ $ret = $this->table->getVar('table_name');
+ return $ret;
+ }
+
+ /*
+ * @public function getLanguage
+ * @param string $prefix
+ * @param string $postfix
+ */
+ public function getLanguage($prefix = '', $postfix = '') {
+ $lang = '_' . $prefix . '_' . strtoupper($this->module->getVar('mod_name'));
+ if(!empty($postfix)) {
+ $ret = $lang . '_' . $postfix;
+ } else {
+ $ret = $lang;
+ }
+ return $ret;
+ }
+
+ /*
+ * @public function getHeaderFilesComments
+ * @param string $module
+ * @param string $file_name
+ */
+ public function getHeaderFilesComments($module, $file_name) {
+ $this->module = $module;
+ $this->file_name = $file_name;
+
+ $mod_name = $this->module->getVar('mod_name');
+ $mod_version = $this->module->getVar('mod_version');
+ $mod_since = $this->module->getVar('mod_since');
+ $mod_min_xoops = $this->module->getVar('mod_min_xoops');
+ $mod_author = $this->module->getVar('mod_author');
+ $mod_credits = $this->module->getVar('mod_credits');
+ $mod_a_m = $this->module->getVar('mod_author_mail');
+ $mod_a_w_url = $this->module->getVar('mod_author_website_url');
+ $mod_license = $this->module->getVar('mod_license');
+ $mod_subversion = $this->module->getVar('mod_subversion');
+ $date = date('D Y/m/d G:i:s');
+ $package = strtolower($mod_name);
+
+ $ret = <<<EOT
+<?php
+/*
+ You may not change or alter any portion of this comment or credits
+ of supporting developers from this source code or any supporting source code
+ which is considered copyrighted (c) material of the original comment or credit authors.
+
+ 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.
+*/
+/**
+ * {$mod_name} module for xoops
+ *
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license {$mod_license}
+ * @package {$package}
+ * @since {$mod_since}
+ * @min_xoops {$mod_min_xoops}
+ * @author {$mod_author} <{$mod_a_m}> - <{$mod_a_w_url}>
+ * @version \$Id: {$mod_version} {$file_name} {$mod_subversion} {$date}Z {$mod_credits} \$
+ */\n
+EOT;
+ return $ret;
+ }
+}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_footer.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_footer.php 2014-04-07 22:47:55 UTC (rev 12434)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_footer.php 2014-04-07 23:49:36 UTC (rev 12435)
@@ -18,18 +18,11 @@
* @author Txmod Xoops http://www.txmodxoops.org
* @version $Id: admin_footer.php 12258 2014-01-02 09:33:29Z timgno $
*/
-if (!defined('XOOPS_ROOT_PATH')) {
- die('XOOPS root path not defined');
-}
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
class AdminFooter extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
-
- /*
* @public function constructor
* @param string $modules
*/
@@ -61,7 +54,7 @@
public function render() {
$support_name = $this->getSupportName();
$support_url = $this->getSupportUrl();
- $language = $this->getLanguage('_AM_', '_');
+ $language = $this->getLanguage('AM');
$content = $this->getHeaderFilesComments($module, $file_name).PHP_EOL;
$content .= <<<EOT
\necho "<div class='center'><a href='http://www.xoops.org' title='Visit XOOPS' target='_blank'>
@@ -71,7 +64,7 @@
<a href='{$support_url}' title='Visit {$support_name}' class='tooltip' rel='external'>{$support_name}</a></div>";
xoops_cp_footer();
EOT;
- $this->tdmcfile->create($path, $file_name, $content, $created, $notcreated);
+ $this->tdmcfile->create($path, $file_name, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
return $this->tdmcfile->renderFile();
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_header.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_header.php 2014-04-07 22:47:55 UTC (rev 12434)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_header.php 2014-04-07 23:49:36 UTC (rev 12435)
@@ -18,22 +18,17 @@
* @author Txmod Xoops http://www.txmodxoops.org
* @version $Id: admin_header.php 12258 2014-01-02 09:33:29Z timgno $
*/
-if (!defined('XOOPS_ROOT_PATH')) {
- die('XOOPS root path not defined');
-}
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
-class AdminHeader extends HeaderFile
-{
+class AdminHeader extends TDMCreateFile
+{
/*
- * @var mixed
- */
- public $table = null;
- /*
* @public function constructor
* @param string $module
* @param string $file_name
*/
public function __construct($module, $table, $file_name) {
+ $this->tdmcfile = TDMCreateFile::getInstance();
$this->module = $module;
$this->table = $table;
$this->file_name = $file_name;
@@ -46,21 +41,22 @@
$module_name = $this->getModuleName();
$stl_mod_name = strtolower($module_name);
$ucfmod_name = ucfirst($module_name);
- $language = $this->getLanguage('_AM_');
- $ret <<<EOT
+ $language = $this->getLanguage('AM');
+ $content = $this->getHeaderFilesComments($this->module, $this->file_name).PHP_EOL;
+ $content .= <<<EOT
\nrequire_once dirname(dirname(dirname(dirname(__FILE__)))). '/include/cp_header.php';
\$thisPath = dirname(dirname(__FILE__));
include_once \$thisPath.'/include/common.php';
include_once \$thisPath.'/include/functions.php';
EOT;
if ( $table_name != '' ) {
- $ret .= <<<EOT
+ $content .= <<<EOT
\ninclude_once \$thisPath.'/class/helper.php';
// Get instance
\${$stl_mod_name}_Helper = {$ucfmod_name}Helper::getInstance();
EOT;
}
- $ret .= <<<EOT
+ $content .= <<<EOT
\n\n\$thisModule = \$GLOBALS['xoopsModule']->getVar('dirname');
\$sysPathIcon16 = '../' . \$xoopsModule->getInfo('sysicons16');
@@ -70,12 +66,12 @@
\$modPathIcon16 = \$xoopsModule->getInfo('modicons16');
\$modPathIcon32 = \$xoopsModule->getInfo('modicons32');\n
EOT;
- foreach (array_keys($this->_table) as $i)
+ foreach (array_keys($this->table) as $i)
{
- $table_name = $this->_table[$i]->getVar('table_name');
- $ret .= '$'.$table_name.'Handler =& xoops_getModuleHandler(\''.$table_name. '\', $thisModule);'.PHP_EOL;
+ $table_name = $this->table[$i]->getVar('table_name');
+ $content .= '$'.$table_name.'Handler =& xoops_getModuleHandler(\''.$table_name. '\', $thisModule);'.PHP_EOL;
}
- $ret .=<<<EOT
+ $content .=<<<EOT
\n\n\$myts =& MyTextSanitizer::getInstance();
if (!isset(\$xoopsTpl) || !is_object(\$xoopsTpl)) {
include_once(XOOPS_ROOT_PATH."/class/template.php");
@@ -101,6 +97,7 @@
xoops_cp_header();
\$adminMenu = new ModuleAdmin();
EOT;
- return $ret;
+ $this->tdmcfile->create($path, $file_name, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ return $this->tdmcfile->renderFile();
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_index.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_index.php 2014-04-07 22:47:55 UTC (rev 12434)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_index.php 2014-04-07 23:49:36 UTC (rev 12435)
@@ -18,32 +18,20 @@
* @author Txmod Xoops http://www.txmodxoops.org
* @version $Id: admin_index.php 12258 2014-01-02 09:33:29Z timgno $
*/
-if (!defined('XOOPS_ROOT_PATH')) {
- die('XOOPS root path not defined');
-}
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
-class AdminIndex extends HeaderFile
+class AdminIndex extends TDMCreateFile
{
/*
- * @var string
- */
- public $_module = '';
- /*
- * @var string
- */
- public $_table = array();
- /*
- * @var string
- */
- public $file_name = null;
- /*
* @public function constructor
* @param string $module
+ * @param mixed $table
* @param string $file_name
*/
- public function __construct($module, $_table, $file_name) {
- $this->_module = $module;
- $this->_table[] = $_table;
+ public function __construct($module, $table, $file_name) {
+ $this->tdmcfile = TDMCreateFile::getInstance();
+ $this->module = $module;
+ $this->table = $table;
$this->file_name = $file_name;
}
/*
@@ -52,20 +40,21 @@
*/
public function render() {
$module_name = $this->getModuleName();
- $language = $this->getLanguage('_AM_');
- $ret <<<EOT
+ $language = $this->getLanguage('AM');
+ $content = $this->getHeaderFilesComments($this->module, $this->file_name).PHP_EOL;
+ $content .= <<<EOT
\ninclude_once 'header.php';
EOT;
- foreach (array_keys($this->_table) as $i)
+ foreach (array_keys($this->table) as $i)
{
- $table_name = $this->_table[$i]->getVar('table_name');
- $table_fieldname = $this->_table[$i]->getVar('table_fieldname');
- $ret .= <<<EOT
+ $table_name = $this->table[$i]->getVar('table_name');
+ $table_fieldname = $this->table[$i]->getVar('table_fieldname');
+ $content .= <<<EOT
\n//count "total {$table_name}"
\$total_{$table_name} = \${$table_name}Handler->getCount();
EOT;
if(isset($_REQUEST['table_status'])) {
- $ret .= <<<EOT
+ $content .= <<<EOT
\n//count "status"
\$criteria = new CriteriaCompo();
\$criteria->add(new Criteria("{$table_fieldname}_status", 1));
@@ -73,7 +62,7 @@
EOT;
}
if(isset($_REQUEST['table_online'])) {
- $ret .= <<<EOT
+ $content .= <<<EOT
\n//count "online"
\$criteria = new CriteriaCompo();
\$criteria->add(new Criteria("{$table_fieldname}_online", 1));
@@ -81,49 +70,50 @@
EOT;
}
if(isset($_REQUEST['table_waiting'])) {
- $ret .= <<<EOT
+ $content .= <<<EOT
\n\$criteria = new CriteriaCompo();
\$criteria->add(new Criteria("{$table_fieldname}_waiting", 1));
\${$table_fieldname}_waiting = ${$table_name}Handler->getCount(\$criteria);
EOT;
}
}
- $ret .= <<<EOT
+ $content .= <<<EOT
\n// InfoBox Statistics
\$adminMenu->addInfoBox({$language}STATISTICS);
EOT;
- foreach (array_keys($this->_table) as $i)
+ foreach (array_keys($this->table) as $i)
{
- $table_name = $this->_table[$i]->getVar('table_name');
- $table_fieldname = $this->_table[$i]->getVar('table_fieldname');
- $ta_stu_table_name = $thereare.strtoupper($table_name);
- $ta_stu_table_fieldname = $thereare.strtoupper($table_fieldname);
- $ret .= <<<EOT
+ $table_name = $this->table[$i]->getVar('table_name');
+ $table_fieldname = $this->table[$i]->getVar('table_fieldname');
+ $ta_stutable_name = $thereare.strtoupper($table_name);
+ $ta_stutable_fieldname = $thereare.strtoupper($table_fieldname);
+ $content .= <<<EOT
\n// InfoBox {$table_name}
-\$adminMenu->addInfoBoxLine({$language}STATISTICS, {$ta_stu_table_name}, \$total_{$table_name});
+\$adminMenu->addInfoBoxLine({$language}STATISTICS, {$ta_stutable_name}, \$total_{$table_name});
EOT;
if(isset($_REQUEST['table_status'])) {
- $ret .= <<<EOT
-\n\$adminMenu->addInfoBoxLine({$language}STATISTICS, {$ta_stu_table_fieldname}_STATUS, \${$table_fieldname}_status);
+ $content .= <<<EOT
+\n\$adminMenu->addInfoBoxLine({$language}STATISTICS, {$ta_stutable_fieldname}_STATUS, \${$table_fieldname}_status);
EOT;
}
if(isset($_REQUEST['table_online'])) {
- $ret .= <<<EOT
-\n\$adminMenu->addInfoBoxLine({$language}STATISTICS, {$ta_stu_table_fieldname}_ONLINE, \${$table_fieldname}_online);
+ $content .= <<<EOT
+\n\$adminMenu->addInfoBoxLine({$language}STATISTICS, {$ta_stutable_fieldname}_ONLINE, \${$table_fieldname}_online);
EOT;
}
if(isset($_REQUEST['table_waiting'])) {
- $ret .= <<<EOT
-\n\$adminMenu->addInfoBoxLine({$language}STATISTICS, {$ta_stu_table_fieldname}_WAITING, \${$table_fieldname}_waiting);
+ $content .= <<<EOT
+\n\$adminMenu->addInfoBoxLine({$language}STATISTICS, {$ta_stutable_fieldname}_WAITING, \${$table_fieldname}_waiting);
EOT;
}
}
- $ret .= <<<EOT
+ $content .= <<<EOT
\n// Render Index
echo \$adminMenu->addNavigation('index.php');
echo \$adminMenu->renderIndex();
include_once 'footer.php';
EOT;
- return $ret;
+ $this->tdmcfile->create($path, $file_name, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ return $this->tdmcfile->renderFile();
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_menu.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_menu.php 2014-04-07 22:47:55 UTC (rev 12434)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_menu.php 2014-04-07 23:49:36 UTC (rev 12435)
@@ -18,25 +18,11 @@
* @author Txmod Xoops http://www.txmodxoops.org
* @version $Id: admin_menu.php 12258 2014-01-02 09:33:29Z timgno $
*/
-if (!defined('XOOPS_ROOT_PATH')) {
- die('XOOPS root path not defined');
-}
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
-class AdminMenu extends HeaderFile
+class AdminMenu extends TDMCreateFile
{
/*
- * @var string
- */
- public $_module = '';
- /*
- * @var string
- */
- public $_table = array();
- /*
- * @var string
- */
- public $file_name = null;
- /*
* @var bool
*/
private $permissions = false;
@@ -46,8 +32,9 @@
* @param string $file_name
*/
public function __construct($module, $table, $file_name, $permissions = false) {
- $this->_module = $module;
- $this->_table[] = $table;
+ $this->tdmcfile = TDMCreateFile::getInstance();
+ $this->module = $module;
+ $this->table = $table;
$this->file_name = $file_name;
$this->permissions = $permissions;
}
@@ -57,9 +44,10 @@
*/
public function render() {
$module_name = $this->getModuleName();
- $language = $this->getLanguage('_MI_', '_ADMENU');
+ $language = $this->getLanguage('MI', 'ADMENU');
$menu = 1;
- $ret = <<<EOT
+ $content = $this->getHeaderFilesComments($this->module, $this->file_name).PHP_EOL;
+ $content .= <<<EOT
\n\$dirname = basename( dirname( dirname( __FILE__ ) ) ) ;
\$module_handler =& xoops_gethandler('module');
\$xoopsModule =& XoopsModule::getByDirname(\$dirname);
@@ -77,7 +65,7 @@
{
if ( $this->_table[$i]->getVar('table_admin') == 1 )
{
- $ret .= <<<EOT
+ $content .= <<<EOT
\n\$adminmenu[\$i]['title'] = {$language}{$menu};
\$adminmenu[\$i]['link'] = 'admin/{$this->_table[$i]->getVar('table_name')}.php';
\$adminmenu[\$i]['icon'] = \$pathIcon32.'/{$this->_table[$i]->getVar('table_image')}';
@@ -89,7 +77,7 @@
$menu--;
if( $this->permissions != false ) {
$menu++;
- $ret .= <<<EOT
+ $content .= <<<EOT
\n\$adminmenu[\$i]['title'] = {$language}{$menu};
\$adminmenu[\$i]['link'] = 'admin/permissions.php';
\$adminmenu[\$i]['icon'] = \$pathIcon32.'/permissions.png';
@@ -97,13 +85,15 @@
EOT;
}
$menu++;
- $ret .= <<<EOT
+ $content .= <<<EOT
\n\$adminmenu[\$i]['title'] = {$language}{$menu};
\$adminmenu[\$i]['link'] = 'admin/about.php';
\$adminmenu[\$i]['icon'] = \$pathIcon32.'/about.png';
unset( \$i );
EOT;
unset( $menu );
- return $ret;
+
+ $this->tdmcfile->create($path, $file_name, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ return $this->tdmcfile->renderFile();
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_pages.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_pages.php 2014-04-07 22:47:55 UTC (rev 12434)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_pages.php 2014-04-07 23:49:36 UTC (rev 12435)
@@ -18,32 +18,19 @@
* @author Txmod Xoops http://www.txmodxoops.org
* @version $Id: admin_pages.php 12258 2014-01-02 09:33:29Z timgno $
*/
-if (!defined('XOOPS_ROOT_PATH')) {
- die('XOOPS root path not defined');
-}
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
-class AdminPages extends HeaderFile
+class AdminPages extends TDMCreateFile
{
/*
- * @var string
- */
- public $_module = '';
- /*
- * @var string
- */
- public $_table = array();
- /*
- * @var string
- */
- public $file_name = null;
- /*
* @public function constructor
* @param string $module
* @param string $file_name
*/
- public function __construct($module, $_table, $file_name) {
- $this->_module = $module;
- $this->_table[] = $_table;
+ public function __construct($module, $table, $file_name) {
+ $this->tdmcfile = TDMCreateFile::getInstance();
+ $this->module = $module;
+ $this->table = $table;
$this->file_name = $file_name;
}
/*
@@ -52,14 +39,15 @@
*/
public function render() {
$module_name = $this->getModuleName();
- $language = $this->getLanguage('_AM_');
- $ret <<<EOT
+ $language = $this->getLanguage('AM');
+ $content = $this->getHeaderFilesComments($this->module, $this->file_name).PHP_EOL;
+ $content .= <<<EOT
\ninclude_once 'header.php';
//It recovered the value of argument op in URL$
\$op = {$mod_name}_CleanVars(\$_REQUEST, 'op', 'list', 'string');
EOT;
-if(isset($_REQUEST['table_waiting'])) {
-$ret .= <<<EOT
+ if(isset($_REQUEST['table_waiting'])) {
+ $content .= <<<EOT
\n// the number of loading not validated
\$criteria = new CriteriaCompo();
\$criteria->add(new Criteria('{$table_fieldname}_waiting', 0));
@@ -67,7 +55,7 @@
EOT;
}
-$ret .= <<<EOT
+ $content .= <<<EOT
\n\necho \$adminMenu->addNavigation('{$table_name}.php');
switch (\$op)
{
@@ -84,15 +72,15 @@
$fcn = const_show_fields_parameters($mod_name, $table_name, $table_fieldname, $nb_fields, $fields_total, $fpif, $fpda, $fpe, $fpmf, $language, '', 0);
if ( $table_category != 1 )
{
-$ret .= <<<EOT
+ $content .= <<<EOT
\n\t\t// Table view
if (\${$table_name}_rows > 0)
{
echo "<table width='100%' cellspacing='1' class='outer'>
<tr>
EOT;
- $ret .= $fcn;
-$ret .= <<<EOT
+ $content .= $fcn;
+ $content .= <<<EOT
\n\t\t\t\t\t<th class='center width5'>".{$language}_FORMACTION."</th>
</tr>";
@@ -105,8 +93,8 @@
EOT;
$fields_data = const_show_fields_parameters($mod_name, $table_name, $table_fieldname, $nb_fields, $fields_total, $fpif, $fpda, $fpe, $fpmf, $language, '', 1);
- $ret .= $fields_data;
-$ret .= <<<EOT
+ $content .= $fields_data;
+ $content .= <<<EOT
\n\t\t\t\t\techo "<td class='center width5'>
<a href='{$table_name}.php?op=edit&{$fpif}=".\$i."'><img src=".\$sysPathIcon16."/edit.png alt='"._EDIT."' title='"._EDIT."'></a>
<a href='{$table_name}.php?op=delete&{$fpif}=".\$i."'><img src=".\$sysPathIcon16."/delete.png alt='"._DELETE."' title='"._DELETE."'></a>
@@ -118,15 +106,15 @@
echo "<table width='100%' cellspacing='1' class='outer'>
<tr>
EOT;
- $ret .= $fcn;
-$ret .= <<<EOT
+ $content .= $fcn;
+ $content .= <<<EOT
\n\t\t\t\t\t<th class='center width5'>".{$language}_FORMACTION."</th>
</tr><tr><td class='errorMsg' colspan='{$nb_fields}'>There are no {$table_name}</td></tr>";
echo "</table><br /><br />";
}
EOT;
} else {
- $ret .= <<<EOT
+ $content .= <<<EOT
\n\t\t// Display function that allows children categories
function {$mod_name}_children(\$cat_id = 0, \${$table_name}_arr, \$prefix = "", \$order = "", &\$class)
{
@@ -141,8 +129,8 @@
\$cat_weight = \$categories_arr[\$i]->getVar('cat_weight');
echo "<tr class='".\$class."'>";\n
EOT;
- $ret .= const_show_fields_parameters($mod_name, $table_name, $table_fieldname, $nb_fields, $fields_total, $fpif, $fpda, $fpe, $fpmf, $language, '', 1);
-$ret .= <<<EOT
+ $content .= const_show_fields_parameters($mod_name, $table_name, $table_fieldname, $nb_fields, $fields_total, $fpif, $fpda, $fpe, $fpmf, $language, '', 1);
+ $content .= <<<EOT
\n\t\t\t\t\techo "<td class='center width5'>
<a href='{$table_name}.php?op=edit&{$fpif}=".\$i"'><img src=".\$sysPathIcon16."/edit.png alt='"._EDIT."' title='"._EDIT."'></a>
<a href='{$table_name}.php?op=delete&{$fpif}=".\$i"'><img src=".\$sysPathIcon16."/delete.png alt='"._DELETE."' title='"._DELETE."'></a>
@@ -169,8 +157,8 @@
<tr>
EOT;
$fcn = const_show_fields_parameters($mod_name, $table_name, $table_fieldname, $nb_fields, $fields_total, $fpif, $fpda, $fpe, $fpmf, $language, '', 0);
- $ret .= $fcn;
-$ret .= <<<EOT
+ $content .= $fcn;
+ $content .= <<<EOT
\n\t\t\t\t\t<th class='center width5'>".{$language}_FORMACTION."</th>
</tr>";
\$class = "odd";
@@ -187,8 +175,8 @@
EOT;
$fields_data = const_show_fields_parameters($mod_name, $table_name, $table_fieldname, $nb_fields, $fields_total, $fpif, $fpda, $fpe, $fpmf, $language, 1, 1);
- $ret .= $fields_data;
-$ret .= <<<EOT
+ $content .= $fields_data;
+ $content .= <<<EOT
\n\t\t\t\t\techo "<td class='center width5'>
<a href='{$table_name}.php?op=edit&{$fpif}=".\$i"'><img src=".\$sysPathIcon16."/edit.png alt='"._EDIT."' title='"._EDIT."'></a>
<a href='{$table_name}.php?op=delete&{$fpif}=".\$i"'><img src=".\$sysPathIcon16."/delete.png alt='"._DELETE."' title='"._DELETE."'></a>
@@ -214,8 +202,8 @@
<tr>
EOT;
$fcn = const_show_fields_parameters($mod_name, $table_name, $table_fieldname, $nb_fields, $fields_total, $fpif, $fpda, $fpe, $fpmf, $language, '', 0);
- $ret .= $fcn;
-$ret .= <<<EOT
+ $content .= $fcn;
+ $content .= <<<EOT
\n\t\t\t\t\t<th class='center width5'>".{$language}_FORMACTION."</th>
</tr>
<tr><td class='errorMsg' colspan='{$nb_fields}'>There are no {$table_name}</td></tr>";
@@ -223,7 +211,7 @@
}
EOT;
}
- $ret .= <<<EOT
+ $content .= <<<EOT
\n\tbreak;
case 'new':
@@ -245,9 +233,9 @@
\${$table_name}_obj =& \${$table_name}Handler->create();
}
EOT;
- $ret .= const_show_fields_parameters($mod_name, $table_name, $table_fieldname, $nb_fields, $fields_total, $fpif, $fpda, $fpe, $fpmf, $language, '', 2);
+ $content .= const_show_fields_parameters($mod_name, $table_name, $table_fieldname, $nb_fields, $fields_total, $fpif, $fpda, $fpe, $fpmf, $language, '', 2);
-$ret .= <<<EOT
+ $content .= <<<EOT
\n\t\tif (\${$table_name}Handler->insert(\${$table_name}_obj)) {
redirect_header('{$table_name}.php?op=list', 2, {$language}_FORMOK);
}
@@ -283,7 +271,7 @@
break;
EOT;
if(isset($_REQUEST['table_online']) == 1) {
-$ret .= <<<EOT
+ $content .= <<<EOT
\ncase 'update_online':
if (isset(\$_REQUEST['{$fpif}'])) {
\${$table_name}_obj =& \${$table_name}Handler->get(\$_REQUEST['{$fpif}']);
@@ -296,10 +284,11 @@
break;
EOT;
}
-$ret .= <<<EOT
+ $content .= <<<EOT
\n}
include_once 'footer.php';
EOT;
- return $ret;
+ $this->tdmcfile->create($path, $file_name, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ return $this->tdmcfile->renderFile();
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_permissions.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_permissions.php 2014-04-07 22:47:55 UTC (rev 12434)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_permissions.php 2014-04-07 23:49:36 UTC (rev 12435)
@@ -18,30 +18,17 @@
* @author Txmod Xoops http://www.txmodxoops.org
* @version $Id: admin_permissions.php 12258 2014-01-02 09:33:29Z timgno $
*/
-if (!defined('XOOPS_ROOT_PATH')) {
- die('XOOPS root path not defined');
-}
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
-class AdminPermissions extends HeaderFile
+class AdminPermissions extends TDMCreateFile
{
/*
- * @var string
- */
- public $_module = '';
- /*
- * @var string
- */
- public $_table = array();
- /*
- * @var string
- */
- public $file_name = null;
- /*
* @public function constructor
* @param string $module
* @param string $file_name
*/
public function __construct($module, $table, $file_name) {
+ $this->tdmcfile = TDMCreateFile::getInstance();
$this->_module = $module;
$this->_table[] = $table;
$this->file_name = $file_name;
@@ -52,8 +39,9 @@
*/
public function render() {
$module_name = $this->getModuleName();
- $language = $this->getLanguage('_AM_', '_');
- $ret <<<EOT
+ $language = $this->getLanguage('AM');
+ $content = $this->getHeaderFilesComments($this->module, $this->file_name).PHP_EOL;
+ $content .= <<<EOT
\ninclude_once 'header.php';
include_once XOOPS_ROOT_PATH.'/class/xoopsform/grouppermform.php';
if( !empty(\$_POST['submit']) )
@@ -139,6 +127,7 @@
unset(\$permform);
include_once 'footer.php';
EOT;
- return $ret;
+ $this->tdmcfile->create($path, $file_name, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ return $this->tdmcfile->renderFile();
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_templates.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_templates.php 2014-04-07 22:47:55 UTC (rev 12434)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_templates.php 2014-04-07 23:49:36 UTC (rev 12435)
@@ -18,9 +18,7 @@
* @author Txmod Xoops http://www.txmodxoops.org
* @version $Id: admin_templates.php 12258 2014-01-02 09:33:29Z timgno $
*/
-if (!defined('XOOPS_ROOT_PATH')) {
- die('XOOPS root path not defined');
-}
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
class AdminTemplates extends HtmlSmartyCodes
{
@@ -31,18 +29,18 @@
* @param string $file_name
*/
public function __construct($module, $table, $file_name = null) {
+ $this->tdmcfile = TDMCreateFile::getInstance();
$this->module = $module;
$this->table = $table;
$this->file_name = $file_name;
- $this->language = $this->geLanguage('_AM_', '_');
+ $this->language = $this->geLanguage('AM');
}
/*
* @public function render
* @param null
*/
public function render() {
- /*$ret = $this->getUploadImage();
- $ret = $this->getUploadFile();
- return $ret;*/
+ $this->tdmcfile->create($path, $file_name, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ return $this->tdmcfile->renderFile();
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php 2014-04-07 22:47:55 UTC (rev 12434)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php 2014-04-07 23:49:36 UTC (rev 12435)
@@ -40,8 +40,20 @@
*/
public function __construct() {
$this->structure = TDMCreateStructure::getInstance();
- }
+ }
/*
+ * @private 'magic method' function __autoload classes
+ * @param string $class_name
+ */
+ private function __autoload($class_name) {
+ $filename = './'. $class_name . '.php';
+ if (file_exists($filename)) {
+ include_once $filename;
+ return true;
+ }
+ return false;
+ }
+ /*
* @static function &getInstance
* @param null
*/
@@ -144,4 +156,13 @@
// Creation of "sql" folder and index.html file
$this->structure->makeDirAndCopyFile('sql', $indexFile, 'index.html');
}
+
+ /*
+ * @public function getBuildingFiles
+ * @param string $module
+ */
+ public function getBuildingFiles( $module )
+ {
+ //spl_autoload_register('__autoload');
+ }
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks_files.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks_files.php 2014-04-07 22:47:55 UTC (rev 12434)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks_files.php 2014-04-07 23:49:36 UTC (rev 12435)
@@ -18,32 +18,19 @@
* @author Txmod Xoops http://www.txmodxoops.org
* @version $Id: blocks_files.php 12258 2014-01-02 09:33:29Z timgno $
*/
-if (!defined('XOOPS_ROOT_PATH')) {
- die('XOOPS root path not defined');
-}
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
-class BlocksFiles extends HeaderFile
+class BlocksFiles extends TDMCreateFile
{
/*
- * @var string
- */
- public $_module = '';
- /*
- * @var string
- */
- public $_table = array();
- /*
- * @var string
- */
- public $file_name = null;
- /*
* @public function constructor
* @param string $module
* @param string $file_name
*/
- public function __construct($module, $_table, $file_name) {
- $this->_module = $module;
- $this->_table[] = $_table;
+ public function __construct($module, $table, $file_name) {
+ $this->tdmcfile = TDMCreateFile::getInstance();
+ $this->module = $module;
+ $this->table = $table;
$this->file_name = $file_name;
}
/*
@@ -52,8 +39,9 @@
*/
public function render() {
$module_name = $this->getModuleName();
- $language = $this->getLanguage('_MB_', '_');
- $ret <<<EOT
+ $language = $this->getLanguage('MB');
+ $content = $this->getHeaderFilesComments($this->module, $this->file_name);
+ $content .= <<<EOT
\ninclude_once XOOPS_ROOT_PATH.'/modules/{$mod_name}/include/functions.php';
function b_{$mod_name_lowercase}_{$table_name}_show(\$options)
{
@@ -71,36 +59,36 @@
array_shift(\$options);
array_shift(\$options);
EOT;
- if ( $table_category == 1 ) {
-$ret .= <<<EOT
+ if ( $table_category == 1 ) {
+ $content .= <<<EOT
\n\tif (!(count(\$options) == 1 && \$options[0] == 0)) {
\$criteria->add(new Criteria('{$table_fieldname}_category', {$mod_name}_block_addCatSelect(\$options), 'IN'));
}
EOT;
- }
- //fields
- $fields = explode('|', $table_fields);
- $nb_fields = count($fields);
- //print_r($fields_total);
- //parameters
- $parameters_total = explode('|', $table_parameters);
+ }
+ //fields
+ $fields = explode('|', $table_fields);
+ $nb_fields = count($fields);
+ //print_r($fields_total);
+ //parameters
+ $parameters_total = explode('|', $table_parameters);
- for ($i = 0; $i < $nb_fields; $i++)
- {
- $field = explode(':', $fields[$i]);
- if( $i == 0 ) {
- $fpif = $field[0]; // fpif = fields parameters auto_increment field
- $fpbf = '0'; // fpdf = fields parameters display form
- } else {
- $param = explode(':', $parameters_total[$i-1]);
- $fpbf[$i] = $param[3]; // fpdf = fields parameters display form
- if ( $param[4] == 1 ) {
- $fpmf = $field[0]; // fpmf = fields parameters main field
- }
- }
- }
+ for ($i = 0; $i < $nb_fields; $i++)
+ {
+ $field = explode(':', $fields[$i]);
+ if( $i == 0 ) {
+ $fpif = $field[0]; // fpif = fields parameters auto_increment field
+ $fpbf = '0'; // fpdf = fields parameters display form
+ } else {
+ $param = explode(':', $parameters_total[$i-1]);
+ $fpbf[$i] = $param[3]; // fpdf = fields parameters display form
+ if ( $param[4] == 1 ) {
+ $fpmf = $field[0]; // fpmf = fields parameters main field
+ }
+ }
+ }
-$ret .= <<<EOT
+ $content .= <<<EOT
\n\tif (\$type_block)
{
\$criteria->add(new Criteria('{$fpif}', 0, '!='));
@@ -113,16 +101,16 @@
foreach (array_keys(\${$table_name}_arr) as \$i)
{
EOT;
- for ($i = 0; $i < $nb_fields; $i++)
- {
- $structure_fields = explode(':', $fields[$i]);
- if( $fpbf[$i] == 1 ) {
- $ret .= <<<EOT
+ for ($i = 0; $i < $nb_fields; $i++)
+ {
+ $structure_fields = explode(':', $fields[$i]);
+ if( $fpbf[$i] == 1 ) {
+ $content .= <<<EOT
\n\t\t\${$table_fieldname}['{$structure_fields[0]}'] = \${$table_name}_arr[\$i]->getVar('{$structure_fields[0]}');
EOT;
- }
- }
-$ret .= <<<EOT
+ }
+ }
+ $content .= <<<EOT
\n\t}
return \${$table_fieldname};
}
@@ -131,8 +119,8 @@
{
EOT;
-if ( $table_category == 1 ) {
-$ret .=<<<EOT
+ if ( $table_category == 1 ) {
+ $content .=<<<EOT
\ninclude_once XOOPS_ROOT_PATH.'/modules/{$mod_name}/class/category.php';
\$categoryHandler =& xoops_getModuleHandler('category', "{$mod_name}");
@@ -141,8 +129,8 @@
\$criteria->setOrder("ASC");
\${$table_name}_arr = \$categoryHandler->getall(\$criteria);
EOT;
-}
-$ret .= <<<EOT
+ }
+ $content .= <<<EOT
\ninclude_once XOOPS_ROOT_PATH.'/modules/{$mod_name}/class/{$table_name}.php';
\$form = {$language}DISPLAY;
@@ -168,6 +156,7 @@
return \$form;
}
EOT;
- return $ret;
+ $this->tdmcfile->create($path, $file_name, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ return $this->tdmcfile->renderFile();
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks_templates.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks_templates.php 2014-04-07 22:47:55 UTC (rev 12434)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks_templates.php 2014-04-07 23:49:36 UTC (rev 12435)
@@ -18,32 +18,19 @@
* @author Txmod Xoops http://www.txmodxoops.org
* @version $Id: blocks.php 12258 2014-01-02 09:33:29Z timgno $
*/
-if (!defined('XOOPS_ROOT_PATH')) {
- die('XOOPS root path not defined');
-}
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
-class Blocks extends HeaderFile
+class Blocks extends HtmlSmartyCodes
{
/*
- * @var string
- */
- public $_module = '';
- /*
- * @var string
- */
- public $_table = array();
- /*
- * @var string
- */
- public $file_name = null;
- /*
* @public function constructor
* @param string $module
* @param string $file_name
*/
- public function __construct($module, $_table, $file_name) {
- $this->_module = $module;
- $this->_table[] = $_table;
+ public function __construct($module, $table, $file_name) {
+ $this->tdmcfile = TDMCreateFile::getInstance();
+ $this->module = $module;
+ $this->table = $_table;
$this->file_name = $file_name;
}
/*
@@ -52,20 +39,21 @@
*/
public function render() {
$module_name = $this->getModuleName();
- $language = $this->getLanguage('_MB_');
- $ret <<<EOT
+ $language = $this->getLanguage('MB');
+ $content = $this->getHeaderFilesComments($this->module, $this->file_name);
+ $content .= <<<EOT
<table class="outer">
<tr class="head">
EOT;
- for ($i = 0; $i < $nb_fields; $i++)
- {
- $structure_fields = explode(':', $fields[$i]);
- $lng_strct_fields = $language.strtoupper($structure_fields[0]);
-$ret .= <<<EOT
+ for ($i = 0; $i < $nb_fields; $i++)
+ {
+ $structure_fields = explode(':', $fields[$i]);
+ $lng_strct_fields = $language.strtoupper($structure_fields[0]);
+ $content .= <<<EOT
\n\t\t<th><{\$smarty.const.{$lng_strct_fields}}></th>
EOT;
}
-$ret .= <<<EOT
+ $content .= <<<EOT
\n\t</tr>
<{foreachq item={$table_fieldname} from=\${$table_fieldname}}>
<tr class = "<{cycle values = 'even,odd'}>">
@@ -75,16 +63,17 @@
{
$structure_fields = explode(':', $fields[$i]);
$table_fn = $table_fieldname.'.'.strip_tags($structure_fields[0]);
-$ret .= <<<EOT
+ $content .= <<<EOT
\n\t\t\t<{\${$table_fn}}>
EOT;
}
-$ret .= <<<EOT
+ $content .= <<<EOT
\n\t\t\t</td>
</tr>
<{/foreach}>
</table>
EOT;
- return $ret;
+ $this->tdmcfile->create($path, $file_name, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ return $this->tdmcfile->renderFile();
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/class_files.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/class_files.php 2014-04-07 22:47:55 UTC (rev 12434)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/class_files.php 2014-04-07 23:49:36 UTC (rev 12435)
@@ -18,33 +18,28 @@
* @author Txmod Xoops http://www.txmodxoops.org
* @version $Id: class_files.php 12258 2014-01-02 09:33:29Z timgno $
*/
-if (!defined('XOOPS_ROOT_PATH')) {
- die('XOOPS root path not defined');
-}
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
-class ClassFiles extends CreateFile
+class ClassFiles extends TDMCreateFile
{
/*
- * @var null
- */
- public $table = null;
- /*
* @public function constructor
* @param string $module
* @param string $table
* @param string $file_name
*/
public function __construct($module, $table, $file_name) {
+ $this->tdmcfile = TDMCreateFile::getInstance();
$this->module = $module;
$this->table = $table;
$this->file_name = $file_name;
}
/*
* @public function getInitVar
- * @param array $type
+ * @param string $type
* @param string $obj
*/
- public function getInitVar(array $type, $obj = 'INT') {
+ public function getInitVar($type, $obj = 'INT') {
$ret = <<<EOT
\$this->initVar('{$type}', XOBJ_DTYPE_{$obj});
EOT;
@@ -57,7 +52,7 @@
*/
public function getInitVars($table_fields) {
$ret = '';
- // Counts the number of fields
+ // Counts the number of fields and get types
$fields = explode('|', $table_fields);
$nb_fields = count($fields);
// Creation of the initVar functions list
@@ -140,8 +135,8 @@
* @param string $form
*/
public function getHeadFunctionForm($elements_form) {
- $lang_add = $this->getLanguage('_AM_', '_ADD');
- $lang_edit = $this->getLanguage('_AM_', '_EDIT');
+ $lang_add = $this->getLanguage('AM', 'ADD');
+ $lang_edit = $this->getLanguage('AM', 'EDIT');
$ret = <<<EOT
/*
* Get form
@@ -169,9 +164,9 @@
* @param string $fpif
*/
public function getPermissionsInFunctionForm($mod_name, $fpif) {
- $perm_approve = $this->getLanguage('_AM_', '_PERMISSIONS_APPROVE');
- $perm_submit = $this->getLanguage('_AM_', '_PERMISSIONS_SUBMIT');
- $perm_view = $this->getLanguage('_AM_', '_PERMISSIONS_VIEW');
+ $perm_approve = $this->getLanguage('AM', 'PERMISSIONS_APPROVE');
+ $perm_submit = $this->getLanguage('AM', 'PERMISSIONS_SUBMIT');
+ $perm_view = $this->getLanguage('AM', 'PERMISSIONS_VIEW');
$ret = <<<EOT
\n//permissions
\$member_handler = & xoops_gethandler ( 'member' );
@@ -254,13 +249,15 @@
*/
public function render() {
$module_name = $this->getModuleName();
- $table_fields = $this->table->getVar('table_fields');
- $initvar = $this->getInitVars($table_fields);
- $ret = $this->getHeadClass($module_name, $initvar);
- $ret .= $this->getHeadFunctionForm($form);
- $ret .= $this->getPermissionsInFunctionForm($module_name, $fpif);
- $ret .= $this->getFootFunctionForm();
- $ret .= $this->getClassHandler($module_name, $fpif, $fpmf);
- return $ret;
+ $table_nbfields = $this->table->getVar('table_nbfields');
+ $initvar = $this->getInitVars($table_nbfields);
+ $content = $this->getHeaderFilesComments($this->module, $this->file_name);
+ $content .= $this->getHeadClass($module_name, $initvar);
+ $content .= $this->getHeadFunctionForm($form);
+ $content .= $this->getPermissionsInFunctionForm($module_name, $fpif);
+ $content .= $this->getFootFunctionForm();
+ $content .= $this->getClassHandler($module_name, $fpif, $fpmf);
+ $this->tdmcfile->create($path, $file_name, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ return $this->tdmcfile->renderFile();
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/css_styles.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/css_styles.php 2014-04-07 22:47:55 UTC (rev 12434)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/css_styles.php 2014-04-07 23:49:36 UTC (rev 12435)
@@ -18,27 +18,18 @@
* @author Txmod Xoops http://www.txmodxoops.org
* @version $Id: css_styles.php 12258 2014-01-02 09:33:29Z timgno $
*/
-if (!defined('XOOPS_ROOT_PATH')) {
- die('XOOPS root path not defined');
-}
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
-class CssStyles extends HeaderFile
+class CssStyles extends TDMCreateFile
{
/*
- * @var string
- */
- public $_module = '';
- /*
- * @var string
- */
- public $file_name = null;
- /*
* @public function constructor
* @param string $module
* @param string $file_name
*/
public function __construct($module, $file_name) {
- $this->_module = $module;
+ $this->tdmcfile = TDMCreateFile::getInstance();
+ $this->module = $module;
$this->file_name = $file_name;
}
/*
@@ -46,9 +37,8 @@
* @param null
*/
public function render() {
- $module_name = $this->getModuleName();
- //$language = $this->getLanguage('_AM_', '_');
- $ret <<<EOT
+ $module_name = $this->getModuleName();
+ $content <<<EOT
table {
margin: 0;
}
@@ -78,6 +68,7 @@
}
EOT;
- return $ret;
+ $this->tdmcfile->create($path, $file_name, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ return $this->tdmcfile->renderFile();
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/docs_files.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/docs_files.php 2014-04-07 22:47:55 UTC (rev 12434)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/docs_files.php 2014-04-07 23:49:36 UTC (rev 12435)
@@ -18,11 +18,9 @@
* @author Txmod Xoops http://www.txmodxoops.org
* @version $Id: docs_files.php 12258 2014-01-02 09:33:29Z timgno $
*/
-if (!defined('XOOPS_ROOT_PATH')) {
- die('XOOPS root path not defined');
-}
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
-class DocsFiles extends HeaderFile
+class DocsFiles extends TDMCreateFile
{
/*
* @public function constructor
@@ -30,6 +28,7 @@
* @param string $file_name
*/
public function __construct($module, $file_name) {
+ $this->tdmcfile = TDMCreateFile::getInstance();
$this->module = $module;
$this->file_name = $file_name;
}
@@ -115,21 +114,22 @@
switch($this->file_name) {
case 'changelog':
- $ret = $this->getChangeLogFile($module_name);
+ $content = $this->getChangeLogFile($module_name);
break;
case 'credits':
- $ret = $this->getCreditsFile();
+ $content = $this->getCreditsFile();
break;
case 'install':
- $ret = $this->getInstallFile();
+ $content = $this->getInstallFile();
break;
case 'readme':
- $ret = $this->getReadmeFile();
+ $content = $this->getReadmeFile();
break;
case 'lang_diff':
- $ret = $this->getLangDiffFile();
+ $content = $this->getLangDiffFile();
break;
}
- return $ret;
+ $this->tdmcfile->create($path, $file_name, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ return $this->tdmcfile->renderFile();
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/file.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/file.php 2014-04-07 22:47:55 UTC (rev 12434)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/file.php 2014-04-07 23:49:36 UTC (rev 12435)
@@ -25,6 +25,11 @@
/*
* @var string
*/
+ private $tdmcfile = null;
+
+ /*
+ * @var string
+ */
private $xoopsfile = null;
/*
Deleted: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/headerfiles.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/headerfiles.php 2014-04-07 22:47:55 UTC (rev 12434)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/headerfiles.php 2014-04-07 23:49:36 UTC (rev 12435)
@@ -1,152 +0,0 @@
-<?php
-/*
- You may not change or alter any portion of this comment or credits
- of supporting developers from this source code or any supporting source code
- which is considered copyrighted (c) material of the original comment or credit authors.
-
- 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.
- */
-/**
- * tdmcreate module
- *
- * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
- * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
- * @package tdmcreate
- * @since 2.5.0
- * @author Txmod Xoops http://www.txmodxoops.org
- * @version $Id: headerfiles.php 12258 2014-01-02 09:33:29Z timgno $
- */
-
-defined('XOOPS_ROOT_PATH') or die('Restricted access');
-
-/**
- * Abstract base class for files
- */
-abstract class HeaderFile
-{
- /**
- * "path" attribute of the files
- *
- * @var mixed
- */
- private $path = XOOPS_ROOT_PATH.'/modules/TDMCreate/modules';
-
- /**
- * "module" attribute of the files
- *
- * @var mixed
- */
- private $module = null;
-
- /**
- * "folder" attribute of the files
- *
- * @var mixed
- */
- private $folder = null;
-
- /**
- * "file_name" attribute of the files
- *
- * @var mixed
- */
- private $file_name = null;
-
- /**
- * Generates output for the files.
- *
- * This method is abstract and must be overwritten by the child classes.
- *
- * @abstract
- */
- abstract function render();
-
- /*
- * @public function getHeader
- * @param string $path
- * @param string $module
- * @param string $folder
- * @param string $file_name
- */
- public function getHeader($path, $module, $folder, $file_name) {
- $this->path = $path;
- $this->folder = $folder;
- $this->module = $module;
- $this->file_name = $file_name;
- $ret = $this->path . DIRECTORY_SEPARATOR . $this->module . DIRECTORY_SEPARATOR . $this->folder . DIRECTORY_SEPARATOR . $this->file_name;
- return $ret;
- }
-
- /*
- * @public function getHeaderFilesComments
- * @param string $module
- * @param string $file_name
- */
- public function getHeaderFilesComments($module, $file_name) {
- $this->module = $module;
- $...
[truncated message content] |
|
From: <be...@us...> - 2014-04-07 22:48:05
|
Revision: 12434
http://sourceforge.net/p/xoops/svn/12434
Author: beckmi
Date: 2014-04-07 22:47:55 +0000 (Mon, 07 Apr 2014)
Log Message:
-----------
Adding 2.5.7 Polish translation files
Added Paths:
-----------
XoopsLanguages/polish/core/2.5.7/
XoopsLanguages/polish/core/2.5.7/extras/
XoopsLanguages/polish/core/2.5.7/extras/modules/
XoopsLanguages/polish/core/2.5.7/extras/modules/system/
XoopsLanguages/polish/core/2.5.7/extras/modules/system/language/
XoopsLanguages/polish/core/2.5.7/extras/modules/system/language/polish/
XoopsLanguages/polish/core/2.5.7/extras/modules/system/language/polish/admin/
XoopsLanguages/polish/core/2.5.7/extras/modules/system/language/polish/admin/filemanager.php
XoopsLanguages/polish/core/2.5.7/extras/modules/system/language/polish/admin/index.html
XoopsLanguages/polish/core/2.5.7/extras/modules/system/language/polish/index.html
XoopsLanguages/polish/core/2.5.7/htdocs/
XoopsLanguages/polish/core/2.5.7/htdocs/Frameworks/
XoopsLanguages/polish/core/2.5.7/htdocs/Frameworks/moduleclasses/
XoopsLanguages/polish/core/2.5.7/htdocs/Frameworks/moduleclasses/moduleadmin/
XoopsLanguages/polish/core/2.5.7/htdocs/Frameworks/moduleclasses/moduleadmin/language/
XoopsLanguages/polish/core/2.5.7/htdocs/Frameworks/moduleclasses/moduleadmin/language/polish/
XoopsLanguages/polish/core/2.5.7/htdocs/Frameworks/moduleclasses/moduleadmin/language/polish/index.html
XoopsLanguages/polish/core/2.5.7/htdocs/Frameworks/moduleclasses/moduleadmin/language/polish/main.php
XoopsLanguages/polish/core/2.5.7/htdocs/class/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/dhtmltextarea/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/dhtmltextarea/language/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/dhtmltextarea/language/polish.php
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/textarea/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/textarea/language/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/textarea/language/polish.php
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/language/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/language/polish.php
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/pl.js
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/pl_dlg.js
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/pl_dlg.js
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/pl_dlg.js
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/pl.js
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/pl_dlg.js
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/pl.js
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/pl_dlg.js
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/pl_dlg.js
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/langs/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/langs/pl_dlg.js
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/langs/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/langs/pl_dlg.js
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/pl_dlg.js
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/langs/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/langs/pl_dlg.js
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/langs/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/langs/pl_dlg.js
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/langs/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/langs/pl_dlg.js
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/langs/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/langs/pl_dlg.js
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/langs/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/langs/pl.js
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/langs/pl_dlg.js
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/pl.js
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/pl_dlg.js
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/langs/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/langs/pl.js
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/langs/pl_dlg.js
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/langs/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/langs/pl.js
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/langs/pl_dlg.js
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/langs/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/langs/pl.js
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/langs/pl_dlg.js
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/pl.js
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/pl_dlg.js
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/langs/
XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/langs/pl.js
XoopsLanguages/polish/core/2.5.7/htdocs/install/
XoopsLanguages/polish/core/2.5.7/htdocs/install/language/
XoopsLanguages/polish/core/2.5.7/htdocs/install/language/polish/
XoopsLanguages/polish/core/2.5.7/htdocs/install/language/polish/finish.php
XoopsLanguages/polish/core/2.5.7/htdocs/install/language/polish/index.html
XoopsLanguages/polish/core/2.5.7/htdocs/install/language/polish/install.php
XoopsLanguages/polish/core/2.5.7/htdocs/install/language/polish/install2.php
XoopsLanguages/polish/core/2.5.7/htdocs/install/language/polish/mysql.lang.data.sql
XoopsLanguages/polish/core/2.5.7/htdocs/install/language/polish/style.css
XoopsLanguages/polish/core/2.5.7/htdocs/install/language/polish/support.php
XoopsLanguages/polish/core/2.5.7/htdocs/install/language/polish/support.png
XoopsLanguages/polish/core/2.5.7/htdocs/install/language/polish/welcome.php
XoopsLanguages/polish/core/2.5.7/htdocs/language/
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/admin.php
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/auth.php
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/backend.php
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/banners.php
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/calendar.php
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/captcha.php
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/comment.php
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/countries.php
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/errors.php
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/findusers.php
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/formdhtmltextarea.php
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/global.php
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/index.html
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/locale.php
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/logger.php
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/mail.php
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/mail_template/
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/mail_template/activated.tpl
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/mail_template/adminactivate.tpl
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/mail_template/comment_notify.tpl
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/mail_template/commentsubmit_notify.tpl
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/mail_template/default_notify.tpl
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/mail_template/index.html
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/mail_template/lostpass1.tpl
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/mail_template/lostpass2.tpl
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/mail_template/register.tpl
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/mail_template/tellfriend.tpl
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/mail_template/welcome.tpl
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/misc.php
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/notification.php
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/pmsg.php
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/search.php
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/style.css
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/timezone.php
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/uploader.php
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/user.php
XoopsLanguages/polish/core/2.5.7/htdocs/language/polish/xoopsmailerlocal.php
XoopsLanguages/polish/core/2.5.7/htdocs/modules/
XoopsLanguages/polish/core/2.5.7/htdocs/modules/pm/
XoopsLanguages/polish/core/2.5.7/htdocs/modules/pm/language/
XoopsLanguages/polish/core/2.5.7/htdocs/modules/pm/language/polish/
XoopsLanguages/polish/core/2.5.7/htdocs/modules/pm/language/polish/admin.php
XoopsLanguages/polish/core/2.5.7/htdocs/modules/pm/language/polish/help/
XoopsLanguages/polish/core/2.5.7/htdocs/modules/pm/language/polish/help/help.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/pm/language/polish/help/index.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/pm/language/polish/index.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/pm/language/polish/main.php
XoopsLanguages/polish/core/2.5.7/htdocs/modules/pm/language/polish/modinfo.php
XoopsLanguages/polish/core/2.5.7/htdocs/modules/profile/
XoopsLanguages/polish/core/2.5.7/htdocs/modules/profile/language/
XoopsLanguages/polish/core/2.5.7/htdocs/modules/profile/language/polish/
XoopsLanguages/polish/core/2.5.7/htdocs/modules/profile/language/polish/admin.php
XoopsLanguages/polish/core/2.5.7/htdocs/modules/profile/language/polish/help/
XoopsLanguages/polish/core/2.5.7/htdocs/modules/profile/language/polish/help/help.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/profile/language/polish/help/index.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/profile/language/polish/index.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/profile/language/polish/mail_template/
XoopsLanguages/polish/core/2.5.7/htdocs/modules/profile/language/polish/mail_template/emailchanged.tpl
XoopsLanguages/polish/core/2.5.7/htdocs/modules/profile/language/polish/mail_template/index.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/profile/language/polish/main.php
XoopsLanguages/polish/core/2.5.7/htdocs/modules/profile/language/polish/modinfo.php
XoopsLanguages/polish/core/2.5.7/htdocs/modules/protector/
XoopsLanguages/polish/core/2.5.7/htdocs/modules/protector/language/
XoopsLanguages/polish/core/2.5.7/htdocs/modules/protector/language/polish/
XoopsLanguages/polish/core/2.5.7/htdocs/modules/protector/language/polish/help/
XoopsLanguages/polish/core/2.5.7/htdocs/modules/protector/language/polish/help/help.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/protector/language/polish/help/index.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/admin/
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/admin/avatars.php
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/admin/banners.php
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/admin/blocksadmin.php
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/admin/comments.php
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/admin/groups.php
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/admin/images.php
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/admin/index.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/admin/mailusers.php
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/admin/maintenance.php
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/admin/modulesadmin.php
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/admin/preferences.php
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/admin/smilies.php
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/admin/tplsets.php
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/admin/userrank.php
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/admin/users.php
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/admin.php
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/blocks.php
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/cpanel.php
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/help/
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/help/avatars.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/help/banners.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/help/blocksadmin.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/help/comments.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/help/groups.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/help/help_center.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/help/images.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/help/index.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/help/mailusers.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/help/maintenance.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/help/module_index.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/help/modulesadmin.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/help/preferences.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/help/smilies.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/help/tplsets.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/help/userrank.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/help/users.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/images/
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/images/index.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/images/lightbox-btn-close.gif
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/images/lightbox-btn-next.gif
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/images/lightbox-btn-prev.gif
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/index.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/language/polish/modinfo.php
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/themes/
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/themes/default/
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/themes/default/language/
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/themes/default/language/polish/
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/themes/default/language/polish/admin.php
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/themes/default/language/polish/index.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/themes/default/language/polish/localsupport.php
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/themes/zetadigme/
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/themes/zetadigme/language/
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/themes/zetadigme/language/polish/
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/themes/zetadigme/language/polish/admin.php
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/themes/zetadigme/language/polish/index.html
XoopsLanguages/polish/core/2.5.7/htdocs/modules/system/themes/zetadigme/language/polish/localsupport.php
XoopsLanguages/polish/core/2.5.7/htdocs/themes/
XoopsLanguages/polish/core/2.5.7/htdocs/themes/suico/
XoopsLanguages/polish/core/2.5.7/htdocs/themes/suico/language/
XoopsLanguages/polish/core/2.5.7/htdocs/themes/suico/language/polish/
XoopsLanguages/polish/core/2.5.7/htdocs/themes/suico/language/polish/index.html
XoopsLanguages/polish/core/2.5.7/htdocs/themes/suico/language/polish/main.php
XoopsLanguages/polish/core/2.5.7/htdocs/themes/suico/language/polish/script.js
XoopsLanguages/polish/core/2.5.7/htdocs/themes/suico/language/polish/style.css
XoopsLanguages/polish/core/2.5.7/htdocs/themes/zetagenesis/
XoopsLanguages/polish/core/2.5.7/htdocs/themes/zetagenesis/language/
XoopsLanguages/polish/core/2.5.7/htdocs/themes/zetagenesis/language/polish/
XoopsLanguages/polish/core/2.5.7/htdocs/themes/zetagenesis/language/polish/index.html
XoopsLanguages/polish/core/2.5.7/htdocs/themes/zetagenesis/language/polish/main.php
XoopsLanguages/polish/core/2.5.7/htdocs/themes/zetagenesis/language/polish/script.js
XoopsLanguages/polish/core/2.5.7/htdocs/themes/zetagenesis/language/polish/style.css
XoopsLanguages/polish/core/2.5.7/htdocs/xoops_lib/
XoopsLanguages/polish/core/2.5.7/htdocs/xoops_lib/modules/
XoopsLanguages/polish/core/2.5.7/htdocs/xoops_lib/modules/protector/
XoopsLanguages/polish/core/2.5.7/htdocs/xoops_lib/modules/protector/language/
XoopsLanguages/polish/core/2.5.7/htdocs/xoops_lib/modules/protector/language/polish/
XoopsLanguages/polish/core/2.5.7/htdocs/xoops_lib/modules/protector/language/polish/admin.php
XoopsLanguages/polish/core/2.5.7/htdocs/xoops_lib/modules/protector/language/polish/index.html
XoopsLanguages/polish/core/2.5.7/htdocs/xoops_lib/modules/protector/language/polish/main.php
XoopsLanguages/polish/core/2.5.7/htdocs/xoops_lib/modules/protector/language/polish/modinfo.php
XoopsLanguages/polish/core/2.5.7/instalacja_pl.txt
XoopsLanguages/polish/core/2.5.7/upgrade/
XoopsLanguages/polish/core/2.5.7/upgrade/cnt-2.2.x-to-2.3.0/
XoopsLanguages/polish/core/2.5.7/upgrade/cnt-2.2.x-to-2.3.0/language/
XoopsLanguages/polish/core/2.5.7/upgrade/cnt-2.2.x-to-2.3.0/language/polish.php
XoopsLanguages/polish/core/2.5.7/upgrade/language/
XoopsLanguages/polish/core/2.5.7/upgrade/language/polish/
XoopsLanguages/polish/core/2.5.7/upgrade/language/polish/index.html
XoopsLanguages/polish/core/2.5.7/upgrade/language/polish/style.css
XoopsLanguages/polish/core/2.5.7/upgrade/language/polish/upgrade.php
XoopsLanguages/polish/core/2.5.7/upgrade/upd-2.0.18-to-2.3.0/
XoopsLanguages/polish/core/2.5.7/upgrade/upd-2.0.18-to-2.3.0/language/
XoopsLanguages/polish/core/2.5.7/upgrade/upd-2.0.18-to-2.3.0/language/polish.php
Added: XoopsLanguages/polish/core/2.5.7/extras/modules/system/language/polish/admin/filemanager.php
===================================================================
--- XoopsLanguages/polish/core/2.5.7/extras/modules/system/language/polish/admin/filemanager.php (rev 0)
+++ XoopsLanguages/polish/core/2.5.7/extras/modules/system/language/polish/admin/filemanager.php 2014-04-07 22:47:55 UTC (rev 12434)
@@ -0,0 +1,62 @@
+<?php
+/**
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license http://www.fsf.org/copyleft/gpl.html GNU public license
+ * _LANGCODE en
+ * _CHARSET UTF-8
+ * @version $Id$
+ */
+
+ //Nav
+define('_AM_SYSTEM_FILEMANAGER_NAV_MANAGER','Menadżer Plików');
+define('_AM_SYSTEM_FILEMANAGER_NAV_MAIN','Menadżer Plików');
+
+//Tips
+define('_AM_SYSTEM_FILEMANAGER_NAV_TIPS','
+<ul>
+<li>Zmień uprawnienia plików, treść lub usuń nieużywane pliki Xoops.</li>
+</ul>
+');
+
+// Main
+define('_AM_SYSTEM_FILEMANAGER_DIRECTORY','Folder');
+define('_AM_SYSTEM_FILEMANAGER_FILES','Pliki');
+define('_AM_SYSTEM_FILEMANAGER_GENERATE','Wygenerowana opłata dodatkowa');
+define('_AM_SYSTEM_FILEMANAGER_SELECT_THEME','Wybierz skórkę');
+define('_AM_SYSTEM_FILEMANAGER_FORCE_GENERATED','Wymuszona generacja');
+define('_AM_SYSTEM_FILEMANAGER_NAV_FILE_GENERATED','Pliki wygenerowane');
+define('_AM_SYSTEM_FILEMANAGER_NOT_CREATED','Nie utworzono plików');
+define('_AM_SYSTEM_FILEMANAGER_HOME','Home');
+define('_AM_SYSTEM_FILEMANAGER_SAVE','Zapisz');
+define('_AM_SYSTEM_FILEMANAGER_CANCEL','Anuluj');
+define('_AM_SYSTEM_FILEMANAGER_RESTORE','Przywróć');
+define('_AM_SYSTEM_FILEMANAGER_REFRESH','Odśwież');
+define('_AM_SYSTEM_FILEMANAGER_UPLOAD','Wyślij plik');
+define('_AM_SYSTEM_FILEMANAGER_UPLOAD_CHOOSE','Wybierz plik do wysyłki');
+define('_AM_SYSTEM_FILEMANAGER_ADDDIR','Dodaj folder');
+define('_AM_SYSTEM_FILEMANAGER_ADDDIR_NAME','Wybierz nazwę dla folderu');
+define('_AM_SYSTEM_FILEMANAGER_ADDFILE','Dodaj nowy plik');
+define('_AM_SYSTEM_FILEMANAGER_DELDIR','Usuń folder');
+
+define('_AM_SYSTEM_FILEMANAGER_RESTORE_ERROR_FILE_EXISTS','Błąd : Plik nie istnieje');
+define('_AM_SYSTEM_FILEMANAGER_RESTORE_ERROR_FILE_DELETE','Błąd : Plik nie został skasowany');
+define('_AM_SYSTEM_FILEMANAGER_RESTORE_ERROR_FILE_RENAME','Błąd : Nazwa pliku nie została zmieniona');
+define('_AM_SYSTEM_FILEMANAGER_BACK','Wróć');
+define('_AM_SYSTEM_FILEMANAGER_DELETE','Usuń');
+define('_AM_SYSTEM_FILEMANAGER_ERROR','Błąd');
+define('_AM_SYSTEM_FILEMANAGER_EDIT','Edycja :');
+define('_AM_SYSTEM_FILEMANAGER_EMPTY_FILE','Plik pusty');
+define('_AM_SYSTEM_FILEMANAGER_DELDIR_NOTOK','Błąd : Folder nie został usunięty');
+define('_AM_SYSTEM_FILEMANAGER_DELDIR_OK','Folder pomyślnie usunięty');
+
+// Message
+define('_AM_SYSTEM_FILEMANAGER_UPLOAD_FILE','Pliki pomyślnie załadowane');
+define('_AM_SYSTEM_FILEMANAGER_EXTRACT_FILE','Pliki pomyślnie rozpakowane');
+define('_AM_SYSTEM_FILEMANAGER_EXTRACT_ERROR','Nie udało się rozpakować plików');
+define('_AM_SYSTEM_FILEMANAGER_DELETE_FILE','Pliki pomyślnie usunięte');
+define('_AM_SYSTEM_FILEMANAGER_DIR_SUCCESS','Folder utworzony');
+define('_AM_SYSTEM_FILEMANAGER_DIR_ERROR','Nie udało się utworzyć folderu');
+define('_AM_SYSTEM_FILEMANAGER_DIR_RYSDEL','Czy jesteś pewien, że chcesz usunąć ten folder ?');
+define('_AM_SYSTEM_FILEMANAGER_FILE_SUCCESS','Plik utworzony');
+define('_AM_SYSTEM_FILEMANAGER_SUREDEL','Czy jesteś pewien że chces usunąć ten plik %s ?');
+define('_AM_SYSTEM_FILEMANAGER_DIR_SUREDEL','Czy jesteś pewien, że chcesz usunąć ten folder %s ?<br />UWAGA: wszystkie podfoldery i pliki zostaną usunięte');
Property changes on: XoopsLanguages/polish/core/2.5.7/extras/modules/system/language/polish/admin/filemanager.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsLanguages/polish/core/2.5.7/extras/modules/system/language/polish/admin/index.html
===================================================================
--- XoopsLanguages/polish/core/2.5.7/extras/modules/system/language/polish/admin/index.html (rev 0)
+++ XoopsLanguages/polish/core/2.5.7/extras/modules/system/language/polish/admin/index.html 2014-04-07 22:47:55 UTC (rev 12434)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsLanguages/polish/core/2.5.7/extras/modules/system/language/polish/index.html
===================================================================
--- XoopsLanguages/polish/core/2.5.7/extras/modules/system/language/polish/index.html (rev 0)
+++ XoopsLanguages/polish/core/2.5.7/extras/modules/system/language/polish/index.html 2014-04-07 22:47:55 UTC (rev 12434)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsLanguages/polish/core/2.5.7/htdocs/Frameworks/moduleclasses/moduleadmin/language/polish/index.html
===================================================================
--- XoopsLanguages/polish/core/2.5.7/htdocs/Frameworks/moduleclasses/moduleadmin/language/polish/index.html (rev 0)
+++ XoopsLanguages/polish/core/2.5.7/htdocs/Frameworks/moduleclasses/moduleadmin/language/polish/index.html 2014-04-07 22:47:55 UTC (rev 12434)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsLanguages/polish/core/2.5.7/htdocs/Frameworks/moduleclasses/moduleadmin/language/polish/main.php
===================================================================
--- XoopsLanguages/polish/core/2.5.7/htdocs/Frameworks/moduleclasses/moduleadmin/language/polish/main.php (rev 0)
+++ XoopsLanguages/polish/core/2.5.7/htdocs/Frameworks/moduleclasses/moduleadmin/language/polish/main.php 2014-04-07 22:47:55 UTC (rev 12434)
@@ -0,0 +1,49 @@
+<?php
+/**
+ * Frameworks Module Admin
+ *
+ * You may not change or alter any portion of this comment or credits
+ * of supporting developers from this source code or any supporting source code
+ * which is considered copyrighted (c) material of the original comment or credit authors.
+ * 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.
+ *
+ * @copyright Grégory Mage (Aka Mage)
+ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
+ * @author Grégory Mage (Aka Mage)
+ */
+
+// Info
+define('_AM_MODULEADMIN_CONFIG','Konfiguracja wyboru');
+define('_AM_MODULEADMIN_CONFIG_CHMOD',"Katalog '%s' musi mieć uprawnienia chmod '%s' (obecnie ustawione są na '%s').");
+define('_AM_MODULEADMIN_CONFIG_FOLDERKO',"Katalog '%s' nie istnieje");
+define('_AM_MODULEADMIN_CONFIG_FOLDEROK',"Katalog '%s' istnieje");
+define('_AM_MODULEADMIN_CONFIG_PHP','Minimalna wymagana wersja PHP: %s (Twoja wersja, to %s) ');
+define('_AM_MODULEADMIN_CONFIG_XOOPS','Minimalna wymagana wersja XOOPS: %s (Twoja wersja, to %s)');
+
+define('_AM_MODULEADMIN_CONFIG_DB','wymagana jest minimum wersja: %s (Twoja wersja to %s)');
+define('_AM_MODULEADMIN_CONFIG_ADMIN','Minimalna wymagana wersja ModuleAdmin: %s (Twoja wersja, to %s)');
+
+// About
+define('_AM_MODULEADMIN_ABOUT_CHANGELOG','Wykaz zmian');
+define('_AM_MODULEADMIN_ABOUT_DESCRIPTION','Opis');
+define('_AM_MODULEADMIN_ABOUT_MODULEINFO','Informacje o module');
+define('_AM_MODULEADMIN_ABOUT_MODULESTATUS','Status:');
+define('_AM_MODULEADMIN_ABOUT_UPDATEDATE','Data aktualizacji:');
+define('_AM_MODULEADMIN_ABOUT_WEBSITE',"Strona internetowa: ");
+
+define("_AM_MODULEADMIN_ABOUT_RELEASEDATE","Data realizacji:");
+define("_AM_MODULEADMIN_ABOUT_AUTHOR","Autor:");
+define("_AM_MODULEADMIN_ABOUT_CREDITS","Podziękowania:");
+define("_AM_MODULEADMIN_ABOUT_LICENSE","Licencja:");
+define("_AM_MODULEADMIN_ABOUT_AUTHOR_NAME","Nazwa autora:");
+define("_AM_MODULEADMIN_ABOUT_AUTHOR_INFO","Informacje o autorze");
+
+define("_AM_MODULEADMIN_HOME", "Indeks");
+define("_AM_MODULEADMIN_DASHBOARD", "Tablica");
+define("_AM_MODULEADMIN_ABOUT", "O module");
+define("_AM_MODULEADMIN_PERMISSIONS", "Uprawnienia");
+
+//ModuleAdmin
+define("_AM_MODULEADMIN_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>Ten moduł jest rozwijany przez <a class='tooltip' rel='external' href='http://xoops.org/' title='Odwiedź serwis Społeczności XOOPS'>XOOPS Community</a></div>");
Property changes on: XoopsLanguages/polish/core/2.5.7/htdocs/Frameworks/moduleclasses/moduleadmin/language/polish/main.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/dhtmltextarea/language/polish.php
===================================================================
--- XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/dhtmltextarea/language/polish.php (rev 0)
+++ XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/dhtmltextarea/language/polish.php 2014-04-07 22:47:55 UTC (rev 12434)
@@ -0,0 +1,15 @@
+<?php
+/**
+ * XOOPS editor
+ *
+ * @copyright The XOOPS project http://www.xoops.org/
+ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
+ * @author Taiwen Jiang (phppp or D.J.) <ph...@ho...>
+ * @since 2.3.0
+ * @version $Id$
+ * @package xoopseditor
+ */
+/**
+ * Assocated with editor_registry.php
+ */
+define( '_XOOPS_EDITOR_DHTMLTEXTAREA', 'DHTML Form with xCode' );
Property changes on: XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/dhtmltextarea/language/polish.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/textarea/language/polish.php
===================================================================
--- XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/textarea/language/polish.php (rev 0)
+++ XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/textarea/language/polish.php 2014-04-07 22:47:55 UTC (rev 12434)
@@ -0,0 +1,16 @@
+<?php
+/**
+ * Editor framework for XOOPS
+ *
+ * @copyright The XOOPS project http://www.xoops.org/
+ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
+ * @author Taiwen Jiang (phppp or D.J.) <ph...@ho...>
+ * @since 1.00
+ * @version $Id$
+ * @package xoopseditor
+ */
+
+/*
+ * Assocated with editor_registry.php
+ */
+define("_XOOPS_EDITOR_TEXTAREA", "Plain Text");
Property changes on: XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/textarea/language/polish.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/language/polish.php
===================================================================
--- XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/language/polish.php (rev 0)
+++ XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/language/polish.php 2014-04-07 22:47:55 UTC (rev 12434)
@@ -0,0 +1,24 @@
+<?php
+/**
+ * TinyMCE adapter for XOOPS
+ *
+ * @copyright The XOOPS project http://www.xoops.org/
+ * @license http://www.fsf.org/copyleft/gpl.html GNU public license
+ * @package core
+ * @subpackage xoopseditor
+ * @since 2.3.0
+ * @author Taiwen Jiang <ph...@us...>
+ * @version $Id$
+ */
+/*
+ * Assocated with editor_registry.php
+ */
+// Name of the editor
+define("_XOOPS_EDITOR_TINYMCE","TinyMCE");
+
+// The value must be the same as /tinymce/jscripts/langs/your_language_code, for example, "en" for English, "fr" for French
+// For details, check http://tinymce.moxiecode.com/download_i18n.php
+define("_XOOPS_EDITOR_TINYMCE_LANGUAGE","pl");
+
+// FONT LIST, FORMAT: "Name=value1,value2;Name=value"
+define("_XOOPS_EDITOR_TINYMCE_FONTS","Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;WingDings=wingdings");
Property changes on: XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/language/polish.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/pl.js
===================================================================
--- XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/pl.js (rev 0)
+++ XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/pl.js 2014-04-07 22:47:55 UTC (rev 12434)
@@ -0,0 +1 @@
+tinyMCE.addI18n({pl:{common:{"more_colors":"Wi\u0119cej kolor\u00f3w","invalid_data":"B\u0142\u0105d: Zosta\u0142y wprowadzone b\u0142\u0119dne dane, s\u0105 zaznaczone na czerwono.","popup_blocked":"Zauwa\u017cyli\u015bmy, \u017ce opcja blokowania wyskakuj\u0105cych okienek wy\u0142\u0105czy\u0142a okno, kt\u00f3re dostarcza funkcjonalno\u015b\u0107 aplikacji. Aby w pe\u0142ni wykorzysta\u0107 to narz\u0119dzie musisz wy\u0142\u0105czy\u0107 blokowanie wyskakuj\u0105cych okienek na tej stronie.","clipboard_no_support":"Aktualnie nie jest obs\u0142ugiwany przez Twoj\u0105 przegl\u0105dark\u0119, u\u017cyj skr\u00f3t\u00f3w klawiaturowych w zamian.","clipboard_msg":"Akcje Kopiuj/Wytnij/Wklej nie s\u0105 dost\u0119pne w Mozilli i Firefox.\nCzy chcesz wi\u0119cej informacji o tym problemie?","not_set":"-- Brak --","class_name":"Klasa",browse:"Przegl\u0105daj",close:"Zamknij",cancel:"Anuluj",update:"Aktualizuj",insert:"Wstaw",apply:"Zastosuj","edit_confirm":"Czy chcesz u\u017cy\u0107 trybu WYSIWYG dla tego pola formularza?","invalid_data_number":"{#field} musi by\u0107 liczb\u0105","invalid_data_min":"{#field} musi by\u0107 liczb\u0105 wi\u0119ksz\u0105 od {#min}","invalid_data_size":"{#field} musi by\u0107 liczb\u0105 lub warto\u015bci\u0105 procentow\u0105",value:"(warto\u015b\u0107)"},contextmenu:{full:"Wyjustuj",right:"Do prawej",center:"Do \u015brodka",left:"Do lewej",align:"Wyr\u00f3wnanie"},insertdatetime:{"day_short":"N,Pn,Wt,\u015ar,Cz,Pt,So,N","day_long":"Niedziela,Poniedzia\u0142ek,Wtorek,\u015aroda,Czwartek,Pi\u0105tek,Sobota,Niedziela","months_short":"Sty,Lut,Mar,Kwi,Maj,Cze,Lip,Sie,Wrz,Pa\u017a,Lis,Gru","months_long":"Stycze\u0144,Luty,Marzec,Kwiecie\u0144,Maj,Czerwiec,Lipiec,Sierpie\u0144,Wrzesie\u0144,Pa\u017adziernik,Listopad,Grudzie\u0144","inserttime_desc":"Wstaw czas","insertdate_desc":"Wstaw dat\u0119","time_fmt":"%H:%M:%S","date_fmt":"%Y-%m-%d"},print:{"print_desc":"Drukuj"},preview:{"preview_desc":"Podgl\u0105d"},directionality:{"rtl_desc":"Kierunek od prawej do lewej","ltr_desc":"Kierunek od lewej do prawej"},layer:{content:"Nowa warstwa...","absolute_desc":"Prze\u0142\u0105cz pozycjonowanie absolutne","backward_desc":"Przesu\u0144 pod sp\u00f3d","forward_desc":"Przesu\u0144 na wierzch","insertlayer_desc":"Wstaw now\u0105 warstw\u0119"},save:{"save_desc":"Zachowaj","cancel_desc":"Anuluj wszystkie zmiany"},nonbreaking:{"nonbreaking_desc":"Wstaw tward\u0105 spacj\u0119"},iespell:{download:"ieSpell nie wykryte. Czy przeprowadzi\u0107 instalacj\u0119 tego komponentu?","iespell_desc":"Sprawd\u017a pisowni\u0119"},advhr:{"advhr_desc":"Pozioma linia","delta_height":"","delta_width":""},emotions:{"emotions_desc":"Emotikony","delta_height":"","delta_width":""},searchreplace:{"replace_desc":"Znajd\u017a/zamie\u0144","search_desc":"Znajd\u017a","delta_width":"","delta_height":""},advimage:{"image_desc":"Wstaw/edytuj obraz","delta_width":"","delta_height":""},advlink:{"link_desc":"Wstaw/edytuj link","delta_height":"","delta_width":""},xhtmlxtras:{"attribs_desc":"Wstaw / Edytuj atrybuty","ins_desc":"Wstawienie","del_desc":"Usuni\u0119cie","acronym_desc":"Akronim","abbr_desc":"Skr\u00f3t","cite_desc":"Cytat","attribs_delta_height":"","attribs_delta_width":"","ins_delta_height":"","ins_delta_width":"","del_delta_height":"","del_delta_width":"","acronym_delta_height":"","acronym_delta_width":"","abbr_delta_height":"","abbr_delta_width":"","cite_delta_height":"","cite_delta_width":""},style:{desc:"Edytuj Style CSS","delta_height":"","delta_width":""},paste:{"plaintext_mode":"Wklejanie jest teraz dost\u0119pne w trybie tekstowym. Kliknij ponownie, aby prze\u0142\u0105czy\u0107 si\u0119 z powrotem do trybu wklejania sformatowanego tekstu.","plaintext_mode_sticky":"Wklejanie jest teraz dost\u0119pne w trybie tekstowym. Kliknij ponownie, aby prze\u0142\u0105czy\u0107 si\u0119 z powrotem do trybu wklejania sformatowanego tekstu. Po wklejeniu tekstu nast\u0105pi powr\u00f3t do trybu wklejania sformatowanego tekstu.","selectall_desc":"Zaznacz wszystko","paste_word_desc":"Wklej z Worda","paste_text_desc":"Wklej jako zwyk\u0142y tekst"},"paste_dlg":{"word_title":"U\u017cyj CTRL+V na swojej klawiaturze \u017ceby wklei\u0107 tekst do okna.","text_linebreaks":"Zachowaj ko\u0144ce linii.","text_title":"U\u017cyj CTRL+V na swojej klawiaturze \u017ceby wklei\u0107 tekst do okna."},table:{cell:"Kom\u00f3rka",col:"Kolumna",row:"Wiersz",del:"Usu\u0144 tabel\u0119","copy_row_desc":"Kopiuj wiersz...","cut_row_desc":"Wytnij wiersz...","paste_row_after_desc":"Wklej wiersz po...","paste_row_before_desc":"Wklej wiersz przed...","props_desc":"W\u0142a\u015bciwo\u015bci tabeli","cell_desc":"W\u0142a\u015bciwo\u015bci kom\u00f3rki","row_desc":"W\u0142a\u015bciwo\u015bci wiersza","merge_cells_desc":"Po\u0142\u0105cz kom\u00f3rki","split_cells_desc":"Podziel po\u0142\u0105czone kom\u00f3rki","delete_col_desc":"Usu\u0144 kolumn\u0119","col_after_desc":"Wstaw kolumn\u0119 po...","col_before_desc":"Wstaw kolumn\u0119 przed...","delete_row_desc":"Usu\u0144 wiersz","row_after_desc":"Wstaw nowy wiersz po...","row_before_desc":"Wstaw nowy wiersz przed...",desc:"Wstaw now\u0105 tabel\u0119","merge_cells_delta_height":"","merge_cells_delta_width":"","table_delta_height":"","table_delta_width":"","cellprops_delta_height":"","cellprops_delta_width":"","rowprops_delta_height":"","rowprops_delta_width":""},autosave:{"warning_message":"Je\u015bli przywr\u00f3cisz zapisan\u0105 tre\u015b\u0107, stracisz ca\u0142\u0105 tre\u015b\u0107, kt\u00f3ra teraz si\u0119 znajduje w edytorze.\n\nJeste\u015b pewien, \u017ce chcesz przywr\u00f3ci\u0107 zapisan\u0105 tre\u015b\u0107?","restore_content":"Przywr\u00f3\u0107 tre\u015b\u0107 zapisan\u0105 automatycznie.","unload_msg":"Zmiany, kt\u00f3rych dokona\u0142e\u015b zostan\u0105 utracone je\u015bli opu\u015bcisz t\u0119 stron\u0119."},fullscreen:{desc:"Prze\u0142\u0105cz tryb pe\u0142noekranowy"},media:{"delta_height":"",edit:"Edytuj wbudowane media",desc:"Wstaw/edytuj wbudowane media","delta_width":""},fullpage:{desc:"W\u0142a\u015bciwo\u015bci dokumentu","delta_width":"","delta_height":""},template:{desc:"Wstaw tre\u015b\u0107 szablonu"},visualchars:{desc:"W\u0142\u0105cz/wy\u0142\u0105cz znaki kontrolne."},spellchecker:{desc:"Sprawdzanie pisowni",menu:"Ustawienia sprawdzania pisowni","ignore_word":"Ignoruj s\u0142owo","ignore_words":"Ignoruj wszystkie",langs:"J\u0119zyki",wait:"Prosz\u0119 czeka\u0107...",sug:"Sugestie","no_sug":"Brak sugestii","no_mpell":"Nie znaleziono b\u0142\u0119d\u00f3w.","learn_word":"Dowiedz si\u0119 s\u0142owa"},pagebreak:{desc:"Wstaw znak nowej strony."},advlist:{types:"Rodzaje",def:"Domy\u015blny","lower_alpha":"Ma\u0142e alfabetu","lower_greek":"Ma\u0142e greckie","lower_roman":"Ma\u0142e rzymskie","upper_alpha":"Du\u017ce alfabetu","upper_roman":"Du\u017ce rzymskie",circle:"Ko\u0142o",disc:"Elipsa",square:"Kwadrat"},colors:{"333300":"Ciemnooliwkowy","993300":"Ochra","000000":"Czarny","003300":"Ciemnozielony","003366":"Ciemnolazurowy","000080":"Granatowy","333399":"Indygo","333333":"Bardzo ciemnoszary","800000":"Rdzawy",FF6600:"Pomara\u0144czowy","808000":"Oliwkowy","008000":"Zielony","008080":"Morski","0000FF":"Niebieski","666699":"Siny","808080":"Szary",FF0000:"Czerwony",FF9900:"Bursztynowy","99CC00":"\u017b\u00f3\u0142tozielony","339966":"Akwamaryna","33CCCC":"Turkusowy","3366FF":"B\u0142\u0119kit kr\u00f3lewski","800080":"Purpurowy","999999":"\u015arednioszary",FF00FF:"Fuksja",FFCC00:"Z\u0142oty",FFFF00:"\u017b\u00f3\u0142ty","00FF00":"Limonkowy","00FFFF":"Cyjan","00CCFF":"B\u0142\u0119kitny","993366":"Br\u0105zowy",C0C0C0:"Srebrny",FF99CC:"R\u00f3\u017cowy",FFCC99:"Brzoskwiniowy",FFFF99:"Jasno\u017c\u00f3\u0142ty",CCFFCC:"Bladozielony",CCFFFF:"Bladoturkusowy","99CCFF":"Jasnob\u0142\u0119kitny",CC99FF:"\u015aliwkowy",FFFFFF:"Bia\u0142y"},aria:{"rich_text_area":"Pole tekstowe"},wordcount:{words:"S\u0142owa:"}}});
\ No newline at end of file
Property changes on: XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/pl.js
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/pl_dlg.js
===================================================================
--- XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/pl_dlg.js (rev 0)
+++ XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/pl_dlg.js 2014-04-07 22:47:55 UTC (rev 12434)
@@ -0,0 +1 @@
+tinyMCE.addI18n('pl.advhr_dlg',{size:"Wysoko\u015b\u0107",noshade:"Bez cienia",width:"Szeroko\u015b\u0107",normal:"Normalny",widthunits:"Jednostki"});
\ No newline at end of file
Property changes on: XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/pl_dlg.js
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/pl_dlg.js
===================================================================
--- XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/pl_dlg.js (rev 0)
+++ XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/pl_dlg.js 2014-04-07 22:47:55 UTC (rev 12434)
@@ -0,0 +1 @@
+tinyMCE.addI18n('pl.advimage_dlg',{"image_list":"Lista obrazk\u00f3w","align_right":"Prawy","align_left":"Lewy","align_textbottom":"Tekst dolny","align_texttop":"Tekst g\u00f3rny","align_bottom":"Dolny","align_middle":"\u015arodkowy","align_top":"G\u00f3rny","align_baseline":"G\u0142\u00f3wna linia",align:"Wyr\u00f3wnanie",hspace:"Odst\u0119p poziomy",vspace:"Odst\u0119p pionowy",dimensions:"Rozmiary",border:"Obramowanie",list:"Lista obrazk\u00f3w",alt:"Opis obrazka",src:"URL obrazka","dialog_title":"Wklej/edytuj obraz","missing_alt":"Czy jeste\u015b pewien, \u017ce chcesz kontynuowa\u0107 bez opisu obrazka? Obrazek bez opisu mo\u017ce nie by\u0107 dost\u0119pny dla u\u017cytkownik\u00f3w u\u017cywaj\u0105cych tekstowe przegl\u0105darki lub przegl\u0105daj\u0105cych stron\u0119 z wy\u0142\u0105czonymi obrazkami.","example_img":"Podgl\u0105d wygl\u0105du obrazka",misc:"R\u00f3\u017cne",mouseout:"dla mouseout",mouseover:"dla mouseover","alt_image":"alternatywny obrazek","swap_image":"Zamiana obrazka",map:"Mapa obrazu",id:"Id",rtl:"Z prawej do lewej",ltr:"Z lewej do prawej",classes:"Klasy",style:"Styl","long_desc":"D\u0142ugi opis linku",langcode:"Kod j\u0119zyka",langdir:"Kierunek j\u0119zyka","constrain_proportions":"Zachowaj proporcje",preview:"Podgl\u0105d",title:"Tytu\u0142",general:"Og\u00f3lne","tab_advanced":"Zaawansowane","tab_appearance":"Wygl\u0105d","tab_general":"Og\u00f3lne",width:"Szeroko\u015b\u0107",height:"Wysoko\u015b\u0107"});
\ No newline at end of file
Property changes on: XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/pl_dlg.js
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/pl_dlg.js
===================================================================
--- XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/pl_dlg.js (rev 0)
+++ XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/pl_dlg.js 2014-04-07 22:47:55 UTC (rev 12434)
@@ -0,0 +1 @@
+tinyMCE.addI18n('pl.advlink_dlg',{"target_name":"Nazwa celu",classes:"Klasy",style:"Styl",id:"Id","popup_position":"Pozycja (X/Y)",langdir:"Kierunek czytania tekstu","popup_size":"Rozmiar","popup_dependent":"Zale\u017cny (Mozilla/Firefox wy\u0142\u0105cznie)","popup_resizable":"Stw\u00f3rz okno z mo\u017cliwo\u015bci\u0105 zmiany rozmiaru","popup_location":"Poka\u017c pasek adresu","popup_menubar":"Poka\u017c pasek menu","popup_toolbar":"Poka\u017c narz\u0119dzia","popup_statusbar":"Poka\u017c pasek statusu","popup_scrollbars":"Poka\u017c paski przewijania","popup_return":"Wstaw \'return false\'","popup_name":"Nazwa okna","popup_url":"URL okna",popup:"Wyskakuj\u0105ce okno","target_blank":"Otw\u00f3rz w nowym oknie","target_top":"Otw\u00f3rz w g\u00f3rnej ramce (zamie\u0144 wszystkie ramki)","target_parent":"Otw\u00f3rz w nadrz\u0119dnym oknie / ramce","target_same":"Otw\u00f3rz w tym oknie / ramce","anchor_names":"Kotwice","popup_opts":"Opcje","advanced_props":"Zaawansowae w\u0142a\u015bciwo\u015bci","event_props":"Zdarzenia","popup_props":"W\u0142a\u015bciwo\u015bci okna","general_props":"W\u0142a\u015bciwo\u015bci og\u00f3lne","advanced_tab":"Zaawansowane","events_tab":"Zdarzenia","popup_tab":"Popup","general_tab":"Og\u00f3lne",list:"Lista link\u00f3w","is_external":"Podany adres wydaje si\u0119 by\u0107 zewn\u0119trznym linkiem, czy chcesz doda\u0107 wymagany prefiks http://?","is_email":"Podany adres wydaje si\u0119 by\u0107 adresem emailowym, czy chcesz doda\u0107 wymagany prefiks mailto:?",titlefield:"Tytu\u0142",target:"Cel",url:"URL linka",title:"Wstaw/edytuj link","link_list":"Lista odno\u015bnik\u00f3w",rtl:"Kierunek z prawej do lewej",ltr:"Kierunek z lewej do prawej",accesskey:"Klawisz skr\u00f3tu",tabindex:"Numer tab",rev:"Relacje celu do strony",rel:"Relacje strony do celu",mime:"Docelowy typ MIME",encoding:"Kodowanie znak\u00f3w celu",langcode:"Kod j\u0119zyka","target_langcode":"Docelowy kod j\u0119zyka",width:"Szeroko\u015b\u0107",height:"Wysoko\u015b\u0107"});
\ No newline at end of file
Property changes on: XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/pl_dlg.js
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/pl.js
===================================================================
--- XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/pl.js (rev 0)
+++ XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/pl.js 2014-04-07 22:47:55 UTC (rev 12434)
@@ -0,0 +1,4 @@
+tinyMCE.addI18n('pl.autosave',{
+restore_content: "Przywróć tekst z autozapisu",
+warning_message: "Jeśli przywrócisz automatycznie zapisaną zawartość, stracisz zawartość która jest obecnie w edytorze.\n\nJesteś pewien, że chcesz przywrócić automatycznie zapisaną zawartość?"
+});
\ No newline at end of file
Property changes on: XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/pl.js
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/pl_dlg.js
===================================================================
--- XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/pl_dlg.js (rev 0)
+++ XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/pl_dlg.js 2014-04-07 22:47:55 UTC (rev 12434)
@@ -0,0 +1 @@
+tinyMCE.addI18n('pl.emotions_dlg',{cry:"P\u0142acz",cool:"Wyluzowany",desc:"Emotikony",title:"Wstaw emotikon\u0119",yell:"Krzyk",wink:"Mrugni\u0119cie",undecided:"Niezdecydowany","tongue_out":"Wystawiony j\u0119zyk",surprised:"Zaskoczony",smile:"U\u015bmiech",sealed:"Zaklepany","money_mouth":"Zaanga\u017cowany",laughing:"\u015amiech",kiss:"Poca\u0142unek",innocent:"Niewinny",frown:"Dezaprobata","foot_in_mouth":"Niewyparzona g\u0119ba",embarassed:"Zmieszany",usage:"U\u017cywaj strza\u0142ek w lewo i w prawo do nawigacji."});
\ No newline at end of file
Property changes on: XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/pl_dlg.js
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/pl.js
===================================================================
--- XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/pl.js (rev 0)
+++ XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/pl.js 2014-04-07 22:47:55 UTC (rev 12434)
@@ -0,0 +1,3 @@
+tinyMCE.addI18n('pl.example',{
+ desc : 'To jest szablonowy przycisk'
+});
Property changes on: XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/pl.js
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/pl_dlg.js
===================================================================
--- XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/pl_dlg.js (rev 0)
+++ XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/pl_dlg.js 2014-04-07 22:47:55 UTC (rev 12434)
@@ -0,0 +1,3 @@
+tinyMCE.addI18n('pl.example_dlg',{
+ title : 'To jest przykładowy tytuł'
+});
Property changes on: XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/pl_dlg.js
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/pl_dlg.js
===================================================================
--- XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/pl_dlg.js (rev 0)
+++ XoopsLanguages/polish/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/pl_dlg.js 2014-04-07 22:47:55 UTC (rev 12434)
@@ -0,0 +1 @@
+tinyMCE.addI18n('pl.fullpage_dlg',{title:"W\u0142a\u015bciwo\u015bci dokumentu","meta_tab":"Og\u00f3lne","appearance_tab":"Wygl\u0105d","advanced_tab":"Zaawansowane","meta_props":"Meta informacje",langprops:"J\u0119zyk i kodowanie","meta_title":"Tytu\u0142","meta_keywords":"S\u0142owa kluczowe","meta_description":"Opis","meta_robots":"Roboty",doctypes:"Typ dokumentu",langcode:"Oznaczenie kodowe j\u0119zyka",langdir:"Kierunek czytania tekstu",ltr:"Kierunek z lewej do prawej",rtl:"Kierunek z prawej do lewej","xml_pi":"Deklaracja XML",encoding:"Kodowanie znak\u00f3w","appearance_bgprops":"W\u0142a\u015bciwo\u015bci t\u0142a","appearance_marginprops":"Marginesy strony","appearance_linkprops":"Kolor odno\u015bnik\u00f3w","appearance_textprops":"W\u0142a\u015bciwo\u015bci tekstu",bgcolor:"Kolor t\u0142a",bgimage:"Obrazek t\u0142a","left_margin":"Lewy margines","right_margin":"Prawy margines","top_margin":"G\u00f3rny margines","bottom_margin":"Dolny margines","text_color":"Kolor tekstu","font_size":"Rozmiar czcionki","font_face":"Czcionka","link_color":"Kolor odno\u015bnika","hover_color":"Kolor po najechaniu myszk\u0105","visited_color":"Kolor odwiedzonych link\u00f3w","active_color":"Kolor aktywnych link\u00f3w",textcolor:"Kolor",fontsize:"Rozmiar czcionki",fontface:"Rodzaj czcionki","meta_index_follow":"Indeksuj i pod\u0105\u017caj za linkami","meta_index_nofollow":"Indeksuj i nie pod\u0105\u017caj za odno\u015bnikami","meta_noindex_follow":"Nie indeksuj i pod\u0105\u017caj za odno\u015bnikami","meta_noindex_nofollow":"Nie indeksuj i nie pod\u0105\u017caj za odno\u015bnikami","appearance_style":...
[truncated message content] |
|
From: <luc...@us...> - 2014-04-07 19:14:45
|
Revision: 12433
http://sourceforge.net/p/xoops/svn/12433
Author: luciorota
Date: 2014-04-07 19:14:42 +0000 (Mon, 07 Apr 2014)
Log Message:
-----------
fixed bugs in xoops_version.php
improved footer
Modified Paths:
--------------
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_accounts.php
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_attachment.php
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_bmh.php
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_cat.php
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_catsubscr.php
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_import.php
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_letter.php
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_mailinglist.php
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_protocol.php
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_subscr.php
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_task.php
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/css/module.css
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/footer.php
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/subscription.php
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_footer.html
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/xoops_version.php
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_accounts.php
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_accounts.php 2014-04-07 10:58:17 UTC (rev 12432)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_accounts.php 2014-04-07 19:14:42 UTC (rev 12433)
@@ -26,10 +26,8 @@
* ****************************************************************************
*/
-if (!defined("XOOPS_ROOT_PATH")) {
- die("XOOPS root path not defined");
-}
-
+defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined");
+include_once dirname(dirname(__FILE__)) . '/include/common.php';
class xnewsletter_accounts extends XoopsObject
{
public $xnewsletter = null;
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_attachment.php
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_attachment.php 2014-04-07 10:58:17 UTC (rev 12432)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_attachment.php 2014-04-07 19:14:42 UTC (rev 12433)
@@ -26,10 +26,8 @@
* ****************************************************************************
*/
-if (!defined("XOOPS_ROOT_PATH")) {
- die("XOOPS root path not defined");
-}
-
+defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined");
+include_once dirname(dirname(__FILE__)) . '/include/common.php';
class xnewsletter_attachment extends XoopsObject
{
public $xnewsletter = null;
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_bmh.php
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_bmh.php 2014-04-07 10:58:17 UTC (rev 12432)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_bmh.php 2014-04-07 19:14:42 UTC (rev 12433)
@@ -26,10 +26,8 @@
* ****************************************************************************
*/
-if (!defined("XOOPS_ROOT_PATH")) {
- die("XOOPS root path not defined");
-}
-
+defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined");
+include_once dirname(dirname(__FILE__)) . '/include/common.php';
class xnewsletter_bmh extends XoopsObject
{
public $xnewsletter = null;
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_cat.php
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_cat.php 2014-04-07 10:58:17 UTC (rev 12432)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_cat.php 2014-04-07 19:14:42 UTC (rev 12433)
@@ -26,10 +26,8 @@
* ****************************************************************************
*/
-if (!defined("XOOPS_ROOT_PATH")) {
- die("XOOPS root path not defined");
-}
-
+defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined");
+include_once dirname(dirname(__FILE__)) . '/include/common.php';
class xnewsletter_cat extends XoopsObject
{
/**
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_catsubscr.php
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_catsubscr.php 2014-04-07 10:58:17 UTC (rev 12432)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_catsubscr.php 2014-04-07 19:14:42 UTC (rev 12433)
@@ -26,10 +26,8 @@
* ****************************************************************************
*/
-if (!defined("XOOPS_ROOT_PATH")) {
- die("XOOPS root path not defined");
-}
-
+defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined");
+include_once dirname(dirname(__FILE__)) . '/include/common.php';
class xnewsletter_catsubscr extends XoopsObject
{
public $xnewsletter = null;
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_import.php
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_import.php 2014-04-07 10:58:17 UTC (rev 12432)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_import.php 2014-04-07 19:14:42 UTC (rev 12433)
@@ -26,10 +26,8 @@
* ****************************************************************************
*/
-if (!defined("XOOPS_ROOT_PATH")) {
- die("XOOPS root path not defined");
-}
-
+defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined");
+include_once dirname(dirname(__FILE__)) . '/include/common.php';
class xnewsletter_import extends XoopsObject
{
public $xnewsletter = null;
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_letter.php
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_letter.php 2014-04-07 10:58:17 UTC (rev 12432)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_letter.php 2014-04-07 19:14:42 UTC (rev 12433)
@@ -26,10 +26,8 @@
* ****************************************************************************
*/
-if (!defined("XOOPS_ROOT_PATH")) {
- die("XOOPS root path not defined");
-}
-
+defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined");
+include_once dirname(dirname(__FILE__)) . '/include/common.php';
class xnewsletter_letter extends XoopsObject
{
public $xnewsletter = null;
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_mailinglist.php
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_mailinglist.php 2014-04-07 10:58:17 UTC (rev 12432)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_mailinglist.php 2014-04-07 19:14:42 UTC (rev 12433)
@@ -26,10 +26,8 @@
* ****************************************************************************
*/
-if (!defined("XOOPS_ROOT_PATH")) {
- die("XOOPS root path not defined");
-}
-
+defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined");
+include_once dirname(dirname(__FILE__)) . '/include/common.php';
class xnewsletter_mailinglist extends XoopsObject
{
public $xnewsletter = null;
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_protocol.php
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_protocol.php 2014-04-07 10:58:17 UTC (rev 12432)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_protocol.php 2014-04-07 19:14:42 UTC (rev 12433)
@@ -26,10 +26,8 @@
* ****************************************************************************
*/
-if (!defined("XOOPS_ROOT_PATH")) {
- die("XOOPS root path not defined");
-}
-
+defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined");
+include_once dirname(dirname(__FILE__)) . '/include/common.php';
class xnewsletter_protocol extends XoopsObject
{
public $xnewsletter = null;
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_subscr.php
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_subscr.php 2014-04-07 10:58:17 UTC (rev 12432)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_subscr.php 2014-04-07 19:14:42 UTC (rev 12433)
@@ -26,10 +26,8 @@
* ****************************************************************************
*/
-if (!defined("XOOPS_ROOT_PATH")) {
- die("XOOPS root path not defined");
-}
-
+defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined");
+include_once dirname(dirname(__FILE__)) . '/include/common.php';
class xnewsletter_subscr extends XoopsObject
{
public $xnewsletter = null;
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_task.php
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_task.php 2014-04-07 10:58:17 UTC (rev 12432)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_task.php 2014-04-07 19:14:42 UTC (rev 12433)
@@ -20,10 +20,8 @@
* @version $Id: xNewsletter_task.php 000000 2012-07-13 10:41:41Z txmodxoops $
*/
-if (!defined("XOOPS_ROOT_PATH")) {
- die("XOOPS root path not defined");
-}
-
+defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined");
+include_once dirname(dirname(__FILE__)) . '/include/common.php';
class xnewsletter_task extends XoopsObject
{
public $xnewsletter = null;
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/css/module.css
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/css/module.css 2014-04-07 10:58:17 UTC (rev 12432)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/css/module.css 2014-04-07 19:14:42 UTC (rev 12433)
@@ -72,6 +72,7 @@
display: block;
}
+.xnewsletter_footerlinks,
.xnewsletter_adminlinks {
padding-top: 15px;
padding-bottom: 5px;
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/footer.php
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/footer.php 2014-04-07 10:58:17 UTC (rev 12432)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/footer.php 2014-04-07 19:14:42 UTC (rev 12433)
@@ -18,6 +18,28 @@
* @author Xoops Development Team
* @version svn:$id$
*/
+$showEdit = false;
+$showCreate = false;
+$showList = true;
+
+if (is_object($xoopsUser) && isset($xoopsUser)) {
+ if (is_object($xoopsModule)) {
+ $mid = $xnewsletter->getModule()->mid();
+ $my_group_ids = $member_handler->getGroupsByUser($xoopsUser->uid());
+
+ $cat_criteria = new CriteriaCompo();
+ $cat_criteria->setSort('cat_id');
+ $cat_criteria->setOrder('ASC');
+ $catObjs = $xnewsletter->getHandler('xNewsletter_cat')->getAll($cat_criteria);
+ foreach ($catObjs as $catObj) {
+ if ($gperm_handler->checkRight('newsletter_create_cat', $catObj->getVar('cat_id'), $my_group_ids, $mid) == true)
+ $showCreate = true;
+ if ($gperm_handler->checkRight('newsletter_list_cat', $catObj->getVar('cat_id'), $my_group_ids, $mid) == true)
+ $showList = true;
+ }
+ }
+}
+
// copyright
$xoopsTpl->assign('copyright', $moduleCopyrightHtml); // this definition is not removed for backward compatibility issues
$xoopsTpl->assign('copyright_code', $moduleCopyrightHtml); // include/config.php
@@ -31,5 +53,8 @@
}
$xoopsTpl->assign('isAdmin', xNewsletter_userIsAdmin());
+$xoopsTpl->assign('showCreate', $showCreate);
+$xoopsTpl->assign('showList', $showList);
+
include_once XOOPS_ROOT_PATH . '/footer.php';
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/subscription.php
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/subscription.php 2014-04-07 10:58:17 UTC (rev 12432)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/subscription.php 2014-04-07 19:14:42 UTC (rev 12433)
@@ -157,9 +157,9 @@
}
} else {
// user not logged in
+ // NOP
}
-
if (!$activationKey) {
// activation key doesn't exist
if (!$GLOBALS["xoopsSecurity"]->check()) {
@@ -193,7 +193,6 @@
$code_selections .= $old_catsubcr_quited;
}
-
// save subscriber first
if ($subscr_id > 0) {
$subscrObj =& $xnewsletter->getHandler('xNewsletter_subscr')->get($subscr_id);
@@ -232,8 +231,6 @@
$subscrObj->setVar('subscr_activated', 0);
}
-
-
if ($activationKey || $allowedWithoutActivationKey) {
// subscr_firstname
$subscrObj->setVar('subscr_firstname', xNewsletter_CleanVars($_REQUEST, 'subscr_firstname', '', 'string'));
@@ -255,8 +252,6 @@
$subscrObj->setVar('subscr_actoptions', serialize($code_options));
}
-
-
if ($xnewsletter->getHandler('xNewsletter_subscr')->insert($subscrObj)) {
if ($subscr_id < 1) {
$actionProts_ok[] = _MA_XNEWSLETTER_SUBSCRIPTION_REG_OK;
@@ -266,10 +261,10 @@
$subscr_id = $subscrObj->getVar('subscr_id');
if ($allowedWithoutActivationKey) {
- $valid = true;
+ $isValid = true;
$cat_selections = explode('|', $code_selections);
} else {
- $valid = false;
+ $isValid = false;
$xoopsMailer =& xoops_getMailer();
$xoopsMailer->reset();
$xoopsMailer->setTemplateDir();
@@ -302,51 +297,53 @@
} else {
// activation key exist
$activationKey_array = explode('||', base64_decode($activationKey));
- $valid = false;
+ $isValid = false;
if ($activationKey_array[0] == XOOPS_URL) { // from here
if (trim($activationKey_array[1]) != '') { // savetype ok
if ((int)$activationKey_array[2] > 0) { // user is ok
if (trim($activationKey_array[3]) != '') {
- $valid = true;
+ $isValid = true;
}
}
}
}
- if ($valid === false) redirect_header($currentFile, 5, _MA_XNEWSLETTER_SUBSCRIPTION_ERROR_INVALIDKEY);
+ if (!$isValid) {
+ redirect_header($currentFile, 5, _MA_XNEWSLETTER_SUBSCRIPTION_ERROR_INVALIDKEY);
+ } else {
+ $saveType = trim($activationKey_array[1]);
+ $subscr_id = (int)$activationKey_array[2];
+ $subscr_actkey = trim($activationKey_array[3]);
- $saveType = trim($activationKey_array[1]);
- $subscr_id = (int)$activationKey_array[2];
- $subscr_actkey = trim($activationKey_array[3]);
+ //check given data with table subscr
+ $criteria_subscr = new CriteriaCompo();
+ $criteria_subscr->add(new Criteria('subscr_id', $subscr_id));
+ $criteria_subscr->add(new Criteria('subscr_actkey', $subscr_actkey));
+ $subscrCount = $xnewsletter->getHandler('xNewsletter_subscr')->getCount($criteria_subscr);
+ if ($subscrCount == 0)
+ redirect_header($currentFile, 5, _MA_XNEWSLETTER_SUBSCRIPTION_ERROR_NODATAKEY);
- //check given data with table subscr
- $criteria_subscr = new CriteriaCompo();
- $criteria_subscr->add(new Criteria('subscr_id', $subscr_id));
- $criteria_subscr->add(new Criteria('subscr_actkey', $subscr_actkey));
- $subscrCount = $xnewsletter->getHandler('xNewsletter_subscr')->getCount($criteria_subscr);
- if ($subscrCount == 0)
- redirect_header($currentFile, 5, _MA_XNEWSLETTER_SUBSCRIPTION_ERROR_NODATAKEY);
-
- //read data from table subscr
- $subscrObj =& $xnewsletter->getHandler('xNewsletter_subscr')->get($subscr_id);
- $actoptions = unserialize(trim($subscrObj->getVar('subscr_actoptions', 'N')));
- //format subscr_actoptions:selected_newsletters||firstname||lastname||sex||date||ip
- $cat_selections = explode('|', trim($actoptions[0]));
- $subscr_firstname = trim($actoptions[1]);
- $subscr_lastname = trim($actoptions[2]);
- $subscr_sex = trim($actoptions[3]);
- if ((int)$actoptions[4] < time() - 86400) { //Zeit checken -> 24 Stunden ??
- //Zeit abgelaufen
- $subscrObj->setVar('subscr_actkey', '');
- $subscrObj->setVar('subscr_actoptions', '');
- $xnewsletter->getHandler('xNewsletter_subscr')->insert($subscrObj);
- redirect_header($currentFile, 5, _MA_XNEWSLETTER_SUBSCRIPTION_ERROR_NODATAKEY);
+ //read data from table subscr
+ $subscrObj =& $xnewsletter->getHandler('xNewsletter_subscr')->get($subscr_id);
+ $actoptions = unserialize(trim($subscrObj->getVar('subscr_actoptions', 'N')));
+ //format subscr_actoptions:selected_newsletters||firstname||lastname||sex||date||ip
+ $cat_selections = explode('|', trim($actoptions[0]));
+ $subscr_firstname = trim($actoptions[1]);
+ $subscr_lastname = trim($actoptions[2]);
+ $subscr_sex = trim($actoptions[3]);
+ if ((int)$actoptions[4] < time() - 86400) { //Zeit checken -> 24 Stunden ??
+ //Zeit abgelaufen
+ $subscrObj->setVar('subscr_actkey', '');
+ $subscrObj->setVar('subscr_actoptions', '');
+ $xnewsletter->getHandler('xNewsletter_subscr')->insert($subscrObj);
+ redirect_header($currentFile, 5, _MA_XNEWSLETTER_SUBSCRIPTION_ERROR_NODATAKEY);
+ }
}
}
- if ($valid) {
+ if ($isValid) {
// update xnewsletter_subscr
$subscrObj =& $xnewsletter->getHandler('xNewsletter_subscr')->get($subscr_id);
if (!$allowedWithoutActivationKey) {
@@ -376,7 +373,6 @@
$actionProts_ok[] = _MA_XNEWSLETTER_SUBSCRIPTION_REG_UPDATE_CLOSED;
}
}
-
// handle current selections
foreach ($cat_selections as $sel) {
$selection = array();
@@ -386,11 +382,9 @@
$catsubcr = $selection[1];
$catsubcr_id_old = (int)$selection[2];
$catsubcr_quited_old = (int)$selection[3];
-
- $obj_cat = $xnewsletter->getHandler('xNewsletter_cat')->get($cat_id);
- $cat_mailinglist = $obj_cat->getVar('cat_mailinglist');
- $cat_name = $obj_cat->getVar('cat_name');
-
+ $catObj = $xnewsletter->getHandler('xNewsletter_cat')->get($cat_id);
+ $cat_mailinglist = $catObj->getVar('cat_mailinglist');
+ $cat_name = $catObj->getVar('cat_name');
if ($catsubcr == '1' && $catsubcr_id_old == 0) {
// subscribe
$catsubscrObj = $xnewsletter->getHandler('xNewsletter_catsubscr')->create();
@@ -402,8 +396,7 @@
$catsubscrObj->setVar("catsubscr_submitter", $submitterUid);
//Form catsubscr_submitter
$catsubscrObj->setVar("catsubscr_created", time());
-
- if ($xnewsletter->getHandler('xNewsletter_catsubscr')->insert($obj_catsubscr)) {
+ if ($xnewsletter->getHandler('xNewsletter_catsubscr')->insert($catsubscrObj)) {
$count_ok++;
if ($catsubcr_id_old > 0) {
$actionProts_ok[] = str_replace("%nl", $cat_name, _MA_XNEWSLETTER_SUBSCRIPTION_PROT_NO_CHANGE);
@@ -422,7 +415,7 @@
} elseif ($catsubcr == '0' && $catsubcr_id_old > 0) {
// unsubscribe / delete old subscription
$catsubscrObj = $xnewsletter->getHandler('xNewsletter_catsubscr')->get($catsubcr_id_old);
- if ($xnewsletter->getHandler('xNewsletter_catsubscr')->delete($obj_catsubscr, true)) {
+ if ($xnewsletter->getHandler('xNewsletter_catsubscr')->delete($catsubscrObj, true)) {
//handle mailinglists
if ($cat_mailinglist > 0) {
require_once(XOOPS_ROOT_PATH . "/modules/xNewsletter/include/mailinglist.php");
@@ -437,14 +430,13 @@
redirect_header($currentFile, 3, _AM_XNEWSLETTER_FORMDELNOTOK);
}
$actionProts_ok[] = str_replace ("%nl", $cat_name, _MA_XNEWSLETTER_SUBSCRIPTION_PROT_UNSUBSCRIBE);
-
} elseif ($catsubcr_id_old > 0 && $catsubcr_quited_old > 0) {
// newsletter stay selected, but catsubscr_quited will be removed
$catsubscrObj = $xnewsletter->getHandler('xNewsletter_catsubscr')->get($catsubcr_id_old);
//Form catsubscr_quited
$catsubscrObj->setVar('catsubscr_quited', '0');
- if ($xnewsletter->getHandler('xNewsletter_catsubscr')->insert($obj_catsubscr)) {
+ if ($xnewsletter->getHandler('xNewsletter_catsubscr')->insert($catsubscrObj)) {
$count_ok++;
$actionProts_ok[] = str_replace ("%nl", $cat_name, _MA_XNEWSLETTER_SUBSCRIPTION_PROT_DAT_QUITED_REMOVED);
} else {
@@ -615,7 +607,7 @@
if ($activationKey || $allowedWithoutActivationKey) {
// got actkey or user is allowed to delete without actkey
- $valid = false;
+ $isValid = false;
if ($activationKey) {
$activationKey_array = explode('||', base64_decode($activationKey));
if ($activationKey_array[0] == XOOPS_URL) {
@@ -624,19 +616,19 @@
// user is ok
if (trim($activationKey_array[2]) != '')
// code ok
- $valid = true;
+ $isValid = true;
}
}
- if ($valid) {
+ if ($isValid) {
$subscr_id = (int)$activationKey_array[1];
$code = trim($activationKey_array[2]);
$subscr_email = trim($activationKey_array[3]);
}
} elseif ($allowedWithoutActivationKey) {
- $valid = true;
+ $isValid = true;
}
- if ($valid) {
+ if ($isValid) {
$sql = "SELECT subscr_id";
$sql.= " FROM {$xoopsDB->prefix("mod_xnewsletter_subscr")}";
$sql.= " WHERE (subscr_email='{$subscr_email}' AND subscr_id={$subscr_id}";
@@ -668,10 +660,10 @@
$catsubscrObjs = $xnewsletter->getHandler('xNewsletter_catsubscr')->getall($criteria_catsubscr);
foreach (array_keys($catsubscrObjs) as $cat) {
$catsubscrObj =& $xnewsletter->getHandler('xNewsletter_catsubscr')->get($catsubscrObjs[$cat]->getVar("catsubscr_id"));
- $obj_cat =& $xnewsletter->getHandler('xNewsletter_cat')->get($catsubscrObjs[$cat]->getVar("catsubscr_catid"));
- $cat_mailinglist = $obj_cat->getVar("cat_mailinglist");
+ $catObj = $xnewsletter->getHandler('xNewsletter_cat')->get($catsubscrObjs[$cat]->getVar("catsubscr_catid"));
+ $cat_mailinglist = $catObj->getVar("cat_mailinglist");
- if ($xnewsletter->getHandler('xNewsletter_catsubscr')->delete($obj_catsubscr, true)) {
+ if ($xnewsletter->getHandler('xNewsletter_catsubscr')->delete($catsubscrObj, true)) {
//handle mailinglists
if ($cat_mailinglist > 0) {
require_once( XOOPS_ROOT_PATH . "/modules/xNewsletter/include/mailinglist.php");
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_footer.html
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_footer.html 2014-04-07 10:58:17 UTC (rev 12432)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_footer.html 2014-04-07 19:14:42 UTC (rev 12433)
@@ -12,10 +12,28 @@
<{$copyright_code}>
</div>
+<div class="xnewsletter_adminlinks">
+ <a href='<{$smarty.const.XNEWSLETTER_URL}>/subscription.php?op=list_subscriptions'>
+ <{$smarty.const._MI_XNEWSLETTER_SUBSCRIBE}>
+ </a>
+ <a href='<{$smarty.const.XNEWSLETTER_URL}>/letter.php?op=list_letters'>
+ <{$smarty.const._MI_XNEWSLETTER_LIST}>
+ </a>
+<{if $showCreate == true}>
+ <a href='<{$smarty.const.XNEWSLETTER_URL}>/letter.php?op=new_letter'>
+ <{$smarty.const._MI_XNEWSLETTER_CREATE}>
+ </a>
+<{/if}>
+<{if $showList == true}>
+ <a href='<{$smarty.const.XNEWSLETTER_URL}>/letter.php?op=list_subscrs'>
+ <{$smarty.const._MI_XNEWSLETTER_LIST_SUBSCR}>
+ </a>
+<{/if}>
+</div>
+<div class="xnewsletter_adminlinks">
<{if $isAdmin == true}>
-<div class="xnewsletter_adminlinks">
<a href='<{$smarty.const.XNEWSLETTER_URL}>/admin/index.php'>
<{$smarty.const._MA_XNEWSLETTER_ADMIN}>
</a>
+<{/if}>
</div>
-<{/if}>
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/xoops_version.php
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/xoops_version.php 2014-04-07 10:58:17 UTC (rev 12432)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/xoops_version.php 2014-04-07 19:14:42 UTC (rev 12433)
@@ -126,17 +126,19 @@
// Menu
global $xoopsUser;
-include_once XOOPS_ROOT_PATH . "/modules/{$modversion['dirname']}/include/common.php";
$modversion['hasMain'] = true;
$subcount = 1;
-$modversion['sub'][$subcount]['name'] = _MI_XNEWSLETTER_SUBSCRIBE ;
-$modversion['sub'][$subcount++]['url'] = "subscription.php?op=list_subscriptions" ;
+$modversion['sub'][$subcount]['name'] = _MI_XNEWSLETTER_SUBSCRIBE;
+$modversion['sub'][$subcount++]['url'] = "subscription.php?op=list_subscriptions";
+$modversion['sub'][$subcount]['name'] = _MI_XNEWSLETTER_LIST;
+$modversion['sub'][$subcount++]['url'] = "index.php?op=list_letters";
+
$showEdit = false;
$showCreate = false;
-$showList = false;
+$showList = true;
if (is_object($xoopsUser) && isset($xoopsUser)) {
$gperm_handler = xoops_gethandler('groupperm');
@@ -153,35 +155,22 @@
$cat_criteria->setOrder('ASC');
$catObjs = $catHandler->getAll($cat_criteria);
foreach ($catObjs as $catObj) {
- $show = $gperm_handler->checkRight('newsletter_create_cat', $catObj->getVar('cat_id'), $my_group_ids, $mid);
- if ($show == true)
+ if ($gperm_handler->checkRight('newsletter_create_cat', $catObj->getVar('cat_id'), $my_group_ids, $mid) == true)
$showCreate = true;
- }
- foreach ($catObjs as $catObj) {
- $show = $gperm_handler->checkRight('newsletter_list_cat', $catObj->getVar('cat_id'), $my_group_ids, $mid);
- if ($show == true)
+ if ($gperm_handler->checkRight('newsletter_list_cat', $catObj->getVar('cat_id'), $my_group_ids, $mid) == true)
$showList = true;
}
if ($showCreate == true) {
- $modversion['sub'][$subcount]['name'] = _MI_XNEWSLETTER_LIST ;
- $modversion['sub'][$subcount++]['url'] = "letter.php?op=list_letters" ;
- $modversion['sub'][$subcount]['name'] = _MI_XNEWSLETTER_CREATE ;
- $modversion['sub'][$subcount++]['url'] = "letter.php?op=new_letter" ;
- } else {
- $modversion['sub'][$subcount]['name'] = _MI_XNEWSLETTER_LIST ;
- $modversion['sub'][$subcount++]['url'] = "index.php?op=list_letters" ;
+ $modversion['sub'][$subcount]['name'] = _MI_XNEWSLETTER_CREATE;
+ $modversion['sub'][$subcount++]['url'] = "letter.php?op=new_letter";
}
if ($showList == true) {
- $modversion['sub'][$subcount]['name'] = _MI_XNEWSLETTER_LIST_SUBSCR ;
- $modversion['sub'][$subcount++]['url'] = "letter.php?op=list_subscrs" ;
+ $modversion['sub'][$subcount]['name'] = _MI_XNEWSLETTER_LIST_SUBSCR;
+ $modversion['sub'][$subcount++]['url'] = "letter.php?op=list_subscrs";
}
}
-} else {
- $modversion['sub'][$subcount]['name'] = _MI_XNEWSLETTER_LIST ;
- $modversion['sub'][$subcount++]['url'] = "index.php?op=list_letters" ;
}
-
// Templates
$i = 1;
$modversion['templates'][$i]['file'] = $modversion['dirname'] . '_header.html';
|
|
From: <be...@us...> - 2014-04-07 10:58:22
|
Revision: 12432
http://sourceforge.net/p/xoops/svn/12432
Author: beckmi
Date: 2014-04-07 10:58:17 +0000 (Mon, 07 Apr 2014)
Log Message:
-----------
Updates for XOOPS 2.5.7
Modified Paths:
--------------
XoopsLanguages/english-Reference/core/2.5.7/docs/lang_diff.txt
XoopsLanguages/english-Reference/core/2.5.7/htdocs/Frameworks/moduleclasses/moduleadmin/language/english/main.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/class/mail/phpmailer/language/phpmailer.lang-en.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/class/xoopseditor/dhtmltextarea/language/english.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/class/xoopseditor/textarea/language/english.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/class/xoopseditor/tinymce/language/english.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/install/language/english/finish.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/install/language/english/install.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/install/language/english/install2.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/install/language/english/support.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/install/language/english/welcome.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/admin.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/auth.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/backend.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/banners.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/calendar.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/captcha.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/comment.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/countries.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/errors.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/findusers.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/formdhtmltextarea.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/global.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/locale.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/logger.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/mail.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/mail_template/default_notify.tpl
XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/misc.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/notification.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/pmsg.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/search.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/timezone.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/uploader.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/user.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/xoopsmailerlocal.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/pm/language/english/admin.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/pm/language/english/main.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/pm/language/english/modinfo.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/profile/language/english/admin.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/profile/language/english/main.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/profile/language/english/modinfo.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/system/language/english/admin/avatars.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/system/language/english/admin/banners.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/system/language/english/admin/blocksadmin.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/system/language/english/admin/comments.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/system/language/english/admin/groups.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/system/language/english/admin/images.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/system/language/english/admin/mailusers.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/system/language/english/admin/maintenance.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/system/language/english/admin/modulesadmin.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/system/language/english/admin/preferences.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/system/language/english/admin/smilies.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/system/language/english/admin/tplsets.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/system/language/english/admin/userrank.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/system/language/english/admin/users.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/system/language/english/admin.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/system/language/english/blocks.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/system/language/english/cpanel.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/system/language/english/help/groups.html
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/system/language/english/modinfo.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/system/themes/default/language/english/admin.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/system/themes/default/language/english/localsupport.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/system/themes/zetadigme/language/english/admin.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/modules/system/themes/zetadigme/language/english/localsupport.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/themes/suico/language/english/main.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/themes/zetagenesis/language/english/main.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/xoops_lib/modules/protector/language/english/admin.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/xoops_lib/modules/protector/language/english/main.php
XoopsLanguages/english-Reference/core/2.5.7/htdocs/xoops_lib/modules/protector/language/english/modinfo.php
Modified: XoopsLanguages/english-Reference/core/2.5.7/docs/lang_diff.txt
===================================================================
--- XoopsLanguages/english-Reference/core/2.5.7/docs/lang_diff.txt 2014-04-07 10:17:35 UTC (rev 12431)
+++ XoopsLanguages/english-Reference/core/2.5.7/docs/lang_diff.txt 2014-04-07 10:58:17 UTC (rev 12432)
@@ -2,7 +2,18 @@
=====================
Below are language differences from a version to next version.
+
===============================
+2014/03/18: Version 2.5.7 RC1
+===============================
+ADDED/DELETED DEFINES
+
+/modules/system/language/english/admin.php
+- added define('_AM_SYSTEM_USAGE',"Usage");
+- added define('_AM_SYSTEM_ACTIVE',"Active");
+
+
+===============================
2012/04/15: Version 2.5.5
===============================
ADDED/DELETED DEFINES
Modified: XoopsLanguages/english-Reference/core/2.5.7/htdocs/Frameworks/moduleclasses/moduleadmin/language/english/main.php
===================================================================
--- XoopsLanguages/english-Reference/core/2.5.7/htdocs/Frameworks/moduleclasses/moduleadmin/language/english/main.php 2014-04-07 10:17:35 UTC (rev 12431)
+++ XoopsLanguages/english-Reference/core/2.5.7/htdocs/Frameworks/moduleclasses/moduleadmin/language/english/main.php 2014-04-07 10:58:17 UTC (rev 12432)
@@ -13,18 +13,15 @@
* @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
* @author Grégory Mage (Aka Mage)
*/
-
// Info
define('_AM_MODULEADMIN_CONFIG','Configuration Check');
-define('_AM_MODULEADMIN_CONFIG_CHMOD',"The folder '%s' must be with a chmod '%s' (it's now set on %s).'");
+define('_AM_MODULEADMIN_CONFIG_CHMOD',"The folder '%s' must be with a chmod '%s' (it's now set on %s).");
define('_AM_MODULEADMIN_CONFIG_FOLDERKO',"The folder '%s' does not exist");
define('_AM_MODULEADMIN_CONFIG_FOLDEROK',"The folder '%s' exists");
define('_AM_MODULEADMIN_CONFIG_PHP','Minimum PHP required: %s (your version is %s)');
define('_AM_MODULEADMIN_CONFIG_XOOPS','Minimum XOOPS required: %s (your version is %s)');
-
-define('_AM_MODULEADMIN_CONFIG_DB','minimum version required: %s (your version is %s)');
+define('_AM_MODULEADMIN_CONFIG_DB','Minimum version required: %s (your version is %s)');
define('_AM_MODULEADMIN_CONFIG_ADMIN','Minimum ModuleAdmin required: %s (your version is %s)');
-
// About
define('_AM_MODULEADMIN_ABOUT_CHANGELOG','Change log');
define('_AM_MODULEADMIN_ABOUT_DESCRIPTION','Description');
@@ -32,18 +29,15 @@
define('_AM_MODULEADMIN_ABOUT_MODULESTATUS','Status:');
define('_AM_MODULEADMIN_ABOUT_UPDATEDATE','Updated:');
define('_AM_MODULEADMIN_ABOUT_WEBSITE',"Website:");
-
define("_AM_MODULEADMIN_ABOUT_RELEASEDATE","Released: ");
define("_AM_MODULEADMIN_ABOUT_AUTHOR","Author: ");
define("_AM_MODULEADMIN_ABOUT_CREDITS","Credits: ");
define("_AM_MODULEADMIN_ABOUT_LICENSE","License: ");
define("_AM_MODULEADMIN_ABOUT_AUTHOR_NAME","Author name: ");
define("_AM_MODULEADMIN_ABOUT_AUTHOR_INFO","Author Info");
-
define("_AM_MODULEADMIN_HOME","Home");
define("_AM_MODULEADMIN_DASHBOARD","Dashboard");
define("_AM_MODULEADMIN_ABOUT","About");
define("_AM_MODULEADMIN_PERMISSIONS","Permissions");
-
//ModuleAdmin
-define("_AM_MODULEADMIN_ADMIN_FOOTER","<div class='center smallsmall italic pad5'>This module is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>");
\ No newline at end of file
+define("_AM_MODULEADMIN_ADMIN_FOOTER","<div class='center smallsmall italic pad5'>This module is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>");
Modified: XoopsLanguages/english-Reference/core/2.5.7/htdocs/class/mail/phpmailer/language/phpmailer.lang-en.php
===================================================================
--- XoopsLanguages/english-Reference/core/2.5.7/htdocs/class/mail/phpmailer/language/phpmailer.lang-en.php 2014-04-07 10:17:35 UTC (rev 12431)
+++ XoopsLanguages/english-Reference/core/2.5.7/htdocs/class/mail/phpmailer/language/phpmailer.lang-en.php 2014-04-07 10:58:17 UTC (rev 12432)
@@ -1,6 +1,6 @@
<?php
/**
- * PHPMailer language file.
+ * PHPMailer language file.
* English Version
*/
@@ -20,4 +20,3 @@
$PHPMAILER_LANG["file_access"] = 'Could not access file: ';
$PHPMAILER_LANG["file_open"] = 'File Error: Could not open file: ';
$PHPMAILER_LANG["encoding"] = 'Unknown encoding: ';
-?>
Modified: XoopsLanguages/english-Reference/core/2.5.7/htdocs/class/xoopseditor/dhtmltextarea/language/english.php
===================================================================
--- XoopsLanguages/english-Reference/core/2.5.7/htdocs/class/xoopseditor/dhtmltextarea/language/english.php 2014-04-07 10:17:35 UTC (rev 12431)
+++ XoopsLanguages/english-Reference/core/2.5.7/htdocs/class/xoopseditor/dhtmltextarea/language/english.php 2014-04-07 10:58:17 UTC (rev 12432)
@@ -13,5 +13,3 @@
* Assocated with editor_registry.php
*/
define('_XOOPS_EDITOR_DHTMLTEXTAREA','DHTML Form with xCode');
-
-?>
Modified: XoopsLanguages/english-Reference/core/2.5.7/htdocs/class/xoopseditor/textarea/language/english.php
===================================================================
--- XoopsLanguages/english-Reference/core/2.5.7/htdocs/class/xoopseditor/textarea/language/english.php 2014-04-07 10:17:35 UTC (rev 12431)
+++ XoopsLanguages/english-Reference/core/2.5.7/htdocs/class/xoopseditor/textarea/language/english.php 2014-04-07 10:58:17 UTC (rev 12432)
@@ -9,9 +9,7 @@
* @version $Id$
* @package xoopseditor
*/
-
/*
* Assocated with editor_registry.php
*/
-define("_XOOPS_EDITOR_TEXTAREA","Plain Text");
-?>
+define('_XOOPS_EDITOR_TEXTAREA',"Plain Text");
Modified: XoopsLanguages/english-Reference/core/2.5.7/htdocs/class/xoopseditor/tinymce/language/english.php
===================================================================
--- XoopsLanguages/english-Reference/core/2.5.7/htdocs/class/xoopseditor/tinymce/language/english.php 2014-04-07 10:17:35 UTC (rev 12431)
+++ XoopsLanguages/english-Reference/core/2.5.7/htdocs/class/xoopseditor/tinymce/language/english.php 2014-04-07 10:58:17 UTC (rev 12432)
@@ -14,12 +14,9 @@
* Assocated with editor_registry.php
*/
// Name of the editor
-define("_XOOPS_EDITOR_TINYMCE","TinyMCE");
-
+define('_XOOPS_EDITOR_TINYMCE',"TinyMCE");
// The value must be the same as /tinymce/jscripts/langs/your_language_code, for example, "en" for English, "fr" for French
// For details, check http://tinymce.moxiecode.com/download_i18n.php
-define("_XOOPS_EDITOR_TINYMCE_LANGUAGE","en");
-
+define('_XOOPS_EDITOR_TINYMCE_LANGUAGE',"en");
// FONT LIST, FORMAT: "Name=value1,value2;Name=value"
-define("_XOOPS_EDITOR_TINYMCE_FONTS","Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;WingDings=wingdings");
-?>
\ No newline at end of file
+define('_XOOPS_EDITOR_TINYMCE_FONTS',"Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;WingDings=wingdings");
Modified: XoopsLanguages/english-Reference/core/2.5.7/htdocs/install/language/english/finish.php
===================================================================
--- XoopsLanguages/english-Reference/core/2.5.7/htdocs/install/language/english/finish.php 2014-04-07 10:17:35 UTC (rev 12431)
+++ XoopsLanguages/english-Reference/core/2.5.7/htdocs/install/language/english/finish.php 2014-04-07 10:58:17 UTC (rev 12432)
@@ -21,5 +21,3 @@
</div>
</p>
";
-
-?>
\ No newline at end of file
Modified: XoopsLanguages/english-Reference/core/2.5.7/htdocs/install/language/english/install.php
===================================================================
--- XoopsLanguages/english-Reference/core/2.5.7/htdocs/install/language/english/install.php 2014-04-07 10:17:35 UTC (rev 12431)
+++ XoopsLanguages/english-Reference/core/2.5.7/htdocs/install/language/english/install.php 2014-04-07 10:58:17 UTC (rev 12432)
@@ -13,204 +13,168 @@
* @author dugris <du...@fr...>
* @version $Id$
*/
-
// _LANGCODE: en
// _CHARSET : UTF-8
// Translator: XOOPS Translation Team
-
-define("SHOW_HIDE_HELP","Show/hide help text");
-
+define('SHOW_HIDE_HELP',"Show/hide help text");
// License
-define('LICENSE_NOT_WRITEABLE','License is %s . <br/><font style="colour:#ff0000">Make ../include/license.php Writable</font>');
+define('LICENSE_NOT_WRITEABLE','License is %s . <br/><span style="colour:#ff0000">Make ../include/license.php Writable</span>');
define('LICENSE_IS_WRITEABLE','License is %s');
-
// Configuration check page
-define("SERVER_API","Server API");
-define("PHP_EXTENSION","%s extension");
-define("CHAR_ENCODING","Character encoding");
-define("XML_PARSING","XML parsing");
-define("REQUIREMENTS","Requirements");
-define("_PHP_VERSION","PHP version");
-define("RECOMMENDED_SETTINGS","Recommended settings");
-define("RECOMMENDED_EXTENSIONS","Recommended extensions");
-define("SETTING_NAME","Setting name");
-define("RECOMMENDED","Recommended");
-define("CURRENT","Current");
-define("RECOMMENDED_EXTENSIONS_MSG","These extensions are not required for normal use, but may be necessary to explore
+define('SERVER_API',"Server API");
+define('PHP_EXTENSION',"%s extension");
+define('CHAR_ENCODING',"Character encoding");
+define('XML_PARSING',"XML parsing");
+define('REQUIREMENTS',"Requirements");
+define('_PHP_VERSION',"PHP version");
+define('RECOMMENDED_SETTINGS',"Recommended settings");
+define('RECOMMENDED_EXTENSIONS',"Recommended extensions");
+define('SETTING_NAME',"Setting name");
+define('RECOMMENDED',"Recommended");
+define('CURRENT',"Current");
+define('RECOMMENDED_EXTENSIONS_MSG',"These extensions are not required for normal use, but may be necessary to explore
some specific features (like the multi-language or RSS support). Thus, it is recommended to have them installed.");
-define("NONE","None");
-define("SUCCESS","Success");
-define("WARNING","Warning");
-define("FAILED","Failed");
-
+define('NONE',"None");
+define('SUCCESS',"Success");
+define('WARNING',"Warning");
+define('FAILED',"Failed");
// Titles (main and pages)
-define("XOOPS_INSTALL_WIZARD","XOOPS Installation Wizard");
-
-define("LANGUAGE_SELECTION","Language selection");
-define("LANGUAGE_SELECTION_TITLE","Select your language"); // L128
-define("INTRODUCTION","Introduction");
-define("INTRODUCTION_TITLE","Welcome to the XOOPS Installation Wizard"); // L0
-define("CONFIGURATION_CHECK","Configuration check");
-define("CONFIGURATION_CHECK_TITLE","Checking your server configuration");
-define("PATHS_SETTINGS","Paths settings");
-define("PATHS_SETTINGS_TITLE","Paths settings");
-define("DATABASE_CONNECTION","Database connection");
-define("DATABASE_CONNECTION_TITLE","Database connection");
-define("DATABASE_CONFIG","Database configuration");
-define("DATABASE_CONFIG_TITLE","Database configuration");
-define("CONFIG_SAVE","Save Configuration");
-define("CONFIG_SAVE_TITLE","Saving your system configuration");
-define("TABLES_CREATION","Tables creation");
-define("TABLES_CREATION_TITLE","Database tables creation");
-define("INITIAL_SETTINGS","Initial settings");
-define("INITIAL_SETTINGS_TITLE","Please enter your initial settings");
-define("DATA_INSERTION","Data insertion");
-define("DATA_INSERTION_TITLE","Saving your settings to the database");
-define("WELCOME","Welcome");
-define("WELCOME_TITLE","Welcome to your XOOPS site"); // L0
-
-
+define('XOOPS_INSTALL_WIZARD',"XOOPS Installation Wizard");
+define('LANGUAGE_SELECTION',"Language selection");
+define('LANGUAGE_SELECTION_TITLE',"Select your language"); // L128
+define('INTRODUCTION',"Introduction");
+define('INTRODUCTION_TITLE',"Welcome to the XOOPS Installation Wizard"); // L0
+define('CONFIGURATION_CHECK',"Configuration check");
+define('CONFIGURATION_CHECK_TITLE',"Checking your server configuration");
+define('PATHS_SETTINGS',"Paths settings");
+define('PATHS_SETTINGS_TITLE',"Paths settings");
+define('DATABASE_CONNECTION',"Database connection");
+define('DATABASE_CONNECTION_TITLE',"Database connection");
+define('DATABASE_CONFIG',"Database configuration");
+define('DATABASE_CONFIG_TITLE',"Database configuration");
+define('CONFIG_SAVE',"Save Configuration");
+define('CONFIG_SAVE_TITLE',"Saving your system configuration");
+define('TABLES_CREATION',"Tables creation");
+define('TABLES_CREATION_TITLE',"Database tables creation");
+define('INITIAL_SETTINGS',"Initial settings");
+define('INITIAL_SETTINGS_TITLE',"Please enter your initial settings");
+define('DATA_INSERTION',"Data insertion");
+define('DATA_INSERTION_TITLE',"Saving your settings to the database");
+define('WELCOME',"Welcome");
+define('WELCOME_TITLE',"Welcome to your XOOPS site"); // L0
// Settings (labels and help text)
-define("XOOPS_PATHS","XOOPS Physical paths");
-define("XOOPS_URLS","Web locations");
-
-define("XOOPS_ROOT_PATH_LABEL","XOOPS documents root physical path");
-define("XOOPS_ROOT_PATH_HELP","Physical path to the XOOPS documents (served) directory WITHOUT trailing slash");
-
-define("XOOPS_LIB_PATH_LABEL","XOOPS library directory");
-define("XOOPS_LIB_PATH_HELP","Physical path to the XOOPS library directory WITHOUT trailing slash, for forward compatibility. Locate the folder out of " . XOOPS_ROOT_PATH_LABEL . " to make it secure.");
-define("XOOPS_DATA_PATH_LABEL","XOOPS data files directory");
-define("XOOPS_DATA_PATH_HELP","Physical path to the XOOPS data files (writable) directory WITHOUT trailing slash, for forward compatibility. Locate the folder out of " . XOOPS_ROOT_PATH_LABEL . " to make it secure.");
-
-define("XOOPS_URL_LABEL","Website location (URL)"); // L56
-define("XOOPS_URL_HELP","Main URL that will be used to access your XOOPS installation"); // L58
-
-define("LEGEND_CONNECTION","Server connection");
-define("LEGEND_DATABASE","Database"); // L51
-
-define("DB_HOST_LABEL","Server hostname"); // L27
-define("DB_HOST_HELP", "Hostname of the database server. If you are unsure, <em>localhost</em> works in most cases"); // L67
-define("DB_USER_LABEL","User name"); // L28
-define("DB_USER_HELP", "Name of the user account that will be used to connect to the database server"); // L65
-define("DB_PASS_LABEL","Password"); // L52
-define("DB_PASS_HELP", "Password of your database user account"); // L68
-define("DB_NAME_LABEL","Database name"); // L29
-define("DB_NAME_HELP", "The name of database on the host. The installer will attempt to create the database if not exist"); // L64
-define("DB_CHARSET_LABEL","Database character set");
-define("DB_CHARSET_HELP", "MySQL includes character set support that enables you to store data using a variety of character sets and perform comparisons according to a variety of collations.");
-define("DB_COLLATION_LABEL","Database collation");
-define("DB_COLLATION_HELP", "A collation is a set of rules for comparing characters in a character set.");
-define("DB_PREFIX_LABEL","Table prefix"); // L30
-define("DB_PREFIX_HELP", "This prefix will be added to all new tables created to avoid name conflicts in the database. If you are unsure, just keep the default"); // L63
-define("DB_PCONNECT_LABEL","Use persistent connection"); // L54
-define("DB_PCONNECT_HELP", "Default is 'No'. Leave it blank if you are unsure"); // L69
-define("DB_DATABASE_LABEL","Database");
-
-define("LEGEND_ADMIN_ACCOUNT","Administrator account");
-define("ADMIN_LOGIN_LABEL","Admin login"); // L37
-define("ADMIN_EMAIL_LABEL","Admin e-mail"); // L38
-define("ADMIN_PASS_LABEL","Admin password"); // L39
-define("ADMIN_CONFIRMPASS_LABEL","Confirm password"); // L74
-
+define('XOOPS_PATHS',"XOOPS Physical paths");
+define('XOOPS_URLS',"Web locations");
+define('XOOPS_ROOT_PATH_LABEL',"XOOPS documents root physical path");
+define('XOOPS_ROOT_PATH_HELP',"Physical path to the XOOPS documents (served) directory WITHOUT trailing slash");
+define('XOOPS_LIB_PATH_LABEL',"XOOPS library directory");
+define('XOOPS_LIB_PATH_HELP',"Physical path to the XOOPS library directory WITHOUT trailing slash, for forward compatibility. Locate the folder out of " . XOOPS_ROOT_PATH_LABEL . " to make it secure.");
+define('XOOPS_DATA_PATH_LABEL',"XOOPS data files directory");
+define('XOOPS_DATA_PATH_HELP',"Physical path to the XOOPS data files (writable) directory WITHOUT trailing slash, for forward compatibility. Locate the folder out of " . XOOPS_ROOT_PATH_LABEL . " to make it secure.");
+define('XOOPS_URL_LABEL',"Website location (URL)"); // L56
+define('XOOPS_URL_HELP',"Main URL that will be used to access your XOOPS installation"); // L58
+define('LEGEND_CONNECTION',"Server connection");
+define('LEGEND_DATABASE',"Database"); // L51
+define('DB_HOST_LABEL',"Server hostname"); // L27
+define('DB_HOST_HELP',"Hostname of the database server. If you are unsure, <em>localhost</em> works in most cases"); // L67
+define('DB_USER_LABEL',"User name"); // L28
+define('DB_USER_HELP',"Name of the user account that will be used to connect to the database server"); // L65
+define('DB_PASS_LABEL',"Password"); // L52
+define('DB_PASS_HELP',"Password of your database user account"); // L68
+define('DB_NAME_LABEL',"Database name"); // L29
+define('DB_NAME_HELP',"The name of database on the host. The installer will attempt to create the database if not exist"); // L64
+define('DB_CHARSET_LABEL',"Database character set");
+define('DB_CHARSET_HELP',"MySQL includes character set support that enables you to store data using a variety of character sets and perform comparisons according to a variety of collations.");
+define('DB_COLLATION_LABEL',"Database collation");
+define('DB_COLLATION_HELP',"A collation is a set of rules for comparing characters in a character set.");
+define('DB_PREFIX_LABEL',"Table prefix"); // L30
+define('DB_PREFIX_HELP',"This prefix will be added to all new tables created to avoid name conflicts in the database. If you are unsure, just keep the default"); // L63
+define('DB_PCONNECT_LABEL',"Use persistent connection"); // L54
+define('DB_PCONNECT_HELP',"Default is 'No'. Leave it blank if you are unsure"); // L69
+define('DB_DATABASE_LABEL',"Database");
+define('LEGEND_ADMIN_ACCOUNT',"Administrator account");
+define('ADMIN_LOGIN_LABEL',"Admin login"); // L37
+define('ADMIN_EMAIL_LABEL',"Admin e-mail"); // L38
+define('ADMIN_PASS_LABEL',"Admin password"); // L39
+define('ADMIN_CONFIRMPASS_LABEL',"Confirm password"); // L74
// Buttons
-define("BUTTON_PREVIOUS","Previous"); // L42
-define("BUTTON_NEXT","Next"); // L47
-
+define('BUTTON_PREVIOUS',"Previous"); // L42
+define('BUTTON_NEXT',"Next"); // L47
// Messages
-define("XOOPS_FOUND","%s found");
-define("CHECKING_PERMISSIONS","Checking file and directory permissions..."); // L82
-define("IS_NOT_WRITABLE","%s is NOT writable."); // L83
-define("IS_WRITABLE","%s is writable."); // L84
-
-define("XOOPS_PATH_FOUND","Path found.");
-
-define("READY_CREATE_TABLES","No XOOPS tables were detected.<br />The installer is now ready to create the XOOPS system tables.<br />Press <em>next</em> to proceed.");
-define("XOOPS_TABLES_FOUND","The XOOPS system tables already exists in your database.<br />Press <em>next</em> to go to the next step."); // L131
-define("XOOPS_TABLES_CREATED","XOOPS system tables have been created.<br />Press <em>next</em> to go to the next step.");
-define("READY_INSERT_DATA","The installer is now ready to insert initial data into your database.");
-define("READY_SAVE_MAINFILE","The installer is now ready to save the specified settings to <em>mainfile.php</em>.<br />Press <em>next</em> to proceed.");
-define("SAVED_MAINFILE","Settings saved in mainfile.php");
-define("SAVED_MAINFILE_MSG","The installer has saved the specified settings to <em>mainfile.php</em> and <em>secure.php</em>. Press <em>next</em> to go to the next step.");
-define("DATA_ALREADY_INSERTED","XOOPS data found in database.<br />Press <em>next</em> to go to the next step.");
-define("DATA_INSERTED","Initial data has been inserted into database.<br />Press <em>next</em> to go to the next step.");
-
-
+define('XOOPS_FOUND',"%s found");
+define('CHECKING_PERMISSIONS',"Checking file and directory permissions..."); // L82
+define('IS_NOT_WRITABLE',"%s is NOT writable."); // L83
+define('IS_WRITABLE',"%s is writable."); // L84
+define('XOOPS_PATH_FOUND',"Path found.");
+define('READY_CREATE_TABLES',"No XOOPS tables were detected.<br />The installer is now ready to create the XOOPS system tables.<br />Press <em>next</em> to proceed.");
+define('XOOPS_TABLES_FOUND',"The XOOPS system tables already exists in your database.<br />Press <em>next</em> to go to the next step."); // L131
+define('XOOPS_TABLES_CREATED',"XOOPS system tables have been created.<br />Press <em>next</em> to go to the next step.");
+define('READY_INSERT_DATA',"The installer is now ready to insert initial data into your database.");
+define('READY_SAVE_MAINFILE',"The installer is now ready to save the specified settings to <em>mainfile.php</em>.<br />Press <em>next</em> to proceed.");
+define('SAVED_MAINFILE',"Settings saved in mainfile.php");
+define('SAVED_MAINFILE_MSG',"The installer has saved the specified settings to <em>mainfile.php</em> and <em>secure.php</em>. Press <em>next</em> to go to the next step.");
+define('DATA_ALREADY_INSERTED',"XOOPS data found in database.<br />Press <em>next</em> to go to the next step.");
+define('DATA_INSERTED',"Initial data has been inserted into database.<br />Press <em>next</em> to go to the next step.");
// %s is database name
-define("DATABASE_CREATED","Database %s created!"); // L43
+define('DATABASE_CREATED',"Database %s created!"); // L43
// %s is table name
-define("TABLE_NOT_CREATED","Unable to create table %s"); // L118
-define("TABLE_CREATED","Table %s created."); // L45
-define("ROWS_INSERTED","%d entries inserted to table %s."); // L119
-define("ROWS_FAILED","Failed inserting %d entries to table %s."); // L120
-define("TABLE_ALTERED","Table %s updated."); // L133
-define("TABLE_NOT_ALTERED","Failed updating table %s."); // L134
-define("TABLE_DROPPED","Table %s dropped."); // L163
-define("TABLE_NOT_DROPPED","Failed deleting table %s."); // L164
-
+define('TABLE_NOT_CREATED',"Unable to create table %s"); // L118
+define('TABLE_CREATED',"Table %s created."); // L45
+define('ROWS_INSERTED',"%d entries inserted to table %s."); // L119
+define('ROWS_FAILED',"Failed inserting %d entries to table %s."); // L120
+define('TABLE_ALTERED',"Table %s updated."); // L133
+define('TABLE_NOT_ALTERED',"Failed updating table %s."); // L134
+define('TABLE_DROPPED',"Table %s dropped."); // L163
+define('TABLE_NOT_DROPPED',"Failed deleting table %s."); // L164
// Error messages
-define("ERR_COULD_NOT_ACCESS","Could not access the specified folder. Please verify that it exists and is readable by the server.");
-define("ERR_NO_XOOPS_FOUND","No XOOPS installation could be found in the specified folder.");
-define("ERR_INVALID_EMAIL","Invalid Email"); // L73
-define("ERR_REQUIRED","Information is required."); // L41
-define("ERR_PASSWORD_MATCH","The two passwords do not match");
-define("ERR_NEED_WRITE_ACCESS","The server must be given write access to the following files and folders<br />(i.e. <em>chmod 777 directory_name</em> on a UNIX/LINUX server)<br />If they are not available or not created correctly, please create manually and set proper permissions.");
-define("ERR_NO_DATABASE","Could not create database. Contact the server administrator for details."); // L31
-define("ERR_NO_DBCONNECTION","Could not connect to the database server."); // L106
-define("ERR_WRITING_CONSTANT","Failed writing constant %s."); // L122
-
-define("ERR_COPY_MAINFILE","Could not copy the distribution file to mainfile.php");
-define("ERR_WRITE_MAINFILE","Could not write into mainfile.php. Please check the file permission and try again.");
-define("ERR_READ_MAINFILE","Could not open mainfile.php for reading");
-
-define("ERR_INVALID_DBCHARSET","The charset '%s' is not supported.");
-define("ERR_INVALID_DBCOLLATION","The collation '%s' is not supported.");
-define("ERR_CHARSET_NOT_SET","Default character set is not set for XOOPS database.");
-
-
-define("_INSTALL_CHARSET","UTF-8");
-
-define("SUPPORT","Supports");
-
-define("LOGIN","Authentication");
-define("LOGIN_TITLE","Authentication");
-define("USER_LOGIN","Administrator Login");
-define("USERNAME","Username :");
-define("PASSWORD","Password :");
-
-define("ICONV_CONVERSION","Character set conversion");
-define("ZLIB_COMPRESSION","Zlib Compression");
-define("IMAGE_FUNCTIONS","Image functions");
-define("IMAGE_METAS","Image meta data (exif)");
-define("FILTER_FUNCTIONS","Filter functions");
-
-define("ADMIN_EXIST","The administrator account already exists.<br />Press <strong>next</strong> to go to the next step.");
-
-define("CONFIG_SITE","Site configuration");
-define("CONFIG_SITE_TITLE","Site configuration");
-define("MODULES","Modules installation");
-define("MODULES_TITLE","Modules installation");
-define("THEME","Select theme");
-define("THEME_TITLE","Select the default theme");
-
-define("INSTALLED_MODULES","The following modules have been installed.<br />Press <strong>next</strong> to go to the next step.");
-define("NO_MODULES_FOUND","No modules found.<br />Press <strong>next</strong> to go to the next step.");
-define("NO_INSTALLED_MODULES","No module installed.<br />Press <strong>next</strong> to go to the next step.");
-
-define("THEME_NO_SCREENSHOT","No screenshot found");
-
-define("IS_VALOR"," => ");
-
+define('ERR_COULD_NOT_ACCESS',"Could not access the specified folder. Please verify that it exists and is readable by the server.");
+define('ERR_NO_XOOPS_FOUND',"No XOOPS installation could be found in the specified folder.");
+define('ERR_INVALID_EMAIL',"Invalid Email"); // L73
+define('ERR_REQUIRED',"Information is required."); // L41
+define('ERR_PASSWORD_MATCH',"The two passwords do not match");
+define('ERR_NEED_WRITE_ACCESS',"The server must be given write access to the following files and folders<br />(i.e. <em>chmod 777 directory_name</em> on a UNIX/LINUX server)<br />If they are not available or not created correctly, please create manually and set proper permissions.");
+define('ERR_NO_DATABASE',"Could not create database. Contact the server administrator for details."); // L31
+define('ERR_NO_DBCONNECTION',"Could not connect to the database server."); // L106
+define('ERR_WRITING_CONSTANT',"Failed writing constant %s."); // L122
+define('ERR_COPY_MAINFILE',"Could not copy the distribution file to mainfile.php");
+define('ERR_WRITE_MAINFILE',"Could not write into mainfile.php. Please check the file permission and try again.");
+define('ERR_READ_MAINFILE',"Could not open mainfile.php for reading");
+define('ERR_INVALID_DBCHARSET',"The charset '%s' is not supported.");
+define('ERR_INVALID_DBCOLLATION',"The collation '%s' is not supported.");
+define('ERR_CHARSET_NOT_SET',"Default character set is not set for XOOPS database.");
+define('_INSTALL_CHARSET',"UTF-8");
+define('SUPPORT',"Supports");
+define('LOGIN',"Authentication");
+define('LOGIN_TITLE',"Authentication");
+define('USER_LOGIN',"Administrator Login");
+define('USERNAME',"Username :");
+define('PASSWORD',"Password :");
+define('ICONV_CONVERSION',"Character set conversion");
+define('ZLIB_COMPRESSION',"Zlib Compression");
+define('IMAGE_FUNCTIONS',"Image functions");
+define('IMAGE_METAS',"Image meta data (exif)");
+define('FILTER_FUNCTIONS',"Filter functions");
+define('ADMIN_EXIST',"The administrator account already exists.<br />Press <strong>next</strong> to go to the next step.");
+define('CONFIG_SITE',"Site configuration");
+define('CONFIG_SITE_TITLE',"Site configuration");
+define('MODULES',"Modules installation");
+define('MODULES_TITLE',"Modules installation");
+define('THEME',"Select theme");
+define('THEME_TITLE',"Select the default theme");
+define('INSTALLED_MODULES',"The following modules have been installed.<br />Press <strong>next</strong> to go to the next step.");
+define('NO_MODULES_FOUND',"No modules found.<br />Press <strong>next</strong> to go to the next step.");
+define('NO_INSTALLED_MODULES',"No module installed.<br />Press <strong>next</strong> to go to the next step.");
+define('THEME_NO_SCREENSHOT',"No screenshot found");
+define('IS_VALOR'," => ");
// password message
-define("PASSWORD_LABEL","Password strength : ");
-define("PASSWORD_DESC","Password not entered");
-define("PASSWORD_GENERATOR","Password generator");
-define("PASSWORD_GENERATE","Generate");
-define("PASSWORD_COPY","Copy");
-
-define("PASSWORD_VERY_WEAK","Very Weak");
-define("PASSWORD_WEAK","Weak");
-define("PASSWORD_BETTER","Better");
-define("PASSWORD_MEDIUM","Medium");
-define("PASSWORD_STRONG","Strong");
-define("PASSWORD_STRONGEST","Strongest");
-?>
\ No newline at end of file
+define('PASSWORD_LABEL',"Password strength : ");
+define('PASSWORD_DESC',"Password not entered");
+define('PASSWORD_GENERATOR',"Password generator");
+define('PASSWORD_GENERATE',"Generate");
+define('PASSWORD_COPY',"Copy");
+define('PASSWORD_VERY_WEAK',"Very Weak");
+define('PASSWORD_WEAK',"Weak");
+define('PASSWORD_BETTER',"Better");
+define('PASSWORD_MEDIUM',"Medium");
+define('PASSWORD_STRONG',"Strong");
+define('PASSWORD_STRONGEST',"Strongest");
Modified: XoopsLanguages/english-Reference/core/2.5.7/htdocs/install/language/english/install2.php
===================================================================
--- XoopsLanguages/english-Reference/core/2.5.7/htdocs/install/language/english/install2.php 2014-04-07 10:17:35 UTC (rev 12431)
+++ XoopsLanguages/english-Reference/core/2.5.7/htdocs/install/language/english/install2.php 2014-04-07 10:58:17 UTC (rev 12432)
@@ -3,11 +3,9 @@
// _LANGCODE: en
// _CHARSET : UTF-8
// Translator: XOOPS Translation Team
-
// License
-define('LICENSE_NOT_WRITEABLE','License is %s . <br/><font style="colour:#ff0000">Make ../include/license.php Writable</font>');
+define('LICENSE_NOT_WRITEABLE','License is %s . <br/><span style="colour:#ff0000">Make ../include/license.php Writable</span>');
define('LICENSE_IS_WRITEABLE','License is %s');
-
define('_INSTALL_WEBMASTER','Webmasters');
define('_INSTALL_WEBMASTERD','Webmasters of this site');
define('_INSTALL_REGUSERS','Registered Users');
@@ -25,10 +23,9 @@
define('_INSTALL_SUBMITTERUSERSD','This group can submit articles to your website');
define('_INSTALL_DEVELOPEUSERS','Developer');
define('_INSTALL_DEVELOPEUSERSD','This user has developer privileges and can see developer debugging messages.');
-
-define("_INSTALL_L165","The site is currently closed for maintenance. Please come back later.");
-define("_INSTALL_ANON","Anonymous");
-define("_INSTALL_DISCLMR","While the administrators and moderators of this site will attempt to remove
+define('_INSTALL_L165',"The site is currently closed for maintenance. Please come back later.");
+define('_INSTALL_ANON',"Anonymous");
+define('_INSTALL_DISCLMR',"While the administrators and moderators of this site will attempt to remove
or edit any generally objectionable material as quickly as possible, it is
impossible to review every message. Therefore you acknowledge that all posts
made to this site express the views and opinions of the author and not the
@@ -56,5 +53,3 @@
new passwords should you forget your current one).
By clicking Register below you agree to be bound by these conditions.");
-
-?>
Modified: XoopsLanguages/english-Reference/core/2.5.7/htdocs/install/language/english/support.php
===================================================================
--- XoopsLanguages/english-Reference/core/2.5.7/htdocs/install/language/english/support.php 2014-04-07 10:17:35 UTC (rev 12431)
+++ XoopsLanguages/english-Reference/core/2.5.7/htdocs/install/language/english/support.php 2014-04-07 10:58:17 UTC (rev 12432)
@@ -19,4 +19,3 @@
"title" => "Support francophone"
);
*/
-?>
\ No newline at end of file
Modified: XoopsLanguages/english-Reference/core/2.5.7/htdocs/install/language/english/welcome.php
===================================================================
--- XoopsLanguages/english-Reference/core/2.5.7/htdocs/install/language/english/welcome.php 2014-04-07 10:17:35 UTC (rev 12431)
+++ XoopsLanguages/english-Reference/core/2.5.7/htdocs/install/language/english/welcome.php 2014-04-07 10:58:17 UTC (rev 12432)
@@ -6,7 +6,7 @@
$content .= '
<p>
- <acronym title="eXtensible Object-Oriented Portal System">XOOPS</acronym> is an open-source
+ <abbr title="eXtensible Object-Oriented Portal System">XOOPS</abbr> is an open-source
Object-Oriented Web publishing system written in PHP. It is an ideal tool for
developing small to large dynamic community websites, intra company portals, corporate portals, weblogs and much more.
</p>
@@ -33,4 +33,3 @@
<li>Turn cookie and JavaScript of your browser on.</li>
</ol>
';
-?>
\ No newline at end of file
Modified: XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/admin.php
===================================================================
--- XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/admin.php 2014-04-07 10:17:35 UTC (rev 12431)
+++ XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/admin.php 2014-04-07 10:58:17 UTC (rev 12432)
@@ -18,4 +18,4 @@
define('_AD_WARNINGINSTALL','WARNING: Directory %s exists on your server. <br />Please remove this directory for security reasons.');
define('_AD_WARNINGWRITEABLE','WARNING: File %s is writeable by the server. <br />Please change the permission of this file for security reasons.<br /> in Unix (444), in Win32 (read-only)');
define('_AD_WARNINGNOTWRITEABLE','WARNING: Folder %s is not writeable by the server. <br />Please change the permission of this folder.<br /> in Unix (777), in Win32 (writable)');
-define('_AD_WARNINGXOOPSLIBINSIDE','WARNING: Folder %s is inside DocumentRoot! <br />For security considerations it is highly suggested to move it out of DocumentRoot.');
\ No newline at end of file
+define('_AD_WARNINGXOOPSLIBINSIDE','WARNING: Folder %s is inside DocumentRoot! <br />For security considerations it is highly suggested to move it out of DocumentRoot.');
Modified: XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/auth.php
===================================================================
--- XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/auth.php 2014-04-07 10:17:35 UTC (rev 12431)
+++ XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/auth.php 2014-04-07 10:58:17 UTC (rev 12432)
@@ -10,4 +10,4 @@
define('_AUTH_LDAP_USER_NOT_FOUND',"Member %s not found in the directory server (%s) in %s");
define('_AUTH_LDAP_CANT_READ_ENTRY',"Can't read entry %s");
define('_AUTH_LDAP_XOOPS_USER_NOTFOUND',"Sorry, no corresponding user information has been found in the XOOPS database for connection: %s <br>" . "Please verify your user data or set on the automatic provisioning");
-define('_AUTH_LDAP_START_TLS_FAILED',"Failed to open a TLS connection");
\ No newline at end of file
+define('_AUTH_LDAP_START_TLS_FAILED',"Failed to open a TLS connection");
Modified: XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/backend.php
===================================================================
--- XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/backend.php 2014-04-07 10:17:35 UTC (rev 12431)
+++ XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/backend.php 2014-04-07 10:58:17 UTC (rev 12432)
@@ -5,4 +5,4 @@
// Translator: XOOPS Translation Team
// RSS feed URLs
-return array('http://www.xoops.org/backend.php');
\ No newline at end of file
+return array('http://www.xoops.org/backend.php');
Modified: XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/banners.php
===================================================================
--- XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/banners.php 2014-04-07 10:17:35 UTC (rev 12431)
+++ XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/banners.php 2014-04-07 10:58:17 UTC (rev 12432)
@@ -53,4 +53,4 @@
define('_BANNERS_NO_LOGIN_DATA','No login data detected');
define('_BANNERS_NO_REFERER','No referer detected');
-define('_BANNERS_NO_ID','No valid ID detected');
\ No newline at end of file
+define('_BANNERS_NO_ID','No valid ID detected');
Modified: XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/calendar.php
===================================================================
--- XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/calendar.php 2014-04-07 10:17:35 UTC (rev 12431)
+++ XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/calendar.php 2014-04-07 10:58:17 UTC (rev 12432)
@@ -4,71 +4,72 @@
// _CHARSET : UTF-8
// Translator: XOOPS Translation Team
// more examples: http://php.net/manual/en/function.date.php
-//
+//
// Revision by TXMod Xoops - Added shot text: 30/06/2012
//
//%%%%% Time Zone %%%%
-define("_CAL_FORMAT","Y-m-d");
+//define('_CAL_FORMAT',"Y-m-d");
+define('_CAL_FORMAT',_SHORTDATESTRING);
+
//%%%%% JQuery Calendar Time Zone %%%%
-define("_CAL_JQUERY_FORMAT","yy/mm/dd");
+define('_CAL_JQUERY_FORMAT',"yy/mm/dd");
// Week Mini Text
-define("_CAL_MIN_SUNDAY", "Su");
-define("_CAL_MIN_MONDAY", "Mo");
-define("_CAL_MIN_TUESDAY", "Tu");
-define("_CAL_MIN_WEDNESDAY", "We");
-define("_CAL_MIN_THURSDAY", "Th");
-define("_CAL_MIN_FRIDAY", "Fr");
-define("_CAL_MIN_SATURDAY", "Sa");
+define('_CAL_MIN_SUNDAY',"Su");
+define('_CAL_MIN_MONDAY',"Mo");
+define('_CAL_MIN_TUESDAY',"Tu");
+define('_CAL_MIN_WEDNESDAY',"We");
+define('_CAL_MIN_THURSDAY',"Th");
+define('_CAL_MIN_FRIDAY',"Fr");
+define('_CAL_MIN_SATURDAY',"Sa");
// Week Short Text
-define("_CAL_SHORT_SUNDAY", "Sun");
-define("_CAL_SHORT_MONDAY", "Mon");
-define("_CAL_SHORT_TUESDAY", "Tue");
-define("_CAL_SHORT_WEDNESDAY", "Wed");
-define("_CAL_SHORT_THURSDAY", "Thu");
-define("_CAL_SHORT_FRIDAY", "Fri");
-define("_CAL_SHORT_SATURDAY", "Sat");
-
-define("_CAL_SHORT_JANUARY", "January");
-define("_CAL_SHORT_FEBRUARY", "February");
-define("_CAL_SHORT_MARCH", "March");
-define("_CAL_SHORT_APRIL", "April");
-define("_CAL_SHORT_MAY", "May");
-define("_CAL_SHORT_JUNE", "June");
-define("_CAL_SHORT_JULY", "July");
-define("_CAL_SHORT_AUGUST", "August");
-define("_CAL_SHORT_SEPTEMBER", "September");
-define("_CAL_SHORT_OCTOBER", "October");
-define("_CAL_SHORT_NOVEMBER", "November");
-define("_CAL_SHORT_DECEMBER", "December");
+define('_CAL_SHORT_SUNDAY',"Sun");
+define('_CAL_SHORT_MONDAY',"Mon");
+define('_CAL_SHORT_TUESDAY',"Tue");
+define('_CAL_SHORT_WEDNESDAY',"Wed");
+define('_CAL_SHORT_THURSDAY',"Thu");
+define('_CAL_SHORT_FRIDAY',"Fri");
+define('_CAL_SHORT_SATURDAY',"Sat");
+define('_CAL_SHORT_JANUARY',"January");
+define('_CAL_SHORT_FEBRUARY',"February");
+define('_CAL_SHORT_MARCH',"March");
+define('_CAL_SHORT_APRIL',"April");
+define('_CAL_SHORT_MAY',"May");
+define('_CAL_SHORT_JUNE',"June");
+define('_CAL_SHORT_JULY',"July");
+define('_CAL_SHORT_AUGUST',"August");
+define('_CAL_SHORT_SEPTEMBER',"September");
+define('_CAL_SHORT_OCTOBER',"October");
+define('_CAL_SHORT_NOVEMBER',"November");
+define('_CAL_SHORT_DECEMBER',"December");
// Normal Text
-define("_CAL_SUNDAY", "Sunday");
-define("_CAL_MONDAY", "Monday");
-define("_CAL_TUESDAY", "Tuesday");
-define("_CAL_WEDNESDAY", "Wednesday");
-define("_CAL_THURSDAY", "Thursday");
-define("_CAL_FRIDAY", "Friday");
-define("_CAL_SATURDAY", "Saturday");
-define("_CAL_JANUARY", "January");
-define("_CAL_FEBRUARY", "February");
-define("_CAL_MARCH", "March");
-define("_CAL_APRIL", "April");
-define("_CAL_MAY", "May");
-define("_CAL_JUNE", "June");
-define("_CAL_JULY", "July");
-define("_CAL_AUGUST", "August");
-define("_CAL_SEPTEMBER", "September");
-define("_CAL_OCTOBER", "October");
-define("_CAL_NOVEMBER", "November");
-define("_CAL_DECEMBER", "December");
+define('_CAL_SUNDAY',"Sunday");
+define('_CAL_MONDAY',"Monday");
+define('_CAL_TUESDAY',"Tuesday");
+define('_CAL_WEDNESDAY',"Wednesday");
+define('_CAL_THURSDAY',"Thursday");
+define('_CAL_FRIDAY',"Friday");
+define('_CAL_SATURDAY',"Saturday");
+define('_CAL_JANUARY',"January");
+define('_CAL_FEBRUARY',"February");
+define('_CAL_MARCH',"March");
+define('_CAL_APRIL',"April");
+define('_CAL_MAY',"May");
+define('_CAL_JUNE',"June");
+define('_CAL_JULY',"July");
+define('_CAL_AUGUST',"August");
+define('_CAL_SEPTEMBER',"September");
+define('_CAL_OCTOBER',"October");
+define('_CAL_NOVEMBER',"November");
+define('_CAL_DECEMBER',"December");
// Others
-define("_CAL_TGL1STD", "Toggle first day of week");
-define("_CAL_PREVYR", "Prev. year (hold for menu)");
-define("_CAL_PREVMNTH", "Prev. month (hold for menu)");
-define("_CAL_GOTODAY", "Go Today");
-define("_CAL_NXTMNTH", "Next month (hold for menu)");
-define("_CAL_NEXTYR", "Next year (hold for menu)");
-define("_CAL_SELDATE", "Select date");
-define("_CAL_DRAGMOVE", "Drag to move");
-define("_CAL_TODAY", "Today");
-define("_CAL_DISPM1ST", "Display Monday first");
-define("_CAL_DISPS1ST", "Display Sunday first");
\ No newline at end of file
+define('_CAL_TGL1STD',"Toggle first day of week");
+define('_CAL_PREVYR',"Prev. year (hold for menu)");
+define('_CAL_PREVMNTH',"Prev. month (hold for menu)");
+define('_CAL_GOTODAY',"Go Today");
+define('_CAL_NXTMNTH',"Next month (hold for menu)");
+define('_CAL_NEXTYR',"Next year (hold for menu)");
+define('_CAL_SELDATE',"Select date");
+define('_CAL_DRAGMOVE',"Drag to move");
+define('_CAL_TODAY',"Today");
+define('_CAL_DISPM1ST',"Display Monday first");
+define('_CAL_DISPS1ST',"Display Sunday first");
Modified: XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/captcha.php
===================================================================
--- XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/captcha.php 2014-04-07 10:17:35 UTC (rev 12431)
+++ XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/captcha.php 2014-04-07 10:58:17 UTC (rev 12432)
@@ -18,4 +18,4 @@
/**
* Error defines
*/
-define('_CAPTCHA_LOADFILEERROR','Error: Could not load file %u in file %s at line %s. ');
\ No newline at end of file
+define('_CAPTCHA_LOADFILEERROR','Error: Could not load file %u in file %s at line %s. ');
Modified: XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/comment.php
===================================================================
--- XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/comment.php 2014-04-07 10:17:35 UTC (rev 12431)
+++ XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/comment.php 2014-04-07 10:58:17 UTC (rev 12432)
@@ -3,44 +3,43 @@
// _LANGCODE: en
// _CHARSET : UTF-8
// Translator: XOOPS Translation Team
-define('_CM_TITLE', 'Title');
-define('_CM_MESSAGE', 'Message');
-define('_CM_DOSMILEY', 'Enable Smiley Icons');
-define('_CM_DOHTML', 'Enable HTML Tags');
-define('_CM_DOAUTOWRAP', 'Auto wrap lines');
-define('_CM_DOXCODE', 'Enable XOOPS Codes');
-define('_CM_REFRESH', 'Refresh');
-define('_CM_PENDING', 'Pending');
-define('_CM_HIDDEN', 'Hidden');
-define('_CM_ACTIVE', 'Active');
-define('_CM_STATUS', 'Status');
-define('_CM_POSTCOMMENT', 'Publish Comment');
-define('_CM_REPLIES', 'Replies');
-define('_CM_PARENT', 'Parent');
-define('_CM_TOP', 'Top');
-define('_CM_BOTTOM', 'Bottom');
-define('_CM_ONLINE', 'Online!');
-define('_CM_POSTED', 'Published'); // Posted date
-define('_CM_UPDATED', 'Updated');
-define('_CM_THREAD', 'Thread');
-define('_CM_POSTER', 'Author');
-define('_CM_JOINED', 'Joined');
-define('_CM_POSTS', 'Comments');
-define('_CM_FROM', 'From');
-define('_CM_COMDELETED', 'Comment(s) deleted.');
-define('_CM_COMDELETENG', 'Could not delete comment.');
-define('_CM_DELETESELECT', 'Delete all its child comments?');
-define('_CM_DELETEONE', 'No, delete only this comment');
-define('_CM_DELETEALL', 'Yes, delete all');
-define('_CM_THANKSPOST', 'Thanks for your comments!');
+define('_CM_TITLE','Title');
+define('_CM_MESSAGE','Message');
+define('_CM_DOSMILEY','Enable Smiley Icons');
+define('_CM_DOHTML','Enable HTML Tags');
+define('_CM_DOAUTOWRAP','Auto wrap lines');
+define('_CM_DOXCODE','Enable XOOPS Codes');
+define('_CM_REFRESH','Refresh');
+define('_CM_PENDING','Pending');
+define('_CM_HIDDEN','Hidden');
+define('_CM_ACTIVE','Active');
+define('_CM_STATUS','Status');
+define('_CM_POSTCOMMENT','Publish Comment');
+define('_CM_REPLIES','Replies');
+define('_CM_PARENT','Parent');
+define('_CM_TOP','Top');
+define('_CM_BOTTOM','Bottom');
+define('_CM_ONLINE','Online!');
+define('_CM_POSTED','Published'); // Posted date
+define('_CM_UPDATED','Updated');
+define('_CM_THREAD','Thread');
+define('_CM_POSTER','Author');
+define('_CM_JOINED','Joined');
+define('_CM_POSTS','Comments');
+define('_CM_FROM','From');
+define('_CM_COMDELETED','Comment(s) deleted.');
+define('_CM_COMDELETENG','Could not delete comment.');
+define('_CM_DELETESELECT','Delete all its child comments?');
+define('_CM_DELETEONE','No, delete only this comment');
+define('_CM_DELETEALL','Yes, delete all');
+define('_CM_THANKSPOST','Thanks for your comments!');
define('_CM_NOTICE', "The comments are owned by the author. We aren't responsible for their content.");
-define('_CM_COMRULES', 'Comment Rules');
-define('_CM_COMAPPROVEALL', 'Comments are always approved');
-define('_CM_COMAPPROVEUSER', 'Comments by registered users are always approved');
-define('_CM_COMAPPROVEADMIN', 'All comments need to be approved by administrator');
-define('_CM_COMANONPOST', 'Allow anonymous comments?');
-define('_CM_COMNOCOM', 'Disable comments');
-
-define('_CM_USER', 'Name');
-define('_CM_EMAIL', 'Email');
-define('_CM_URL', 'Website');
\ No newline at end of file
+define('_CM_COMRULES','Comment Rules');
+define('_CM_COMAPPROVEALL','Comments are always approved');
+define('_CM_COMAPPROVEUSER','Comments by registered users are always approved');
+define('_CM_COMAPPROVEADMIN','All comments need to be approved by administrator');
+define('_CM_COMANONPOST','Allow anonymous comments?');
+define('_CM_COMNOCOM','Disable comments');
+define('_CM_USER','Name');
+define('_CM_EMAIL','Email');
+define('_CM_URL','Website');
Modified: XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/countries.php
===================================================================
--- XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/countries.php 2014-04-07 10:17:35 UTC (rev 12431)
+++ XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/countries.php 2014-04-07 10:58:17 UTC (rev 12432)
@@ -2,8 +2,8 @@
// _LANGCODE: en
// _CHARSET : UTF-8
// Translator: XOOPS Translation Team
-/*
- * ISO 3166 Maintenance agency (ISO 3166/MA) - ISO's focal point for country codes
+/*
+ * ISO 3166 Maintenance agency (ISO 3166/MA) - ISO's focal point for country codes
* Website: http://www.iso.org/iso/country_codes.htm
*
*/
@@ -51,7 +51,7 @@
define('_COUNTRY_CF','Central African Republic');
define('_COUNTRY_CG','Congo');
define('_COUNTRY_CH','Switzerland');
-define('_COUNTRY_CI',"Côte d'Ivoire");
+define('_COUNTRY_CI',"Côte d'Ivoire");
define('_COUNTRY_CK','Cook Islands');
define('_COUNTRY_CL','Chile');
define('_COUNTRY_CM','Cameroon');
@@ -260,4 +260,4 @@
define('_COUNTRY_ZA','South Africa');
define('_COUNTRY_ZM','Zambia');
define('_COUNTRY_ZR','Zaire'); // Not listed in ISO 3166
-define('_COUNTRY_ZW','Zimbabwe');
\ No newline at end of file
+define('_COUNTRY_ZW','Zimbabwe');
Modified: XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/errors.php
===================================================================
--- XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/errors.php 2014-04-07 10:17:35 UTC (rev 12431)
+++ XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/errors.php 2014-04-07 10:58:17 UTC (rev 12432)
@@ -3,4 +3,4 @@
// _CHARSET : UTF-8
// Translator: XOOPS Translation Team
define('_XO_ER_FILENOTFOUND','Requested file: <b>%s</b> was not found ');
-define('_XO_ER_CLASSNOTFOUND','Requested class %s was not found');
\ No newline at end of file
+define('_XO_ER_CLASSNOTFOUND','Requested class %s was not found');
Modified: XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/findusers.php
===================================================================
--- XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/findusers.php 2014-04-07 10:17:35 UTC (rev 12431)
+++ XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/findusers.php 2014-04-07 10:58:17 UTC (rev 12432)
@@ -61,4 +61,4 @@
//2.5.4
define('_MA_USER_FACEBOOK','Facebook Link'); //TO DO
-define('_MA_USER_SKYPE','Skype Link');//TO DO
\ No newline at end of file
+define('_MA_USER_SKYPE','Skype Link');//TO DO
Modified: XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/formdhtmltextarea.php
===================================================================
--- XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/formdhtmltextarea.php 2014-04-07 10:17:35 UTC (rev 12431)
+++ XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/formdhtmltextarea.php 2014-04-07 10:58:17 UTC (rev 12432)
@@ -3,7 +3,7 @@
* Language definitions for {@link XoopsFormDhtmlTextArea}
*
* You may not change or alter any portion of this comment or credits
- * of supporting developers from this source code or any supporting source code
+ * of supporting developers from this source code or any supporting source code
* which is considered copyrighted (c) material of the original comment or credit authors.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -23,26 +23,26 @@
// _CHARSET : UTF-8
// Translator: XOOPS Translation Team
/**
- * Localized fonts
+ * Localized fonts
*/
$GLOBALS['formtextdhtml_fonts'] = array(
- 'Arial' ,
- 'Courier' ,
- 'Georgia' ,
- 'Helvetica' ,
- 'Impact' ,
- 'Verdana' ,
+ 'Arial' ,
+ 'Courier' ,
+ 'Georgia' ,
+ 'Helvetica' ,
+ 'Impact' ,
+ 'Verdana' ,
'Haettenschweiler');
/**
* Localized font sizes: 'font size value' => 'font size name'
*/
$GLOBALS['formtextdhtml_sizes'] = array(
- 'xx-small' => 'xx-Small' ,
- 'x-small' => 'x-Small' ,
- 'small' => 'Small' ,
- 'medium' => 'Medium' ,
- 'large' => 'Large' ,
- 'x-large' => 'x-Large' ,
+ 'xx-small' => 'xx-Small' ,
+ 'x-small' => 'x-Small' ,
+ 'small' => 'Small' ,
+ 'medium' => 'Medium' ,
+ 'large' => 'Large' ,
+ 'x-large' => 'x-Large' ,
'xx-large' => 'xx-Large');
define('_XOOPS_FORM_ALT_URL','URL');
define('_XOOPS_FORM_ALT_EMAIL','Email');
@@ -79,4 +79,4 @@
define('_XOOPS_FORM_ALT_LENGTH_MAX','Maximum length: ');
define('_XOOPS_FORM_PREVIEW_CONTENT','Click the <strong>' . _PREVIEW . '</strong> to see the content in action.');
-define('_XOOPS_FORM_ALTYOUTUBE','Youtube');
\ No newline at end of file
+define('_XOOPS_FORM_ALTYOUTUBE','Youtube');
Modified: XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/global.php
===================================================================
--- XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/global.php 2014-04-07 10:17:35 UTC (rev 12431)
+++ XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/global.php 2014-04-07 10:58:17 UTC (rev 12432)
@@ -22,7 +22,7 @@
define('_OLDESTFIRST','Oldest First');
define('_NEWESTFIRST','Newest First');
define('_MORE','more...');
-define('_MULTIPAGE','To have your article span multiple pages, insert the word <font color=red>[pagebreak]</font> (with brackets) in the article.');
+define('_MULTIPAGE','To have your article span multiple pages, insert the word <span color=red>[pagebreak]</span> (with brackets) in the article.');
define('_IFNOTRELOAD','If the page does not automatically reload, please click <a href=\'%s\'>here</a>');
// Error messages issued by XoopsObject::cleanVars()
define('_XOBJ_ERR_REQUIRED','%s is required');
@@ -108,7 +108,7 @@
define("_MD_STRTYOPENG","This can not be changed afterwards!");
define("_MD_ASFILE","Store as files (in uploads directory)");
define("_MD_INDB","Store in the database (as binary \"blob\" data)");
-define("_MD_IMGMAIN","Category");
+define("_MD_IMGMAIN","Category");
define("_MD_EDITIMGCAT","Images Settings");
define('_IMGMANAGER','Image Manager');
define('_NUMIMAGES','%s images');
@@ -173,7 +173,8 @@
define('_MONTH','1 month');
define('_DATESTRING','Y/n/j G:i:s');
define('_MEDIUMDATESTRING','Y/n/j G:i');
-define('_SHORTDATESTRING','Y/n/j');
+//define('_SHORTDATESTRING','n/j/Y');
+define('_SHORTDATESTRING','m/d/Y');
/**
* The following characters are recognized in the format string:
* a - 'am' or 'pm'
@@ -218,4 +219,4 @@
**/
define('_DBDATESTRING','Y-m-d');
define('_DBTIMESTRING','H:i:s');
-define('_DBTIMESTAMPSTRING','Y-m-d H:i:s');
\ No newline at end of file
+define('_DBTIMESTAMPSTRING','Y-m-d H:i:s');
Modified: XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/english/locale.php
===================================================================
--- XoopsLanguages/english-Reference/core/2.5.7/htdocs/language/...
[truncated message content] |
|
From: <be...@us...> - 2014-04-07 10:17:38
|
Revision: 12431
http://sourceforge.net/p/xoops/svn/12431
Author: beckmi
Date: 2014-04-07 10:17:35 +0000 (Mon, 07 Apr 2014)
Log Message:
-----------
Creating English branch for XOOPS 2.5.7
Added Paths:
-----------
XoopsLanguages/english-Reference/core/2.5.7/
|
|
From: <be...@us...> - 2014-04-07 03:51:21
|
Revision: 12430
http://sourceforge.net/p/xoops/svn/12430
Author: beckmi
Date: 2014-04-07 03:51:17 +0000 (Mon, 07 Apr 2014)
Log Message:
-----------
Getting module versions in sync with XOOPS Release version
Modified Paths:
--------------
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/xoops_version.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/xoops_version.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/xoops_version.php
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/xoops_version.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/xoops_version.php 2014-04-07 02:59:35 UTC (rev 12429)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/xoops_version.php 2014-04-07 03:51:17 UTC (rev 12430)
@@ -43,7 +43,7 @@
$modversion['release_date'] = '2014/02/05';
$modversion["module_website_url"] = "http://www.xoops.org/";
$modversion["module_website_name"] = "XOOPS";
-$modversion["module_status"] = "Beta 1";
+$modversion["module_status"] = "RC 2";
$modversion['min_php'] = '5.3.7';
$modversion['min_xoops'] = "2.5.7";
$modversion['min_admin'] = '1.1';
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/xoops_version.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/xoops_version.php 2014-04-07 02:59:35 UTC (rev 12429)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/xoops_version.php 2014-04-07 03:51:17 UTC (rev 12430)
@@ -42,7 +42,7 @@
$modversion['release_date'] = '2014/02/05';
$modversion["module_website_url"] = "http://www.xoops.org/";
$modversion["module_website_name"] = "XOOPS";
-$modversion["module_status"] = "Beta 1";
+$modversion["module_status"] = "RC 2";
$modversion['min_php'] = '5.3.7';
$modversion['min_xoops'] = "2.5.7";
$modversion['min_admin'] = '1.1';
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/xoops_version.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/xoops_version.php 2014-04-07 02:59:35 UTC (rev 12429)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/xoops_version.php 2014-04-07 03:51:17 UTC (rev 12430)
@@ -37,7 +37,7 @@
$modversion['release_date'] = '2014/02/05';
$modversion["module_website_url"] = "http://www.xoops.org/";
$modversion["module_website_name"] = "XOOPS";
-$modversion["module_status"] = "Beta 1";
+$modversion["module_status"] = "RC 2";
$modversion['min_php']='5.3.7';
$modversion['min_xoops']="2.5.7";
// start hack by Mage
|
|
From: <be...@us...> - 2014-04-07 02:59:38
|
Revision: 12429
http://sourceforge.net/p/xoops/svn/12429
Author: beckmi
Date: 2014-04-07 02:59:35 +0000 (Mon, 07 Apr 2014)
Log Message:
-----------
To avoid potential confusion, the version is changed to RC2. Will change to Final, once we release it as Final
Modified Paths:
--------------
XoopsCore/branches/2.5.x/2.5.7/htdocs/include/version.php
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/include/version.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/include/version.php 2014-04-07 02:50:13 UTC (rev 12428)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/include/version.php 2014-04-07 02:59:35 UTC (rev 12429)
@@ -30,4 +30,4 @@
/**
* Define XOOPS version
*/
-define('XOOPS_VERSION', 'XOOPS 2.5.7');
+define('XOOPS_VERSION', 'XOOPS 2.5.7_RC2');
|
|
From: <be...@us...> - 2014-04-07 02:50:16
|
Revision: 12428
http://sourceforge.net/p/xoops/svn/12428
Author: beckmi
Date: 2014-04-07 02:50:13 +0000 (Mon, 07 Apr 2014)
Log Message:
-----------
Updating files for the next (hopefully Final) release
Modified Paths:
--------------
XoopsCore/branches/2.5.x/2.5.7/docs/changelog.250.txt
XoopsCore/branches/2.5.x/2.5.7/htdocs/include/version.php
Modified: XoopsCore/branches/2.5.x/2.5.7/docs/changelog.250.txt
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/docs/changelog.250.txt 2014-04-07 02:35:05 UTC (rev 12427)
+++ XoopsCore/branches/2.5.x/2.5.7/docs/changelog.250.txt 2014-04-07 02:50:13 UTC (rev 12428)
@@ -1,6 +1,11 @@
XOOPS 2.5.x Changelog (Language changes: see: /docs/lang_diff.txt)
===============================
+2014/xx/xx: Version 2.5.7 Final
+===============================
+
+
+===============================
2014/xx/xx: Version 2.5.7 RC 1
===============================
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/include/version.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/include/version.php 2014-04-07 02:35:05 UTC (rev 12427)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/include/version.php 2014-04-07 02:50:13 UTC (rev 12428)
@@ -30,4 +30,4 @@
/**
* Define XOOPS version
*/
-define('XOOPS_VERSION', 'XOOPS 2.5.7_RC1');
+define('XOOPS_VERSION', 'XOOPS 2.5.7');
|
|
From: <be...@us...> - 2014-04-07 02:35:08
|
Revision: 12427
http://sourceforge.net/p/xoops/svn/12427
Author: beckmi
Date: 2014-04-07 02:35:05 +0000 (Mon, 07 Apr 2014)
Log Message:
-----------
Adding 2.5.7 RC1 to releases
Added Paths:
-----------
XoopsCore/releases/2.5.7-rc1/
|
|
From: <be...@us...> - 2014-04-06 07:45:49
|
Revision: 12426
http://sourceforge.net/p/xoops/svn/12426
Author: beckmi
Date: 2014-04-06 07:45:46 +0000 (Sun, 06 Apr 2014)
Log Message:
-----------
Updating release notes for RC-1
Modified Paths:
--------------
XoopsCore/branches/2.5.x/2.5.7/release_notes.txt
Modified: XoopsCore/branches/2.5.x/2.5.7/release_notes.txt
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/release_notes.txt 2014-04-06 07:41:34 UTC (rev 12425)
+++ XoopsCore/branches/2.5.x/2.5.7/release_notes.txt 2014-04-06 07:45:46 UTC (rev 12426)
@@ -1,6 +1,6 @@
-XOOPS 2.5.7 Beta 1
+XOOPS 2.5.7 RC 1
-The XOOPS Development Team is pleased to announce the release of XOOPS 2.5.7 Beta 1.
+The XOOPS Development Team is pleased to announce the release of XOOPS 2.5.7 RC 1.
This release is focused on making XOOPS 2.5.7 compatible with PHP 5.5.x, and on security enhancements
@@ -119,4 +119,4 @@
XOOPS Development Team
-April 21, 2013
\ No newline at end of file
+April 6, 2014
\ No newline at end of file
|
|
From: <be...@us...> - 2014-04-06 07:41:42
|
Revision: 12425
http://sourceforge.net/p/xoops/svn/12425
Author: beckmi
Date: 2014-04-06 07:41:34 +0000 (Sun, 06 Apr 2014)
Log Message:
-----------
Updating to latest jQuery and jQuery UI, updating xBootstrap
Modified Paths:
--------------
XoopsCore/branches/2.5.x/2.5.7/docs/changelog.250.txt
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/uploader.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/include/version.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery-ui.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.accordion.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.all.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.autocomplete.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.base.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.button.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.core.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.datepicker.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.dialog.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.menu.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.progressbar.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.resizable.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.selectable.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.slider.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.spinner.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.tabs.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.theme.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.tooltip.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/minified/jquery-ui.min.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/minified/jquery.ui.accordion.min.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/minified/jquery.ui.autocomplete.min.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/minified/jquery.ui.button.min.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/minified/jquery.ui.core.min.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/minified/jquery.ui.datepicker.min.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/minified/jquery.ui.dialog.min.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/minified/jquery.ui.menu.min.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/minified/jquery.ui.progressbar.min.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/minified/jquery.ui.resizable.min.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/minified/jquery.ui.selectable.min.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/minified/jquery.ui.slider.min.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/minified/jquery.ui.spinner.min.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/minified/jquery.ui.tabs.min.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/minified/jquery.ui.theme.min.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/minified/jquery.ui.tooltip.min.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/cupertino/images/ui-bg_flat_15_cd0a0a_40x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/cupertino/images/ui-bg_glass_100_e4f1fb_1x400.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/cupertino/images/ui-bg_glass_50_3baae3_1x400.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/cupertino/images/ui-bg_glass_80_d7ebf9_1x400.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/cupertino/images/ui-bg_highlight-hard_70_000000_1x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/cupertino/images/ui-bg_highlight-soft_25_ffef8f_1x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/cupertino/images/ui-icons_2694e8_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/cupertino/images/ui-icons_2e83ff_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/cupertino/images/ui-icons_3d80b3_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/cupertino/images/ui-icons_72a7cf_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/cupertino/images/ui-icons_ffffff_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/cupertino/jquery-ui.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/cupertino/jquery.ui.theme.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/redmond/images/ui-bg_flat_55_fbec88_40x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/redmond/images/ui-bg_glass_85_dfeffc_1x400.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/redmond/images/ui-bg_glass_95_fef1ec_1x400.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/redmond/images/ui-icons_217bc0_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/redmond/images/ui-icons_2e83ff_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/redmond/images/ui-icons_469bdd_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/redmond/images/ui-icons_6da8d5_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/redmond/images/ui-icons_cd0a0a_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/redmond/images/ui-icons_d8e7f3_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/redmond/images/ui-icons_f9bd01_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/redmond/jquery-ui.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/redmond/jquery.ui.theme.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/smoothness/images/ui-bg_glass_75_dadada_1x400.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/smoothness/images/ui-icons_222222_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/smoothness/images/ui-icons_2e83ff_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/smoothness/images/ui-icons_454545_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/smoothness/images/ui-icons_888888_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/smoothness/images/ui-icons_cd0a0a_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/smoothness/jquery-ui.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/smoothness/jquery.ui.theme.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/south-street/images/ui-bg_glass_55_fcf0ba_1x400.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/south-street/images/ui-bg_gloss-wave_100_ece8da_500x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/south-street/images/ui-bg_highlight-hard_100_f5f3e5_1x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/south-street/images/ui-bg_highlight-hard_100_fafaf4_1x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/south-street/images/ui-bg_highlight-hard_15_459e00_1x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/south-street/images/ui-bg_highlight-hard_95_cccccc_1x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/south-street/images/ui-bg_highlight-soft_25_67b021_1x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/south-street/images/ui-bg_highlight-soft_95_ffedad_1x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/south-street/images/ui-bg_inset-soft_15_2b2922_1x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/south-street/images/ui-icons_808080_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/south-street/images/ui-icons_847e71_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/south-street/images/ui-icons_8dc262_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/south-street/images/ui-icons_cd0a0a_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/south-street/images/ui-icons_eeeeee_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/south-street/images/ui-icons_ffffff_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/south-street/jquery-ui.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/south-street/jquery.ui.theme.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-darkness/images/ui-bg_flat_30_cccccc_40x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-darkness/images/ui-bg_flat_50_5c5c5c_40x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-darkness/images/ui-bg_glass_20_555555_1x400.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-darkness/images/ui-bg_glass_40_0078a3_1x400.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-darkness/images/ui-bg_glass_40_ffc73d_1x400.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-darkness/images/ui-bg_gloss-wave_25_333333_500x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-darkness/images/ui-bg_highlight-soft_80_eeeeee_1x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-darkness/images/ui-bg_inset-soft_25_000000_1x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-darkness/images/ui-bg_inset-soft_30_f58400_1x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-darkness/images/ui-icons_222222_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-darkness/images/ui-icons_4b8e0b_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-darkness/images/ui-icons_a83300_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-darkness/images/ui-icons_cccccc_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-darkness/images/ui-icons_ffffff_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-darkness/jquery-ui.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-darkness/jquery.ui.theme.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-lightness/images/ui-icons_222222_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-lightness/images/ui-icons_228ef1_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-lightness/images/ui-icons_ef8c08_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-lightness/images/ui-icons_ffd27a_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-lightness/images/ui-icons_ffffff_256x240.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-lightness/jquery-ui.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-lightness/jquery.ui.theme.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/css/bootstrap.min.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/docs/TODO.txt
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/docs/changelog.txt
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/fonts/glyphicons-halflings-regular.eot
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/fonts/glyphicons-halflings-regular.svg
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/fonts/glyphicons-halflings-regular.ttf
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/fonts/glyphicons-halflings-regular.woff
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/images/background-site-closed.jpg
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/images/cover.jpg
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/images/slider1.jpg
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/images/slider2.jpg
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/js/bootstrap.min.js
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/TDMDownloads/tdmdownloads_index.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/TDMDownloads/tdmdownloads_singlefile.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/TDMDownloads/tdmdownloads_viewcat.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/extgallery/extgallery_index.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/obituaries/obituaries_users.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/publisher/blocks/publisher_items_new.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/publisher/blocks/publisher_items_spot.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/publisher/blocks/publisher_latest_files.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/publisher/blocks/publisher_search_block.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/publisher/publisher_display_list.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/publisher/publisher_display_wfsection.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/publisher/publisher_item.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/publisher/xoops_and_module_changes/class/pagenav.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/blocks/search.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/class/category.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/class/item.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/item.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/search.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/system/system_comments_flat.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/system/system_comments_thread.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/xoopstube/blocks/xoopstube_block_new.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/xoopstube/xoopstube_index.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/xoopstube/xoopstube_singlevideo.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/xoopstube/xoopstube_videoload.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/xoopstube/xoopstube_viewcat.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/style.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/theme.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/tpl/slider.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/Frameworks/jquery/jquery.js
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/Frameworks/jquery/plugins/jquery.form.js
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/Frameworks/jquery/plugins/jquery.jgrowl.js
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/Frameworks/jquery/plugins/jquery.lightbox.js
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/Frameworks/jquery/plugins/jquery.tablesorter.js
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/Frameworks/jquery/plugins/jquery.ui.js
Added Paths:
-----------
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/cupertino/images/animated-overlay.gif
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/cupertino/jquery-ui.min.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/redmond/images/animated-overlay.gif
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/redmond/jquery-ui.min.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/smoothness/images/animated-overlay.gif
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/smoothness/jquery-ui.min.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/south-street/images/animated-overlay.gif
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/south-street/jquery-ui.min.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-darkness/images/animated-overlay.gif
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-darkness/jquery-ui.min.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/ui-lightness/images/animated-overlay.gif
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/css/xoops.css
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/docs/xoopstube/
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/docs/xoopstube/include/
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/docs/xoopstube/include/video.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/lang/pt_br-utf8/
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/lang/pt_br-utf8/main.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/TDMDownloads/blocks/
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/TDMDownloads/blocks/index.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/TDMDownloads/blocks/tdmdownloads_block_new.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/xoopstube/videoload.html
Removed Paths:
-------------
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/images/_notes/
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/images/slider.jpg
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/images/slider3.jpg
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/images/slider4.jpg
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/images/slider5.jpg
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/xoopstube/blocks/xoopstube.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/xoopstube/blocks/xoopstube0.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/xoopstube/blocks/xoopstube_block_new_h.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/xoopstube/blocks/xoopstube_block_new_t.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/xoopstube/blocks/xoopstube_block_random.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/xoopstube/blocks/xoopstube_block_random_h.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/xoopstube/blocks/xoopstube_block_top.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/xoopstube/blocks/xoopstube_block_top_t.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/xoopstube/blocks/xoopstube_tag_block_cloud.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/xoopstube/blocks/xoopstube_tag_block_tag.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/xoopstube/xoopstube_brokenvideo.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/xoopstube/xoopstube_newlistindex.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/xoopstube/xoopstube_ratevideo.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/xoopstube/xoopstube_rss.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/xoopstube/xoopstube_topten.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/xoopstube/xoopstube_videoloadsimple.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/screens/
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/upgrade/
Modified: XoopsCore/branches/2.5.x/2.5.7/docs/changelog.250.txt
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/docs/changelog.250.txt 2014-04-06 07:05:59 UTC (rev 12424)
+++ XoopsCore/branches/2.5.x/2.5.7/docs/changelog.250.txt 2014-04-06 07:41:34 UTC (rev 12425)
@@ -10,7 +10,17 @@
- icons for active module sections in System module not shown correctly (Slider84/mamba)
- added two new language definitions (see lang_diff.txt)
- added Office 2007 MIME types (Voltan)
+- added xml MIME type (Goffy)
+- added new icons (mamba)
+Updated:
+ - jQuery to 1.11.0 (mamba)
+ - jQuery UI 1.10.4 (mamba)
+ - jQuery Lightbox to 1.2.3 (mamba)
+ - jQuery Form to 3.50.0 (mamba)
+ - jQuery Tablesorter to 2.5.11 (mamba)
+ - jGrowl to 1.2.14 (mamba)
+
===============================
2014/03/06: Version 2.5.7 Beta 1
===============================
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/class/uploader.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/class/uploader.php 2014-04-06 07:05:59 UTC (rev 12424)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/class/uploader.php 2014-04-06 07:41:34 UTC (rev 12425)
@@ -20,28 +20,6 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
-/**
- * !
- * Example
- *
- * include_once 'uploader.php';
- * $allowed_mimetypes = array('image/gif', 'image/jpeg', 'image/pjpeg', 'image/x-png');
- * $maxfilesize = 50000;
- * $maxfilewidth = 120;
- * $maxfileheight = 120;
- * $uploader = new XoopsMediaUploader('/home/xoops/uploads', $allowed_mimetypes, $maxfilesize, $maxfilewidth, $maxfileheight);
- * if ($uploader->fetchMedia($_POST['uploade_file_name'])) {
- * if (!$uploader->upload()) {
- * echo $uploader->getErrors();
- * } else {
- * echo '<h4>File uploaded successfully!</h4>'
- * echo 'Saved as: ' . $uploader->getSavedFileName() . '<br />';
- * echo 'Full path: ' . $uploader->getSavedDestination();
- * }
- * } else {
- * echo $uploader->getErrors();
- * }
- */
/**
* Upload Media files
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/include/version.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/include/version.php 2014-04-06 07:05:59 UTC (rev 12424)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/include/version.php 2014-04-06 07:41:34 UTC (rev 12425)
@@ -30,4 +30,4 @@
/**
* Define XOOPS version
*/
-define('XOOPS_VERSION', 'XOOPS 2.5.7 RC1');
+define('XOOPS_VERSION', 'XOOPS 2.5.7_RC1');
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery-ui.css
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery-ui.css 2014-04-06 07:05:59 UTC (rev 12424)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery-ui.css 2014-04-06 07:41:34 UTC (rev 12425)
@@ -1,8 +1,7 @@
-/*! jQuery UI - v1.10.0 - 2013-01-17
+/*! jQuery UI - v1.10.4 - 2014-01-17
* http://jqueryui.com
* Includes: jquery.ui.core.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css, jquery.ui.theme.css
-* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
-
+* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
/* Layout helpers
----------------------------------*/
.ui-helper-hidden {
@@ -32,6 +31,7 @@
.ui-helper-clearfix:after {
content: "";
display: table;
+ border-collapse: collapse;
}
.ui-helper-clearfix:after {
clear: both;
@@ -276,9 +276,6 @@
font-size: 1em;
margin: 1px 0;
}
-.ui-datepicker select.ui-datepicker-month-year {
- width: 100%;
-}
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
width: 49%;
@@ -396,6 +393,7 @@
}
.ui-dialog {
+ overflow: hidden;
position: absolute;
top: 0;
left: 0;
@@ -418,7 +416,7 @@
position: absolute;
right: .3em;
top: 50%;
- width: 21px;
+ width: 20px;
margin: -10px 0 0 0;
padding: 1px;
height: 20px;
@@ -470,6 +468,8 @@
margin: 0;
padding: 0;
width: 100%;
+ /* support: IE10, see #8844 */
+ list-style-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
}
.ui-menu .ui-menu-divider {
margin: 5px -2px 5px -2px;
@@ -711,13 +711,13 @@
overflow: hidden;
right: 0;
}
-/* more specificity required here to overide default borders */
+/* more specificity required here to override default borders */
.ui-spinner a.ui-spinner-button {
border-top: none;
border-bottom: none;
border-right: none;
}
-/* vertical centre icon */
+/* vertically center icon */
.ui-spinner .ui-icon {
position: absolute;
margin-top: -8px;
@@ -751,11 +751,11 @@
position: relative;
top: 0;
margin: 1px .2em 0 0;
- border-bottom: 0;
+ border-bottom-width: 0;
padding: 0;
white-space: nowrap;
}
-.ui-tabs .ui-tabs-nav li a {
+.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
float: left;
padding: .5em 1em;
text-decoration: none;
@@ -764,13 +764,12 @@
margin-bottom: -1px;
padding-bottom: 1px;
}
-.ui-tabs .ui-tabs-nav li.ui-tabs-active a,
-.ui-tabs .ui-tabs-nav li.ui-state-disabled a,
-.ui-tabs .ui-tabs-nav li.ui-tabs-loading a {
+.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,
+.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,
+.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
cursor: text;
}
-.ui-tabs .ui-tabs-nav li a, /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
-.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a {
+.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {
cursor: pointer;
}
.ui-tabs .ui-tabs-panel {
@@ -856,7 +855,11 @@
.ui-state-hover a,
.ui-state-hover a:hover,
.ui-state-hover a:link,
-.ui-state-hover a:visited {
+.ui-state-hover a:visited,
+.ui-state-focus a,
+.ui-state-focus a:hover,
+.ui-state-focus a:link,
+.ui-state-focus a:visited {
color: #212121/*{fcHover}*/;
text-decoration: none;
}
@@ -936,7 +939,6 @@
.ui-icon {
width: 16px;
height: 16px;
- background-position: 16px 16px;
}
.ui-icon,
.ui-widget-content .ui-icon {
@@ -964,6 +966,7 @@
}
/* positioning */
+.ui-icon-blank { background-position: 16px 16px; }
.ui-icon-carat-1-n { background-position: 0 0; }
.ui-icon-carat-1-ne { background-position: -16px 0; }
.ui-icon-carat-1-e { background-position: -32px 0; }
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.accordion.css
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.accordion.css 2014-04-06 07:05:59 UTC (rev 12424)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.accordion.css 2014-04-06 07:41:34 UTC (rev 12425)
@@ -1,12 +1,12 @@
/*!
- * jQuery UI Accordion 1.10.0
+ * jQuery UI Accordion 1.10.4
* http://jqueryui.com
*
- * Copyright 2013 jQuery Foundation and other contributors
+ * Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
- * http://docs.jquery.com/UI/Accordion#theming
+ * http://api.jqueryui.com/accordion/#theming
*/
.ui-accordion .ui-accordion-header {
display: block;
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.all.css
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.all.css 2014-04-06 07:05:59 UTC (rev 12424)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.all.css 2014-04-06 07:41:34 UTC (rev 12425)
@@ -1,12 +1,12 @@
/*!
- * jQuery UI CSS Framework 1.10.0
+ * jQuery UI CSS Framework 1.10.4
* http://jqueryui.com
*
- * Copyright 2013 jQuery Foundation and other contributors
+ * Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
- * http://docs.jquery.com/UI/Theming
+ * http://api.jqueryui.com/category/theming/
*/
@import "jquery.ui.base.css";
@import "jquery.ui.theme.css";
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.autocomplete.css
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.autocomplete.css 2014-04-06 07:05:59 UTC (rev 12424)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.autocomplete.css 2014-04-06 07:41:34 UTC (rev 12425)
@@ -1,12 +1,12 @@
/*!
- * jQuery UI Autocomplete 1.10.0
+ * jQuery UI Autocomplete 1.10.4
* http://jqueryui.com
*
- * Copyright 2013 jQuery Foundation and other contributors
+ * Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
- * http://docs.jquery.com/UI/Autocomplete#theming
+ * http://api.jqueryui.com/autocomplete/#theming
*/
.ui-autocomplete {
position: absolute;
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.base.css
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.base.css 2014-04-06 07:05:59 UTC (rev 12424)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.base.css 2014-04-06 07:41:34 UTC (rev 12425)
@@ -1,12 +1,12 @@
/*!
- * jQuery UI CSS Framework 1.10.0
+ * jQuery UI CSS Framework 1.10.4
* http://jqueryui.com
*
- * Copyright 2013 jQuery Foundation and other contributors
+ * Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
- * http://docs.jquery.com/UI/Theming
+ * http://api.jqueryui.com/category/theming/
*/
@import url("jquery.ui.core.css");
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.button.css
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.button.css 2014-04-06 07:05:59 UTC (rev 12424)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.button.css 2014-04-06 07:41:34 UTC (rev 12425)
@@ -1,12 +1,12 @@
/*!
- * jQuery UI Button 1.10.0
+ * jQuery UI Button 1.10.4
* http://jqueryui.com
*
- * Copyright 2013 jQuery Foundation and other contributors
+ * Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
- * http://docs.jquery.com/UI/Button#theming
+ * http://api.jqueryui.com/button/#theming
*/
.ui-button {
display: inline-block;
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.core.css
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.core.css 2014-04-06 07:05:59 UTC (rev 12424)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.core.css 2014-04-06 07:41:34 UTC (rev 12425)
@@ -1,12 +1,12 @@
/*!
- * jQuery UI CSS Framework 1.10.0
+ * jQuery UI CSS Framework 1.10.4
* http://jqueryui.com
*
- * Copyright 2013 jQuery Foundation and other contributors
+ * Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
- * http://docs.jquery.com/UI/Theming/API
+ * http://api.jqueryui.com/category/theming/
*/
/* Layout helpers
@@ -38,6 +38,7 @@
.ui-helper-clearfix:after {
content: "";
display: table;
+ border-collapse: collapse;
}
.ui-helper-clearfix:after {
clear: both;
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.datepicker.css
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.datepicker.css 2014-04-06 07:05:59 UTC (rev 12424)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.datepicker.css 2014-04-06 07:41:34 UTC (rev 12425)
@@ -1,12 +1,12 @@
/*!
- * jQuery UI Datepicker 1.10.0
+ * jQuery UI Datepicker 1.10.4
* http://jqueryui.com
*
- * Copyright 2013 jQuery Foundation and other contributors
+ * Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
- * http://docs.jquery.com/UI/Datepicker#theming
+ * http://api.jqueryui.com/datepicker/#theming
*/
.ui-datepicker {
width: 17em;
@@ -58,9 +58,6 @@
font-size: 1em;
margin: 1px 0;
}
-.ui-datepicker select.ui-datepicker-month-year {
- width: 100%;
-}
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
width: 49%;
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.dialog.css
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.dialog.css 2014-04-06 07:05:59 UTC (rev 12424)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.dialog.css 2014-04-06 07:41:34 UTC (rev 12425)
@@ -1,14 +1,15 @@
/*!
- * jQuery UI Dialog 1.10.0
+ * jQuery UI Dialog 1.10.4
* http://jqueryui.com
*
- * Copyright 2013 jQuery Foundation and other contributors
+ * Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
- * http://docs.jquery.com/UI/Dialog#theming
+ * http://api.jqueryui.com/dialog/#theming
*/
.ui-dialog {
+ overflow: hidden;
position: absolute;
top: 0;
left: 0;
@@ -31,7 +32,7 @@
position: absolute;
right: .3em;
top: 50%;
- width: 21px;
+ width: 20px;
margin: -10px 0 0 0;
padding: 1px;
height: 20px;
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.menu.css
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.menu.css 2014-04-06 07:05:59 UTC (rev 12424)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.menu.css 2014-04-06 07:41:34 UTC (rev 12425)
@@ -1,12 +1,12 @@
/*!
- * jQuery UI Menu 1.10.0
+ * jQuery UI Menu 1.10.4
* http://jqueryui.com
*
- * Copyright 2013 jQuery Foundation and other contributors
+ * Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
- * http://docs.jquery.com/UI/Menu#theming
+ * http://api.jqueryui.com/menu/#theming
*/
.ui-menu {
list-style: none;
@@ -23,6 +23,8 @@
margin: 0;
padding: 0;
width: 100%;
+ /* support: IE10, see #8844 */
+ list-style-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
}
.ui-menu .ui-menu-divider {
margin: 5px -2px 5px -2px;
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.progressbar.css
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.progressbar.css 2014-04-06 07:05:59 UTC (rev 12424)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.progressbar.css 2014-04-06 07:41:34 UTC (rev 12425)
@@ -1,12 +1,12 @@
/*!
- * jQuery UI Progressbar 1.10.0
+ * jQuery UI Progressbar 1.10.4
* http://jqueryui.com
*
- * Copyright 2013 jQuery Foundation and other contributors
+ * Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
- * http://docs.jquery.com/UI/Progressbar#theming
+ * http://api.jqueryui.com/progressbar/#theming
*/
.ui-progressbar {
height: 2em;
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.resizable.css
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.resizable.css 2014-04-06 07:05:59 UTC (rev 12424)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.resizable.css 2014-04-06 07:41:34 UTC (rev 12425)
@@ -1,12 +1,10 @@
/*!
- * jQuery UI Resizable 1.10.0
+ * jQuery UI Resizable 1.10.4
* http://jqueryui.com
*
- * Copyright 2013 jQuery Foundation and other contributors
+ * Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Resizable#theming
*/
.ui-resizable {
position: relative;
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.selectable.css
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.selectable.css 2014-04-06 07:05:59 UTC (rev 12424)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.selectable.css 2014-04-06 07:41:34 UTC (rev 12425)
@@ -1,12 +1,10 @@
/*!
- * jQuery UI Selectable 1.10.0
+ * jQuery UI Selectable 1.10.4
* http://jqueryui.com
*
- * Copyright 2013 jQuery Foundation and other contributors
+ * Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Selectable#theming
*/
.ui-selectable-helper {
position: absolute;
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.slider.css
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.slider.css 2014-04-06 07:05:59 UTC (rev 12424)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.slider.css 2014-04-06 07:41:34 UTC (rev 12425)
@@ -1,12 +1,12 @@
/*!
- * jQuery UI Slider 1.10.0
+ * jQuery UI Slider 1.10.4
* http://jqueryui.com
*
- * Copyright 2013 jQuery Foundation and other contributors
+ * Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
- * http://docs.jquery.com/UI/Slider#theming
+ * http://api.jqueryui.com/slider/#theming
*/
.ui-slider {
position: relative;
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.spinner.css
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.spinner.css 2014-04-06 07:05:59 UTC (rev 12424)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.spinner.css 2014-04-06 07:41:34 UTC (rev 12425)
@@ -1,12 +1,12 @@
/*!
- * jQuery UI Spinner 1.10.0
+ * jQuery UI Spinner 1.10.4
* http://jqueryui.com
*
- * Copyright 2013 jQuery Foundation and other contributors
+ * Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
- * http://docs.jquery.com/UI/Spinner#theming
+ * http://api.jqueryui.com/spinner/#theming
*/
.ui-spinner {
position: relative;
@@ -38,13 +38,13 @@
overflow: hidden;
right: 0;
}
-/* more specificity required here to overide default borders */
+/* more specificity required here to override default borders */
.ui-spinner a.ui-spinner-button {
border-top: none;
border-bottom: none;
border-right: none;
}
-/* vertical centre icon */
+/* vertically center icon */
.ui-spinner .ui-icon {
position: absolute;
margin-top: -8px;
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.tabs.css
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.tabs.css 2014-04-06 07:05:59 UTC (rev 12424)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.tabs.css 2014-04-06 07:41:34 UTC (rev 12425)
@@ -1,12 +1,12 @@
/*!
- * jQuery UI Tabs 1.10.0
+ * jQuery UI Tabs 1.10.4
* http://jqueryui.com
*
- * Copyright 2013 jQuery Foundation and other contributors
+ * Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
- * http://docs.jquery.com/UI/Tabs#theming
+ * http://api.jqueryui.com/tabs/#theming
*/
.ui-tabs {
position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
@@ -22,11 +22,11 @@
position: relative;
top: 0;
margin: 1px .2em 0 0;
- border-bottom: 0;
+ border-bottom-width: 0;
padding: 0;
white-space: nowrap;
}
-.ui-tabs .ui-tabs-nav li a {
+.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
float: left;
padding: .5em 1em;
text-decoration: none;
@@ -35,13 +35,12 @@
margin-bottom: -1px;
padding-bottom: 1px;
}
-.ui-tabs .ui-tabs-nav li.ui-tabs-active a,
-.ui-tabs .ui-tabs-nav li.ui-state-disabled a,
-.ui-tabs .ui-tabs-nav li.ui-tabs-loading a {
+.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,
+.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,
+.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
cursor: text;
}
-.ui-tabs .ui-tabs-nav li a, /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
-.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a {
+.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {
cursor: pointer;
}
.ui-tabs .ui-tabs-panel {
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.theme.css
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.theme.css 2014-04-06 07:05:59 UTC (rev 12424)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.theme.css 2014-04-06 07:41:34 UTC (rev 12425)
@@ -1,12 +1,12 @@
/*!
- * jQuery UI CSS Framework 1.10.0
+ * jQuery UI CSS Framework 1.10.4
* http://jqueryui.com
*
- * Copyright 2013 jQuery Foundation and other contributors
+ * Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
- * http://docs.jquery.com/UI/Theming/API
+ * http://api.jqueryui.com/category/theming/
*
* To view and modify this theme, visit http://jqueryui.com/themeroller/
*/
@@ -76,7 +76,11 @@
.ui-state-hover a,
.ui-state-hover a:hover,
.ui-state-hover a:link,
-.ui-state-hover a:visited {
+.ui-state-hover a:visited,
+.ui-state-focus a,
+.ui-state-focus a:hover,
+.ui-state-focus a:link,
+.ui-state-focus a:visited {
color: #212121/*{fcHover}*/;
text-decoration: none;
}
@@ -156,7 +160,6 @@
.ui-icon {
width: 16px;
height: 16px;
- background-position: 16px 16px;
}
.ui-icon,
.ui-widget-content .ui-icon {
@@ -184,6 +187,7 @@
}
/* positioning */
+.ui-icon-blank { background-position: 16px 16px; }
.ui-icon-carat-1-n { background-position: 0 0; }
.ui-icon-carat-1-ne { background-position: -16px 0; }
.ui-icon-carat-1-e { background-position: -32px 0; }
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.tooltip.css
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.tooltip.css 2014-04-06 07:05:59 UTC (rev 12424)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/jquery.ui.tooltip.css 2014-04-06 07:41:34 UTC (rev 12425)
@@ -1,10 +1,12 @@
/*!
- * jQuery UI Tooltip 1.10.0
+ * jQuery UI Tooltip 1.10.4
* http://jqueryui.com
*
- * Copyright 2013 jQuery Foundation and other contributors
+ * Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
+ *
+ * http://api.jqueryui.com/tooltip/#theming
*/
.ui-tooltip {
padding: 8px;
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/minified/jquery-ui.min.css
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/minified/jquery-ui.min.css 2014-04-06 07:05:59 UTC (rev 12424)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/css/ui/base/minified/jquery-ui.min.css 2014-04-06 07:41:34 UTC (rev 12425)
@@ -1,5 +1,4 @@
-/*! jQuery UI - v1.10.0 - 2013-01-17
+/*! jQuery UI - v1.10.4 - 2014-01-17
* http://jqueryui.com
* Includes: jquery.ui.core.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css, jquery.ui.theme.css
-* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
-.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin-top:2px;padding:.5em .5em .5em .7em;min-height:0}.ui-accordion .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-noicons{padding-left:.7em}.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-button{display:inline-block;position:relative;padding:0;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:normal}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:.5em}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month-year{width:100%}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-dialog{position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:21px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-menu{list-style:none;padding:2px;margin:0;display:block;outline:none}.ui-menu .ui-menu{margin-top:-3px;position:absolute}.ui-menu .ui-menu-item{margin:0;padding:0;width:100%}.ui-menu .ui-menu-divider{margin:5px -2px 5px -2px;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:2px .4em;line-height:1.5;min-height:0;font-weight:normal}.ui-menu .ui-menu-item a.ui-state-focus,.ui-menu .ui-menu-item a.ui-state-active{font-weight:normal;margin:-1px}.ui-menu .ui-state-disabled{font-weight:normal;margin:.4em 0 .2em;line-height:1.5}.ui-menu .ui-state-disabled a{cursor:default}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item a{position:relative;padding-left:2em}.ui-menu .ui-icon{position:absolute;top:.2em;left:.2em}.ui-menu .ui-menu-icon{position:static;float:right}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url("images/animated-overlay.gif");height:100%;filter:alpha(opacity=25);opacity:0.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;color:inherit;padding:0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:22px}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:none;border-bottom:none;border-right:none}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav li a{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active a,.ui-tabs .ui-tabs-nav li.ui-state-disabled a,.ui-tabs .ui-tabs-nav li.ui-tabs-loading a{cursor:text}.ui-tabs .ui-tabs-nav li a,.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}body .ui-tooltip{border-width:2px}.ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #aaa;background:#fff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x;color:#222}.ui-widget-content a{colo...
[truncated message content] |
|
From: <be...@us...> - 2014-04-06 07:06:04
|
Revision: 12424
http://sourceforge.net/p/xoops/svn/12424
Author: beckmi
Date: 2014-04-06 07:05:59 +0000 (Sun, 06 Apr 2014)
Log Message:
-----------
Adding DH-Info 2.6
Added Paths:
-----------
XoopsModules/dh-info/
XoopsModules/dh-info/branches/
XoopsModules/dh-info/releases/
XoopsModules/dh-info/trunk/
XoopsModules/dh-info/trunk/info/
XoopsModules/dh-info/trunk/info/_htaccess
XoopsModules/dh-info/trunk/info/admin/
XoopsModules/dh-info/trunk/info/admin/about.php
XoopsModules/dh-info/trunk/info/admin/admin_categorie.php
XoopsModules/dh-info/trunk/info/admin/admin_header.php
XoopsModules/dh-info/trunk/info/admin/admin_permission.php
XoopsModules/dh-info/trunk/info/admin/admin_seiten.php
XoopsModules/dh-info/trunk/info/admin/index.html
XoopsModules/dh-info/trunk/info/admin/index.php
XoopsModules/dh-info/trunk/info/admin/menu.php
XoopsModules/dh-info/trunk/info/blocks/
XoopsModules/dh-info/trunk/info/blocks/index.html
XoopsModules/dh-info/trunk/info/blocks/info_freiblock.php
XoopsModules/dh-info/trunk/info/blocks/info_navigation.php
XoopsModules/dh-info/trunk/info/class/
XoopsModules/dh-info/trunk/info/class/category.php
XoopsModules/dh-info/trunk/info/class/index.html
XoopsModules/dh-info/trunk/info/class/info.php
XoopsModules/dh-info/trunk/info/class/infotree.php
XoopsModules/dh-info/trunk/info/comment_delete.php
XoopsModules/dh-info/trunk/info/comment_edit.php
XoopsModules/dh-info/trunk/info/comment_new.php
XoopsModules/dh-info/trunk/info/comment_post.php
XoopsModules/dh-info/trunk/info/comment_reply.php
XoopsModules/dh-info/trunk/info/comment_view.php
XoopsModules/dh-info/trunk/info/docs/
XoopsModules/dh-info/trunk/info/docs/changelog.txt
XoopsModules/dh-info/trunk/info/docs/index.html
XoopsModules/dh-info/trunk/info/docs/licence.txt
XoopsModules/dh-info/trunk/info/docs/liesmich.txt
XoopsModules/dh-info/trunk/info/images/
XoopsModules/dh-info/trunk/info/images/add.png
XoopsModules/dh-info/trunk/info/images/content.gif
XoopsModules/dh-info/trunk/info/images/delete.png
XoopsModules/dh-info/trunk/info/images/edit.png
XoopsModules/dh-info/trunk/info/images/email.png
XoopsModules/dh-info/trunk/info/images/index.html
XoopsModules/dh-info/trunk/info/images/logo.gif
XoopsModules/dh-info/trunk/info/images/print.png
XoopsModules/dh-info/trunk/info/images/top.png
XoopsModules/dh-info/trunk/info/include/
XoopsModules/dh-info/trunk/info/include/constants.php
XoopsModules/dh-info/trunk/info/include/form.php
XoopsModules/dh-info/trunk/info/include/function.php
XoopsModules/dh-info/trunk/info/include/index.html
XoopsModules/dh-info/trunk/info/include/mimes.php
XoopsModules/dh-info/trunk/info/include/plugin.tag.php
XoopsModules/dh-info/trunk/info/include/search.inc.php
XoopsModules/dh-info/trunk/info/index.php
XoopsModules/dh-info/trunk/info/language/
XoopsModules/dh-info/trunk/info/language/english/
XoopsModules/dh-info/trunk/info/language/english/admin.php
XoopsModules/dh-info/trunk/info/language/english/blocks.php
XoopsModules/dh-info/trunk/info/language/english/help/
XoopsModules/dh-info/trunk/info/language/english/help/help.html
XoopsModules/dh-info/trunk/info/language/english/help/index.html
XoopsModules/dh-info/trunk/info/language/english/index.html
XoopsModules/dh-info/trunk/info/language/english/main.php
XoopsModules/dh-info/trunk/info/language/english/modinfo.php
XoopsModules/dh-info/trunk/info/language/german/
XoopsModules/dh-info/trunk/info/language/german/admin.php
XoopsModules/dh-info/trunk/info/language/german/blocks.php
XoopsModules/dh-info/trunk/info/language/german/help/
XoopsModules/dh-info/trunk/info/language/german/help/help.html
XoopsModules/dh-info/trunk/info/language/german/help/index.html
XoopsModules/dh-info/trunk/info/language/german/index.html
XoopsModules/dh-info/trunk/info/language/german/main.php
XoopsModules/dh-info/trunk/info/language/german/modinfo.php
XoopsModules/dh-info/trunk/info/language/index.html
XoopsModules/dh-info/trunk/info/print.php
XoopsModules/dh-info/trunk/info/sql/
XoopsModules/dh-info/trunk/info/sql/index.html
XoopsModules/dh-info/trunk/info/sql/update.php
XoopsModules/dh-info/trunk/info/submit.php
XoopsModules/dh-info/trunk/info/templates/
XoopsModules/dh-info/trunk/info/templates/blocks/
XoopsModules/dh-info/trunk/info/templates/blocks/index.html
XoopsModules/dh-info/trunk/info/templates/blocks/info_freiblock.html
XoopsModules/dh-info/trunk/info/templates/blocks/info_nav_block.html
XoopsModules/dh-info/trunk/info/templates/index.html
XoopsModules/dh-info/trunk/info/templates/info_index.html
XoopsModules/dh-info/trunk/info/xoops_version.php
Added: XoopsModules/dh-info/trunk/info/_htaccess
===================================================================
--- XoopsModules/dh-info/trunk/info/_htaccess (rev 0)
+++ XoopsModules/dh-info/trunk/info/_htaccess 2014-04-06 07:05:59 UTC (rev 12424)
@@ -0,0 +1,4 @@
+RewriteEngine on
+# RewriteBase /modules/info/
+RewriteRule ^([0-9]*)\:([0-9]*)-(.*)\.html index.php?content=$1:$2 [L]
+RewriteRule ^p([0-9]*)\:([0-9]*)-(.*)\.html index.php?pid=$2 [L]
\ No newline at end of file
Added: XoopsModules/dh-info/trunk/info/admin/about.php
===================================================================
--- XoopsModules/dh-info/trunk/info/admin/about.php (rev 0)
+++ XoopsModules/dh-info/trunk/info/admin/about.php 2014-04-06 07:05:59 UTC (rev 12424)
@@ -0,0 +1,41 @@
+<?php
+// ------------------------------------------------------------------------ //
+// XOOPS - PHP Content Management System //
+// Copyright (c) 2000 xoops.org //
+// <http://www.xoops.org/> //
+// ------------------------------------------------------------------------ //
+// 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. //
+// //
+// You may not change or alter any portion of this comment or credits //
+// of supporting developers from this source code or any supporting //
+// source code which is considered copyrighted (c) material of the //
+// original comment or credit authors. //
+// //
+// 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 //
+// ------------------------------------------------------------------------ //
+// @package about.php
+// @author Dirk Herrmann <al...@si...>
+// @version $Id$
+
+include '../../../include/cp_header.php';
+include( "admin_header.php" );
+xoops_cp_header();
+
+$module_info = $module_handler->get($xoopsModule->getVar("mid"));
+$aboutAdmin = new ModuleAdmin();
+echo $aboutAdmin->addNavigation('about.php');
+echo $aboutAdmin->renderabout('PBQZ7D6LT6UBC', true);
+
+xoops_cp_footer();
+
+?>
\ No newline at end of file
Property changes on: XoopsModules/dh-info/trunk/info/admin/about.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/dh-info/trunk/info/admin/admin_categorie.php
===================================================================
--- XoopsModules/dh-info/trunk/info/admin/admin_categorie.php (rev 0)
+++ XoopsModules/dh-info/trunk/info/admin/admin_categorie.php 2014-04-06 07:05:59 UTC (rev 12424)
@@ -0,0 +1,123 @@
+<?php
+// ------------------------------------------------------------------------ //
+// XOOPS - PHP Content Management System //
+// Copyright (c) 2000 xoops.org //
+// <http://www.xoops.org/> //
+// ------------------------------------------------------------------------ //
+// 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. //
+// //
+// You may not change or alter any portion of this comment or credits //
+// of supporting developers from this source code or any supporting //
+// source code which is considered copyrighted (c) material of the //
+// original comment or credit authors. //
+// //
+// 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 //
+// ------------------------------------------------------------------------ //
+// @package admin_categorie.php
+// @author Dirk Herrmann <al...@si...>
+// @version $Id$
+
+include_once "admin_header.php";
+
+$op = ( isset($_REQUEST['op']) ) ? $_REQUEST['op'] : 'list';
+if (!in_array( $op, array('list','blockcat','blockcat_insert') )) $op = 'list';
+//$id = ( isset($_REQUEST['id']) ) ? intval($_REQUEST['id']) : 0;
+$cat = ( isset($_REQUEST['cat']) ) ? intval($_REQUEST['cat']) : 0;
+
+switch ($op) {
+ case "list":
+ default:
+ xoops_cp_header();
+ echo $indexAdmin->addNavigation('admin_categorie.php');
+ $catlist = $cat_handler->getObjects(null,true,false);
+ $cate = array();
+ foreach ( $catlist as $cats => $catr )
+ {
+ $cate[$catr['cat_id']] = $catr['title'];
+ }
+ $form = new XoopsThemeForm(_INFO_LISTBLOCKCAT, $xoopsModule->getVar('dirname')."_form_list", XOOPS_URL.'/modules/'.$xoopsModule->getVar('dirname').'/admin/admin_categorie.php');
+ $form->setExtra('enctype="multipart/form-data"');
+ $form->addElement(new XoopsFormHidden('op', 'blockcat'));
+ $block_select = new XoopsFormSelect(_INFO_HOMEPAGE, "cat",0);
+ $block_select->addOptionArray($cate);
+ $form->addElement($block_select);
+ $submit = new XoopsFormElementTray("", "");
+ $submit->addElement(new XoopsFormButton('', 'post', _DELETE, 'submit'));
+ $submit->addElement(new XoopsFormButton('', 'post', _EDIT, 'submit'));
+ $form->addElement($submit);
+ $form->display();
+ makecat();
+ xoops_cp_footer();
+ break;
+ case "blockcat":
+ $cate = $cat_handler->get($cat);
+ if ($_REQUEST['post'] == _DELETE) {
+ xoops_cp_header();
+ echo $indexAdmin->addNavigation('admin_categorie.php');
+ if ($cat == 1) {
+ redirect_header('admin_categorie.php', 3, _INFO_ERROR_NODEFAULT);
+ } else {
+ $msg = _INFO_SETDELETE . "<br />".sprintf(_INFO_SETDELETE_FRAGE,$cate->getVar('title'));
+ $hiddens = array('op'=>'blockcat','cat'=>$cat,'post'=>'itsdelete');
+ xoops_confirm($hiddens, 'admin_categorie.php', $msg);
+ }
+ xoops_cp_footer();
+ } elseif ($_REQUEST['post'] == 'itsdelete') {
+ if ( $GLOBALS['xoopsSecurity']->check() ) {
+ if ($cat_handler->delete($cate)) {
+ redirect_header('admin_categorie.php', 2, _INFO_DBUPDATED);
+ } else {
+ redirect_header('admin_categorie.php', 3, _INFO_ERRORINSERT);
+ }
+ } else {
+ redirect_header('admin_categorie.php', 3, _AM_INFO_TOCKEN_MISSING);
+ }
+ } else {
+ xoops_cp_header();
+ echo $indexAdmin->addNavigation('admin_categorie.php');
+ makecat($cat);
+ xoops_cp_footer();
+ }
+ break;
+ case "blockcat_insert":
+ if ( $GLOBALS['xoopsSecurity']->check() ) {
+ $cate = $cat_handler->get($cat);
+ $title = $myts->htmlSpecialChars(trim($_POST['title']));
+ $cate->setVar('title',$title);
+ if ($cat_handler->insert($cate)) {
+ redirect_header('admin_categorie.php', 3, _INFO_DBUPDATED);
+ } else {
+ redirect_header('admin_categorie.php', 3, _INFO_ERRORINSERT);
+ }
+ } else {
+ redirect_header('admin_categorie.php', 3, _AM_INFO_TOCKEN_MISSING);
+ }
+ break;
+}
+
+function makecat($cat=0) {
+ global $cat_handler,$xoopsModule;
+
+ $cate = $cat_handler->get($cat);
+ $tueber = ($cat == 0) ? _INFO_ADDBLOCKCAT : _INFO_EDITBLOCKCAT;
+ $form = new XoopsThemeForm($tueber, $xoopsModule->getVar('dirname')."_form_edit", XOOPS_URL.'/modules/'.$xoopsModule->getVar('dirname').'/admin/admin_categorie.php', 'post', true);
+ $form->setExtra('enctype="multipart/form-data"');
+ $form->addElement(new XoopsFormHidden('cat', $cate->getVar('cat_id')));
+ $form->addElement(new XoopsFormHidden('op', 'blockcat_insert'));
+ $form->addElement(new XoopsFormText(_INFO_HOMEPAGE, "title", 80, 255,$cate->getVar('title')),true);
+ $submit = new XoopsFormButton('', 'post', $tueber, 'submit');
+ $form->addElement($submit);
+ $form->display();
+}
+
+?>
\ No newline at end of file
Property changes on: XoopsModules/dh-info/trunk/info/admin/admin_categorie.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/dh-info/trunk/info/admin/admin_header.php
===================================================================
--- XoopsModules/dh-info/trunk/info/admin/admin_header.php (rev 0)
+++ XoopsModules/dh-info/trunk/info/admin/admin_header.php 2014-04-06 07:05:59 UTC (rev 12424)
@@ -0,0 +1,66 @@
+<?php
+// ------------------------------------------------------------------------ //
+// XOOPS - PHP Content Management System //
+// Copyright (c) 2000 xoops.org //
+// <http://www.xoops.org/> //
+// ------------------------------------------------------------------------ //
+// 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. //
+// //
+// You may not change or alter any portion of this comment or credits //
+// of supporting developers from this source code or any supporting //
+// source code which is considered copyrighted (c) material of the //
+// original comment or credit authors. //
+// //
+// 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 //
+// ------------------------------------------------------------------------ //
+// @package admin_header.php
+// @author Dirk Herrmann <al...@si...>
+// @version $Id$
+
+require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php';
+require_once XOOPS_ROOT_PATH . '/include/cp_functions.php';
+require_once XOOPS_ROOT_PATH . '/include/cp_header.php';
+
+global $module_handler, $xoopsModule;
+$moduleInfo = $module_handler->get($xoopsModule->getVar('mid'));
+$module_name = $xoopsModule->getVar("dirname");
+include_once XOOPS_ROOT_PATH.'/modules/'.$module_name.'/include/function.php';
+
+
+if ( Info_checkXoopsVersion("2.6.0") ) {
+ // XOOPS ab 2.6.0
+ $xoops = Xoops::getInstance();
+ XoopsLoad::load('system', 'system');
+ $indexAdmin = new XoopsModuleAdmin();
+} else {
+ if ( !Info_checkModuleAdmin() ) {
+ redirect_header("../../../admin.php", 5, _AM_INFO_MODULEADMIN_MISSING, false);
+ }
+ $pathIcon16 = XOOPS_URL .'/'. $moduleInfo->getInfo('icons16');
+ $pathIcon32 = XOOPS_URL .'/'. $moduleInfo->getInfo('icons32');
+ $indexAdmin = new ModuleAdmin();
+}
+
+include_once XOOPS_ROOT_PATH.'/class/xoopsformloader.php';
+include_once XOOPS_ROOT_PATH.'/modules/'.$module_name.'/class/infotree.php';
+include_once XOOPS_ROOT_PATH.'/modules/'.$module_name.'/class/info.php';
+include_once XOOPS_ROOT_PATH.'/modules/'.$module_name.'/class/category.php';
+
+
+$info_handler = new InfoInfoHandler($xoopsDB,$module_name);
+$infowait_handler = new InfoInfoHandler($xoopsDB,$module_name . "_bak");
+$cat_handler = new InfoCategoryHandler($xoopsDB,$module_name);
+$info_tree = new InfoTree($xoopsDB->prefix($module_name), 'info_id', 'parent_id');
+
+$myts = MyTextSanitizer::getInstance();
+?>
\ No newline at end of file
Property changes on: XoopsModules/dh-info/trunk/info/admin/admin_header.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/dh-info/trunk/info/admin/admin_permission.php
===================================================================
--- XoopsModules/dh-info/trunk/info/admin/admin_permission.php (rev 0)
+++ XoopsModules/dh-info/trunk/info/admin/admin_permission.php 2014-04-06 07:05:59 UTC (rev 12424)
@@ -0,0 +1,58 @@
+<?php
+// ------------------------------------------------------------------------ //
+// XOOPS - PHP Content Management System //
+// Copyright (c) 2000 xoops.org //
+// <http://www.xoops.org/> //
+// ------------------------------------------------------------------------ //
+// 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. //
+// //
+// You may not change or alter any portion of this comment or credits //
+// of supporting developers from this source code or any supporting //
+// source code which is considered copyrighted (c) material of the //
+// original comment or credit authors. //
+// //
+// 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 //
+// ------------------------------------------------------------------------ //
+// @package admin_permission.php
+// @author Dirk Herrmann <al...@si...>
+// @version $Id$
+
+include "admin_header.php";
+
+include_once XOOPS_ROOT_PATH.'/class/xoopsform/grouppermform.php';
+xoops_cp_header();
+echo $indexAdmin->addNavigation('admin_permission.php');
+
+$form = new XoopsGroupPermForm(_AM_INFO_PERMISSIONS, $xoopsModule->mid(), _CON_INFO_PERMNAME, '', '/admin/admin_permission.php', false);
+$form->addItem(_CON_INFO_CANCREATE, _AM_INFO_CANCREATE, 0);
+$form->addItem(_CON_INFO_CANUPDATE, _AM_INFO_CANUPDATE, 0);
+
+$form->addItem(_CON_INFO_ALLCANUPDATE_CAT, _AM_INFO_CANUPDATE_CAT, _CON_INFO_CANCREATE);
+$form->addItem(_CON_INFO_ALLCANUPDATE_POSITION, _AM_INFO_CANUPDATE_POSITION, _CON_INFO_CANCREATE);
+$form->addItem(_CON_INFO_ALLCANUPDATE_GROUPS, _AM_INFO_CANUPDATE_GROUPS, _CON_INFO_CANCREATE);
+$form->addItem(_CON_INFO_ALLCANUPDATE_SITEART, _AM_INFO_CANUPDATE_SITEART, _CON_INFO_CANCREATE);
+$form->addItem(_CON_INFO_ALLCANUPDATE_SITEFULL, _AM_INFO_CANUPDATE_SITEFULL, _CON_INFO_CANCREATE);
+$form->addItem(_CON_INFO_ALLCANUPDATE_HTML, _AM_INFO_CANALLOWHTML, _CON_INFO_CANCREATE);
+
+$form->addItem(_CON_INFO_CANUPDATE_CAT, _AM_INFO_CANUPDATE_CAT, _CON_INFO_CANUPDATE);
+$form->addItem(_CON_INFO_CANUPDATE_POSITION, _AM_INFO_CANUPDATE_POSITION, _CON_INFO_CANUPDATE);
+$form->addItem(_CON_INFO_CANUPDATE_GROUPS, _AM_INFO_CANUPDATE_GROUPS, _CON_INFO_CANUPDATE);
+$form->addItem(_CON_INFO_CANUPDATE_SITEART, _AM_INFO_CANUPDATE_SITEART, _CON_INFO_CANUPDATE);
+$form->addItem(_CON_INFO_CANUPDATE_SITEFULL, _AM_INFO_CANUPDATE_SITEFULL, _CON_INFO_CANUPDATE);
+$form->addItem(_CON_INFO_CANUPDATE_DELETE, _AM_INFO_CANDELETE, _CON_INFO_CANUPDATE);
+
+
+echo $form->render();
+unset ($form);
+xoops_cp_footer();
+?>
\ No newline at end of file
Property changes on: XoopsModules/dh-info/trunk/info/admin/admin_permission.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/dh-info/trunk/info/admin/admin_seiten.php
===================================================================
--- XoopsModules/dh-info/trunk/info/admin/admin_seiten.php (rev 0)
+++ XoopsModules/dh-info/trunk/info/admin/admin_seiten.php 2014-04-06 07:05:59 UTC (rev 12424)
@@ -0,0 +1,387 @@
+<?php
+// ------------------------------------------------------------------------ //
+// XOOPS - PHP Content Management System //
+// Copyright (c) 2000 xoops.org //
+// <http://www.xoops.org/> //
+// ------------------------------------------------------------------------ //
+// 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. //
+// //
+// You may not change or alter any portion of this comment or credits //
+// of supporting developers from this source code or any supporting //
+// source code which is considered copyrighted (c) material of the //
+// original comment or credit authors. //
+// //
+// 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 //
+// ------------------------------------------------------------------------ //
+// @package admin_seiten.php
+// @author Dirk Herrmann <al...@si...>
+// @version $Id$
+
+include_once "admin_header.php";
+include_once "../include/function.php";
+
+global $xoopsUser, $indexAdmin;
+$op = info_cleanVars( $_REQUEST, 'op', 'show', 'string');
+$id = info_cleanVars( $_REQUEST, 'id', 0, 'int');
+$cat = info_cleanVars( $_REQUEST, 'cat', 1, 'int');
+$groupid = info_cleanVars( $_REQUEST, 'groupid', 0, 'int');
+$mod_isAdmin = ($xoopsUser && $xoopsUser->isAdmin()) ? true : false;
+
+$infothisgroups = (is_object($xoopsUser)) ? $xoopsUser->getGroups() : array(XOOPS_GROUP_ANONYMOUS);
+$infoperm_handler = xoops_gethandler('groupperm');
+$show_info_perm = $infoperm_handler->getItemIds('InfoPerm', $infothisgroups, $xoopsModule->getVar('mid'));
+
+xoops_load('XoopsCache');
+
+switch ($op) {
+ case "appdel":
+ if ($id > 0) {
+ $content = $infowait_handler->get($id);
+ xoops_cp_header();
+ echo $indexAdmin->addNavigation('admin_seiten.php');
+ $msg = sprintf(_INFO_INFODELETE_AENDERUNG,$content->getVar('title'));
+ $hiddens = array('op'=>'appdelok','cat'=>$cat,'id'=>$id);
+ xoops_confirm($hiddens, 'admin_seiten.php', $msg);
+ xoops_cp_footer();
+ }
+ break;
+ case "appdelok":
+ if ($id > 0) {
+ $content = $infowait_handler->get($id);
+ if ($infowait_handler->delete($content)) {
+ $key = $key = $xoopsModule->getVar('dirname') . "_" . "*";
+ clearInfoCache($key);
+ redirect_header("admin_seiten.php?op=approved", 1, _INFO_DBUPDATED);
+ } else {
+ redirect_header("admin_seiten.php?op=approved", 3, _INFO_ERRORINSERT);
+ }
+ exit();
+ }
+ break;
+ case "approved":
+ xoops_cp_header();
+ echo $indexAdmin->addNavigation('admin_seiten.php');
+ $infowait = $infowait_handler->getAll(null,array('info_id','title','edited_time','edited_user'),false,false);
+ $form = new XoopsThemeForm('', $xoopsModule->getVar('dirname')."_form_wait", XOOPS_URL.'/modules/'.$xoopsModule->getVar('dirname').'/admin/admin_seiten.php?op=approved');
+ $form->setExtra('enctype="multipart/form-data"');
+ xoops_load('XoopsUserUtility');
+ foreach ($infowait as $t => $tc) {
+ $dellink = "<a href='admin_seiten.php?op=appdel&cat=" . $cat . "&id=".$tc['info_id']."'><img src='".$pathIcon16."/delete.png' title='"._DELETE."' alt='"._DELETE."'></a>";
+ $editlink = "<a href='admin_seiten.php?op=appedit&cat=" . $cat . "&id=".$tc['info_id']."'><img src='".$pathIcon16."/edit.png' title='"._EDIT."' alt='"._EDIT."'></a>";
+ $edittime = formatTimestamp($tc['edited_time'], 'l');
+ $form->addElement(new XoopsFormLabel($editlink . " | ".$dellink . " " . $tc['title'],_INFO_LAST_EDITED . ": ". sprintf(_INFO_LAST_EDITEDTEXT,XoopsUserUtility::getUnameFromId($tc['edited_user'], 0, false),$edittime)));
+ }
+ $form->display();
+ xoops_cp_footer();
+ break;
+ case "appedit":
+ $content = $infowait_handler->get($id);
+ if ( !empty($_POST['post']) ) {
+ $content = setPost($content,$_POST);
+ $oldstoryid = $content->getVar("info_id");
+ $content->setVar( 'info_id',$content->getVar("old_id") );
+ if ($content->getVar("info_id") == 0) $content->setNew();
+ $content->setVar('edited_time',time());
+ $content->setVar('edited_user',$xoopsUser->uid());
+ if ($info_handler->insert($content)) {
+ $content->setVar( 'info_id',$oldstoryid );
+ if ($infowait_handler->delete($content)) {
+ $key = $key = $xoopsModule->getVar('dirname') . "_" . "*";
+ clearInfoCache($key);
+ redirect_header("admin_seiten.php?op=approved", 1, _INFO_DBUPDATED);
+ } else {
+ redirect_header("admin_seiten.php?op=approved", 3, _INFO_ERRORINSERT);
+ }
+ } else {
+ redirect_header("admin_seiten.php?op=approved", 3, _INFO_ERRORINSERT);
+ }
+ exit();
+ } else {
+ xoops_cp_header();
+ echo $indexAdmin->addNavigation('admin_seiten.php');
+ $op = "appedit";
+ include_once "../include/form.php";
+ xoops_cp_footer();
+ }
+ break;
+ case "delete":
+ if ($id > 0) {
+ $content = $info_handler->get($id);
+ xoops_cp_header();
+ echo $indexAdmin->addNavigation('admin_seiten.php');
+ $msg = _INFO_SETDELETE . "<br /><br />".sprintf(_INFO_INFODELETE_FRAGE,$content->getVar('title'));
+ $hiddens = array('op'=>'info_delete','cat'=>$cat,'id'=>$id);
+ xoops_confirm($hiddens, 'admin_seiten.php', $msg);
+ xoops_cp_footer();
+ }
+ break;
+ case "info_delete":
+ if ($id > 0) {
+ $content = $info_handler->get($id);
+ if ($info_handler->delete($content)) {
+ $key = $key = $xoopsModule->getVar('dirname') . "_" . "*";
+ clearInfoCache($key);
+ redirect_header("admin_seiten.php?cat=" . $cat, 1, _INFO_DBUPDATED);
+ } else {
+ redirect_header("admin_seiten.php?cat=" . $cat, 3, _INFO_ERRORINSERT);
+ }
+ exit();
+ }
+ break;
+ case "delhp":
+ if ($id > 0) {
+ $content = $info_handler->get($id);
+ xoops_cp_header();
+ echo $indexAdmin->addNavigation('admin_seiten.php');
+ $msg = sprintf(_AM_INFO_SITEDEL_HP,$content->getVar('title'));
+ $hiddens = array('op'=>'info_delhp','cat'=>$cat,'id'=>$id);
+ xoops_confirm($hiddens, 'admin_seiten.php', $msg);
+ xoops_cp_footer();
+ }
+ break;
+ case "info_delhp":
+ if ($id > 0) {
+ if ($info_handler->del_startpage($id)) {
+ $key = $key = $xoopsModule->getVar('dirname') . "_" . "*";
+ clearInfoCache($key);
+ redirect_header("admin_seiten.php?cat=" . $cat, 1, _INFO_DBUPDATED);
+ } else {
+ redirect_header("admin_seiten.php?cat=" . $cat, 3, _INFO_ERRORINSERT);
+ }
+ exit();
+ }
+ break;
+ case "edit":
+ $content = $info_handler->get($id);
+ if (isset($_POST['post'])) {
+ $content->setVar('edited_time',time());
+ if (is_object($xoopsUser)) {
+ $content->setVar('edited_user',$xoopsUser->uid());
+ } else {
+ $content->setVar('edited_user','0');
+ }
+ if (!empty($_POST)) {
+ $content = setPost($content,$_POST);
+ }
+
+ if ($info_handler->insert($content)) {
+ $key = $key = $xoopsModule->getVar('dirname') . "_" . "*";
+ clearInfoCache($key);
+ redirect_header("admin_seiten.php?cat=" . $cat, 1, _INFO_DBUPDATED);
+ } else {
+ redirect_header("admin_seiten.php?cat=" . $cat, 3, _INFO_ERRORINSERT);
+ }
+ exit();
+ } else {
+ xoops_cp_header();
+ echo $indexAdmin->addNavigation('admin_seiten.php');
+ $indexAdmin->addItemButton(_MI_INFO_VIEWSITE, 'admin_seiten.php?cat='.$cat, $icon = 'index');
+ echo $indexAdmin->renderButton();
+ $ret = 0;
+ include_once "../include/form.php";
+ xoops_cp_footer();
+ }
+ break;
+ case "update":
+ if (isset($_POST['id'])) {
+ $id = $_POST['id'];
+ $parent_id = isset($_POST['parent_id']) ? $_POST['parent_id'] : array();
+ $blockid = $_POST['blockid'];
+ $visible = $_POST['visible'];
+ $title = $_POST['title'];
+ $hp = (isset($_POST['hp'][0])) ? intval($_POST['hp']) : 0;
+ $fp = (isset($_POST['fp'][0])) ? intval($_POST['fp'][0]) : 0;
+ $nocomments = $_POST['nocomments'];
+ $submenu = $_POST['submenu'];
+ foreach ($id as $storyid) {
+ if (intval($storyid) > 0) {
+ $fpp = ($storyid==$fp) ? 1:0;
+ if ($fpp==1) {
+ $sql="UPDATE ".$xoopsDB->prefix($xoopsModule->getVar('dirname'))." SET frontpage=0 WHERE frontpage>0";
+ $result=$xoopsDB->query($sql);
+ $key = $xoopsModule->getVar("dirname") . "_" . "startpage";
+ $data = array($storyid,$cat,$parent_id[$storyid],$title[$storyid]);
+ XoopsCache::write($key, $data);
+ }
+ if (!isset($parent_id[$storyid])) $parent_id[$storyid] = 0;
+ $sql="UPDATE ".$xoopsDB->prefix($xoopsModule->getVar('dirname'))." SET ";
+ $sql.="parent_id=" . intval($parent_id[$storyid]) . ",";
+ $sql.="blockid=".intval($blockid[$storyid]).",";
+ $sql.="visible=".intval($visible[$storyid]).",";
+ $sql.="cat=".$cat.",";
+ $sql.="nocomments=".intval($nocomments[$storyid]).",";
+ $sql.="submenu=".intval($submenu[$storyid]).",";
+ $sql.="frontpage=".$fpp."";
+ $sql.=" WHERE info_id='".intval($storyid)."'";
+ if ( !$result = $xoopsDB->queryF($sql) ) {
+ echo _INFO_ERRORINSERT."<br />[ ".$sql." ]<hr>";
+ }
+ }
+ }
+ $key = $key = $xoopsModule->getVar('dirname') . "_" . "*";
+ clearInfoCache($key);
+ redirect_header("admin_seiten.php?op=show&cat=$cat",1,_INFO_DBUPDATED);
+ exit();
+ } else {
+ redirect_header("admin_seiten.php?cat=op=show&$cat",2,_TAKINGBACK);
+ exit();
+ }
+ break;
+ default:
+ case "show":
+ xoops_cp_header();
+ $content = $info_handler->get($id);
+ echo $indexAdmin->addNavigation('admin_seiten.php?op=show');
+ $indexAdmin->addItemButton(_INFO_ADDCONTENT, 'admin_seiten.php?op=edit&cat='.$cat, $icon = 'add');
+ echo $indexAdmin->renderButton();
+ $sseite = _AM_HP_SEITE . " ";
+ $startpage = $info_handler->read_startpage();
+ if (is_array($startpage)) {
+ $sseite .= "<a href=\"admin_seiten.php?op=delhp&cat=" . $cat . "&id=" . $startpage['0'] . "\">" . $startpage['1'] . "</a>";
+ } else {
+ $sseite .= _AM_HP_SEITE_NODEF;
+ }
+ echo $sseite;
+ $form = new XoopsThemeForm('', $xoopsModule->getVar('dirname')."_form_groupcat", XOOPS_URL.'/modules/'.$xoopsModule->getVar('dirname').'/admin/admin_seiten.php?op=show');
+ $form->setExtra('enctype="multipart/form-data"');
+ $option_tray = new XoopsFormElementTray('','');
+ $sql="SELECT cat_id,title FROM ".$xoopsDB->prefix($xoopsModule->getVar('dirname')."_cat")." ORDER BY title ASC";
+ $result=$xoopsDB->query($sql);
+ $blist=array();
+ if ($result) {
+ while($myrow = $xoopsDB->fetcharray($result)) {
+ $blist[$myrow['cat_id']] = $myrow['title'];
+ }
+ }
+ $block_select = new XoopsFormSelect(_INFO_HOMEPAGE, "cat",$cat);
+ $block_select->addOptionArray($blist);
+ $block_select->setextra('onchange="document.forms.'.$xoopsModule->getVar('dirname')."_form_groupcat".'.submit()"');
+ $option_tray->addElement($block_select);
+ $group_select = new XoopsFormSelectGroup(_INFO_AM_GROUP, 'groupid', true, $groupid, 1, false);
+ $group_select->addOptionArray(array(0=>_ALL));
+ $group_select->setextra('onchange="document.forms.'.$xoopsModule->getVar('dirname')."_form_groupcat".'.submit()"');
+ $option_tray->addElement($group_select);
+ $submit = new XoopsFormButton('', 'post', _SUBMIT, 'submit');
+ $option_tray->addElement($submit);
+ $form->addElement($option_tray);
+ $form->display();
+ echo "<form action='admin_seiten.php' method='post'>";
+ echo "<input type='hidden' name='op' value='update'>";
+
+ echo "<table border='1' cellpadding='0' cellspacing='1' width='100%' class='outer'>";
+ echo "<tr class='odd'>";
+ echo "<td width=\"1%\" nowrap><b>"._INFO_FRONTPAGE."</b></td>";
+ echo "<td width=\"1%\" nowrap><b>"._INFO_POSITION."</b></td>";
+ echo "<td width=\"93%\" nowrap><b>"._INFO_LINKNAME."</b></td>";
+ echo "<td width=\"1%\" nowrap><b>"._INFO_LINKID."</b></td>";
+ echo "<td width=\"1%\" nowrap><b>"._INFO_VISIBLE."</b></td>";
+ echo "<td width=\"1%\" nowrap><b>"._INFO_SUBMENU."</b></td>";
+ echo "<td width=\"1%\" nowrap><b>"._COMMENTS."</b></td>";
+ echo "<td width=\"1%\" nowrap><b>"._INFO_ACTION."</b></td></tr>";
+ echo "</tr>";
+ $info = show_list(0, $groupid, $cat, $id);
+ foreach ( $info as $z => $tcontent)
+ {
+ echo "<tr class='odd'>";
+ echo "<td>";
+ if (in_array($tcontent['link'],array(0,1,4,5))) {
+ $check = ($tcontent['frontpage'] == 1) ? "checked='checked'" : "";
+ echo "<input type='radio' name='fp[]' value='".$tcontent['info_id']."' ".$check." />";
+ } else {
+ echo " ";
+ }
+
+ echo "</td><td>";
+ $info_tree->makeMySelBox('title', "blockid", $tcontent['parent_id'], 1, "parent_id[".$tcontent['info_id']."]", '', ' AND cat='.$cat." AND info_id<>".$tcontent['info_id']);
+ echo "</td><td>";
+ $title = $myts->displayTarea($tcontent['title'], 0, 0, 0);
+ echo "<input type='hidden' name='title[".$tcontent['info_id']."]' value='" . $title . "' />";
+ if ($tcontent['st'] == 2 || $tcontent['st'] == 0) echo '<font color="red">'._MI_INFO_GESPERRT.'</font> ';
+ if ($tcontent['visible'] == 0 && $tcontent['submenu'] == 0) echo '<font color="red">'._AM_INFO_INAKTIVE.'</font> ';
+ if ($tcontent['link'] == 3) { //kategorie
+ echo "<b>".$title."</b>";
+ } else {
+ echo "<a href='".XOOPS_URL."/modules/".$xoopsModule->dirname()."/index.php?content=".$tcontent['info_id']."'>".$title."</a>";
+ }
+ echo "</td><td>";
+ echo "<input type='hidden' name='id[".$tcontent['info_id']."]' value='".$tcontent['info_id']."' /><input type='text' name='blockid[".$tcontent['info_id']."]' size='5' maxlength='5' value='".$tcontent['blockid']."'/>";
+ echo "</td>";
+ $check1 = "selected='selected'";
+ $check2 = "";
+ if ($tcontent['visible'] == '1') {
+ $check1 = "";
+ $check2 = "selected='selected'";
+ }
+ if ($tcontent['nocomments'] == '1') {
+ $check4 = "selected='selected'";
+ $check5 = "";
+ } else {
+ $check4 = "";
+ $check5 = "selected='selected'";
+ }
+ if ($tcontent['submenu'] == '0') {
+ $check6 = "selected='selected'";
+ $check7 = "";
+ } else {
+ $check6 = "";
+ $check7 = "selected='selected'";
+ }
+ echo "<td width=\"1%\" nowrap><select name='visible[".$tcontent['info_id']."]'><option value='0' ".$check1." />"._NO."</option><option value='1' ".$check2." />"._YES."</option></select></td>";
+ echo "<td width=\"1%\" nowrap> ";
+ if ($tcontent['link'] != 3) {
+ echo "<select name='submenu[".$tcontent['info_id']."]'><option value='0' ".$check5." />"._NO."</option><option value='1' ".$check7." />"._YES."</option></select>";
+ } else {
+ echo "<input type=\"hidden\" name=\"submenu[".$tcontent['info_id']."]\" value=\"".$tcontent['submenu']."\">";
+ }
+ echo "</td>";
+ echo "<td width=\"1%\" nowrap> ";
+ if ($tcontent['link'] == 0 || $tcontent['link'] == 4 || $tcontent['link'] == 5) {
+ echo "<select name='nocomments[".$tcontent['info_id']."]'><option value='1' ".$check4." />"._NO."</option><option value='0' ".$check5." />"._YES."</option></select>";
+ } else {
+ echo "<input type='hidden' name='nocomments[".$tcontent['info_id']."]' value='".$tcontent['nocomments']."'>";
+ }
+ echo "</td>";
+ echo "<td width=\"1%\" nowrap><a href='admin_seiten.php?op=edit&cat=$cat&id=".$tcontent['info_id']."'><img src='".$pathIcon16."/edit.png' title='"._EDIT."' alt='"._EDIT."'></a>";
+ echo " | <a href='admin_seiten.php?op=delete&cat=$cat&id=".$tcontent['info_id']."'><img src='".$pathIcon16."/delete.png' title='"._DELETE."' alt='"._DELETE."'></a></td></tr>";
+ unset($tcontent);
+ echo "</tr>";
+ }
+ echo "</table>";
+ echo " <input type='hidden' name='op' value='update' />
+ <input type='hidden' name='cat' value='".$cat."' />
+ <input type='submit' name='start' value="._SUBMIT." />
+ ";
+
+ echo "</form>";
+ xoops_cp_footer();
+ break;
+}
+
+function show_list($cat=0, $groupid=0, $cat=0, $aktuell=0)
+{
+ global $info_tree;
+ $infolist = $info_tree->getAllChild(0, 'blockid', array(), " AND cat=".$cat." AND info_id<>".$aktuell);
+
+ $info=array();
+ foreach ( $infolist as $s => $t)
+ {
+ if ($t['cat'] != $cat) continue;
+ $groups = explode(",",$t['visible_group']);
+ if ( $groupid == 0 )
+ $info[$s] = $t;
+ else if (in_array($groupid,$groups)) $info[$s] = $t;
+ }
+ return $info;
+}
+
+?>
Property changes on: XoopsModules/dh-info/trunk/info/admin/admin_seiten.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/dh-info/trunk/info/admin/index.html
===================================================================
--- XoopsModules/dh-info/trunk/info/admin/index.html (rev 0)
+++ XoopsModules/dh-info/trunk/info/admin/index.html 2014-04-06 07:05:59 UTC (rev 12424)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsModules/dh-info/trunk/info/admin/index.php
===================================================================
--- XoopsModules/dh-info/trunk/info/admin/index.php (rev 0)
+++ XoopsModules/dh-info/trunk/info/admin/index.php 2014-04-06 07:05:59 UTC (rev 12424)
@@ -0,0 +1,48 @@
+<?php
+// ------------------------------------------------------------------------ //
+// XOOPS - PHP Content Management System //
+// Copyright (c) 2000 xoops.org //
+// <http://www.xoops.org/> //
+// ------------------------------------------------------------------------ //
+// 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. //
+// //
+// You may not change or alter any portion of this comment or credits //
+// of supporting developers from this source code or any supporting //
+// source code which is considered copyrighted (c) material of the //
+// original comment or credit authors. //
+// //
+// 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 //
+// ------------------------------------------------------------------------ //
+// @package index.php
+// @author Dirk Herrmann <al...@si...>
+// @version $Id$
+
+include_once "admin_header.php";
+xoops_cp_header();
+
+$anz_cat = $cat_handler->getCount();
+$anz_site = $info_handler->getCount();
+$wait_site = $infowait_handler->getCount();
+
+$indexAdmin->addInfoBox(_INFO_ADMINTITLE) ;
+
+$indexAdmin->addInfoBoxLine(_INFO_ADMINTITLE, "<infotext>" . sprintf(_AM_INFO_INFOBOX_CAT,$anz_cat) ."</infotext>") ;
+$indexAdmin->addInfoBoxLine(_INFO_ADMINTITLE, "<infotext>" . sprintf(_AM_INFO_INFOBOX_SITE,$anz_site) ."</infotext>") ;
+$indexAdmin->addInfoBoxLine(_INFO_ADMINTITLE, "<infotext></infotext>") ;
+$indexAdmin->addInfoBoxLine(_INFO_ADMINTITLE, "<infotext>" . _AM_INFO_INFOBOX_WAITSITE ."</infotext>", $wait_site, 'Red') ;
+
+echo $indexAdmin->addNavigation('index.php');
+echo $indexAdmin->renderIndex();
+
+xoops_cp_footer();
+?>
Property changes on: XoopsModules/dh-info/trunk/info/admin/index.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/dh-info/trunk/info/admin/menu.php
===================================================================
--- XoopsModules/dh-info/trunk/info/admin/menu.php (rev 0)
+++ XoopsModules/dh-info/trunk/info/admin/menu.php 2014-04-06 07:05:59 UTC (rev 12424)
@@ -0,0 +1,69 @@
+<?php
+// ------------------------------------------------------------------------ //
+// XOOPS - PHP Content Management System //
+// Copyright (c) 2000 xoops.org //
+// <http://www.xoops.org/> //
+// ------------------------------------------------------------------------ //
+// 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. //
+// //
+// You may not change or alter any portion of this comment or credits //
+// of supporting developers from this source code or any supporting //
+// source code which is considered copyrighted (c) material of the //
+// original comment or credit authors. //
+// //
+// 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 //
+// ------------------------------------------------------------------------ //
+// @package menu.php
+// @author Dirk Herrmann <al...@si...>
+// @version $Id$
+
+$module_name = basename( dirname(dirname( __FILE__ ))) ;
+$module_handler = xoops_gethandler('module');
+$xoopsModule = XoopsModule::getByDirname($module_name);
+$moduleInfo = $module_handler->get($xoopsModule->getVar('mid'));
+$pathIcon32 = $moduleInfo->getInfo('icons32');
+
+include_once dirname(dirname(__FILE__))."/include/constants.php";
+include_once dirname(dirname(__FILE__))."/class/info.php";
+$infowait_handler = new InfoInfoHandler($GLOBALS["xoopsDB"],$module_name . "_bak");
+$wait_site = $infowait_handler->getCount();
+
+$adminmenu = array();
+$i=0;
+$adminmenu[$i]['title'] = _MI_INFO_INDEX;
+$adminmenu[$i]['link'] = "admin/index.php";
+$adminmenu[$i++]['icon'] = '../../'.$pathIcon32.'/home.png' ;
+
+
+$adminmenu[$i]['title'] = _MI_INFO_ADMENU2;
+$adminmenu[$i]['link'] = "admin/admin_categorie.php";
+$adminmenu[$i++]['icon'] = '../../'.$pathIcon32.'/category.png';
+
+$adminmenu[$i]['title'] = _MI_INFO_ADMENU3;
+$adminmenu[$i]['link'] = "admin/admin_seiten.php";
+$adminmenu[$i++]['icon'] = '../../'.$pathIcon32.'/view_detailed.png';
+
+$adminmenu[$i]['title'] = "(". $wait_site .") " . _MI_INFO_ADMENU5;
+$adminmenu[$i]['link'] = "admin/admin_seiten.php?op=approved";
+$adminmenu[$i++]['icon'] = '../../'.$pathIcon32.'/manage.png';
+
+$adminmenu[$i]['title'] = _MI_INFO_ADMENU4;
+$adminmenu[$i]['link'] = "admin/admin_permission.php";
+$adminmenu[$i++]['icon'] = '../../'.$pathIcon32.'/permissions.png';
+
+$adminmenu[$i]['title'] = _MI_INFO_ADMENU_ABOUT;
+$adminmenu[$i]['link'] = "admin/about.php";
+$adminmenu[$i++]['icon'] = '../../'.$pathIcon32.'/about.png';
+
+unset($i);
+?>
\ No newline at end of file
Property changes on: XoopsModules/dh-info/trunk/info/admin/menu.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/dh-info/trunk/info/blocks/index.html
===================================================================
--- XoopsModules/dh-info/trunk/info/blocks/index.html (rev 0)
+++ XoopsModules/dh-info/trunk/info/blocks/index.html 2014-04-06 07:05:59 UTC (rev 12424)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsModules/dh-info/trunk/info/blocks/info_freiblock.php
===================================================================
--- XoopsModules/dh-info/trunk/info/blocks/info_freiblock.php (rev 0)
+++ XoopsModules/dh-info/trunk/info/blocks/info_freiblock.php 2014-04-06 07:05:59 UTC (rev 12424)
@@ -0,0 +1,117 @@
+<?php
+// ------------------------------------------------------------------------ //
+// XOOPS - PHP Content Management System //
+// Copyright (c) 2000 xoops.org //
+// <http://www.xoops.org/> //
+// ------------------------------------------------------------------------ //
+// 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. //
+// //
+// You may not change or alter any portion of this comment or credits //
+// of supporting developers from this source code or any supporting //
+// source code which is considered copyrighted (c) material of the //
+// original comment or credit authors. //
+// //
+// 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 //
+// ------------------------------------------------------------------------ //
+// @package info_freiblock.php
+// @author Dirk Herrmann <al...@si...>
+// @version $Id$
+
+
+if( ! defined( 'XOOPS_ROOT_PATH' ) ) die("XOOPS_ROOT_PATH not defined!");
+
+if (!function_exists("info_freiblock_show"))
+{
+
+ function info_freiblock_show($options)
+ {
+ global $xoopsDB,$xoopsUser;
+ $myts = MyTextSanitizer::getInstance();
+ include_once XOOPS_ROOT_PATH."/modules/".$options[0]."/include/constants.php";
+ $block = array();
+ $result = $xoopsDB->query("SELECT * FROM ".$xoopsDB->prefix($options[0])." WHERE info_id=".$options[1]);
+ $row = $xoopsDB->fetchArray($result);
+ $text = trim($row['text']);
+ if (intval($row['info_id']) != 0) {
+ $xoopsOption['template_main'] = $options[0].'_startblock.html';
+ if ($row['link'] == 6) {
+ ob_start();
+ echo eval($text);
+ $text = ob_get_contents();
+ ob_end_clean();
+ $row['nohtml'] = 0;
+ }
+ $html = (intval($row['nohtml']) == 1) ? 0 : 1;
+ $smiley = (intval($row['nosmiley']) == 1) ? 0 : 1;
+ $breaks = ($html == 1) ? 0 : 1;
+ if (intval($row['link']) == 4) {
+ if (substr($row['address'],"/",0,1) || substr($row['address'],"\\",0,1)) $row['address']=substr($address,1);
+ $file = XOOPS_ROOT_PATH."/".$row['address'];
+ if (file_exists($file)) {
+ ob_start();
+ include($file);
+ $file = ob_get_contents();
+ ob_end_clean();
+ $text=$file;
+ }
+ } elseif (intval($row['link']) == 5) {
+ $iframe=unserialize($row['frame']);
+ if (!isset($iframe['width']) || $iframe['width']<1 || $iframe['width']>100) $iframe['width']=100;
+ $text.= "<iframe width='".$iframe['width']."%' height='".$iframe['height']."px' align='".$iframe['align']."' name='".$row['title']."' scrolling='auto' frameborder='".$iframe['border']."' src='".$row['address']."'></iframe>";
+ $html = 1;
+ $breaks = 0;
+ }
+ $text = str_replace('{X_XOOPSURL}', XOOPS_URL.'/', $text);
+ $text = str_replace('{X_SITEURL}', XOOPS_URL . '/', $text);
+ if (is_object($xoopsUser)) {
+ $text = str_replace('{X_XOOPSUSER}', $xoopsUser->getVar('uname'), $text);
+ $text = str_replace('{X_XOOPSUSERID}', $xoopsUser->getVar('uid'), $text);
+ } else {
+ $text = str_replace('{X_XOOPSUSER}',_GUESTS, $text);
+ $text = str_replace('{X_XOOPSUSERID}', '0', $text);
+ }
+ if ( trim($text) != '' ) {
+ $text = str_replace('<div style="page-break-after: always;"><span style="display: none;"> </span></div>','[pagebreak]',$text);
+ $infotext = explode("[pagebreak]", $text);
+ $info_pages = count($infotext);
+ if ($info_pages > 1) $text = $infotext[0];
+ }
+ $text = $myts->displayTarea($text, $html, $smiley, 1, 1, $breaks);
+ $block['content'] = $text;
+
+ $block['id'] = $options[1];
+ }
+ return $block;
+ }
+}
+
+if (!function_exists("info_freiblock_edit")) {
+ function info_freiblock_edit($options) {
+ global $xoopsDB;
+ $module_name = $options[0];
+ $result=$xoopsDB->queryF("SELECT info_id,title FROM ".$xoopsDB->prefix($module_name)." WHERE link !=1 && link !=2 && link !=3 && link !=4");
+ if ($result) {
+ $form = "" . _INFO_BL_OPTION . " ";
+ $form .= "<input type='hidden' name='options[0]' value='".$module_name."'>";
+ $form .= "<select name='options[1]' size='1'>";
+ while ($row=$xoopsDB->fetcharray($result)) {
+ $form .= "<option value='".$row['info_id']."'";
+ if ($options[1] == $row['info_id']) $form .= " selected";
+ $form .="> " . $row['title'] . " </option>";
+ }
+ $form .= "</select>";
+ return $form;
+ }
+ }
+}
+?>
\ No newline at end of file
Property changes on: XoopsModules/dh-info/trunk/info/blocks/info_freiblock.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/dh-info/trunk/info/blocks/info_navigation.php
===================================================================
--- XoopsModules/dh-info/trunk/info/blocks/info_navigation.php (rev 0)
+++ XoopsModules/dh-info/trunk/info/blocks/info_navigation.php 2014-04-06 07:05:59 UTC (rev 12424)
@@ -0,0 +1,157 @@
+<?php
+// ------------------------------------------------------------------------ //
+// XOOPS - PHP Content Management System //
+// Copyright (c) 2000 xoops.org //
+// <http://www.xoops.org/> //
+// ------------------------------------------------------------------------ //
+// 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. //
+// //
+// You may not change or alter any portion of this comment or credits //
+// of supporting developers from this source code or any supporting //
+// source code which is considered copyrighted (c) material of the //
+// original comment or credit authors. //
+// //
+// 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 //
+// ------------------------------------------------------------------------ //
+// @package info_navigation.php
+// @author Dirk Herrmann <al...@si...>
+// @version $Id$
+
+if( ! defined( 'XOOPS_ROOT_PATH' ) ) die();
+
+include_once dirname(dirname(__FILE__))."/include/function.php";
+
+if (!function_exists("info_navblock_edit")) {
+ function info_navblock_edit($options) {
+ global $xoopsDB;
+ $module_name = basename( dirname(dirname( __FILE__ ))) ;
+ $sql="SELECT cat_id,title FROM ".$xoopsDB->prefix($module_name.'_cat')." ORDER BY title";
+ $result=$xoopsDB->query($sql);
+ if ($result && $xoopsDB->getRowsNum($result)>0) {
+ $form = "" . _INFO_BL_OPTION . " ";
+ $form .= "<input type='hidden' name='options[0]' value='".$module_name."'>";
+ $form .= "<select name='options[1]' size='1'>";
+ while ($row...
[truncated message content] |
|
From: <txm...@us...> - 2014-04-05 13:27:52
|
Revision: 12423
http://sourceforge.net/p/xoops/svn/12423
Author: txmodxoops
Date: 2014-04-05 13:27:49 +0000 (Sat, 05 Apr 2014)
Log Message:
-----------
Modified Paths:
--------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/building.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/modules.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/tables.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/tables.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/js/functions.js
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/language/english/admin.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/language/english/modinfo.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/sql/mysql.sql
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_header.html
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/building.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/building.php 2014-04-05 02:59:29 UTC (rev 12422)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/building.php 2014-04-05 13:27:49 UTC (rev 12423)
@@ -56,7 +56,7 @@
$template_main = 'tdmcreate_building.html';
$GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('building.php'));
- include_once(TDMC_PATH . '/class/building.php');
+ include_once TDMC_PATH . '/class/building.php';
$handler = TDMCreateBuilding::getInstance();
$form = $handler->getForm();
$GLOBALS['xoopsTpl']->assign('form', $form->render());
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php 2014-04-05 02:59:29 UTC (rev 12422)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php 2014-04-05 13:27:49 UTC (rev 12423)
@@ -45,7 +45,7 @@
$GLOBALS['xoTheme']->addScript('modules/TDMCreate/js/functions.js');
$GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('fields.php'));
$adminMenu->addItemButton(_AM_TDMCREATE_ADD_TABLE, 'tables.php?op=new', 'add');
- $GLOBALS['xoopsTpl']->assign('button_new', $adminMenu->renderButton());
+ $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton());
$GLOBALS['xoopsTpl']->assign('tdmc_url', TDMC_URL);
$GLOBALS['xoopsTpl']->assign('tdmc_upload_url', TDMC_UPLOAD_URL);
$GLOBALS['xoopsTpl']->assign('pathIcon32', $pathIcon32);
@@ -91,8 +91,9 @@
// Define main template
$template_main = 'tdmcreate_fields.html';
$GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('fields.php'));
- $adminMenu->addItemButton(_AM_TDMCREATE_TABLES_LIST, 'tables.php', 'list');
- $GLOBALS['xoopsTpl']->assign('button_new', $adminMenu->renderButton());
+ $adminMenu->addItemButton(_AM_TDMCREATE_TABLES_LIST, 'tables.php', 'list');
+ $adminMenu->addItemButton(_AM_TDMCREATE_FIELDS_LIST, 'fields.php', 'list');
+ $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton());
$obj =& $fieldsHandler->create();
$form = $obj->getForm($field_mid, $field_tid, $field_numb, $field_name);
@@ -119,8 +120,8 @@
'field_null' => $_POST['field_null'],
'field_default' => $_POST['field_default'],
'field_key' => $_POST['field_key'],
- 'field_autoincrement' => (($_REQUEST['field_element'] == 1) ? '1' : '0'),
- 'field_element' => $_POST['field_element'],
+ 'field_autoincrement' => (($_REQUEST['field_autoincrement'] == 1) ? '1' : '0'),
+ 'field_element' => $_REQUEST['fieldelement_name'],
'field_inlist' => (($_REQUEST['field_inlist'] == 1) ? '1' : '0'),
'field_inform' => (($_REQUEST['field_inform'] == 1) ? '1' : '0'),
'field_admin' => (($_REQUEST['field_admin'] == 1) ? '1' : '0'),
@@ -144,10 +145,10 @@
// Define main template
$template_main = 'tdmcreate_tables.html';
$GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('fields.php'));
- $adminMenu->addItemButton(_AM_TDMCREATE_TABLES_LIST, 'tables.php', 'list');
- $GLOBALS['xoopsTpl']->assign('button_tables_list', $adminMenu->renderButton());
- $adminMenu->addItemButton(_AM_TDMCREATE_FIELDS_LIST, 'fields.php', 'list');
- $GLOBALS['xoopsTpl']->assign('button_fields_list', $adminMenu->renderButton());
+ $adminMenu->addItemButton(_AM_TDMCREATE_ADD_TABLE, 'tables.php?op=new', 'add');
+ $adminMenu->addItemButton(_AM_TDMCREATE_TABLES_LIST, 'tables.php', 'list');
+ $adminMenu->addItemButton(_AM_TDMCREATE_FIELDS_LIST, 'fields.php', 'list');
+ $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton());
$obj = $fieldsHandler->get($field_id);
$form = $obj->getForm($field_mid, $field_tid, $field_numb, $field_name);
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/modules.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/modules.php 2014-04-05 02:59:29 UTC (rev 12422)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/modules.php 2014-04-05 13:27:49 UTC (rev 12423)
@@ -33,7 +33,7 @@
$GLOBALS['xoTheme']->addStylesheet( 'modules/TDMCreate/css/admin/style.css' );
$GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('modules.php'));
$adminMenu->addItemButton(_AM_TDMCREATE_ADD_MODULE, 'modules.php?op=new', 'add');
- $GLOBALS['xoopsTpl']->assign('button_new', $adminMenu->renderButton());
+ $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton());
$GLOBALS['xoopsTpl']->assign('tdmc_url', TDMC_URL);
$GLOBALS['xoopsTpl']->assign('tdmc_upload_imgmod_url', TDMC_UPLOAD_IMGMOD_URL);
$criteria = new CriteriaCompo();
@@ -77,7 +77,7 @@
$template_main = 'tdmcreate_modules.html';
$GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('modules.php'));
$adminMenu->addItemButton(_AM_TDMCREATE_MODULES_LIST, 'modules.php', 'list');
- $GLOBALS['xoopsTpl']->assign('button_list', $adminMenu->renderButton());
+ $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton());
$obj =& $modulesHandler->create();
$form = $obj->getForm();
@@ -164,8 +164,7 @@
$GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('modules.php'));
$adminMenu->addItemButton(_AM_TDMCREATE_ADD_MODULE, 'modules.php?op=new', 'add');
$adminMenu->addItemButton(_AM_TDMCREATE_MODULES_LIST, 'modules.php', 'list');
- $GLOBALS['xoopsTpl']->assign('button_new', $adminMenu->renderButton());
- $GLOBALS['xoopsTpl']->assign('button_list', $adminMenu->renderButton());
+ $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton());
$obj = $modulesHandler->get($mod_id);
$form = $obj->getForm();
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/tables.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/tables.php 2014-04-05 02:59:29 UTC (rev 12422)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/tables.php 2014-04-05 13:27:49 UTC (rev 12423)
@@ -40,7 +40,7 @@
$GLOBALS['xoTheme']->addScript('modules/TDMCreate/js/functions.js');
$GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('tables.php'));
$adminMenu->addItemButton(_AM_TDMCREATE_ADD_TABLE, 'tables.php?op=new', 'add');
- $GLOBALS['xoopsTpl']->assign('button_new', $adminMenu->renderButton());
+ $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton());
$GLOBALS['xoopsTpl']->assign('tdmc_url', TDMC_URL);
$GLOBALS['xoopsTpl']->assign('tdmc_upload_imgmod_url', TDMC_UPLOAD_IMGMOD_URL);
//$GLOBALS['xoopsTpl']->assign('tdmc_upload_table_url', TDMC_UPLOAD_IMGTAB_URL);
@@ -120,7 +120,7 @@
$template_main = 'tdmcreate_tables.html';
$GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('tables.php'));
$adminMenu->addItemButton(_AM_TDMCREATE_TABLES_LIST, 'tables.php', 'list');
- $GLOBALS['xoopsTpl']->assign('button_new', $adminMenu->renderButton());
+ $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton());
$obj =& $tablesHandler->create();
$form = $obj->getForm();
@@ -132,11 +132,23 @@
redirect_header('tables.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors()));
}
if (isset($table_id)) {
- $obj =& $tablesHandler->get($table_id);
+ $obj =& $tablesHandler->get($table_id);
} else {
$obj =& $tablesHandler->create();
- }
- //Form tables
+ }
+ // Verification if name table exist
+ $criteria = new CriteriaCompo();
+ $criteria->add(new Criteria('table_name', $obj->getVar('table_name')));
+ $criteria->add(new Criteria('table_mid', $mod_id), 'AND');
+ $table_name_search = $tablesHandler->getAll($criteria);
+ unset($criteria);
+ foreach (array_keys($table_name_search) as $t)
+ {
+ if ( $_POST['table_name'] === $table_name_search[$t]->getVar('table_name') ) {
+ redirect_header('tables.php?op=new', 5, _AM_TDMCREATE_ERROR_TABLE_NAME_EXIST);
+ }
+ }
+ // Form save tables
$obj->setVars(array('table_mid' => $table_mid,
'table_name' => $_POST['table_name'],
'table_category' => (($_REQUEST['table_category'] == 1) ? '1' : '0'),
@@ -192,8 +204,9 @@
// Define main template
$template_main = 'tdmcreate_tables.html';
$GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('tables.php'));
- $adminMenu->addItemButton(_AM_TDMCREATE_ADD_TABLE, 'tables.php?op=new', 'add');
- $GLOBALS['xoopsTpl']->assign('button_new', $adminMenu->renderButton());
+ $adminMenu->addItemButton(_AM_TDMCREATE_ADD_TABLE, 'tables.php?op=new', 'add');
+ $adminMenu->addItemButton(_AM_TDMCREATE_TABLES_LIST, 'tables.php?op=list', 'list');
+ $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton());
$obj = $tablesHandler->get($table_id);
$form = $obj->getForm();
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php 2014-04-05 02:59:29 UTC (rev 12422)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php 2014-04-05 13:27:49 UTC (rev 12423)
@@ -126,7 +126,7 @@
$form->addElement(new TDMCreateFormLabel('<tr class="'.$class.'">'));
// Index ID
$form->addElement(new TDMCreateFormLabel('<td class="center">'.$i.'</td>'));
- $field_name = $this->isNew() ? $table_fieldname : $this->getVar('field_name');
+ $field_name = $this->isNew() ? $table_fieldname . '_' : $this->getVar('field_name');
$field_name = new XoopsFormText(_AM_TDMCREATE_FIELD_NAME, 'field_name', 15, 255, $field_name);
// Field Name
$form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_name->render().'</td>'));
@@ -183,14 +183,14 @@
}
$parameters_tray->addElement($field_elements_select);
- $field_inline = $this->isNew() ? 0 : $this->getVar('field_inline');
- $check_field_inline = new XoopsFormCheckBox(' ', 'field_inline', $field_inline);
- $check_field_inline->addOption(1, _AM_TDMCREATE_FIELD_ADMIN);
- $parameters_tray->addElement($check_field_inline);
+ $field_inlist = $this->isNew() ? 0 : $this->getVar('field_inlist');
+ $check_field_inlist = new XoopsFormCheckBox(' ', 'field_inlist', $field_inlist);
+ $check_field_inlist->addOption(1, _AM_TDMCREATE_FIELD_INLIST);
+ $parameters_tray->addElement($check_field_inlist);
$field_inform = $this->isNew() ? 0 : $this->getVar('field_inform');
$check_field_inform = new XoopsFormCheckBox(' ', 'field_inform', $field_inform);
- $check_field_inform->addOption(1, _AM_TDMCREATE_FIELD_ADMIN);
+ $check_field_inform->addOption(1, _AM_TDMCREATE_FIELD_INFORM);
$parameters_tray->addElement($check_field_inform);
$field_admin = $this->isNew() ? 0 : $this->getVar('field_admin');
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/tables.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/tables.php 2014-04-05 02:59:29 UTC (rev 12422)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/tables.php 2014-04-05 13:27:49 UTC (rev 12423)
@@ -80,30 +80,37 @@
$action = $_SERVER['REQUEST_URI'];
}
- $title = $this->isNew() ? sprintf(_AM_TDMCREATE_TABLE_ADD) : sprintf(_AM_TDMCREATE_TABLE_EDIT);
+ $isNew = $this->isNew(); $table_name = $this->getVar('table_name');
+ $title = $isNew ? sprintf(_AM_TDMCREATE_TABLE_ADD) : sprintf(_AM_TDMCREATE_TABLE_EDIT);
+ //$type = $isNew ? 'new' : 'edit'; $action.'&table_mid='.
xoops_load('xoopsformloader');
$form = new XoopsThemeForm($title, 'tableform', $action, 'post', true);
$form->setExtra('enctype="multipart/form-data"');
- $modulesHandler =& xoops_getModuleHandler('modules', 'TDMCreate');
+ $modulesHandler =& xoops_getModuleHandler('modules');
$mods_select = new XoopsFormSelect(_AM_TDMCREATE_TABLE_MODULES, 'table_mid', $this->getVar('table_mid'));
- $mods_select->addOptionArray($modulesHandler->getList());
- $mods_select->setExtra('onchange="document.forms.tableform.table_name.parentElement.parentElement;"');
+ //$mods_select->setExtra('onchange="window.location=\'\'+this.options[this.selectedIndex].value"');
+ $mods_select->addOption($action, _AM_TDMCREATE_TABLE_MODSELOPT);
+ foreach ($modulesHandler->getList() as $mod_id => $mod_name) {
+ $mods_select->addOption($mod_id, $mod_name);
+ }
+ //$mods_select->addOptionArray();
$form->addElement($mods_select, true);
$table_name = new XoopsFormText(_AM_TDMCREATE_TABLE_NAME, 'table_name', 50, 255, $this->getVar('table_name'));
$table_name->setDescription(_AM_TDMCREATE_TABLE_NAME_DESC);
$form->addElement($table_name, true);
- $tablesHandler =& xoops_getModuleHandler('tables', 'TDMCreate');
+ $tablesHandler =& xoops_getModuleHandler('tables');
$criteria = new CriteriaCompo();
- $criteria->add(new Criteria('table_mid', $this->getVar('table_mid')));
$criteria->add(new Criteria('table_category', 1), 'AND');
+ $criteria->add(new Criteria('table_mid', $this->getVar('table_mid')), 'AND');
+ $criteria->add(new Criteria('table_name', $this->getVar('table_name'), '!='));
$table_category = $tablesHandler->getCount($criteria);
unset($criteria);
- if ( $table_category == 0 ) {
- $radio_category = $this->isNew() ? 0 : $this->getVar('table_category');
+ if ( $table_category == 0 || !$this->getVar('table_name') ) {
+ $radio_category = $isNew ? 0 : $this->getVar('table_category');
$category = new XoopsFormRadioYN(_AM_TDMCREATE_TABLE_CATEGORY, 'table_category', $radio_category);
$category->setDescription(_AM_TDMCREATE_TABLE_CATEGORY_DESC);
$form->addElement($category);
@@ -148,38 +155,46 @@
$form->addElement($imgtray1);
$options_tray = new XoopsFormElementTray(_OPTIONS, '<br />');
- $table_blocks = $this->isNew() ? 0 : $this->getVar('table_blocks');
+ $table_blocks = $isNew ? 0 : $this->getVar('table_blocks');
$check_table_blocks = new XoopsFormCheckBox(' ', 'table_blocks', $table_blocks);
$check_table_blocks->addOption(1, _AM_TDMCREATE_TABLE_BLOCKS);
$options_tray->addElement($check_table_blocks);
- $table_admin = $this->isNew() ? 0 : $this->getVar('table_admin');
+ $table_admin = $isNew ? 0 : $this->getVar('table_admin');
$check_table_admin = new XoopsFormCheckBox(' ', 'table_admin', $table_admin);
$check_table_admin->addOption(1, _AM_TDMCREATE_TABLE_ADMIN);
$options_tray->addElement($check_table_admin);
- $table_user = $this->isNew() ? 0 : $this->getVar('table_user');
+ $table_user = $isNew ? 0 : $this->getVar('table_user');
$check_table_user = new XoopsFormCheckBox(' ', 'table_user', $table_user);
$check_table_user->addOption(1, _AM_TDMCREATE_TABLE_USER);
$options_tray->addElement($check_table_user);
- $table_submenu = $this->isNew() ? 0 : $this->getVar('table_submenu');
+ $table_submenu = $isNew ? 0 : $this->getVar('table_submenu');
$check_table_submenu = new XoopsFormCheckBox(' ', 'table_submenu', $table_submenu);
$check_table_submenu->addOption(1, _AM_TDMCREATE_TABLE_SUBMENU);
$options_tray->addElement($check_table_submenu);
- $table_search = $this->isNew() ? 0 : $this->getVar('table_search');
+ $table_search = $isNew ? 0 : $this->getVar('table_search');
$check_table_search = new XoopsFormCheckBox(' ', 'table_search', $table_search);
$check_table_search->addOption(1, _AM_TDMCREATE_TABLE_SEARCH);
$options_tray->addElement($check_table_search);
- $table_comments = $this->isNew() ? 0 : $this->getVar('table_comments');
+ $table_comments = $isNew ? 0 : $this->getVar('table_comments');
$check_table_comments = new XoopsFormCheckBox(' ', 'table_comments', $table_comments);
$check_table_comments->addOption(1, _AM_TDMCREATE_TABLE_COMMENTS);
$options_tray->addElement($check_table_comments);
- $table_notifications = $this->isNew() ? 0 : $this->getVar('table_notifications');
+ $table_notifications = $isNew ? 0 : $this->getVar('table_notifications');
$check_table_notifications = new XoopsFormCheckBox(' ', 'table_notifications', $table_notifications);
$check_table_notifications->addOption(1, _AM_TDMCREATE_TABLE_NOTIFICATIONS);
$options_tray->addElement($check_table_notifications);
- $table_permissions = $this->isNew() ? 0 : $this->getVar('table_permissions');
- $check_table_permissions = new XoopsFormCheckBox(' ', 'table_permissions', $table_permissions);
- $check_table_permissions->addOption(1, _AM_TDMCREATE_TABLE_PERMISSIONS);
- $options_tray->addElement($check_table_permissions);
+ $criteria = new CriteriaCompo();
+ $criteria->add(new Criteria('table_permissions', 1), 'AND');
+ $criteria->add(new Criteria('table_mid', $this->getVar('table_mid')), 'AND');
+ $criteria->add(new Criteria('table_name', $this->getVar('table_name'), '!='));
+ $table_permissions = $tablesHandler->getCount($criteria);
+ unset($criteria);
+ if ( $table_permissions == 0 || !$this->getVar('table_name') ) {
+ $table_permissions = $isNew ? 0 : $this->getVar('table_permissions');
+ $check_table_permissions = new XoopsFormCheckBox(' ', 'table_permissions', $table_permissions);
+ $check_table_permissions->addOption(1, _AM_TDMCREATE_TABLE_PERMISSIONS);
+ $options_tray->addElement($check_table_permissions);
+ }
$options_tray->setDescription(_AM_TDMCREATE_TABLE_OPTIONS_CHECKS_DESC);
$form->addElement($options_tray);
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/js/functions.js
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/js/functions.js 2014-04-05 02:59:29 UTC (rev 12422)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/js/functions.js 2014-04-05 13:27:49 UTC (rev 12423)
@@ -55,4 +55,7 @@
});
$('table#show_rows tr.toggleChild').toggle();
});
+ $('tr.modules').children().css('background-color', '#fdf5f5');
+ $('tr.toggleMain, tr.tables').children().css('background-color', '#f5fdf5');
+ $('tr.toggleMain, tr.fields').children().css('background-color', '#f5f5fd');
});
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/language/english/admin.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/language/english/admin.php 2014-04-05 02:59:29 UTC (rev 12422)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/language/english/admin.php 2014-04-05 13:27:49 UTC (rev 12423)
@@ -332,4 +332,8 @@
// Added in version 1.91
define('_AM_TDMCREATE_TOGGLE_CHANGE_DISPLAY', "Toggle Change Display");
define('_AM_TDMCREATE_TOGGLE_SUCCESS', "Successfully Changed Display");
-define('_AM_TDMCREATE_TOGGLE_FAILED', "Changing Display Failed");
\ No newline at end of file
+define('_AM_TDMCREATE_TOGGLE_FAILED', "Changing Display Failed");
+define('_AM_TDMCREATE_ERROR_TABLE_NAME_EXIST', "WARNING: This category exists, create a new one with a different name");
+define('_AM_TDMCREATE_FIELD_INLIST', "Admin: Visible in list");
+define('_AM_TDMCREATE_FIELD_INFORM', "Admin: Visible in form");
+define('_AM_TDMCREATE_TABLE_MODSELOPT', "Select a Module");
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/language/english/modinfo.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/language/english/modinfo.php 2014-04-05 02:59:29 UTC (rev 12422)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/language/english/modinfo.php 2014-04-05 13:27:49 UTC (rev 12423)
@@ -78,4 +78,5 @@
define('_MI_TDMCREATE_MODULE_MIN_ADMIN', "Minimum Admin");
define('_MI_TDMCREATE_MODULE_MIN_MYSQL', "Minimum Database");
define('_MI_TDMCREATE_MODULES_ADMINPAGER', "Modules adminpager");
-define('_MI_TDMCREATE_TABLES_ADMINPAGER', "Tables adminpager");
\ No newline at end of file
+define('_MI_TDMCREATE_TABLES_ADMINPAGER', "Tables adminpager");
+define('_MI_TDMCREATE_FIELDS_ADMINPAGER', "Fields adminpager");
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/sql/mysql.sql
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/sql/mysql.sql 2014-04-05 02:59:29 UTC (rev 12422)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/sql/mysql.sql 2014-04-05 13:27:49 UTC (rev 12423)
@@ -66,7 +66,7 @@
) ENGINE=MyISAM;
#
-# Table structure for table `mod_tdmcreate_fields` 19
+# Table structure for table `mod_tdmcreate_fields` 21
#
CREATE TABLE `mod_tdmcreate_fields` (
@@ -200,8 +200,8 @@
`fieldelement_fid` int(5) NOT NULL auto_increment,`fieldelement_name` varchar(100) NOT NULL default '',
`fieldelement_value` varchar(100) NOT NULL default '',
PRIMARY KEY (`fieldelement_fid`),
-KEY `fieldelement_value` (`fieldelement_value`),
-KEY `fieldelement_name` (`fieldelement_name`)
+KEY `fieldelement_name` (`fieldelement_name`),
+KEY `fieldelement_value` (`fieldelement_value`)
) ENGINE=MyISAM;
INSERT INTO `mod_tdmcreate_fieldelements` (`fieldelement_fid`, `fieldelement_name`, `fieldelement_value`) VALUES
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_header.html
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_header.html 2014-04-05 02:59:29 UTC (rev 12422)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_header.html 2014-04-05 13:27:49 UTC (rev 12423)
@@ -1,4 +1,4 @@
<div class="top">
<span class="left"><{$navigation}></span>
-<{if $button_new}><span class="right"><{$button_new}> </span><{/if}><{if $button_tables_list}><span class="right"> <{$button_tables_list}></span><{/if}><{if $button_fields_list}><span class="right"> <{$button_fields_list}></span><{/if}>
+<{if $buttons}><span class="right"><{$buttons}> </span><{/if}>
</div>
\ No newline at end of file
|
|
From: <luc...@us...> - 2014-04-05 02:59:32
|
Revision: 12422
http://sourceforge.net/p/xoops/svn/12422
Author: luciorota
Date: 2014-04-05 02:59:29 +0000 (Sat, 05 Apr 2014)
Log Message:
-----------
use XoopsLocal::formatTimestamp
added: calculate file size also for local files
removed duplicated language definition
check/improve wfdownloads_download function for very large files
Modified Paths:
--------------
XoopsModules/wfdownloads/trunk/wfdownloads/admin/downloads.php
XoopsModules/wfdownloads/trunk/wfdownloads/admin/mirrors.php
XoopsModules/wfdownloads/trunk/wfdownloads/admin/ratings.php
XoopsModules/wfdownloads/trunk/wfdownloads/admin/reportsmodifications.php
XoopsModules/wfdownloads/trunk/wfdownloads/admin/reviews.php
XoopsModules/wfdownloads/trunk/wfdownloads/class/category.php
XoopsModules/wfdownloads/trunk/wfdownloads/docs/changelog.txt
XoopsModules/wfdownloads/trunk/wfdownloads/include/common.php
XoopsModules/wfdownloads/trunk/wfdownloads/include/functions.php
XoopsModules/wfdownloads/trunk/wfdownloads/language/english/admin.php
XoopsModules/wfdownloads/trunk/wfdownloads/visit.php
XoopsModules/wfdownloads/trunk/wfdownloads/xoops_version.php
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/admin/downloads.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/admin/downloads.php 2014-04-05 02:54:22 UTC (rev 12421)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/admin/downloads.php 2014-04-05 02:59:29 UTC (rev 12422)
@@ -164,7 +164,7 @@
$userRatings = $wfdownloads->getHandler('rating')->getUserAverage($criteria);
foreach (array_keys($regvotes) as $i) {
- $formatted_date = formatTimestamp($regvotes[$i]->getVar('ratingtimestamp'), _DATESTRING);
+ $formatted_date = XoopsLocal::formatTimestamp($regvotes[$i]->getVar('ratingtimestamp'), 'l');
$userAvgRating = isset($userRatings[$regvotes[$i]->getVar('ratinguser')]) ? $userRatings[$regvotes[$i]->getVar(
'ratinguser'
)]["avg"] : 0;
@@ -209,7 +209,7 @@
$anonymousVotes = $wfdownloads->getHandler('rating')->getObjects($anonymousCriteria);
foreach (array_keys($anonymousVotes) as $i) {
- $formatted_date = formatTimestamp($anonymousVotes[$i]->getVar('ratingtimestamp'), _DATESTRING);
+ $formatted_date = XoopsLocal::formatTimestamp($anonymousVotes[$i]->getVar('ratingtimestamp'), 'l');
$userAvgRating = isset($userRatings['avg']) ? $userRatings["avg"] : 0;
$userVotes = isset($userRatings['count']) ? $userRatings["count"] : 0;
@@ -254,12 +254,16 @@
$url = ($_POST['url'] != "http://") ? $_POST['url'] : '';
$filename = '';
$filetype = '';
+ // Get size from form
+ $size = (empty($_POST['size']) || !is_numeric($_POST['size'])) ? 0 : (int)$_POST["size"];
} else {
$url = ($_POST["url"] != "http://") ? $_POST['url'] : '';
$filename = $_POST['filename'];
$filetype = $_POST['filetype'];
+ $filePath = $wfdownloads->getConfig('uploaddir') . '/' . $filename;
+ // Get size from filesystem
+ $size = @filesize($filePath);
}
- $size = (empty($_POST['size']) || !is_numeric($_POST['size'])) ? 0 : (int)$_POST["size"];
$title = trim($_POST['title']);
$download->setVar('filename', $filename);
$download->setVar('filetype', $filetype);
@@ -353,7 +357,7 @@
if ($lid > 0 && !empty($dhistoryhistory)) {
$dhistory = $dhistory . "\n\n";
$time = time();
- $dhistory .= _AM_WFDOWNLOADS_FILE_HISTORYVERS . $version . _AM_WFDOWNLOADS_FILE_HISTORDATE . formatTimestamp($time, _DATESTRING) . "\n\n";
+ $dhistory .= _AM_WFDOWNLOADS_FILE_HISTORYVERS . $version . _AM_WFDOWNLOADS_FILE_HISTORDATE . XoopsLocal::formatTimestamp($time, 'l') . "\n\n";
$dhistory .= $dhistoryhistory;
}
$download->setVar('dhistory', $dhistory);
@@ -661,7 +665,7 @@
$publishedDownload_array['title_html'] = $myts->htmlSpecialChars(trim($publishedDownload_array['title']));
$publishedDownload_array['category_title'] = $categories[$publishedDownload_array['cid']]['title'];
$publishedDownload_array['submitter_uname'] = XoopsUserUtility::getUnameFromId($publishedDownload_array['submitter']);
- $publishedDownload_array['published_timestamp'] = formatTimestamp($publishedDownload_array['published'], _DATESTRING);
+ $publishedDownload_array['published_timestamp'] = XoopsLocal::formatTimestamp($publishedDownload_array['published'], 'l');
$GLOBALS['xoopsTpl']->append('published_downloads', $publishedDownload_array);
}
}
@@ -708,7 +712,7 @@
$platform = $myts->htmlSpecialChars($newDownload_array['platform']);
$logourl = $myts->htmlSpecialChars($newDownload_array['screenshot']);
$newDownload_array['submitter_uname'] = XoopsUserUtility::getUnameFromId($newDownload_array['submitter']);
- $newDownload_array['date_timestamp'] = formatTimestamp($newDownload_array['date'], _DATESTRING);
+ $newDownload_array['date_timestamp'] = XoopsLocal::formatTimestamp($newDownload_array['date'], 'l');
$GLOBALS['xoopsTpl']->append('new_downloads', $newDownload_array);
}
}
@@ -731,7 +735,7 @@
$autopublishedDownload_array['title_html'] = $myts->htmlSpecialChars(trim($autopublishedDownload_array['title']));
$autopublishedDownload_array['category_title'] = $categories[$autopublishedDownload_array['cid']]['title'];
$autopublishedDownload_array['submitter_uname'] = XoopsUserUtility::getUnameFromId($autopublishedDownload_array['submitter']);
- $autopublishedDownload_array['published_timestamp'] = formatTimestamp($autopublishedDownload_array['published'], _DATESTRING);
+ $autopublishedDownload_array['published_timestamp'] = XoopsLocal::formatTimestamp($autopublishedDownload_array['published'], 'l');
$GLOBALS['xoopsTpl']->append('autopublished_downloads', $autopublishedDownload_array);
}
}
@@ -757,7 +761,7 @@
$expired_download_array['title_html'] = $myts->htmlSpecialChars(trim($expired_download_array['title']));
$expired_download_array['category_title'] = $categories[$expired_download_array['cid']]['title'];
$expired_download_array['submitter_uname'] = XoopsUserUtility::getUnameFromId($expired_download_array['submitter']);
- $expired_download_array['published_timestamp'] = formatTimestamp($expired_download_array['published'], _DATESTRING);
+ $expired_download_array['published_timestamp'] = XoopsLocal::formatTimestamp($expired_download_array['published'], 'l');
$GLOBALS['xoopsTpl']->append('expired_downloads', $expired_download_array);
}
}
@@ -780,7 +784,7 @@
$offlineDownload_array['title_html'] = $myts->htmlSpecialChars(trim($offlineDownload_array['title']));
$offlineDownload_array['category_title'] = $categories[$offlineDownload_array['cid']]['title'];
$offlineDownload_array['submitter_uname'] = XoopsUserUtility::getUnameFromId($offlineDownload_array['submitter']);
- $offlineDownload_array['published_timestamp'] = formatTimestamp($offlineDownload_array['published'], _DATESTRING);
+ $offlineDownload_array['published_timestamp'] = XoopsLocal::formatTimestamp($offlineDownload_array['published'], 'l');
$GLOBALS['xoopsTpl']->append('offline_downloads', $offlineDownload_array);
}
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/admin/mirrors.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/admin/mirrors.php 2014-04-05 02:54:22 UTC (rev 12421)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/admin/mirrors.php 2014-04-05 02:59:29 UTC (rev 12422)
@@ -151,7 +151,7 @@
'lid'
)]['title'] : "";
$mirror_waiting_array['submitter_uname'] = XoopsUserUtility::getUnameFromId($mirror_waiting->getVar('uid'));
- $mirror_waiting_array['formatted_date'] = formatTimestamp($mirror_waiting->getVar('date'), _DATESTRING);
+ $mirror_waiting_array['formatted_date'] = XoopsLocal::formatTimestamp($mirror_waiting->getVar('date'), 'l');
$GLOBALS['xoopsTpl']->append('mirrors_waiting', $mirror_waiting_array);
}
//Include page navigation
@@ -176,7 +176,7 @@
$mirror_published_array['download_title'] = isset($downloads[$mirror_published->getVar('lid')])
? $downloads[$mirror_published->getVar('lid')]['title'] : "";
$mirror_published_array['submitter_uname'] = XoopsUserUtility::getUnameFromId($mirror_published->getVar('uid'));
- $mirror_published_array['formatted_date'] = formatTimestamp($mirror_published->getVar('date'), _DATESTRING);
+ $mirror_published_array['formatted_date'] = XoopsLocal::formatTimestamp($mirror_published->getVar('date'), 'l');
$GLOBALS['xoopsTpl']->append('mirrors_published', $mirror_published_array);
}
//Include page navigation
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/admin/ratings.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/admin/ratings.php 2014-04-05 02:54:22 UTC (rev 12421)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/admin/ratings.php 2014-04-05 02:59:29 UTC (rev 12422)
@@ -66,7 +66,7 @@
);
foreach ($ratings as $rating) {
$rating_array = $rating->toArray();
- $rating_array['formatted_date'] = formatTimestamp($rating->getVar('ratingtimestamp'), _DATESTRING);
+ $rating_array['formatted_date'] = XoopsLocal::formatTimestamp($rating->getVar('ratingtimestamp'), 'l');
$rating_array['submitter_uname'] = XoopsUser::getUnameFromId($rating->getVar('ratinguser'));
$rating_array['submitter_uid'] = $rating->getVar('ratinguser');
$rating_array['download_title'] = $downloads[$rating->getVar('lid')]->getVar('title');
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/admin/reportsmodifications.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/admin/reportsmodifications.php 2014-04-05 02:54:22 UTC (rev 12421)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/admin/reportsmodifications.php 2014-04-05 02:59:29 UTC (rev 12422)
@@ -128,9 +128,9 @@
case "published" :
case "expired" :
case "updated" :
- $downloadContent = ($downloadContent != false) ? formatTimestamp($downloadContent, _DATESTRING) : _NO;
+ $downloadContent = ($downloadContent != false) ? XoopsLocal::formatTimestamp($downloadContent, 'l') : _NO;
//
- $modificationContent = ($modificationContent != false) ? formatTimestamp($modificationContent, _DATESTRING) : _NO;
+ $modificationContent = ($modificationContent != false) ? XoopsLocal::formatTimestamp($modificationContent, 'l') : _NO;
break;
case "platform":
case "license":
@@ -371,7 +371,7 @@
$report_array['reporter_email'] = isset($users[$report->getVar('sender')]) ? $users[$report->getVar('sender')]->getVar('email') : '';
$report_array['reporter_uname'] = isset($users[$report->getVar('sender')]) ? $users[$report->getVar('sender')]->getVar('uname')
: $xoopsConfig['anonymous'];
- $report_array['formatted_date'] = formatTimestamp($report->getVar('date'), _DATESTRING);
+ $report_array['formatted_date'] = XoopsLocal::formatTimestamp($report->getVar('date'), 'l');
$GLOBALS['xoopsTpl']->append('reports', $report_array);
}
//Include page navigation
@@ -396,7 +396,7 @@
$modification_array = $modification->toArray();
$modification_array['title'] = ($modification->getVar('title'));
$modification_array['submitter_uname'] = XoopsUserUtility::getUnameFromId($modification->getVar('submitter'));
- $modification_array['formatted_date'] = formatTimestamp($modification->getVar('requestdate'), _DATESTRING);
+ $modification_array['formatted_date'] = XoopsLocal::formatTimestamp($modification->getVar('requestdate'), 'l');
$download = $wfdownloads->getHandler('download')->get($modification->getVar('lid'));
$modification_array['download'] = $download->toArray();
$GLOBALS['xoopsTpl']->append('modifications', $modification_array);
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/admin/reviews.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/admin/reviews.php 2014-04-05 02:54:22 UTC (rev 12421)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/admin/reviews.php 2014-04-05 02:59:29 UTC (rev 12422)
@@ -157,7 +157,7 @@
$review_waiting_array['reviewer_uname'] = XoopsUserUtility::getUnameFromId($review_waiting->getVar('uid'));
$reviewer = $member_handler->getUser($review_waiting->getVar('uid'));
$review_waiting_array['reviewer_email'] = is_object($reviewer) ? $reviewer->email() : '';
- $review_waiting_array['formatted_date'] = formatTimestamp($review_waiting->getVar('date'), _DATESTRING);
+ $review_waiting_array['formatted_date'] = XoopsLocal::formatTimestamp($review_waiting->getVar('date'), 'l');
$GLOBALS['xoopsTpl']->append('reviews_waiting', $review_waiting_array);
}
//Include page navigation
@@ -188,7 +188,7 @@
$review_published_array['reviewer_uname'] = XoopsUserUtility::getUnameFromId($review_published->getVar('uid'));
$reviewer = $member_handler->getUser($review_published->getVar('uid'));
$review_published_array['reviewer_email'] = is_object($reviewer) ? $reviewer->email() : '';
- $review_published_array['formatted_date'] = formatTimestamp($review_published->getVar('date'), _DATESTRING);
+ $review_published_array['formatted_date'] = XoopsLocal::formatTimestamp($review_published->getVar('date'), 'l');
$GLOBALS['xoopsTpl']->append('reviews_published', $review_published_array);
}
//Include page navigation
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/class/category.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/class/category.php 2014-04-05 02:54:22 UTC (rev 12421)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/class/category.php 2014-04-05 02:59:29 UTC (rev 12422)
@@ -174,7 +174,7 @@
}
// form: button tray
$button_tray = new XoopsFormElementTray('', '');
- $button_tray->addElement(new XoopsFormHidden('op', 'save'));
+ $button_tray->addElement(new XoopsFormHidden('op', 'category.save'));
if ($this->isNew()) {
$button_create = new XoopsFormButton('', '', _SUBMIT, 'submit');
$button_create->setExtra('onclick="this.form.elements.op.value=\'category.save\'"');
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/docs/changelog.txt
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/docs/changelog.txt 2014-04-05 02:54:22 UTC (rev 12421)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/docs/changelog.txt 2014-04-05 02:59:29 UTC (rev 12422)
@@ -1,4 +1,6 @@
-<b><u>=> Version 3.23 Beta (2014-03-12)</u></b>
+<b><u>=> Version 3.23 Beta (2014-04-04)</u></b>
+- added: calculate file size also for local files (luciorota)
+- added: use XoopsLocal::formatTimestamp (luciorota)
- update jQuery Thickbox plugin to 3.1 (luciorota)
- fixed: jQuery bug in templates (luciorota)
- standardization of English language files (cesag)
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/include/common.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/include/common.php 2014-04-05 02:54:22 UTC (rev 12421)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/include/common.php 2014-04-05 02:59:29 UTC (rev 12422)
@@ -46,6 +46,7 @@
xoops_load('XoopsUserUtility');
+xoops_load('XoopsLocal');
// MyTextSanitizer object
$myts = MyTextSanitizer::getInstance();
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/include/functions.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/include/functions.php 2014-04-05 02:54:22 UTC (rev 12421)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/include/functions.php 2014-04-05 02:59:29 UTC (rev 12422)
@@ -1244,16 +1244,17 @@
function wfdownloads_download($filePath, $isBinary = true, $retBytes = true)
{
- $chunkSize = 1 * (1024 * 1024); // how many bytes per chunk
- $buffer = '';
- $cnt = 0;
+ // how many bytes per chunk
+ //$chunkSize = 1 * (1024 * 1024);
+ $chunkSize = 8 * (1024 * 1024); //8MB (highest possible fread length)
+ $buffer = '';
+ $bytesCounter = 0;
if ($isBinary == true) {
$handler = fopen($filePath, 'rb');
} else {
$handler = fopen($filePath, 'r');
}
-
if ($handler === false) {
return false;
}
@@ -1263,17 +1264,97 @@
ob_flush();
flush();
if ($retBytes) {
- $cnt += strlen($buffer);
+ $bytesCounter += strlen($buffer);
}
}
$status = fclose($handler);
if ($retBytes && $status) {
- return $cnt; // return num. bytes delivered like readfile() does.
+ return $bytesCounter; // return num. bytes delivered like readfile() does.
}
return $status;
}
+// IN PROGRESS
+// IN PROGRESS
+// IN PROGRESS
+/**
+* @author Jack Mason
+* @website volunteer @ http://www.osipage.com, web access application and bookmarking tool.
+* @copyright Free script, use anywhere as you like, no attribution required
+* @created 2014
+* The script is capable of downloading really large files in PHP. Files greater than 2GB may fail in 32-bit windows or similar system.
+* All incorrect headers have been removed and no nonsense code remains in this script. Should work well.
+* The best and most recommended way to download files with PHP is using xsendfile, learn
+* more here: https://tn123.org/mod_xsendfile/
+*/
+function wfdownloads_largeDownload($filePath, $fileMimetype) {
+ /* You may need these ini settings too */
+ set_time_limit(0);
+ ini_set('memory_limit', '512M');
+ if(!empty($filePath)) {
+ $fileInfo = pathinfo($filePath);
+ $fileName = $fileInfo['basename'];
+ $fileExtrension = $fileInfo['extension'];
+ $default_contentType = "application/octet-stream";
+ // to find and use specific content type, check out this IANA page : http://www.iana.org/assignments/media-types/media-types.xhtml
+ if ($fileMimetype =! '') {
+ $contentType = $fileMimetype;
+ } else {
+ $contentType = $default_contentType;
+ }
+ if(file_exists($filePath)) {
+ $size = filesize($filePath);
+ $offset = 0;
+ $length = $size;
+ //HEADERS FOR PARTIAL DOWNLOAD FACILITY BEGINS
+ if(isset($_SERVER['HTTP_RANGE'])) {
+ preg_match('/bytes=(\d+)-(\d+)?/', $_SERVER['HTTP_RANGE'], $matches);
+ $offset = intval($matches[1]);
+ $length = intval($matches[2]) - $offset;
+ $fhandle = fopen($filePath, 'r');
+ fseek($fhandle, $offset); // seek to the requested offset, this is 0 if it's not a partial content request
+ $data = fread($fhandle, $length);
+ fclose($fhandle);
+ header('HTTP/1.1 206 Partial Content');
+ header('Content-Range: bytes ' . $offset . '-' . ($offset + $length) . '/' . $size);
+ }//HEADERS FOR PARTIAL DOWNLOAD FACILITY BEGINS
+ //USUAL HEADERS FOR DOWNLOAD
+ header("Content-Disposition: attachment;filename=".$fileName);
+ header('Content-Type: '.$contentType);
+ header("Accept-Ranges: bytes");
+ header("Pragma: public");
+ header("Expires: -1");
+ header("Cache-Control: no-cache");
+ header("Cache-Control: public, must-revalidate, post-check=0, pre-check=0");
+ header("Content-Length: ".filesize($filePath));
+ $chunksize = 8 * (1024 * 1024); //8MB (highest possible fread length)
+ if ($size > $chunksize) {
+ $handle = fopen($_FILES["file"]["tmp_name"], 'rb');
+ $buffer = '';
+ while (!feof($handle) && (connection_status() === CONNECTION_NORMAL)) {
+ $buffer = fread($handle, $chunksize);
+ print $buffer;
+ ob_flush();
+ flush();
+ }
+ if(connection_status() !== CONNECTION_NORMAL) {
+ echo "Connection aborted";
+ }
+ fclose($handle);
+ } else {
+ ob_clean();
+ flush();
+ readfile($filePath);
+ }
+ } else {
+ echo 'File does not exist!';
+ }
+ } else {
+ echo 'There is no file to download!';
+ }
+}
+
function wfdownloads_getForum($selectedForumId)
{
global $xoopsDB;
@@ -1418,7 +1499,9 @@
return $truncate;
}
-
+// IN PROGRESS
+// IN PROGRESS
+// IN PROGRESS
/*
php4swish-e 1.1, a web search interface for the swish-e search engine.
swish-e is a popular open-source search engine that runs on many platforms.
@@ -1485,6 +1568,9 @@
print("</SCRIPT>");
}
+// IN PROGRESS
+// IN PROGRESS
+// IN PROGRESS
function wfdownloads_swishe_search($search_query)
{
$wfdownloads = WfdownloadsWfdownloads::getInstance();
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/language/english/admin.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/language/english/admin.php 2014-04-05 02:54:22 UTC (rev 12421)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/language/english/admin.php 2014-04-05 02:59:29 UTC (rev 12422)
@@ -642,5 +642,4 @@
define('_AM_WFDOWNLOADS_TEXTOPTIONS_DESC', "Description and Summary text options");
define('_AM_WFDOWNLOADS_FCATEGORY_DESCRIPTION_DESC', "");
-define('_AM_WFDOWNLOADS_FCATEGORY_SUMMARY_DESC', "");
-define('_AM_WFDOWNLOADS_TEXTOPTIONS_DESC', "Description and Summary text options");
\ No newline at end of file
+define('_AM_WFDOWNLOADS_FCATEGORY_SUMMARY_DESC', "");
\ No newline at end of file
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/visit.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/visit.php 2014-04-05 02:54:22 UTC (rev 12421)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/visit.php 2014-04-05 02:59:29 UTC (rev 12422)
@@ -39,7 +39,7 @@
$cid = WfdownloadsRequest::getInt('cid', $download->getVar('cid'));
$agreed = WfdownloadsRequest::getBool('agreed', false, 'POST');
-//Download not published, expired or taken offline - redirect
+// Download not published, expired or taken offline - redirect
if (
$download->getVar('published') == 0 ||
$download->getVar('published') > time() ||
@@ -55,14 +55,8 @@
redirect_header('index.php', 3, _NOPERM);
}
-function reportBroken($lid)
-{
- echo "<h4>" . _MD_WFDOWNLOADS_BROKENFILE . "</h4>\n";
- echo "<div>" . _MD_WFDOWNLOADS_PLEASEREPORT . "\n";
- echo "<a href='" . WFDOWNLOADS_URL . "/brokenfile.php?lid={$lid}'>" . _MD_WFDOWNLOADS_CLICKHERE . "</a>\n";
- echo "</div>\n";
-}
+
if ($agreed == false) {
if ($wfdownloads->getConfig('check_host')) {
$isAGoodHost = false;
@@ -129,8 +123,10 @@
$ip_log->setVar('uid', is_object($xoopsUser) ? $xoopsUser->getVar('uid') : 0);
$wfdownloads->getHandler('ip_log')->insert($ip_log, true);
- $fullFilename = trim($download->getVar('filename'));
- if ((!$download->getVar('url') == '' && !$download->getVar('url') == 'http://') || $fullFilename == '') {
+ // Download file
+ $fileFilename = trim($download->getVar('filename')); // IN PROGRESS: why 'trim'?
+ if ((!$download->getVar('url') == '' && !$download->getVar('url') == 'http://') || $fileFilename == '') {
+ // download is a remote file: download from remote url
include XOOPS_ROOT_PATH . '/header.php';
$xoTheme->addScript(XOOPS_URL . '/browse.php?Frameworks/jquery/jquery.js');
@@ -142,8 +138,9 @@
echo "<div align='center'>" . wfdownloads_headerImage() . "</div>";
$url = $myts->htmlSpecialChars(preg_replace('/javascript:/si', 'javascript:', $download->getVar('url')), ENT_QUOTES);
- echo "<h4><img src='" . WFDOWNLOADS_URL . "/images/icon/downloads.gif' align='middle' alt='' title='" . _MD_WFDOWNLOADS_DOWNINPROGRESS
- . "' /> " . _MD_WFDOWNLOADS_DOWNINPROGRESS . "</h4>\n";
+ echo "<h4>\n";
+ echo "<img src='" . WFDOWNLOADS_URL . "/images/icon/downloads.gif' align='middle' alt='' title='" . _MD_WFDOWNLOADS_DOWNINPROGRESS . "' /> " . _MD_WFDOWNLOADS_DOWNINPROGRESS . "\n";
+ echo "</h4>\n";
echo "<div>" . _MD_WFDOWNLOADS_DOWNSTARTINSEC . "</div><br />\n";
echo "<div>" . _MD_WFDOWNLOADS_DOWNNOTSTART . "\n";
echo "<a href='{$url}' target='_blank'>" . _MD_WFDOWNLOADS_CLICKHERE . "</a>.\n";
@@ -155,38 +152,51 @@
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
header("Refresh: 3; url={$url}");
- } elseif (!empty($fullFilename)) {
- $mimeType = $download->getVar('filetype');
- $file = strrev($fullFilename);
- $tempFilename = strtolower(strrev(substr($file, 0, strpos($file, '--'))));
- $filename = ($tempFilename == '') ? $fullFilename : $tempFilename;
- $filePath = $wfdownloads->getConfig('uploaddir') . '/' . stripslashes(trim($fullFilename));
+ } elseif (!empty($fileFilename)) {
+ // download is a local file: download from filesystem
if (ini_get('zlib.output_compression')) {
ini_set('zlib.output_compression', 'Off');
}
- // MSIE Bug fix.
- $headerFilename = (strstr($_SERVER['HTTP_USER_AGENT'], 'MSIE')) ? preg_replace('/\./', '%2e', $filename, substr_count($filename, '.') - 1)
- : $filename;
+ // get file informations from filesystem
+ $fileFilename = trim($download->getVar('filename')); // IN PROGRESS: why 'trim'?
+ $fileMimetype = ($download->getVar('filetype') != '') ? $download->getVar('filetype') : "application/octet-stream";
+ $filePath = $wfdownloads->getConfig('uploaddir') . '/' . stripslashes(trim($fileFilename));
+ $fileFilesize = filesize($filePath);
+ $fileInfo = pathinfo($filePath);
+ $fileName = $fileInfo['basename'];
+ $fileExtension = $fileInfo['extension'];
+
+ $headerFilename = strtolower(strrev(substr(strrev($fileFilename), 0, strpos(strrev($fileFilename), '--'))));
+ $headerFilename = ($headerFilename == '') ? $fileFilename : $headerFilename;
+ // MSIE Bug fix
+ if (strstr($_SERVER['HTTP_USER_AGENT'], 'MSIE')) {
+ $headerFilename = preg_replace('/\./', '%2e', $headerFilename, substr_count($headerFilename, '.') - 1);
+ }
+ //
header("Pragma: public");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Cache-Control: private", false);
- header("Content-Length: " . (string)(filesize($filePath)));
+ header("Content-Length: " . (string)($fileFilesize));
header("Content-Transfer-Encoding: binary");
- if (isset($mimeType)) {
- header("Content-Type: {$mimeType}");
- }
+ header("Content-Type: {$fileMimetype}");
header("Content-Disposition: attachment; filename={$headerFilename}");
- if (isset($mimeType) && strstr($mimeType, 'text/')) {
+ if (strstr($fileMimetype, 'text/')) {
+ // downladed file is not binary
wfdownloads_download($filePath, false, true);
} else {
+ // downladed file is binary
wfdownloads_download($filePath, true, true);
}
exit();
} else {
+ // download is a broken file: report broken
include XOOPS_ROOT_PATH . '/header.php';
echo "<br />";
echo "<div align='center'>" . wfdownloads_headerImage() . "</div>";
- reportBroken($lid);
+ echo "<h4>" . _MD_WFDOWNLOADS_BROKENFILE . "</h4>\n";
+ echo "<div>" . _MD_WFDOWNLOADS_PLEASEREPORT . "\n";
+ echo "<a href='" . WFDOWNLOADS_URL . "/brokenfile.php?lid={$lid}'>" . _MD_WFDOWNLOADS_CLICKHERE . "</a>\n";
+ echo "</div>\n";
}
include 'footer.php';
}
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/xoops_version.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/xoops_version.php 2014-04-05 02:54:22 UTC (rev 12421)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/xoops_version.php 2014-04-05 02:59:29 UTC (rev 12422)
@@ -42,9 +42,9 @@
$modversion['onUpdate'] = 'include/module.php';
$modversion['onUninstall'] = 'include/module.php';
-$modversion['date'] = '2014-03-12';
-$modversion['release_date'] = '2014/03/12';
-$modversion['releasedate'] = '2014-03-12';
+$modversion['date'] = '2014-04-04';
+$modversion['release_date'] = '2014/04/04';
+$modversion['releasedate'] = '2014-04-04';
$modversion['status'] = 'BETA 2';
$modversion['teammembers'] = "Bender, David, FrankBlack, Xpider, M0nty, Mithrandir, Marcan, felix[fx2024], Sudhaker, Jegelstaff";
|
|
From: <luc...@us...> - 2014-04-05 02:54:27
|
Revision: 12421
http://sourceforge.net/p/xoops/svn/12421
Author: luciorota
Date: 2014-04-05 02:54:22 +0000 (Sat, 05 Apr 2014)
Log Message:
-----------
standardization: fixed some errors
Modified Paths:
--------------
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_subscr.php
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/include/common.php
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/include/config.php
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/index.php
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/letter.php
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/subscription.php
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_subscr.php
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_subscr.php 2014-04-03 13:51:04 UTC (rev 12420)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/class/xNewsletter_subscr.php 2014-04-05 02:54:22 UTC (rev 12421)
@@ -228,7 +228,7 @@
//$form->addElement(new XoopsFormSelectUser(_AM_XNEWSLETTER_SUBSCR_SUBMITTER, "subscr_submitter", false, $this->getVar("subscr_submitter"), 1, false), true);
if ( $this->getVar("subscr_id") > 0 ) {
- $form->addElement(new XoopsFormLabel(_AM_XNEWSLETTER_SUBSCR_CREATED, formatTimestamp($this->getVar("subscr_created"), $xnewsletter->getConfig('dateformat')) . " [" . $this->getVar("subscr_ip") . "]"));
+ $form->addElement(new XoopsFormLabel(_AM_XNEWSLETTER_SUBSCR_CREATED, formatTimestamp($this->getVar("subscr_created"), $this->xnewsletter->getConfig('dateformat')) . " [" . $this->getVar("subscr_ip") . "]"));
$form->addElement(new XoopsFormHidden('subscr_created', $this->getVar("subscr_created")));
$form->addElement(new XoopsFormHidden('subscr_ip', $this->getVar("subscr_ip")));
} else {
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/include/common.php
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/include/common.php 2014-04-03 13:51:04 UTC (rev 12420)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/include/common.php 2014-04-05 02:54:22 UTC (rev 12421)
@@ -35,6 +35,7 @@
//include_once XOOPS_ROOT_PATH . '/class/tree.php';
//include_once XOOPS_ROOT_PATH . '/class/pagenav.php';
+ include_once XNEWSLETTER_ROOT_PATH . '/include/config.php'; // IN PROGRESS
include_once XNEWSLETTER_ROOT_PATH . '/include/functions.php';
include_once XNEWSLETTER_ROOT_PATH . '/include/constants.php';
include_once XNEWSLETTER_ROOT_PATH . '/class/session.php'; // xNewsletterSession class
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/include/config.php
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/include/config.php 2014-04-03 13:51:04 UTC (rev 12420)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/include/config.php 2014-04-05 02:54:22 UTC (rev 12421)
@@ -30,12 +30,6 @@
die("XOOPS root path not defined");
}
-$dirname = basename( dirname(dirname(__FILE__)));
-define("XNEWSLETTER_DIRNAME", $dirname);
-define("XNEWSLETTER_PATH", XOOPS_ROOT_PATH . "/modules/" . XNEWSLETTER_DIRNAME);
-define("XNEWSLETTER_URL", XOOPS_URL . "/modules/" . XNEWSLETTER_DIRNAME);
-define("XNEWSLETTER_ICONS_URL", XNEWSLETTER_URL . '/images/icons');
-
// module information
$moduleImageUrl = XNEWSLETTER_URL . "/images/xNewsletter.png";
$moduleCopyrightHtml = ""; //"<br /><br /><a href='' title='' target='_blank'><img src='{$moduleImageUrl}' alt='' /></a>";
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/index.php
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/index.php 2014-04-03 13:51:04 UTC (rev 12420)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/index.php 2014-04-05 02:54:22 UTC (rev 12421)
@@ -133,7 +133,7 @@
$cat_ids = explode('|' , $letterObj->getVar('letter_cats'));
foreach ($cat_ids as $cat_id) {
$catObj = $xnewsletter->getHandler('xNewsletter_cat')->get($cat_id);
- if ($gperm_handler->checkRight('newsletter_read_cat', $catObj->getVar('cat_id'), $groups, $xnewsletter->getModule->mid())) {
+ if ($gperm_handler->checkRight('newsletter_read_cat', $catObj->getVar('cat_id'), $groups, $xnewsletter->getModule()->mid())) {
$catsAvailableCount++;
unset($letter_array['letter_cats']);
$letter_array['letter_cats'][] = $catObj->toArray();
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/letter.php
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/letter.php 2014-04-03 13:51:04 UTC (rev 12420)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/letter.php 2014-04-05 02:54:22 UTC (rev 12421)
@@ -106,7 +106,7 @@
$catObjs = $xnewsletter->getHandler('xNewsletter_cat')->getAll($criteria_cats, null, true, true);
// cats table
foreach ($catObjs as $cat_id => $catObj) {
- $permissionShowCats[$cat_id] = $gperm_handler->checkRight('newsletter_list_cat', $cat_id, $groups, $xnewsletter->getModule->mid());
+ $permissionShowCats[$cat_id] = $gperm_handler->checkRight('newsletter_list_cat', $cat_id, $groups, $xnewsletter->getModule()->mid());
if ($permissionShowCats[$cat_id] == true) {
$cat_array = $catObj->toArray();
$criteria_catsubscrs = new CriteriaCompo();
@@ -298,7 +298,7 @@
unset($letter_array['letter_cats']); // IN PROGRESS
foreach ($cat_ids as $cat_id) {
$catObj = $xnewsletter->getHandler('xNewsletter_cat')->get($cat_id);
- if ($gperm_handler->checkRight('newsletter_read_cat', $catObj->getVar('cat_id'), $groups, $xnewsletter->getModule->mid())) {
+ if ($gperm_handler->checkRight('newsletter_read_cat', $catObj->getVar('cat_id'), $groups, $xnewsletter->getModule()->mid())) {
$catsAvailableCount++;
$letter_array['letter_cats'][] = $catObj->toArray();
}
Modified: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/subscription.php
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/subscription.php 2014-04-03 13:51:04 UTC (rev 12420)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/subscription.php 2014-04-05 02:54:22 UTC (rev 12421)
@@ -52,8 +52,8 @@
$op = 'delete_subscription';
}
if ($op == 'unsub') {
+ $op = 'list_subscriptions';
$xoopsOption['template_main'] = 'xnewsletter_subscription.html';
- $op = 'list_subscriptions';
$_SESSION['redirect_mail'] = xNewsletter_CleanVars($_REQUEST, 'email', '', 'string');
$_SESSION['unsub'] = '1';
}
@@ -168,7 +168,7 @@
if ($subscr_email == '') {
redirect_header($currentFile, 3, _MA_XNEWSLETTER_SUBSCRIPTION_ERROR_NOEMAIL);
}
- if (!checkEmail($subscr_email))
+ if (!xNewsletter_checkEmail($subscr_email))
redirect_header($currentFile, 3, _MA_XNEWSLETTER_SUBSCRIPTION_ERROR_NOEMAIL);
@@ -593,7 +593,7 @@
}
}
- if ((isset($_POST['ok']) && $_POST['ok'] == 1) || $activationKey) {
+ if ((isset($_POST['ok']) && $_POST['ok'] == true) || $activationKey) {
$count_err = 0;
$actionProts_error = '';
@@ -637,7 +637,8 @@
}
if ($valid) {
- $sql = "SELECT subscr_id FROM {$xoopsDB->prefix("mod_xnewsletter_subscr")}";
+ $sql = "SELECT subscr_id";
+ $sql.= " FROM {$xoopsDB->prefix("mod_xnewsletter_subscr")}";
$sql.= " WHERE (subscr_email='{$subscr_email}' AND subscr_id={$subscr_id}";
if ($activationKey)
$sql .= " AND subscr_actkey='{$code}'";
@@ -661,9 +662,9 @@
//delete subscription
$criteria_catsubscr = new CriteriaCompo();
$criteria_catsubscr->add(new Criteria('catsubscr_subscrid', $subscr_id));
- $numrows_catsubscr = $xnewsletter->getHandler('xNewsletter_catsubscr')->getCount($criteria_catsubscr);
+ $catsubscrCount = $xnewsletter->getHandler('xNewsletter_catsubscr')->getCount($criteria_catsubscr);
- if ($numrows_catsubscr > 0) {
+ if ($catsubscrCount > 0) {
$catsubscrObjs = $xnewsletter->getHandler('xNewsletter_catsubscr')->getall($criteria_catsubscr);
foreach (array_keys($catsubscrObjs) as $cat) {
$catsubscrObj =& $xnewsletter->getHandler('xNewsletter_catsubscr')->get($catsubscrObjs[$cat]->getVar("catsubscr_id"));
@@ -693,12 +694,12 @@
echo $actionProts_error;
}
} else {
- if (!$GLOBALS["xoopsSecurity"]->check()) {
- redirect_header('subscr.php', 3, implode(',', $GLOBALS["xoopsSecurity"]->getErrors()));
+ if (!$GLOBALS['xoopsSecurity']->check()) {
+ redirect_header('subscr.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors()));
}
$subscrObj =& $xnewsletter->getHandler('xNewsletter_subscr')->get($subscr_id);
- $subscrObj->setVar("subscr_actkey", xoops_makepass());
+ $subscrObj->setVar('subscr_actkey', xoops_makepass());
if (!$xnewsletter->getHandler('xNewsletter_subscr')->insert($subscrObj)) {
redirect_header($currentFile, 2, _MA_XNEWSLETTER_SUBSCRIPTION_ERROR);
}
@@ -729,7 +730,7 @@
}
} else {
$subscrObj =& $xnewsletter->getHandler('xNewsletter_subscr')->get($subscr_id);
- xoops_confirm(array("ok" => 1, "subscr_id" => $subscr_id, "subscr_email" => $subscr_email, "op" => "delete_subscription"), $currentFile, sprintf(_MA_XNEWSLETTER_SUBSCRIPTION_DELETE_SURE));
+ xoops_confirm(array('ok' => true, 'subscr_id' => $subscr_id, 'subscr_email' => $subscr_email, 'op' => 'delete_subscription'), $currentFile, sprintf(_MA_XNEWSLETTER_SUBSCRIPTION_DELETE_SURE));
}
break;
@@ -758,7 +759,7 @@
$subscr_email = xNewsletter_CleanVars($_REQUEST, 'subscr_email', '', 'string');
if ($subscr_email != '') {
// existing email from search form
- if (!checkEmail($subscr_email))
+ if (!xNewsletter_checkEmail($subscr_email))
redirect_header($currentFile, 3, _MA_XNEWSLETTER_SUBSCRIPTION_ERROR_NOEMAIL);
xoops_load("captcha");
$xoopsCaptcha = XoopsCaptcha::getinstance();
@@ -769,7 +770,7 @@
$showSubscrSearchForm = false;
}
} elseif (is_object($xoopsUser) && isset($xoopsUser)) {
- // take actual xoops user
+ // take actual xoops user email
$subscr_email = $xoopsUser->email();
$showSubscrSearchForm = false;
} else {
@@ -780,7 +781,7 @@
$xoopsTpl->assign('showSubscrSearchForm', $showSubscrSearchForm);
if ($showSubscrSearchForm) {
// show form search
- $subscrObj =& $xnewsletter->getHandler('xNewsletter_subscr')->create();
+ $subscrObj = $xnewsletter->getHandler('xNewsletter_subscr')->create();
$redirect_mail = (isset($_SESSION['redirect_mail'])) ? $_SESSION['redirect_mail'] : '';
if ($redirect_mail != '') {
$subscrObj->setVar('subscr_email', $redirect_mail);
@@ -803,8 +804,8 @@
// look for existing subscriptions
$criteria_subscr = new CriteriaCompo();
$criteria_subscr->add(new Criteria('subscr_email', $subscr_email));
- $criteria_subscr->setSort("subscr_id");
- $criteria_subscr->setOrder("ASC");
+ $criteria_subscr->setSort('subscr_id');
+ $criteria_subscr->setOrder('ASC');
$subscrCount = $xnewsletter->getHandler('xNewsletter_subscr')->getCount($criteria_subscr);
$xoopsTpl->assign('subscrCount', $subscrCount);
|
|
From: <txm...@us...> - 2014-04-03 13:51:10
|
Revision: 12420
http://sourceforge.net/p/xoops/svn/12420
Author: txmodxoops
Date: 2014-04-03 13:51:04 +0000 (Thu, 03 Apr 2014)
Log Message:
-----------
Updated work in progress
Added Fields Form
Pleace: if you test this, is needed new installation
Modified Paths:
--------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/modules.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/tables.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fieldelements.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_footer.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/file.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/htmlform.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/htmltable.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/tables.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/themeform.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/css/admin/style.css
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/js/functions.js
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/language/english/admin.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/sql/mysql.sql
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_fields.html
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_modules.html
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_tables.html
Added Paths:
-----------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/simplelabel.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/css/style.css
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php 2014-04-02 12:54:37 UTC (rev 12419)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php 2014-04-03 13:51:04 UTC (rev 12420)
@@ -41,7 +41,8 @@
$start = TDMCreate_CleanVars($_REQUEST, 'start', 0);
// Define main template
$template_main = 'tdmcreate_fields.html';
-
+ $GLOBALS['xoTheme']->addStylesheet( 'modules/TDMCreate/css/admin/style.css' );
+ $GLOBALS['xoTheme']->addScript('modules/TDMCreate/js/functions.js');
$GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('fields.php'));
$adminMenu->addItemButton(_AM_TDMCREATE_ADD_TABLE, 'tables.php?op=new', 'add');
$GLOBALS['xoopsTpl']->assign('button_new', $adminMenu->renderButton());
@@ -118,15 +119,17 @@
'field_null' => $_POST['field_null'],
'field_default' => $_POST['field_default'],
'field_key' => $_POST['field_key'],
- 'field_elements' => $_POST['field_elements'],
- 'field_admin' => (($_REQUEST['field_admin'] == 1) ? '1' : '0'),
+ 'field_autoincrement' => (($_REQUEST['field_element'] == 1) ? '1' : '0'),
+ 'field_element' => $_POST['field_element'],
+ 'field_inlist' => (($_REQUEST['field_inlist'] == 1) ? '1' : '0'),
+ 'field_inform' => (($_REQUEST['field_inform'] == 1) ? '1' : '0'),
+ 'field_admin' => (($_REQUEST['field_admin'] == 1) ? '1' : '0'),
'field_user' => (($_REQUEST['field_user'] == 1) ? '1' : '0'),
- 'field_blocks' => (($_REQUEST['field_blocks'] == 1) ? '1' : '0'),
- 'field_mainfield' => (($_REQUEST['field_mainfield'] == 1) ? '1' : '0'),
+ 'field_block' => (($_REQUEST['field_block'] == 1) ? '1' : '0'),
+ 'field_main' => (($_REQUEST['field_main'] == 1) ? '1' : '0'),
'field_search' => (($_REQUEST['field_search'] == 1) ? '1' : '0'),
- 'field_required' => (($_REQUEST['field_required'] == 1) ? '1' : '0'),
- 'field_fields' => $_POST['field_fields'],
- 'field_parameters' => $_POST['field_parameters'])
+ 'field_required' => (($_REQUEST['field_required'] == 1) ? '1' : '0')
+ )
);
if ($fieldsHandler->insert($obj)) {
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/modules.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/modules.php 2014-04-02 12:54:37 UTC (rev 12419)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/modules.php 2014-04-03 13:51:04 UTC (rev 12420)
@@ -30,6 +30,7 @@
$start = TDMCreate_CleanVars($_REQUEST, 'start', 0);
// Define main template
$template_main = 'tdmcreate_modules.html';
+ $GLOBALS['xoTheme']->addStylesheet( 'modules/TDMCreate/css/admin/style.css' );
$GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('modules.php'));
$adminMenu->addItemButton(_AM_TDMCREATE_ADD_MODULE, 'modules.php?op=new', 'add');
$GLOBALS['xoopsTpl']->assign('button_new', $adminMenu->renderButton());
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/tables.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/tables.php 2014-04-02 12:54:37 UTC (rev 12419)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/tables.php 2014-04-03 13:51:04 UTC (rev 12420)
@@ -38,7 +38,6 @@
$template_main = 'tdmcreate_tables.html';
$GLOBALS['xoTheme']->addStylesheet( 'modules/TDMCreate/css/admin/style.css' );
$GLOBALS['xoTheme']->addScript('modules/TDMCreate/js/functions.js');
-
$GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('tables.php'));
$adminMenu->addItemButton(_AM_TDMCREATE_ADD_TABLE, 'tables.php?op=new', 'add');
$GLOBALS['xoopsTpl']->assign('button_new', $adminMenu->renderButton());
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fieldelements.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fieldelements.php 2014-04-02 12:54:37 UTC (rev 12419)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fieldelements.php 2014-04-03 13:51:04 UTC (rev 12420)
@@ -16,39 +16,54 @@
* @package tdmcreate
* @since 2.5.5
* @author Txmod Xoops <su...@tx...>
- * @version $Id: 1.59 fieldelements.php 11297 2013-03-24 10:58:10Z timgno $
+ * @version $Id: 1.91 fieldelements.php 11297 2014-03-24 09:11:10Z timgno $
*/
-if (!defined('XOOPS_ROOT_PATH')) { die("XOOPS root path not defined"); }
+
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
-class TDMCreateFieldelements extends XoopsObject
+/*
+* @Class TDMCreateFieldElements
+* @extends XoopsObject
+*/
+class TDMCreateFieldElements extends XoopsObject
{
- //Constructor
- function __construct()
+ /*
+ * @public function constructor class
+ * @param null
+ */
+ public function __construct()
{
- $this->XoopsObject();
- $this->initVar('fieldelement_id', XOBJ_DTYPE_INT);
- $this->initVar('fieldelement_value', XOBJ_DTYPE_TXTBOX);
- $this->initVar('fieldelement_name', XOBJ_DTYPE_TXTBOX);
- $this->initVar('fieldelement_admin', XOBJ_DTYPE_INT);
- $this->initVar('fieldelement_inlist', XOBJ_DTYPE_INT);
- $this->initVar('fieldelement_pid', XOBJ_DTYPE_INT);
- $this->initVar('fieldelement_user', XOBJ_DTYPE_INT);
- $this->initVar('fieldelement_block', XOBJ_DTYPE_INT);
- $this->initVar('fieldelement_mfield', XOBJ_DTYPE_INT);
- $this->initVar('fieldelement_search', XOBJ_DTYPE_INT);
- $this->initVar('fieldelement_required', XOBJ_DTYPE_INT);
+ $this->htmltable = TDMCreateHtmlTable::getInstance();
+ $this->initVar('fieldelement_fid', XOBJ_DTYPE_INT);
+ $this->initVar('fieldelement_value', XOBJ_DTYPE_TXTBOX);
+ $this->initVar('fieldelement_name', XOBJ_DTYPE_TXTBOX);
}
- //Constructor
- function TDMCreateFieldelements()
+ /*
+ * @static function &getInstance
+ * @param null
+ */
+ public static function &getInstance()
{
- $this->__construct();
+ static $instance = false;
+ if (!$instance) {
+ $instance = new self();
+ }
+ return $instance;
}
}
-class TDMCreateFieldelementsHandler extends XoopsPersistableObjectHandler
+/*
+* @Class TDMCreateFieldElementsHandler
+* @extends XoopsPersistableObjectHandler
+*/
+class TDMCreateFieldElementsHandler extends XoopsPersistableObjectHandler
{
- function __construct(&$db)
+ /*
+ * @public function constructor class
+ * @param mixed $db
+ */
+ public function __construct(&$db)
{
- parent::__construct($db, 'mod_tdmcreate_fieldelements', 'tdmcreatefieldelements', 'fieldelement_id', 'fieldelement_name');
+ parent::__construct($db, 'mod_tdmcreate_fieldelements', 'tdmcreatefieldelements', 'fieldelement_fid', 'fieldelement_name');
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php 2014-04-02 12:54:37 UTC (rev 12419)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php 2014-04-03 13:51:04 UTC (rev 12420)
@@ -19,6 +19,7 @@
* @version $Id: fields.php 12258 2014-01-02 09:33:29Z timgno $
*/
defined('XOOPS_ROOT_PATH') or die('Restricted access');
+require_once 'simplelabel.php';
require_once 'themeform.php';
/*
* @Class TDMCreateFields
@@ -31,16 +32,6 @@
*/
private $table = null;
- /**
- * @var string
- */
- private $htmltable = null;
-
- /**
- * @var string
- */
- private $htmltable_parameters = null;
-
/*
* @public function constructor class
* @param null
@@ -48,9 +39,8 @@
public function __construct()
{
$this->table = TDMCreateTables::getInstance();
- $this->htmltable = TDMCreateHtmlTable::getInstance();
- $this->htmltable_parameters = TDMCreateHtmlTable::getInstance();
$this->initVar('field_id', XOBJ_DTYPE_INT);
+ $this->initVar('field_mid', XOBJ_DTYPE_INT);
$this->initVar('field_tid', XOBJ_DTYPE_INT);
$this->initVar('field_name', XOBJ_DTYPE_TXTBOX);
$this->initVar('field_type', XOBJ_DTYPE_TXTBOX);
@@ -59,15 +49,16 @@
$this->initVar('field_null', XOBJ_DTYPE_TXTBOX);
$this->initVar('field_default', XOBJ_DTYPE_TXTBOX);
$this->initVar('field_key', XOBJ_DTYPE_TXTBOX);
- $this->initVar('field_auto_increment', XOBJ_DTYPE_INT);
- $this->initVar('field_display_admin', XOBJ_DTYPE_INT);
- $this->initVar('field_display_user', XOBJ_DTYPE_INT);
- $this->initVar('field_display_block', XOBJ_DTYPE_INT);
- $this->initVar('field_mainfield', XOBJ_DTYPE_INT);
- $this->initVar('field_search', XOBJ_DTYPE_INT);
- $this->initVar('field_required', XOBJ_DTYPE_INT);
- $this->initVar('field_fields',XOBJ_DTYPE_TXTAREA);
- $this->initVar('field_parameters',XOBJ_DTYPE_TXTAREA);
+ $this->initVar('field_autoincrement', XOBJ_DTYPE_INT);
+ $this->initVar('field_element', XOBJ_DTYPE_TXTBOX);
+ $this->initVar('field_inlist', XOBJ_DTYPE_INT);
+ $this->initVar('field_inform', XOBJ_DTYPE_INT);
+ $this->initVar('field_admin', XOBJ_DTYPE_INT);
+ $this->initVar('field_user', XOBJ_DTYPE_INT);
+ $this->initVar('field_block', XOBJ_DTYPE_INT);
+ $this->initVar('field_main', XOBJ_DTYPE_INT);
+ $this->initVar('field_search', XOBJ_DTYPE_INT);
+ $this->initVar('field_required', XOBJ_DTYPE_INT);
}
/*
@@ -107,141 +98,156 @@
$field_tid = $this->getVar('field_tid');
$nb_fields = $this->getVar('field_numb');
}
-
- $header_captions = array(_AM_TDMCREATE_FIELD_NUMBER, _AM_TDMCREATE_FIELD_NAME, _AM_TDMCREATE_FIELD_TYPE, _AM_TDMCREATE_FIELD_VALUE, _AM_TDMCREATE_FIELD_ATTRIBUTE, _AM_TDMCREATE_FIELD_NULL, _AM_TDMCREATE_FIELD_DEFAULT, _AM_TDMCREATE_FIELD_KEY, _AM_TDMCREATE_FIELD_OTHERS);
- xoops_load('xoopsformloader');
+
$form = new TDMCreateThemeForm($title, 'form', $action, 'post', true);
$form->setExtra('enctype="multipart/form-data"');
- $tablesHandler = xoops_getModuleHandler('tables');
- // New Object HtmlTable
- //$this->htmltable->initTable(null, 'display outer');
- // header row
- /*$this->htmltable->addRow('center bgblue');
- $this->htmltable->addCells($cells, 'first', 'header');*/
- $this->htmltable->initTable('display outer width100');
- $this->htmltable->addRow() . NWLINE;
- $this->htmltable->addCell($title, 'first', 'header', 'colspan="9"');
- $this->htmltable->addRow('center bgblue') . NWLINE;
- $this->htmltable->addCells($header_captions, 'first', 'header');
-
- for($i = 1; $i <= intval($nb_fields); $i++)
+ $tablesHandler = xoops_getModuleHandler('tables');
+ $fieldelementsHandler =& xoops_getModuleHandler('fieldelements');
+ // New Object HtmlTable
+ $form->addElement(new TDMCreateFormLabel('<table class="outer">'));
+ $form->addElement(new TDMCreateFormLabel('<thead class="center"><tr class="width5">'));
+ $form->addElement(new TDMCreateFormLabel('<th>'._AM_TDMCREATE_FIELD_NUMBER.'</th>'));
+ $form->addElement(new TDMCreateFormLabel('<th>'._AM_TDMCREATE_FIELD_NAME.'</th>'));
+ $form->addElement(new TDMCreateFormLabel('<th>'._AM_TDMCREATE_FIELD_TYPE.'</th>'));
+ $form->addElement(new TDMCreateFormLabel('<th>'._AM_TDMCREATE_FIELD_VALUE.'</th>'));
+ $form->addElement(new TDMCreateFormLabel('<th>'._AM_TDMCREATE_FIELD_ATTRIBUTE.'</th>'));
+ $form->addElement(new TDMCreateFormLabel('<th>'._AM_TDMCREATE_FIELD_NULL.'</th>'));
+ $form->addElement(new TDMCreateFormLabel('<th>'._AM_TDMCREATE_FIELD_DEFAULT.'</th>'));
+ $form->addElement(new TDMCreateFormLabel('<th>'._AM_TDMCREATE_FIELD_KEY.'</th>'));
+ $form->addElement(new TDMCreateFormLabel('<th>'._AM_TDMCREATE_FIELD_OTHERS.'</th>'));
+ $form->addElement(new TDMCreateFormLabel('</tr></thead>'));
+ $form->addElement(new TDMCreateFormLabel('<tbody>'));
+
+ $class = 'even';
+ for($i = 1; $i <= $nb_fields; $i++)
{
- $field_name = $this->isNew() ? $this->table->getVar('table_fieldname') : $this->getVar('field_name');
+ $class = $class ? 'odd' : 'even';
+ $form->addElement(new TDMCreateFormLabel('<tr class="'.$class.'">'));
+ // Index ID
+ $form->addElement(new TDMCreateFormLabel('<td class="center">'.$i.'</td>'));
+ $field_name = $this->isNew() ? $table_fieldname : $this->getVar('field_name');
$field_name = new XoopsFormText(_AM_TDMCREATE_FIELD_NAME, 'field_name', 15, 255, $field_name);
- // fieldtype
+ // Field Name
+ $form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_name->render().'</td>'));
+ // Field Type
$fieldtypeHandler =& xoops_getModuleHandler('fieldtype');
$fieldtype_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_TYPE, 'field_type', $this->getVar('field_type'));
- $fieldtype_select->addOptionArray($fieldtypeHandler->getList());
- // fieldvalue
+ $fieldtype_select->addOptionArray($fieldtypeHandler->getList());
+ $form->addElement(new TDMCreateFormLabel('<td class="center">'.$fieldtype_select->render().'</td>'));
+ // Field Value
$field_value = new XoopsFormText(_AM_TDMCREATE_FIELD_VALUE, 'field_value', 5, 20, $this->getVar('field_value'));
- // fieldattributes
+ $form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_value->render().'</td>'));
+ // Field Attributes
$fieldattrsHandler =& xoops_getModuleHandler('fieldattributes');
$field_attributes_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_TYPE, 'field_attribute', $this->getVar('field_attribute'));
$field_attributes_select->addOptionArray($fieldattrsHandler->getList());
- // fieldnull
+ $form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_attributes_select->render().'</td>'));
+ // Field Null
$fieldnullHandler =& xoops_getModuleHandler('fieldnull');
$field_null_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_NULL, 'field_null', $this->getVar('field_null'));
- $field_null_select->addOptionArray($fieldnullHandler->getList());
- // fielddefault
+ $field_null_select->addOptionArray($fieldnullHandler->getList());
+ $form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_null_select->render().'</td>'));
+ // Field Default
$field_default = new XoopsFormText(_AM_TDMCREATE_FIELD_DEFAULT, 'field_default', 15, 25, $this->getVar('field_default'));
- // fieldkey
+ $form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_default->render().'</td>'));
+ // Field Key
$fieldkeyHandler =& xoops_getModuleHandler('fieldkey');
$field_key_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_KEY, 'field_key', $this->getVar('field_key'));
$field_key_select->addOptionArray($fieldkeyHandler->getList());
- // render fields
- $htmltableDataArray = array($i, $field_name->render(), $fieldtype_select->render(), $field_value->render(), $field_attributes_select->render(), $field_null_select->render(), $field_default->render(), $field_key_select->render());
- // data row
- $this->htmltable->addRow('center bgyellow');
- $this->htmltable->addCells($htmltableDataArray, 'first', 'data');
- $this->htmltable_parameters->initTable('display');
+ $form->addElement(new TDMCreateFormLabel('<td class="center">'.$field_key_select->render().'</td>'));
+ // Field Autoincrement
if($i == 1) {
- $field_autoincrement = $this->isNew() ? 0 : $this->getVar('field_auto_increment');
- $check_field_autoincrement = new XoopsFormCheckBox(' ', 'field_auto_increment', $field_autoincrement);
+ $field_autoincrement = $this->isNew() ? 0 : $this->getVar('field_autoincrement');
+ $check_field_autoincrement = new XoopsFormCheckBox(' ', 'field_autoincrement', $field_autoincrement);
$check_field_autoincrement->addOption(1, _AM_TDMCREATE_FIELD_AUTO_INCREMENT);
- // data row
- $this->htmltable_parameters->addRow();
- $this->htmltable_parameters->addCell($check_field_autoincrement->render(), null, 'data');
+ $form->addElement(new TDMCreateFormLabel('<td>'.$check_field_autoincrement->render().'</td></tr>'));
} elseif($i > 1) {
- // Box header row
- $this->htmltable_parameters->addRow('center bgyellow');
- $this->htmltable_parameters->addCell(_AM_TDMCREATE_FIELD_ELEMENTS, 'first', 'header');
- // fieldelements
- $fieldelementsHandler=& xoops_getModuleHandler('fieldelements');
- $field_elements_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_ELEMENT_NAME, 'field_element_name', $this->getVar('field_element_name'));
+ // Box header row
+ $parameters_tray = new XoopsFormElementTray('', '<br />');
+ // Field Elements
+ $field_elements_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_ELEMENT_NAME, 'fieldelement_name', $this->getVar('fieldelement_name'));
$field_elements_select->addOptionArray($fieldelementsHandler->getList());
$criteria = new CriteriaCompo(new Criteria('table_id', $table_id));
$criteria->add(new Criteria('table_mid', $table_mid));
$criteria->setSort('table_name');
$criteria->setOrder('ASC');
- $tbls_arr1 = $tablesHandler->getAll($criteria);
+ $table_arr = $tablesHandler->getAll($criteria);
unset($criteria);
- foreach (array_keys($tbls_arr1) as $j)
+ foreach (array_keys($table_arr) as $j)
{
- $tbls_name1 = $tbls_arr1[$j]->getVar('table_name');
- if ( $j[$i] == 'XoopsFormTables-'.$tbls_name1 ) {
- $field_elements_select->addOption('XoopsFormTables-'.$tbls_name1, 'Table : '.$tbls_name1);
+ $form_table_name = $table_arr[$j]->getVar('table_name');
+ if ( $j[$i] == 'XoopsFormTables-'.$form_table_name ) {
+ $field_elements_select->addOption('XoopsFormTables-'.$form_table_name, 'Table : '.$form_table_name);
}
}
- // data row
- $this->htmltable_parameters->addRow();
- $this->htmltable_parameters->addCell($field_elements_select->render(), null, 'data');
- $field_display_admin = $this->isNew() ? 0 : $this->getVar('field_display_admin');
- $check_field_display_admin = new XoopsFormCheckBox(' ', 'field_display_admin', $field_display_admin);
- $check_field_display_admin->addOption(1, _AM_TDMCREATE_FIELD_ADMIN);
- // data row
- $this->htmltable_parameters->addRow();
- $this->htmltable_parameters->addCell($check_field_display_admin->render(), null, 'data');
- $field_display_user = $this->isNew() ? 0 : $this->getVar('field_display_user');
- $check_field_display_user = new XoopsFormCheckBox(' ', 'field_display_user', $field_display_user);
- $check_field_display_user->addOption(1, _AM_TDMCREATE_FIELD_USER);
- // data row
- $this->htmltable_parameters->addRow();
- $this->htmltable_parameters->addCell($check_field_display_user->render(), null, 'data');
- $field_display_block = $this->isNew() ? 0 : $this->getVar('field_display_block');
- $check_field_display_block = new XoopsFormCheckBox(' ', 'field_display_block', $field_display_block);
- $check_field_display_block->addOption(1, _AM_TDMCREATE_FIELD_BLOCK);
- // data row
- $this->htmltable_parameters->addRow();
- $this->htmltable_parameters->addCell($check_field_display_block->render(), null, 'data');
- $field_mnfield = $this->isNew() ? 0 : $this->getVar('field_mainfield');
- $field_mainfield = new XoopsFormRadio(' ', 'field_mainfield', $field_mnfield);
- $field_mainfield->addOption( ' ', _AM_TDMCREATE_FIELD_MAINFIELD );
- // data row
- $this->htmltable_parameters->addRow();
- $this->htmltable_parameters->addCell($field_mainfield->render(), null, 'data');
+ $parameters_tray->addElement($field_elements_select);
+
+ $field_inline = $this->isNew() ? 0 : $this->getVar('field_inline');
+ $check_field_inline = new XoopsFormCheckBox(' ', 'field_inline', $field_inline);
+ $check_field_inline->addOption(1, _AM_TDMCREATE_FIELD_ADMIN);
+ $parameters_tray->addElement($check_field_inline);
+
+ $field_inform = $this->isNew() ? 0 : $this->getVar('field_inform');
+ $check_field_inform = new XoopsFormCheckBox(' ', 'field_inform', $field_inform);
+ $check_field_inform->addOption(1, _AM_TDMCREATE_FIELD_ADMIN);
+ $parameters_tray->addElement($check_field_inform);
+
+ $field_admin = $this->isNew() ? 0 : $this->getVar('field_admin');
+ $check_field_admin = new XoopsFormCheckBox(' ', 'field_admin', $field_admin);
+ $check_field_admin->addOption(1, _AM_TDMCREATE_FIELD_ADMIN);
+ $parameters_tray->addElement($check_field_admin);
+
+ $field_user = $this->isNew() ? 0 : $this->getVar('field_user');
+ $check_field_user = new XoopsFormCheckBox(' ', 'field_user', $field_user);
+ $check_field_user->addOption(1, _AM_TDMCREATE_FIELD_USER);
+ $parameters_tray->addElement($check_field_user);
+
+ $field_block = $this->isNew() ? 0 : $this->getVar('field_block');
+ $check_field_block = new XoopsFormCheckBox(' ', 'field_block', $field_block);
+ $check_field_block->addOption(1, _AM_TDMCREATE_FIELD_BLOCK);
+ $parameters_tray->addElement($check_field_block);
+
+ $field_mnfield = $this->isNew() ? 0 : $this->getVar('field_main');
+ $field_main = new XoopsFormRadio(' ', 'field_main', $field_mnfield);
+ $field_main->addOption( ' ', _AM_TDMCREATE_FIELD_MAINFIELD );
+ $parameters_tray->addElement($field_main);
+
$field_search = $this->isNew() ? 0 : $this->getVar('field_search');
$check_field_search = new XoopsFormCheckBox(' ', 'field_search', $field_search);
- $check_field_search->addOption(1, _AM_TDMCREATE_FIELD_SEARCH);
- // data row
- $this->htmltable_parameters->addRow();
- $this->htmltable_parameters->addCell($check_field_search->render(), null, 'data');
+ $check_field_search->addOption(1, _AM_TDMCREATE_FIELD_SEARCH);
+ $parameters_tray->addElement($check_field_search);
+
$field_required = $this->isNew() ? 0 : $this->getVar('field_required');
$check_field_required = new XoopsFormCheckBox(' ', 'field_required', $field_required);
$check_field_required->addOption(1, _AM_TDMCREATE_FIELD_REQUIRED);
- // data row
- $this->htmltable_parameters->addRow();
- $this->htmltable_parameters->addCell($check_field_required->render(), null, 'data');
+ $parameters_tray->addElement($check_field_required);
+
+ $form->addElement(new TDMCreateFormLabel('<td>'.$parameters_tray->render().'</td></tr>'));
}
- $this->htmltable->addCell($this->htmltable_parameters->render(), null, 'data');
-
- if (!$this->isNew()) {
- $tableId_Hidden = new XoopsFormHidden('table_id', $this->table->getVar('table_id'));
- $form->addElement($tableId_Hidden);
- //$form->addElement(new XoopsFormHidden('fields_modified', true));
- }
}
- $formHidden = new XoopsFormHidden('op', 'save_fields');
- $formButton = new XoopsFormButton('', 'submit', _SUBMIT, 'submit');
- $this->htmltable->addCell($formHidden->render(), null, 'data');
- $this->htmltable->addCell($formButton->render(), null, 'data');
- $form->addElement($this->htmltable->render());
+ $form->addElement(new XoopsFormHidden('field_tid', $field_tid));
+ $form->addElement(new TDMCreateFormLabel('</tbody>'));
+ $form->addElement(new TDMCreateFormLabel('<tfoot><tr>'));
+ $form_hidden = new XoopsFormHidden('op', 'save');
+ $form_button = new XoopsFormButton('', 'submit', _SUBMIT, 'submit');
+ $form->addElement(new TDMCreateFormLabel('<td colspan="8">'.$form_hidden->render().'</td>'));
+ $form->addElement(new TDMCreateFormLabel('<td>'.$form_button->render().'</td>'));
+ $form->addElement(new TDMCreateFormLabel('</tr></tfoot></table>'));
return $form;
}
}
+/*
+* @Class TDMCreateFieldsHandler
+* @extends XoopsPersistableObjectHandler
+*/
class TDMCreateFieldsHandler extends XoopsPersistableObjectHandler
{
- function __construct(&$db)
+ /*
+ * @public function constructor class
+ * @param mixed $db
+ */
+ public function __construct(&$db)
{
parent::__construct($db, 'mod_tdmcreate_fields', 'tdmcreatefields', 'field_id', 'field_tid');
}
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_footer.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_footer.php 2014-04-02 12:54:37 UTC (rev 12419)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_footer.php 2014-04-03 13:51:04 UTC (rev 12420)
@@ -22,13 +22,19 @@
die('XOOPS root path not defined');
}
-class AdminFooter extends HeaderFile
+class AdminFooter extends TDMCreateFile
{
/*
+ * @var string
+ */
+ private $tdmcfile = null;
+
+ /*
* @public function constructor
* @param string $modules
*/
public function __construct($module, $file_name) {
+ $this->tdmcfile = TDMCreateFile::getInstance();
$this->module = $module;
$this->file_name = $file_name;
}
@@ -56,7 +62,8 @@
$support_name = $this->getSupportName();
$support_url = $this->getSupportUrl();
$language = $this->getLanguage('_AM_', '_');
- $ret <<<EOT
+ $content = $this->getHeaderFilesComments($module, $file_name).PHP_EOL;
+ $content .= <<<EOT
\necho "<div class='center'><a href='http://www.xoops.org' title='Visit XOOPS' target='_blank'>
<img src='".\$sysPathIcon32."/xoopsmicrobutton.gif' alt='XOOPS' /></a></div>";
echo "<div class='center smallsmall italic pad5'>
@@ -64,6 +71,7 @@
<a href='{$support_url}' title='Visit {$support_name}' class='tooltip' rel='external'>{$support_name}</a></div>";
xoops_cp_footer();
EOT;
- return $ret;
+ $this->tdmcfile->create($path, $file_name, $content, $created, $notcreated);
+ return $this->tdmcfile->renderFile();
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/file.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/file.php 2014-04-02 12:54:37 UTC (rev 12419)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/file.php 2014-04-03 13:51:04 UTC (rev 12420)
@@ -20,7 +20,7 @@
*/
defined('XOOPS_ROOT_PATH') or die('Restricted access');
-class TDMCreateFile
+class TDMCreateFile extends TDMCreateAbstractFiles
{
/*
* @var string
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/htmlform.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/htmlform.php 2014-04-02 12:54:37 UTC (rev 12419)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/htmlform.php 2014-04-03 13:51:04 UTC (rev 12420)
@@ -21,13 +21,15 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
+require_once 'htmltable.php';
+
/**
* Form HTML
*
*/
-class HtmlForm
-{
- /**
+class TDMCreateHtmlForm
+{
+ /**
* name attribute
*
* @var string
@@ -35,13 +37,6 @@
private $name = null;
/**
- * id attribute
- *
- * @var mixed
- */
- private $id = null;
-
- /**
* action attribute
*
* @var mixed
@@ -55,21 +50,14 @@
*/
private $method = null;
- /**
- * display attribute
+ /**
+ * extra attribute
*
- * @var bool
+ * @var mixed
*/
- private $display = false;
+ private $extra = null;
/**
- * hidden attribute
- *
- * @var bool
- */
- private $hidden = false;
-
- /**
* constructor
*
*/
@@ -91,50 +79,62 @@
}
/**
- * Function getForm
+ * Function getHtmlForm
*
* @param string $name "name" attribute for the <form> tag
- * @param string $id "id" attribute for the <form> tag
* @param string $action "action" attribute for the <form> tag
* @param string $method "method" attribute for the <form> tag
* @param bool $extra whether to add a javascript to the form
- * @param string $display "display" attribute for the <table> tag
- * @param string $hidden "hidden" attribute for the <form> tag
*/
- public function getForm($name = null, $id = null, $action = false, $method = 'post', $extra = false, $display = false, $hidden = false)
+ public function getInitForm($name = null, $action = false, $method = 'post', $extra = false)
{
$this->name = $name;
- $this->id = $id;
$this->action = $action;
$this->method = $method;
$this->extra = $extra;
- $this->display = $display;
- $this->hidden = $hidden;
}
/**
- * Function OpenForm
+ * Function getHeaderForm
*
+ * @param string $title
+ */
+ public function getHeaderForm($title)
+ {
+ $ret = ($title ? '<div class=" center head ">' . $title . '</div>' . NWLINE : '');
+ return $ret;
+ }
+
+ /**
+ * Function getOpenForm
+ *
* @param null
*/
public function getOpenForm()
{
- $ret = '<form name="' . $this->name . '" id="' . $this->id . '" action="' . $this->action . '" method="' . $this->method . '" onsubmit="return xoopsFormValidate_' . $this->name . '();"' . $this->extra . '>' . NWLINE;
+ $ret = '<form name="' . $this->name . '" id="' . $this->name . '" action="' . $this->action . '" method="' . $this->method . '" onsubmit="return xoopsFormValidate_' . $this->name . '();"' . $this->extra . '>' . NWLINE;
return $ret;
}
/**
+ * Function getContentForm
+ *
+ * @param null
+ */
+ public function getContentForm($class, $caption, $content)
+ {
+ $ret = '<div class="' . $class . '"><strong>' . $caption . '</strong>' . $content . '</div>' . NWLINE;
+ return $ret;
+ }
+
+ /**
* Function CloseForm
*
* @param null
*/
public function getCloseForm()
{
- if($this->display && $this->hidden) {
- $ret = $this->display . NWLINE . ' ' . $this->hidden . '</form>' . NWLINE;
- } else {
- $ret = NWLINE . '</form>' . NWLINE;
- }
+ $ret = '</form>' . NWLINE;
return $ret;
}
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/htmltable.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/htmltable.php 2014-04-02 12:54:37 UTC (rev 12419)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/htmltable.php 2014-04-03 13:51:04 UTC (rev 12420)
@@ -240,7 +240,9 @@
*/
public function addTableRow( $class = '', $attributes = null )
{
- $this->_class = $class;
+ if(empty($class)){
+ $this->_class = $class;
+ }
if(!is_array($attributes)){
$this->attributes[] = $attributes;
} else {
@@ -259,7 +261,9 @@
public function addTableCell( $data, $class = '', $type = '', $attributes = null )
{
$this->data = $data;
- $this->_class = $class;
+ if(empty($class)){
+ $this->_class = $class;
+ }
$this->type = $type;
if(!is_array($attributes)){
$this->attributes[] = $attributes;
@@ -291,8 +295,8 @@
*/
public function render()
{
- $ret = $this->initTable($id = '', $_class = '', $border = 0, $cellspacing = 2, $cellpadding = 0, $attributes = array() );
- $ret .= $this->endTable();
+ //$ret = $this->initTable($id = '', $_class = '', $border = 0, $cellspacing = 2, $cellpadding = 0, $attributes = array() );
+ $ret = $this->endTable();
return $ret;
}
}
\ No newline at end of file
Added: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/simplelabel.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/simplelabel.php (rev 0)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/simplelabel.php 2014-04-03 13:51:04 UTC (rev 12420)
@@ -0,0 +1,47 @@
+<?php
+/**
+ * XOOPS form element
+ *
+ * You may not change or alter any portion of this comment or credits
+ * of supporting developers from this source code or any supporting source code
+ * which is considered copyrighted (c) material of the original comment or credit authors.
+ * 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.
+ *
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
+ * @package kernel
+ * @subpackage form
+ * @since 2.0.0
+ * @author Kazumi Ono (AKA onokazu) http://www.myweb.ne.jp/, http://jp.xoops.org/
+ * @version $Id: simplelabel.php 12562 2014-04-03 10:57:12Z timgno $
+ */
+
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
+
+/**
+ * A text label
+ */
+class TDMCreateFormLabel extends XoopsFormElement
+{
+ /**
+ * Constructor
+ *
+ * @param string $caption
+ */
+ function TDMCreateFormLabel($caption = '')
+ {
+ $this->setCaption($caption);
+ }
+
+ /**
+ * Prepare HTML for output
+ *
+ * @return string
+ */
+ function render()
+ {
+ return $this->getCaption();
+ }
+}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/tables.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/tables.php 2014-04-02 12:54:37 UTC (rev 12419)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/tables.php 2014-04-03 13:51:04 UTC (rev 12420)
@@ -83,12 +83,13 @@
$title = $this->isNew() ? sprintf(_AM_TDMCREATE_TABLE_ADD) : sprintf(_AM_TDMCREATE_TABLE_EDIT);
xoops_load('xoopsformloader');
- $form = new XoopsThemeForm($title, 'form', $action, 'post', true);
+ $form = new XoopsThemeForm($title, 'tableform', $action, 'post', true);
$form->setExtra('enctype="multipart/form-data"');
$modulesHandler =& xoops_getModuleHandler('modules', 'TDMCreate');
$mods_select = new XoopsFormSelect(_AM_TDMCREATE_TABLE_MODULES, 'table_mid', $this->getVar('table_mid'));
$mods_select->addOptionArray($modulesHandler->getList());
+ $mods_select->setExtra('onchange="document.forms.tableform.table_name.parentElement.parentElement;"');
$form->addElement($mods_select, true);
$table_name = new XoopsFormText(_AM_TDMCREATE_TABLE_NAME, 'table_name', 50, 255, $this->getVar('table_name'));
@@ -184,6 +185,9 @@
$form->addElement(new XoopsFormHidden('op', 'save'));
$form->addElement(new XoopsFormHidden('table_id', $this->getVar('table_id')));
+ /*$confirmEl = new XoopsFormHidden('confirm', 0);
+ $confirmEl->customValidationCode[] = "if(confirm('" . _AM_TDMCREATE_TABLE_CONFIRM . " ' + myform.table_mid.options[myform.table_mid.selectedIndex].innerHTML + '\\n " . _AM_TDMCREATE_TABLE_MODULE . ": ' + myform.tableform.value)) {myform.confirm.value = 1;} else {return false;};";
+ $form->addElement($confirmEl);*/
$form->addElement(new XoopsFormButton('', 'submit', _SUBMIT, 'submit'));
return $form;
}
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/themeform.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/themeform.php 2014-04-02 12:54:37 UTC (rev 12419)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/themeform.php 2014-04-03 13:51:04 UTC (rev 12420)
@@ -21,9 +21,7 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
xoops_load('XoopsFormLoader');
-//xoops_load('XoopsForm');
-include_once('htmlform.php');
-include_once('htmltable.php');
+
/**
* Form that will output as a theme-enabled HTML table
*
@@ -31,96 +29,7 @@
*/
class TDMCreateThemeForm extends XoopsForm
{
- /**
- * @var string
- */
- private $htmltable = null;
-
/**
- * tab_header elements
- *
- * @var mixed
- */
- private $tab_header = null;
-
- /**
- * constructor
- *
- * @param string $title title of the form
- * @param string $name "name" attribute for the <form> tag
- * @param string $action "action" attribute for the <form> tag
- * @param string $method "method" attribute for the <form> tag
- * @param bool $addtoken whether to add a security token to the form
- */
- public function __construct($title, $name = null, $action = false, $method = 'post', $tab_header = false, $addtoken = false, $summary = '')
- {
- parent::__construct($title, $name, $action, $method = 'post', $addtoken = false, $summary = '');
- $this->htmltable = TDMCreateHtmlTable::getInstance();
- if( $tab_header ) {
- $this->addHeader($tab_header);
- }
- }
-
- /*
- * @static function &getInstance
- * @param null
- */
- /*public static function &getInstance()
- {
- static $instance = false;
- if (!$instance) {
- $instance = new self();
- }
- return $instance;
- }*/
-
- /**
- * Insert an empty row in the table to serve as a seperator.
- *
- * @param string $extra HTML to be displayed in the empty row.
- * @param string $class CSS class name for <td> tag
- */
- public function insertBreak($extra = '', $class = '', $colspan = '2')
- {
- $class = ($class != '') ? " class='" . preg_replace('/[^A-Za-z0-9\s\s_-]/i', '', $class) . "'" : '';
- // Fix for $extra tag not showing
- if ($extra) {
- $extra = $this->htmltable->addRow();
- $extra .= $this->htmltable->addCell( $extra, $class, 'data', ' colspan="'. $colspan . '"');
- $this->addElement($extra);
- } else {
- $extra = $this->htmltable->addRow();
- $extra .= $this->htmltable->addCell( ' ', $class, 'data', ' colspan="'. $colspan . '"');
- $this->addElement($extra);
- }
- }
-
- /**
- * Add an element to the form
- *
- * @param object $ &$$header reference to a {@link XoopsFormElement}
- * @param bool $required is this a "required" element?
- */
- public function addHeader($tab_header)
- {
- if (is_string($tab_header)) {
- $this->tab_header[] = $tab_header;
- } else {
- $this->tab_header = $tab_header;
- }
- }
-
- /**
- * get an array of "header" form elements
- *
- * @return array array of {@link XoopsFormElement}s
- */
- public function getHeader()
- {
- return $this->tab_header;
- }
-
- /**
* create HTML to output the form as a theme-enabled table with validation.
*
* YOU SHOULD AVOID TO USE THE FOLLOWING Nocolspan METHOD, IT WILL BE REMOVED
@@ -136,37 +45,20 @@
public function render()
{
$ele_name = $this->getName();
- $ret = NWLINE . '<form name="' . $ele_name . '" id="' . $ele_name . '" action="' . $this->getAction() . '" method="' . $this->getMethod() . '" onsubmit="return xoopsFormValidate_' . $ele_name . '();"' . $this->getExtra() . '>' . NWLINE;
- $hidden = '';
+ $ret = ($this->getTitle() ? '<div class=" center head ">' . $this->getTitle() . '</div>' : '');
+ $ret .= NWLINE . '<form name="' . $ele_name . '" id="' . $ele_name . '" action="' . $this->getAction() . '" method="' . $this->getMethod() . '" onsubmit="return xoopsFormValidate_' . $ele_name . '();"' . $this->getExtra() . '>' . NWLINE;
+ $hidden = '';
$class = 'even';
- foreach ($this->getElements() as $ele) {
- if (!is_object($ele)) {
+ foreach ($this->getElements() as $ele) {
+ if (!is_object($ele)) {
$ret .= $ele;
- } else if (!$ele->isHidden()) {
- if (!$ele->getNocolspan()) {
- if (($caption = $ele->getCaption()) != '') {
- $ret .= '<div class="xoops-form-element-caption' . ($ele->isRequired() ? '-required' : '') . '">';
- $ret .= '<span class="caption-text">' . $caption . '</span>';
- $ret .= '<span class="caption-marker">*</span>';
- $ret .= '</div>';
- }
- if (($desc = $ele->getDescription()) != '') {
- $ret .= '<div class="xoops-form-element-help">' . $desc . '</div>';
- }
- } else {
- if (($caption = $ele->getCaption()) != '') {
- $ret .= '<div class="xoops-form-element-caption' . ($ele->isRequired() ? '-required' : '') . '">';
- $ret .= '<span class="caption-text">' . $caption . '</span>';
- $ret .= '<span class="caption-marker">*</span>';
- $ret .= '</div>';
- }
- $ret .= $ele->render();
- }
+ } else if (!$ele->isHidden()) {
+ $ret .= $ele->render();
} else {
$hidden .= $ele->render();
}
}
- $ret .= NWLINE . ' ' . $hidden . '</form>' . NWLINE;
+ $ret .= NWLINE . ' ' . $hidden . NWLINE . '</form>';
$ret .= $this->renderValidationJS(true);
return $ret;
}
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/css/admin/style.css
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/css/admin/style.css 2014-04-02 12:54:37 UTC (rev 12419)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/css/admin/style.css 2014-04-03 13:51:04 UTC (rev 12420)
@@ -32,4 +32,8 @@
height: 16px;
}
-.width6{ width: 6%; }
\ No newline at end of file
+.width6{ width: 6%; }
+
+.bred {background-color:rgba(255,0,0,0.3);} / * red */
+.bgreen {background-color:rgba(0,255,0,0.3);} / * green */
+.bblue {background-color:rgba(0,0,255,0.3);} / * blue */
\ No newline at end of file
Added: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/css/style.css
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/css/style.css (rev 0)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/css/style.css 2014-04-03 13:51:04 UTC (rev 12420)
@@ -0,0 +1,20 @@
+/*
+ You may not change or alter any portion of this comment or credits
+ of supporting developers from this source code or any supporting source code
+ which is considered copyrighted (c) material of the original comment or credit authors.
+
+ 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.
+ */
+/**
+ * tdmcreate module
+ *
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
+ * @package tdmcreate
+ * @since 2.5.0
+ * @author Txmod Xoops http://www.txmodxoops.org
+ * @version $Id: style.css 12258 2014-01-02 09:33:29Z timgno $
+ */
+@import url(admin/style.css);
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/js/functions.js
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/js/functions.js 2014-04-02 12:54:37 UTC (rev 12419)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/js/functions.js 2014-04-03 13:51:04 UTC (rev 12420)
@@ -30,18 +30,7 @@
obj = document.getElementById(swap);
obj.src = !(obj.src == img_minus) ? img_minus : img_plus;
}
-/*
-function moduleSelect(sel, url) {
- var mod_id = sel.options[sel.selectedIndex].value;
- window.location.href = url+mod_id;
-}
-function selectModule(sel, url) {
- var mod_id = sel.options[sel.selectedIndex].value;
- myMod = document.location.href = url+mod_id;
- myMod.focus();
-}
-
function showImgSelected2(imgId, selectId, imgDir, extra, xoopsUrl)
{
if (xoopsUrl == null) {
@@ -55,35 +44,15 @@
imgDom.src = xoopsUrl + "/images/blank.gif";
}
}
-*/
-/*
-$(document).ready( function() {
- $('tr').find('a img.imageToggle').on('click', function(e) {
- e.preventDefault();
- $('tr.toggleChild').toggle();
- $(this).nextAll('tr.toggleChild').each( function() {
- if ($(this).is('.toggleMain')) {
- return false;
- }
- $(this).toggle();
- });
- });
-});
-$(document).ready( function() {
- $('tr.toggleChild').hide();
- $('tr.toggleMain').on('click', 'a img > imageToggle', function(e) {
- e.preventDefault();
+
+$(document).ready(function() {
+ $('tr.toggleMain').find('a').on('click', 'img.imageToggle', function(e) {
+ e.preventDefault();
$(this).nextAll().each( function() {
if ($(this).filter('tr.toggleMain').length) {
return false;
- }
- $(this).filter('tr.toggleChild').toggle();
+ }
});
- });
-});*/
-$(document).ready(function() {
- $('tr.toggleMain').find('a').on('click', 'img.imageToggle', function(e){
- e.preventDefault();
$('table#show_rows tr.toggleChild').toggle();
});
});
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/language/english/admin.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/language/english/admin.php 2014-04-02 12:54:37 UTC (rev 12419)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/language/english/admin.php 2014-04-03 13:51:04 UTC (rev 12420)
@@ -311,6 +311,10 @@
// Added in version 1.59
define('_AM_TDMCREATE_TABLE_ID', "Id");
+define('_AM_TDMCREATE_TABLE_NAME_LIST', "Table Name");
+define('_AM_TDMCREATE_TABLE_IMAGE_LIST', "Table Icon");
+define('_AM_TDMCREATE_TABLE_NBFIELDS_LIST', "Fields");
+define('_AM_TDMCREATE_TABLE_BLOCKS_LIST', "Blocks");
define('_AM_TDMCREATE_TABLE_ADMIN_LIST', "Admin");
define('_AM_TDMCREATE_TABLE_USER_LIST', "User");
define('_AM_TDMCREATE_TABLE_SUBMENU_LIST', "Submenu");
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/sql/mysql.sql
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/sql/mysql.sql 2014-04-02 12:54:37 UTC (rev 12419)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/sql/mysql.sql 2014-04-03 13:51:04 UTC (rev 12420)
@@ -66,14 +66,14 @@
) ENGINE=MyISAM;
#
-# Table structure for table `mod_tdmcreate_fields` 18
+# Table structure for table `mod_tdmcreate_fields` 19
#
CREATE TABLE `mod_tdmcreate_fields` (
`field_id` int (8) unsigned NOT NULL auto_increment,
`field_mid` int (5) unsigned NOT NULL default '0',
`field_tid` int (5) unsigned NOT NULL default '0',
-`field_numb` int (5) unsigned NOT NULL default '0',
+`field_numb` int (10) unsigned NOT NULL default '0',
`field_name` varchar (255) NOT NULL default '',
`field_type` varchar (100) NOT NULL default '',
`field_value` char (4) NOT NULL default '',
@@ -81,16 +81,17 @@
`field_null` char (10) NOT NULL default '',
`field_default` varchar (150) NOT NULL default '',
`field_key` char (10) NOT NULL default '',
-`field_auto_increment` tinyint (1) unsigned NOT NULL default '0',
-`field_admin` tinyint (1) unsigned NOT NULL default '0',
-`field_user` tinyint (1) unsigned NOT NULL default '0',
-`field_blocks` tinyint (1) unsigned NOT NULL default '0',
-`field_mainfield` tinyint (1) unsigned NOT NULL default '0',
-`field_search` tinyint (1) unsigned NOT NULL default '0',
-`field_required` tinyint (1) unsigned NOT NULL default '0',
-`field_fields` text,
-`field_parameters` text,
+`field_autoincrement` tinyint(1) NOT NULL default '0',`field_element` varchar (150) NOT NULL default '',
+`field_inlist` tinyint(1) NOT NULL default '0',
+`field_inform` tinyint(1) NOT NULL default '0',
+`field_admin` tinyint(1) NOT NULL default '0',
+`field_user` tinyint(1) NOT NULL default '0',
+`field_block` tinyint(1) NOT NULL default '0',
+`field_main` tinyint(1) NOT NULL default '0',
+`field_search` tinyint(1) NOT NULL default '0',
+`field_required` tinyint(1) NOT NULL default '0',
PRIMARY KEY (`field_id`),
+KEY `field_mid` (`field_mid`),
KEY `field_tid` (`field_tid`)
) ENGINE=MyISAM;
@@ -100,7 +101,7 @@
CREATE TABLE `mod_tdmcreate_languages` (
`lng_id` int (5) unsigned NOT NULL auto_increment,
-`lng_modules` int(5) NOT NULL default '0',
+`lng_mid` int(5) unsigned NOT NULL default '0',
`lng_file` varchar (255) NULL default '' ,
`lng_def` varchar (255) NULL default '' ,
`lng_desc` varchar (255) NULL default '' ,
@@ -155,8 +156,10 @@
INSERT INTO `mod_tdmcreate_fieldattributes` (`fieldattribute_value`, `fieldattribute_name`) VALUES
('', ''),
+('binary', 'BINARY'),
('unsigned', 'UNSIGNED'),
-('ON UPDATE CURRENT_TIMESTAMP', 'on update CURRENT_TIMESTAMP');
+('unsigned_zerofill', 'UNSIGNED ZEROFILL'),
+('current_timestamp', 'CURRENT_TIMESTAMP');
#
# Table structure for table `mod_tdmcreate_fieldnull` 3
@@ -190,34 +193,26 @@
('fulltext', 'FULLTEXT');
#
-# Table structure for table `mod_tdmcreate_fieldelements` 12
+# Table structure for table `mod_tdmcreate_fieldelements` 3
#
CREATE TABLE `mod_tdmcreate_fieldelements` (
-`fieldelement_id` int(5) NOT NULL auto_increment,
-`fieldelement_value` varchar(255) NOT NULL default '',
-`fieldelement_name` varchar(255) NOT NULL default '',
-`fieldelement_admin` tinyint(1) NOT NULL default '0',
-`fieldelement_user` tinyint(1) NOT NULL default '0',
-`fieldelement_block` tinyint(1) NOT NULL default '0',
-`fieldelement_mfield` tinyint(1) NOT NULL default '0',
-`fieldelement_search` tinyint(1) NOT NULL default '0',
-`fieldelement_required` tinyint(1) NOT NULL default '0',
-PRIMARY KEY (`fieldelement_id`),
+`fieldelement_fid` int(5) NOT NULL auto_increment,`fieldelement_name` varchar(100) NOT NULL default '',
+`fieldelement_value` varchar(100) NOT NULL default '',
+PRIMARY KEY (`fieldelement_fid`),
KEY `fieldelement_value` (`fieldelement_value`),
KEY `fieldelement_name` (`fieldelement_name`)
) ENGINE=MyISAM;
-INSERT INTO `mod_tdmcreate_fieldelement` (`fieldelement_id`, `fieldelement_value`, `fieldelement_name`, `fieldelement_admin`, `fieldelement_user`, `fieldelement_block`, `fieldelement_mfield`, `fieldelement_search`, `fieldelement_required`) VALUES
-(1, '', 'None', 0, 0, 0, 0, 0, 0),
-(2, 'XoopsFormText', 'Text', 0, 0, 0, 0, 0, 0),
-(3, 'XoopsFormTextArea', 'TextArea', 0, 0, 0, 0, 0, 0),
-(4, 'XoopsFormDhtmlTextArea', 'DhtmlTextArea', 0, 0, 0, 0, 0, 0),
-(5, 'XoopsFormCheckBox', 'CheckBox', 0, 0, 0, 0, 0, 0),
-(6, 'XoopsFormRadioYN', 'RadioYN', 0, 0, 0, 0, 0, 0),
-(7, 'XoopsFormSelect', 'SelectBox', 0, 0, 0, 0, 0, 0),
-(8, 'XoopsFormSelectUser', 'SelectUser', 0, 0, 0, 0, 0, 0),
-(9, 'XoopsFormColorPicker', 'ColorPicker', 0, 0, 0, 0, 0, 0),
-(10, 'XoopsFormUploadImage', 'UploadImage', 0, 0, 0, 0, 0, 0),
-(11, 'XoopsFormUploadFile', 'UploadFile', 0, 0, 0, 0, 0, 0),
-(12, 'XoopsFormTextDateSelect', 'TextDateSelect', 0, 0, 0, 0, 0, 0);
+INSERT INTO `mod_tdmcreate_fieldelements` (`fieldelement_fid`, `fieldelement_name`, `fieldelement_value`) VALUES
+(1, 'Text', 'XoopsFormText'),
+(2, 'TextArea', 'XoopsFormTextArea'),
+(3, 'DhtmlTextArea', 'XoopsFormDhtmlTextArea'),
+(4, 'CheckBox', 'XoopsFormCheckBox'),
+(5, 'RadioYN', 'XoopsFormRadioYN'),
+(6, 'SelectBox', 'XoopsFormSelect'),
+(7, 'SelectUser', 'XoopsFormSelectUser'),
+(8, 'ColorPicker', 'XoopsFormColorPicker'),
+(9, 'UploadImage', 'XoopsFormUploadImage'),
+(10, 'UploadFile', 'XoopsFormUploadFile'),
+(11, 'TextDateSelect', 'XoopsFormTextDateSelect');
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_fields.html
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_fields.html 2014-04-02 12:54:37 UTC (rev 12419)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_fields.html 2014-04-03 13:51:04 UTC (rev 12420)
@@ -6,23 +6,26 @@
<thead>
<tr>
<th class='center'><{$smarty.const._AM_TDMCREATE_TABLE_ID}></th>
- <th class='center'><{$smarty.const._AM_TDMCREATE_TABLE_NAME}></th>
- <th class='center'><{$smarty.const._AM_TDMCREATE_TABLE_IMAGE}></th>
- <th class='center'><{$smarty.const._AM_TDMCREATE_TABLE_NBFIELDS}></th>
- <th class='center'><{$smarty.const._AM_TDMCREATE_TABLE_BLOCKS}></th>
+ <th class='center'><{$smarty.const._AM_TDMCREATE_TABLE_NAME_LIST}></th>
+ <th class='center'><{$smarty.const._AM_TDMCREATE_TABLE_IMAGE_LIST}></th>
+ <th class='center'><{$smarty.const._AM_TDMCREATE_TABLE_NBFIELDS_LIST}></th>
+ <th class='center'><{$smarty.const._AM_TDMCREATE_TABLE_BLOCKS_LIST}></th>
<th class='center'><{$smarty.const._AM_TDMCREATE_TABLE_ADMIN_LIST}></th>
<th class='center'><{$smarty.const._AM_TDMCREATE_TABLE_USER_LIST}></th>
<th class='center'><{$smarty.const._AM_TDMCREATE_TABLE_SUBMENU_LIST}></th>
<th class='center'><{$smarty.const._AM_TDMCREATE_TABLE_SEARCH_LIST}></th>
<th class='center'><{$smarty.const._AM_TDMCREATE_TABLE_COMMENTS_LIST}></th>
<th class='center'><{$smarty.const._AM_TDMCREATE_TABLE_NOTIFICATIONS_LIST}></th>
- <th class='center width10'><{$smarty.const._AM_TDMCREATE_FORMACTION}></th>
+ <th class='center'><{$smarty.const._AM_TDMCREATE_TABLE_PERMISSIONS_LIST}></th>
+ <th class='center width6'><{$smarty.const._AM_TDMCREATE_FORMACTION}></th>
</tr>
</thead>
<tbody>
<{foreach item=table from=$tables_list}>
<tr class="<{cycle values='even,odd'}> toggleMain">
- <td class='center'><{$table.id}><br /><img src="<{$tdmc_url}>/images/icons/16/toggle.png" alt="Toggle" title="Toggle" /></td>
+ <td class='center'><{$table.id}><br />
+ <a href="#" title="Toggle"><img class="imageToggle" src="<{$tdmc_url}>/images/icons/16/toggle.png" alt="Toggle" /></a>
+ </td>
<td class='center'><{$table.name}></td>
<td class='center'><img src="<{$pathIcon32}>/<{$table.image}>" alt="<{$table.name}>" height="30" /></td>
<td class='center'><{$table.nbfields}></td>
@@ -61,11 +64,16 @@
<img src="<{xoModuleIcons16}><{$table.notifications}>.png" alt="<{$smarty.const._AM_TDMCREATE_TOGGLE_CHANGE_DISPLAY}>" />
</a>
</td>
+ <td class='center'>
+ <a href="fields.php?op=toggle&table_permissions=<{$table.permissions}>&table_id=<{$table.id}>" title="<{$smarty.const._AM_TDMCREATE_TOGGLE_CHANGE_DISPLAY}>">
+ <img src="<{xoModuleIcons16}><{$table.permissions}>.png" alt="<{$smarty.const._AM_TDMCREATE_TOGGLE_CHANGE_DISPLAY}>" />
+ </a>
+ </td>
<td class='xo-actions txtcenter width6'>
- <a href="tables.php?op=edit&table_id=<{$table.id}>" title="<{$smarty.const._AM_TDMCREATE_EDIT_TABLE}>">
+ <a href="tables.php?op=edit&table_id=<{$table.id}>" title="<{$smarty.const._AM_TDMCREATE_EDIT_TABLE}>">
<img src="<{xoModuleIcons16 edit.png}>" alt="<{$smarty.const._AM_TDMCREATE_EDIT_TABLE}>" height="16" />
</a>
- <a href="fields.php?op=edit&field_tid=<{$table.id}>" title="<{$smarty.const._AM_TDMCREATE_EDIT_FIELDS}>">
+ <a href="fields.php?op=edit&field_tid=<{$table.id}>&field_numb=<{$table.nbfields}>" title="<{$smarty.const._AM_TDMCREATE_EDIT_FIELDS}>">
<img src="<{xoModuleIcons16 inserttable.png}>" alt="<{$smarty.const._AM_TDMCREATE_EDIT_FIELDS}>" height="16" />
</a>
<a href="tables.php?op=delete&table_id=<{$table.id}>" title="<{$smarty.const._DELETE}>">
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_modules.html
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_modules.html 2014-04-02 12:54:37 UTC (rev 12419)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_modules.html 2014-04-03 13:51:04 UTC (rev 12420)
@@ -19,7 +19,7 @@
<th class='center width5'><{$smarty.const._AM_TDMCREATE_FORMACTION}></th>
</tr>
<{foreach item=module from=$modules_list}>
- <tr class="<{cycle values='odd,even'}>">
+ <tr class="<{cycle values='even,odd'}>">
<td class='center'><{$module.id}></td>
<td class='center'><{$module.name}></td>
<td class='center'><{$module.version}></td>
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_tables.html
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_tables.html 2014-04-02 12:54:37 UTC (rev 12419)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_tables.html 2014-04-03 13:51:04 UTC (rev 12420)
@@ -19,10 +19,10 @@
<th class='center'><{$smarty.const._AM_TDMCREATE_MODULE_PERMISSIONS_LIST}></th>
<th class='center width6'><{$smarty.const._AM_TDMCREATE_FORMACTION}></th>
</tr>
- </thead> <!--<a href="" class="linkToggle">Toggle</a> -->
+ </thead>
<tbody>
<{foreach item=module from=$modules_list}>
- <tr class="head toggleMain">
+ <tr id="module<{$module.id}>" class="<{cycle values='even,odd'}> toggleMain">
<td class='center'><{$module.id}><br />
<a href="#" title="Toggle"><img class="imageToggle" src="<{$tdmc_url}>/images/icons/16/toggle.png" alt="Toggle" /></a>
</td>
@@ -120,7 +120,7 @@
<a href="tables.php?op=edit&table_id=<{$table.id}>" title="<{$smarty.const._EDIT}>">
<img src="<{xoAdminIcons edit.png}...
[truncated message content] |
|
From: <be...@us...> - 2014-04-02 12:54:40
|
Revision: 12419
http://sourceforge.net/p/xoops/svn/12419
Author: beckmi
Date: 2014-04-02 12:54:37 +0000 (Wed, 02 Apr 2014)
Log Message:
-----------
correcting language definition (reported by noo-b)
Modified Paths:
--------------
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/admin/users/users.php
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/admin/users/users.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/admin/users/users.php 2014-03-30 00:35:36 UTC (rev 12418)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/admin/users/users.php 2014-04-02 12:54:37 UTC (rev 12419)
@@ -169,7 +169,7 @@
$rank_select->addOption(0, "--------------");
$rank_select->addOptionArray($ranklist);
} else {
- $rank_select->addOption(0, _AM_NSRID);
+ $rank_select->addOption(0, _AM_SYSTEM_USERS_NSRID);
}
$form->addElement($rank_select);
// adding a new user requires password fields
|
|
From: <txm...@us...> - 2014-03-30 00:35:40
|
Revision: 12418
http://sourceforge.net/p/xoops/svn/12418
Author: txmodxoops
Date: 2014-03-30 00:35:36 +0000 (Sun, 30 Mar 2014)
Log Message:
-----------
Updated toggle table tr with image
Icons from Frameworks for Toggle Change Display
Work in progress
Modified Paths:
--------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/tables.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/tables.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/js/functions.js
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_fields.html
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_tables.html
Added Paths:
-----------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/images/icons/16/drag.png
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/images/icons/16/submenu.png
Removed Paths:
-------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/images/icons/16/green.png
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/images/icons/16/off.png
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/images/icons/16/on.png
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/images/icons/16/red.png
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/images/icons/16/yellow.png
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php 2014-03-29 23:12:29 UTC (rev 12417)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php 2014-03-30 00:35:36 UTC (rev 12418)
@@ -71,7 +71,8 @@
$table['submenu'] = $tables_arr[$t]->getVar('table_submenu');
$table['search'] = $tables_arr[$t]->getVar('table_search');
$table['comments'] = $tables_arr[$t]->getVar('table_comments');
- $table['notifications'] = $tables_arr[$t]->getVar('table_notifications');
+ $table['notifications'] = $tables_arr[$t]->getVar('table_notifications');
+ $table['permissions'] = $tables_arr[$t]->getVar('table_permissions');
$GLOBALS['xoopsTpl']->append('tables_list', $table);
unset($mod);
}
@@ -152,43 +153,48 @@
case 'toggle':
if (isset($_GET['table_id'])) {
- if (isset($_GET['table_blocks'])) {
+ if (isset($_GET['table_blocks'])) {
$table_blocks = intval($_GET['table_blocks']);
$table_blocks = ($table_blocks == 1) ? 0 : 1;
- $obj =& $modulesHandler->get($table_id);
+ $obj =& $tablesHandler->get($table_id);
$obj->setVar('table_blocks', $table_blocks);
} elseif (isset($_GET['table_admin'])) {
$table_admin = intval($_GET['table_admin']);
$table_admin = ($table_admin == 1) ? 0 : 1;
- $obj =& $modulesHandler->get($table_id);
+ $obj =& $tablesHandler->get($table_id);
$obj->setVar('table_admin', $table_admin);
} elseif (isset($_GET['table_user'])) {
$table_user = intval($_GET['table_user']);
$table_user = ($table_user == 1) ? 0 : 1;
- $obj =& $modulesHandler->get($table_id);
+ $obj =& $tablesHandler->get($table_id);
$obj->setVar('table_user', $table_user);
} elseif (isset($_GET['table_submenu'])) {
$table_submenu = intval($_GET['table_submenu']);
$table_submenu = ($table_submenu == 1) ? 0 : 1;
- $obj =& $modulesHandler->get($table_id);
+ $obj =& $tablesHandler->get($table_id);
$obj->setVar('table_submenu', $table_submenu);
} elseif (isset($_GET['table_search'])) {
$table_search = intval($_GET['table_search']);
$table_search = ($table_search == 1) ? 0 : 1;
- $obj =& $modulesHandler->get($table_id);
+ $obj =& $tablesHandler->get($table_id);
$obj->setVar('table_search', $table_search);
} elseif (isset($_GET['table_comments'])) {
$table_comments = intval($_GET['table_comments']);
$table_comments = ($table_comments == 1) ? 0 : 1;
- $obj =& $modulesHandler->get($table_id);
+ $obj =& $tablesHandler->get($table_id);
$obj->setVar('table_comments', $table_comments);
} elseif (isset($_GET['table_notifications'])) {
$table_notifications = intval($_GET['table_notifications']);
$table_notifications = ($table_notifications == 1) ? 0 : 1;
- $obj =& $modulesHandler->get($table_id);
+ $obj =& $tablesHandler->get($table_id);
$obj->setVar('table_notifications', $table_notifications);
+ } elseif (isset($_GET['table_permissions'])) {
+ $table_permissions = intval($_GET['table_permissions']);
+ $table_permissions = ($table_permissions == 1) ? 0 : 1;
+ $obj =& $tablesHandler->get($table_id);
+ $obj->setVar('table_permissions', $table_permissions);
}
- if ($modulesHandler->insert($obj, true)) {
+ if ($tablesHandler->insert($obj, true)) {
redirect_header('fields.php', 1, _AM_TDMCREATE_TOGGLE_SUCCESS);
} else {
redirect_header('fields.php', 1, _AM_TDMCREATE_TOGGLE_FAILED);
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/tables.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/tables.php 2014-03-29 23:12:29 UTC (rev 12417)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/tables.php 2014-03-30 00:35:36 UTC (rev 12418)
@@ -219,7 +219,7 @@
case 'toggle':
if (isset($_GET['table_id'])) {
- if (isset($_GET['table_blocks'])) {
+ if (isset($_GET['table_blocks'])) {
$table_blocks = intval($_GET['table_blocks']);
$table_blocks = ($table_blocks == 1) ? 0 : 1;
$obj =& $tablesHandler->get($table_id);
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/tables.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/tables.php 2014-03-29 23:12:29 UTC (rev 12417)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/tables.php 2014-03-30 00:35:36 UTC (rev 12418)
@@ -50,7 +50,7 @@
$this->initVar('table_submenu',XOBJ_DTYPE_INT);
/*$this->initVar('table_status',XOBJ_DTYPE_INT);
$this->initVar('table_waiting',XOBJ_DTYPE_INT);
- $this->initVar('table_online',XOBJ_DTYPE_INT); */
+ $this->initVar('table_online',XOBJ_DTYPE_INT);*/
$this->initVar('table_search',XOBJ_DTYPE_INT);
$this->initVar('table_comments',XOBJ_DTYPE_INT);
$this->initVar('table_notifications',XOBJ_DTYPE_INT);
@@ -115,7 +115,8 @@
$table_nbfield->setDescription(_AM_TDMCREATE_TABLE_NBFIELDS_DESC);
$form->addElement($table_nbfield, true);
- $table_image = $this->getVar('table_image') ? $this->getVar('table_image') : 'blank.gif';
+ $table_image = $this->getVar('table_image');
+ $table_image = $table_image ? $table_image : 'blank.gif';
$uploadir = '/Frameworks/moduleclasses/icons/32';
$uploads_dir = '/uploads/'.$GLOBALS['xoopsModule']->dirname().'/images/tables';
if(is_dir(XOOPS_ROOT_PATH . $uploadir)){
Added: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/images/icons/16/drag.png
===================================================================
(Binary files differ)
Index: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/images/icons/16/drag.png
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/images/icons/16/drag.png 2014-03-29 23:12:29 UTC (rev 12417)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/images/icons/16/drag.png 2014-03-30 00:35:36 UTC (rev 12418)
Property changes on: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/images/icons/16/drag.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Deleted: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/images/icons/16/green.png
===================================================================
(Binary files differ)
Deleted: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/images/icons/16/off.png
===================================================================
(Binary files differ)
Deleted: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/images/icons/16/on.png
===================================================================
(Binary files differ)
Deleted: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/images/icons/16/red.png
===================================================================
(Binary files differ)
Added: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/images/icons/16/submenu.png
===================================================================
(Binary files differ)
Index: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/images/icons/16/submenu.png
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/images/icons/16/submenu.png 2014-03-29 23:12:29 UTC (rev 12417)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/images/icons/16/submenu.png 2014-03-30 00:35:36 UTC (rev 12418)
Property changes on: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/images/icons/16/submenu.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Deleted: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/images/icons/16/yellow.png
===================================================================
(Binary files differ)
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/js/functions.js
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/js/functions.js 2014-03-29 23:12:29 UTC (rev 12417)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/js/functions.js 2014-03-30 00:35:36 UTC (rev 12418)
@@ -68,10 +68,10 @@
$(this).toggle();
});
});
-});*/
+});
$(document).ready( function() {
$('tr.toggleChild').hide();
- $('tr.toggleMain').click( function(e) {
+ $('tr.toggleMain').on('click', 'a img > imageToggle', function(e) {
e.preventDefault();
$(this).nextAll().each( function() {
if ($(this).filter('tr.toggleMain').length) {
@@ -80,4 +80,10 @@
$(this).filter('tr.toggleChild').toggle();
});
});
+});*/
+$(document).ready(function() {
+ $('tr.toggleMain').find('a').on('click', 'img.imageToggle', function(e){
+ e.preventDefault();
+ $('table#show_rows tr.toggleChild').toggle();
+ });
});
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_fields.html
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_fields.html 2014-03-29 23:12:29 UTC (rev 12417)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_fields.html 2014-03-30 00:35:36 UTC (rev 12418)
@@ -2,7 +2,7 @@
<{includeq file="db:tdmcreate_header.html"}>
<!-- Display tables list -->
<{if $tables_list}>
- <table width='100%' cellspacing='1' class='outer'>
+ <table id='show_rows' width='100%' cellspacing='1' class='outer'>
<thead>
<tr>
<th class='center'><{$smarty.const._AM_TDMCREATE_TABLE_ID}></th>
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_tables.html
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_tables.html 2014-03-29 23:12:29 UTC (rev 12417)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_tables.html 2014-03-30 00:35:36 UTC (rev 12418)
@@ -2,7 +2,7 @@
<{includeq file="db:tdmcreate_header.html"}>
<!-- Display modules list -->
<{if $modules_list}>
- <table id="showhide" width='100%' cellspacing='1' class='outer'>
+ <table id='show_rows' width='100%' cellspacing='1' class='outer'>
<thead>
<tr>
<th class='center'><{$smarty.const._AM_TDMCREATE_MODULE_ID}></th>
@@ -24,7 +24,7 @@
<{foreach item=module from=$modules_list}>
<tr class="head toggleMain">
<td class='center'><{$module.id}><br />
- <img class="imageToggle" src="<{$tdmc_url}>/images/icons/16/toggle.png" alt="Toggle" title="Toggle" />
+ <a href="#" title="Toggle"><img class="imageToggle" src="<{$tdmc_url}>/images/icons/16/toggle.png" alt="Toggle" /></a>
</td>
<td class='center'><{$module.name}></td>
<td class='center'><img src="<{$tdmc_upload_imgmod_url}>/<{$module.image}>" height="32" /></td>
|