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...> - 2015-05-02 13:42:48
|
Revision: 13052 http://sourceforge.net/p/xoops/svn/13052 Author: txmodxoops Date: 2015-05-02 13:42:44 +0000 (Sat, 02 May 2015) Log Message: ----------- Updated Fixed minor bugs Modified Paths: -------------- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/fields.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/tables.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/css/admin/style.css XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/fields.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/AdminObjects.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/AdminPages.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/AdminPermissions.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/classes/ClassFiles.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/language/LanguageAdmin.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/language/LanguageDefines.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/sql/SqlFile.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/admin/TemplatesAdminPages.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/user/UserIndex.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/user/UserObjects.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/user/UserPrint.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/user/UserRss.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/include/install.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/sql/mysql.sql XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/templates/admin/tdmcreate_fields_item.tpl XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/templates/admin/tdmcreate_tables.tpl XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/templates/admin/tdmcreate_tables_item.tpl Added Paths: ----------- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/SplClassLoader.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/language/english/mail_template/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/language/english/mail_template/index.html Modified: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/fields.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/fields.php 2015-05-01 16:05:55 UTC (rev 13051) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/fields.php 2015-05-02 13:42:44 UTC (rev 13052) @@ -1,4 +1,4 @@ -<?php +<?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 @@ -18,277 +18,284 @@ * @author Txmod Xoops http://www.txmodxoops.org * @version $Id: 1.91 fields.php 12258 2014-01-02 09:33:29Z timgno $ */ -include __DIR__ . '/header.php'; +include __DIR__ . '/header.php'; // Recovered value of arguments op in the URL $ $op = XoopsRequest::getString('op', 'list'); // Get fields Variables -$fieldMid = XoopsRequest::getInt('field_mid'); -$fieldTid = XoopsRequest::getInt('field_tid'); -$fieldNumb = XoopsRequest::getInt('field_numb'); -$fieldOrder = XoopsRequest::getInt('field_order'); -$fieldName = XoopsRequest::getString('field_name', ''); +$fieldMid = XoopsRequest::getInt('field_mid'); +$fieldTid = XoopsRequest::getInt('field_tid'); +$fieldNumb = XoopsRequest::getInt('field_numb'); +$fieldName = XoopsRequest::getString('field_name', ''); // switch op -switch ($op) { - case 'list': +switch ($op) +{ + case 'list': default: $start = XoopsRequest::getInt('start', 0); - $limit = XoopsRequest::getInt('limit', $tdmcreate->getConfig('tables_adminpager')); - // Define main template - $template_main = 'tdmcreate_fields.tpl'; - $GLOBALS['xoTheme']->addStylesheet('modules/tdmcreate/assets/css/admin/style.css'); - $GLOBALS['xoTheme']->addScript('modules/tdmcreate/assets/js/functions.js'); - $GLOBALS['xoTheme']->addScript('modules/tdmcreate/assets/js/sortable.js'); - $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('fields.php')); - $adminMenu->addItemButton(_AM_TDMCREATE_ADD_TABLE, 'tables.php?op=new', 'add'); - $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton()); - $GLOBALS['xoopsTpl']->assign('tdmc_url', TDMC_URL); - $GLOBALS['xoopsTpl']->assign('tdmc_icons_url', TDMC_ICONS_URL); - $GLOBALS['xoopsTpl']->assign('tdmc_upload_url', TDMC_UPLOAD_URL); - $GLOBALS['xoopsTpl']->assign('tdmc_upload_imgtab_url', TDMC_UPLOAD_IMGTAB_URL); - $GLOBALS['xoopsTpl']->assign('modPathIcon16', $modPathIcon16); - $GLOBALS['xoopsTpl']->assign('sysPathIcon32', $sysPathIcon32); - // Redirect if there aren't modules - $countModules = $tdmcreate->getHandler('modules')->getCount(); - if (0 == $countModules) { - redirect_header('modules.php?op=new', 2, _AM_TDMCREATE_NOTMODULES); - } - unset($countModules); - // Redirect if there aren't tables - $handlerTables = $tdmcreate->getHandler('tables'); - $countTables = $handlerTables->getCount(); - if (0 == $countTables) { - redirect_header('tables.php?op=new', 2, _AM_TDMCREATE_NOTTABLES); - } - unset($countTables); - // Get the list of tables - $criteria = new CriteriaCompo(); - $criteria->add(new Criteria('table_mid', $handlerTables->getVar('table_mid'))); - $criteria->setStart($start); + $limit = XoopsRequest::getInt('limit', $tdmcreate->getConfig('tables_adminpager')); + // Define main template + $template_main = 'tdmcreate_fields.tpl'; + $GLOBALS['xoTheme']->addStylesheet( 'modules/tdmcreate/assets/css/admin/style.css' ); + $GLOBALS['xoTheme']->addScript('browse.php?Frameworks/jquery/plugins/jquery.ui.js'); + $GLOBALS['xoTheme']->addScript('modules/tdmcreate/assets/js/functions.js'); + $GLOBALS['xoTheme']->addScript('modules/tdmcreate/assets/js/sortable.js'); + $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('fields.php')); + $adminMenu->addItemButton(_AM_TDMCREATE_ADD_TABLE, 'tables.php?op=new', 'add'); + $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton()); + $GLOBALS['xoopsTpl']->assign('tdmc_url', TDMC_URL); + $GLOBALS['xoopsTpl']->assign('tdmc_icons_url', TDMC_ICONS_URL); + $GLOBALS['xoopsTpl']->assign('tdmc_upload_url', TDMC_UPLOAD_URL); + $GLOBALS['xoopsTpl']->assign('tdmc_upload_imgtab_url', TDMC_UPLOAD_IMGTAB_URL); + $GLOBALS['xoopsTpl']->assign('modPathIcon16', $modPathIcon16); + $GLOBALS['xoopsTpl']->assign('sysPathIcon32', $sysPathIcon32); + // Redirect if there aren't modules + $countModules = $tdmcreate->getHandler('modules')->getCount(); + if ( $countModules == 0 ) { + redirect_header('modules.php?op=new', 2, _AM_TDMCREATE_NOTMODULES ); + } + unset($countModules); + // Redirect if there aren't tables + $handlerTables = $tdmcreate->getHandler('tables'); + $countTables = $handlerTables->getCount(); + if ($countTables == 0) { + redirect_header('tables.php?op=new', 2, _AM_TDMCREATE_NOTTABLES ); + } + unset($countTables); + // Get the list of tables + $criteria = new CriteriaCompo(); + $criteria->add(new Criteria('table_mid', $handlerTables->getVar('table_mid'))); + $criteria->setStart($start); $criteria->setLimit($limit); - $criteria->setSort('table_id ASC, table_order ASC, table_name'); - $criteria->setOrder('ASC'); - $countTables = $tdmcreate->getHandler('tables')->getCount($criteria); - $tablesAll = $tdmcreate->getHandler('tables')->getAll($criteria); - unset($criteria); - if ($countTables > 0) { - $tlid = 1; - foreach (array_keys($tablesAll) as $tid) { - // Display tables list - $table['id'] = $tid; - $table['lid'] = $tlid; - $table['mid'] = $tablesAll[$tid]->getVar('table_mid'); - $table['name'] = ucfirst($tablesAll[$tid]->getVar('table_name')); - $table['image'] = $tablesAll[$tid]->getVar('table_image'); - $table['nbfields'] = $tablesAll[$tid]->getVar('table_nbfields'); - $table['order'] = $tablesAll[$tid]->getVar('table_order'); - $table['autoincrement'] = $tablesAll[$tid]->getVar('table_autoincrement'); - $table['blocks'] = $tablesAll[$tid]->getVar('table_blocks'); - $table['admin'] = $tablesAll[$tid]->getVar('table_admin'); - $table['user'] = $tablesAll[$tid]->getVar('table_user'); - $table['search'] = $tablesAll[$tid]->getVar('table_search'); + $criteria->setSort('table_id ASC, table_order ASC, table_name'); + $criteria->setOrder('ASC'); + $countTables = $tdmcreate->getHandler('tables')->getCount($criteria); + $tablesAll = $tdmcreate->getHandler('tables')->getAll($criteria); + unset($criteria); + if ($countTables > 0) + { + $tlid = 1; + foreach (array_keys($tablesAll) as $tid) + { + // Display tables list + $table['id'] = $tid; + $table['lid'] = $tlid; + $table['mid'] = $tablesAll[$tid]->getVar('table_mid'); + $table['name'] = ucfirst($tablesAll[$tid]->getVar('table_name')); + $table['image'] = $tablesAll[$tid]->getVar('table_image'); + $table['nbfields'] = $tablesAll[$tid]->getVar('table_nbfields'); + $table['order'] = $tablesAll[$tid]->getVar('table_order'); + $table['autoincrement'] = $tablesAll[$tid]->getVar('table_autoincrement'); + $table['blocks'] = $tablesAll[$tid]->getVar('table_blocks'); + $table['admin'] = $tablesAll[$tid]->getVar('table_admin'); + $table['user'] = $tablesAll[$tid]->getVar('table_user'); + $table['search'] = $tablesAll[$tid]->getVar('table_search'); // Get the list of fields - $criteria = new CriteriaCompo(); - $criteria->add(new Criteria('field_mid', $table['mid'])); - $criteria->add(new Criteria('field_tid', $tid)); - $criteria->setSort('field_order ASC, field_id ASC, field_name'); - $criteria->setOrder('ASC'); - $countFields = $tdmcreate->getHandler('fields')->getCount($criteria); - $fieldsAll = $tdmcreate->getHandler('fields')->getObjects($criteria); - unset($criteria); - // Display fields list - $fields = array(); - $lid = 1; - if ($countFields > 0) { - foreach (array_keys($fieldsAll) as $fid) { - $field['id'] = $fid; - $field['lid'] = $lid; - $field['order'] = $fieldsAll[$fid]->getVar('field_order'); - $field['name'] = str_replace('_', ' ', ucfirst($fieldsAll[$fid]->getVar('field_name'))); - $field['parent'] = $fieldsAll[$fid]->getVar('field_parent'); - $field['inlist'] = $fieldsAll[$fid]->getVar('field_inlist'); - $field['inform'] = $fieldsAll[$fid]->getVar('field_inform'); - $field['admin'] = $fieldsAll[$fid]->getVar('field_admin'); - $field['user'] = $fieldsAll[$fid]->getVar('field_user'); - $field['block'] = $fieldsAll[$fid]->getVar('field_block'); - $field['main'] = $fieldsAll[$fid]->getVar('field_main'); - $field['search'] = $fieldsAll[$fid]->getVar('field_search'); - $field['required'] = $fieldsAll[$fid]->getVar('field_required'); - $fields[] = $field; - unset($field); - ++$lid; - } - } - ++$tlid; - unset($lid); - $table['fields'] = $fields; - $GLOBALS['xoopsTpl']->append('tables_list', $table); - unset($table); - } - unset($tlid, $fields); - if ($countTables > $limit) { - include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; - $pagenav = new XoopsPageNav($countTables, $limit, $start, 'start', 'op=list&limit=' . $limit); - $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav(4)); - } - } else { - $GLOBALS['xoopsTpl']->assign('error', _AM_TDMCREATE_THEREARENT_FIELDS); - } - break; - - case 'new': - // Define main template - $template_main = 'tdmcreate_fields.tpl'; - $GLOBALS['xoTheme']->addStylesheet('modules/tdmcreate/assets/css/admin/style.css'); - $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('fields.php')); - $adminMenu->addItemButton(_AM_TDMCREATE_TABLES_LIST, 'tables.php', 'list'); - $adminMenu->addItemButton(_AM_TDMCREATE_FIELDS_LIST, 'fields.php', 'list'); - $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton()); - // Form Add - $fieldsObj =& $tdmcreate->getHandler('fields')->create(); - $form = $fieldsObj->getFormNew($fieldMid, $fieldTid, $fieldNumb, $fieldName); - $GLOBALS['xoopsTpl']->assign('form', $form->render()); - break; - - case 'save': - // - if (!$GLOBALS['xoopsSecurity']->check()) { + $criteria = new CriteriaCompo(); + $criteria->add(new Criteria('field_mid', $table['mid'])); + $criteria->add(new Criteria('field_tid', $tid)); + $criteria->setSort('field_order ASC, field_id ASC, field_name'); + $criteria->setOrder('ASC'); + $countFields = $tdmcreate->getHandler('fields')->getCount($criteria); + $fieldsAll = $tdmcreate->getHandler('fields')->getObjects($criteria); + unset($criteria); + // Display fields list + $fields = array(); + $lid = 1; + if ( $countFields > 0 ) + { + foreach (array_keys($fieldsAll) as $fid) + { + $field['id'] = $fid; + $field['lid'] = $lid; + $field['order'] = $fieldsAll[$fid]->getVar('field_order'); + $field['name'] = str_replace('_', ' ', ucfirst($fieldsAll[$fid]->getVar('field_name'))); + $field['parent'] = $fieldsAll[$fid]->getVar('field_parent'); + $field['inlist'] = $fieldsAll[$fid]->getVar('field_inlist'); + $field['inform'] = $fieldsAll[$fid]->getVar('field_inform'); + $field['admin'] = $fieldsAll[$fid]->getVar('field_admin'); + $field['user'] = $fieldsAll[$fid]->getVar('field_user'); + $field['block'] = $fieldsAll[$fid]->getVar('field_block'); + $field['main'] = $fieldsAll[$fid]->getVar('field_main'); + $field['search'] = $fieldsAll[$fid]->getVar('field_search'); + $field['required'] = $fieldsAll[$fid]->getVar('field_required'); + $fields[] = $field; + unset($field); + $lid++; + } + } + $tlid++; + unset($lid); + $table['fields'] = $fields; + $GLOBALS['xoopsTpl']->append('tables_list', $table); + unset($table); + } + unset($tlid); + unset($fields); + if ( $countTables > $limit ) { + include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; + $pagenav = new XoopsPageNav($countTables, $limit, $start, 'start', 'op=list&limit=' . $limit); + $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav(4)); + } + } else { + $GLOBALS['xoopsTpl']->assign('error', _AM_TDMCREATE_THEREARENT_FIELDS); + } + break; + + case 'new': + // Define main template + $template_main = 'tdmcreate_fields.tpl'; + $GLOBALS['xoTheme']->addStylesheet( 'modules/tdmcreate/assets/css/admin/style.css' ); + $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('fields.php')); + $adminMenu->addItemButton(_AM_TDMCREATE_TABLES_LIST, 'tables.php', 'list'); + $adminMenu->addItemButton(_AM_TDMCREATE_FIELDS_LIST, 'fields.php', 'list'); + $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton()); + // Form Add + $fieldsObj =& $tdmcreate->getHandler('fields')->create(); + $form = $fieldsObj->getFormNew($fieldMid, $fieldTid, $fieldNumb, $fieldName); + $GLOBALS['xoopsTpl']->assign('form', $form->render()); + break; + + case 'save': + // + if ( !$GLOBALS['xoopsSecurity']->check() ) { redirect_header('fields.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); - } - $fieldId = XoopsRequest::getInt('field_id'); - // Fields Handler - $fields = $tdmcreate->getHandler('fields'); - // - $order = $fieldsObj->isNew() ? $fieldOrder + 1 : $fieldOrder; - // Set Variables - foreach ($_POST['field_id'] as $key => $value) { - if (isset($value)) { - $fieldsObj =& $fields->get($value); - } else { - $fieldsObj =& $fields->create(); - } - // Set Data - $fieldsObj->setVar('field_mid', $fieldMid); - $fieldsObj->setVar('field_tid', $fieldTid); - $fieldsObj->setVar('field_order', $_POST['field_name'][$key] ? $_POST['field_name'][$key] : $order); - $fieldsObj->setVar('field_name', $_POST['field_name'][$key] ? $_POST['field_name'][$key] : ''); - $fieldsObj->setVar('field_type', $_POST['field_type'][$key] ? $_POST['field_type'][$key] : ''); - $fieldsObj->setVar('field_value', $_POST['field_value'][$key] ? $_POST['field_value'][$key] : ''); - $fieldsObj->setVar('field_attribute', ($_POST['field_attribute'][$key] ? $_POST['field_attribute'][$key] : ''); - $fieldsObj->setVar('field_null', $_POST['field_null'][$key] ? $_POST['field_null'][$key] : ''); - $fieldsObj->setVar('field_default', $_POST['field_default'][$key] ? $_POST['field_default'][$key] : ''); - $fieldsObj->setVar('field_key', $_POST['field_key'][$key] ? $_POST['field_key'][$key] : ''); - $fieldsObj->setVar('field_element', $_POST['field_element'][$key] ? $_POST['field_element'][$key] : ''); - $fieldsObj->setVar('field_parent', ($_REQUEST['field_parent'][$key] == 1) ? 1 : 0); - $fieldsObj->setVar('field_inlist', ($_REQUEST['field_inlist'][$key] == 1) ? 1 : 0); - $fieldsObj->setVar('field_inform', ($_REQUEST['field_inform'][$key] == 1) ? 1 : 0); - $fieldsObj->setVar('field_admin', ($_REQUEST['field_admin'][$key] == 1) ? 1 : 0); - $fieldsObj->setVar('field_user', ($_REQUEST['field_user'][$key] == 1) ? 1 : 0); - $fieldsObj->setVar('field_block', ($_REQUEST['field_block'][$key] == 1) ? 1 : 0); - $fieldsObj->setVar('field_main', ($key == $_REQUEST['field_main'] ? 1 : 0)); - $fieldsObj->setVar('field_search', ($_REQUEST['field_search'][$key] == 1) ? 1 : 0); - $fieldsObj->setVar('field_required', ($_REQUEST['field_required'][$key] == 1) ? 1 : 0); + } + $fieldId = XoopsRequest::getInt('field_id'); + // Fields Handler + $fields = $tdmcreate->getHandler('fields'); + // Set Variables + foreach($_POST['field_id'] as $key => $value) + { + if(isset($value)){ + $fieldsObj =& $fields->get($value); + } else { + $fieldsObj =& $fields->create(); + } + $fieldOrder = XoopsRequest::getInt('field_order'); + $order = $fieldsObj->isNew() ? $fieldOrder++ : $fieldOrder; + // Set Data + $fieldsObj->setVar( 'field_mid', $fieldMid ); + $fieldsObj->setVar( 'field_tid', $fieldTid ); + $fieldsObj->setVar( 'field_order', $order ); + $fieldsObj->setVar( 'field_name', $_POST['field_name'][$key]); + $fieldsObj->setVar( 'field_type', $_POST['field_type'][$key]); + $fieldsObj->setVar( 'field_value', $_POST['field_value'][$key]); + $fieldsObj->setVar( 'field_attribute', $_POST['field_attribute'][$key]); + $fieldsObj->setVar( 'field_null', $_POST['field_null'][$key]); + $fieldsObj->setVar( 'field_default', $_POST['field_default'][$key]); + $fieldsObj->setVar( 'field_key', $_POST['field_key'][$key]); + $fieldsObj->setVar( 'field_element', $_POST['field_element'][$key]); + $fieldsObj->setVar( 'field_parent', (1 == $_REQUEST['field_parent'][$key]) ? 1 : 0); + $fieldsObj->setVar( 'field_inlist', (1 == $_REQUEST['field_inlist'][$key]) ? 1 : 0); + $fieldsObj->setVar( 'field_inform', (1 == $_REQUEST['field_inform'][$key]) ? 1 : 0); + $fieldsObj->setVar( 'field_admin', (1 == $_REQUEST['field_admin'][$key]) ? 1 : 0); + $fieldsObj->setVar( 'field_user', (1 == $_REQUEST['field_user'][$key]) ? 1 : 0); + $fieldsObj->setVar( 'field_block', (1 == $_REQUEST['field_block'][$key]) ? 1 : 0); + $fieldsObj->setVar( 'field_main', ($key == $_REQUEST['field_main'] ? 1 : 0)); + $fieldsObj->setVar( 'field_search', (1 == $_REQUEST['field_search'][$key]) ? 1 : 0); + $fieldsObj->setVar( 'field_required', (1 == $_REQUEST['field_required'][$key]) ? 1 : 0); // Insert Data $tdmcreate->getHandler('fields')->insert($fieldsObj); - } - // Get table name from field table id - $tables =& $tdmcreate->getHandler('tables')->get($fieldTid); - $tableName = $tables->getVar('table_name'); - // Set field elements - if ($fieldsObj->isNew()) { - // Fields Elements Handler - $fieldelementObj =& $tdmcreate->getHandler('fieldelements')->create(); - $fieldelementObj->setVar('fieldelement_mid', $fieldMid); - $fieldelementObj->setVar('fieldelement_tid', $fieldTid); - $fieldelementObj->setVar('fieldelement_name', 'Table : ' . ucfirst($tableName)); - $fieldelementObj->setVar('fieldelement_value', 'XoopsFormTables-' . ucfirst($tableName)); - // Insert new field element id for table name - if (!$tdmcreate->getHandler('fieldelements')->insert($fieldelementObj)) { - $GLOBALS['xoopsTpl']->assign('error', $fieldelementObj->getHtmlErrors() . ' Field element'); - } - redirect_header('fields.php', 2, sprintf(_AM_TDMCREATE_FIELDS_FORM_SAVED_OK, $tableName)); - } else { - // Needed code from table name by field_tid - redirect_header('fields.php', 2, sprintf(_AM_TDMCREATE_FIELDS_FORM_UPDATED_OK, $tableName)); - } + } + // Get table name from field table id + $tables =& $tdmcreate->getHandler('tables')->get($fieldTid); + $tableName = $tables->getVar('table_name'); + // Set field elements + if ($fieldsObj->isNew()) { + // Fields Elements Handler + $fieldelementObj =& $tdmcreate->getHandler('fieldelements')->create(); + $fieldelementObj->setVar( 'fieldelement_mid', $fieldMid ); + $fieldelementObj->setVar( 'fieldelement_tid', $fieldTid ); + $fieldelementObj->setVar( 'fieldelement_name', 'Table : '.ucfirst($tableName) ); + $fieldelementObj->setVar( 'fieldelement_value', 'XoopsFormTables-'.ucfirst($tableName) ); + // Insert new field element id for table name + if (!$tdmcreate->getHandler('fieldelements')->insert($fieldelementObj) ) { + $GLOBALS['xoopsTpl']->assign('error', $fieldelementObj->getHtmlErrors() . ' Field element'); + } + redirect_header('fields.php', 2, sprintf(_AM_TDMCREATE_FIELDS_FORM_SAVED_OK, $tableName)); + } else { + // Needed code from table name by field_tid + redirect_header('fields.php', 2, sprintf(_AM_TDMCREATE_FIELDS_FORM_UPDATED_OK, $tableName)); + } // - $GLOBALS['xoopsTpl']->assign('error', $fieldsObj->getHtmlErrors()); - $form = $fieldsObj->getForm(null, $fieldTid); - $GLOBALS['xoopsTpl']->assign('form', $form->render()); - break; - - case 'edit': - // Define main template - $template_main = 'tdmcreate_fields.tpl'; - $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('fields.php')); - $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()); - // Form Edit - $fieldId = XoopsRequest::getInt('field_id'); - $fieldsObj = $tdmcreate->getHandler('fields')->get($fieldId); - $form = $fieldsObj->getFormEdit($fieldMid, $fieldTid); - $GLOBALS['xoopsTpl']->assign('form', $form->render()); - break; - - case 'order': - // Initialize fields handler + $GLOBALS['xoopsTpl']->assign('error', $fieldsObj->getHtmlErrors()); + $form = $fieldsObj->getForm(null, $fieldTid); + $GLOBALS['xoopsTpl']->assign('form', $form->render()); + break; + + case 'edit': + // Define main template + $template_main = 'tdmcreate_fields.tpl'; + $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('fields.php')); + $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()); + // Form Edit + $fieldId = XoopsRequest::getInt('field_id'); + $fieldsObj = $tdmcreate->getHandler('fields')->get( $fieldId ); + $form = $fieldsObj->getFormEdit($fieldMid, $fieldTid); + $GLOBALS['xoopsTpl']->assign('form', $form->render()); + break; + + case 'order': + // Initialize fields handler $fieldsObj = $tdmcreate->getHandler('fields'); - if (isset($_POST['forder'])) { + if ( isset($_POST['forder'] ) ) { $i = 0; - foreach ($_POST['forder'] as $order) { - if ($order > 0) { + foreach($_POST['forder'] as $order) { + if( $order > 0 ) { $fieldOrder = $fieldsObj->get($order); $fieldOrder->setVar('field_order', $i); if (!$fieldsObj->insert($fieldOrder)) { - $error = true; + $error=true; } - ++$i; + $i++; } } - redirect_header('fields.php', 5, _AM_TDMCREATE_FIELD_ORDER_ERROR); - unset($i); + redirect_header('fields.php', 5, _AM_TDMCREATE_FIELD_ORDER_ERROR); + unset($i); } exit; - break; + break; - case 'delete': - $tablesObj =& $tdmcreate->getHandler('tables')->get($fieldTid); - if (isset($_REQUEST['ok']) && 1 == $_REQUEST['ok']) { - if (!$GLOBALS['xoopsSecurity']->check()) { - redirect_header('fields.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); - } - if ($tdmcreate->getHandler('tables')->delete($tablesObj)) { - redirect_header('fields.php', 3, _AM_TDMCREATE_FORMDELOK); - } else { - echo $tablesObj->getHtmlErrors(); - } - } else { - xoops_confirm(array('ok' => 1, 'field_tid' => $fieldTid, 'op' => 'delete'), $_SERVER['REQUEST_URI'], sprintf(_AM_TDMCREATE_FORMSUREDEL, $tablesObj->getVar('table_name'))); - } - break; - - case 'display': + case 'delete': + $tablesObj =& $tdmcreate->getHandler('tables')->get($fieldTid); + if (isset($_REQUEST['ok']) && $_REQUEST['ok'] == 1) { + if ( !$GLOBALS['xoopsSecurity']->check() ) { + redirect_header('fields.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); + } + if ($tdmcreate->getHandler('tables')->delete($tablesObj)) { + redirect_header('fields.php', 3, _AM_TDMCREATE_FORMDELOK); + } else { + echo $tablesObj->getHtmlErrors(); + } + } else { + xoops_confirm(array('ok' => 1, 'field_tid' => $fieldTid, 'op' => 'delete'), $_SERVER['REQUEST_URI'], sprintf(_AM_TDMCREATE_FORMSUREDEL, $tablesObj->getVar('table_name'))); + } + break; + + case 'display': // Fields Handler $fields = $tdmcreate->getHandler('fields'); // foreach ($_POST['field_id'] as $key => $value) { $fieldsObj =& $fields->get($value); - $fieldsObj->setVar('field_parent', ($_REQUEST['field_parent'][$key] == 1) ? 0 : 1); - $fieldsObj->setVar('field_inlist', ($_REQUEST['field_inlist'][$key] == 1) ? 0 : 1); - $fieldsObj->setVar('field_inform', ($_REQUEST['field_inform'][$key] == 1) ? 0 : 1); - $fieldsObj->setVar('field_admin', ($_REQUEST['field_admin'][$key] == 1) ? 0 : 1); - $fieldsObj->setVar('field_user', ($_REQUEST['field_user'][$key] == 1) ? 0 : 1); - $fieldsObj->setVar('field_block', ($_REQUEST['field_block'][$key] == 1) ? 0 : 1); + $fieldsObj->setVar('field_parent', (1 == $_REQUEST['field_parent'][$key]) ? 0 : 1); + $fieldsObj->setVar('field_inlist', (1 == $_REQUEST['field_inlist'][$key]) ? 0 : 1); + $fieldsObj->setVar('field_inform', (1 == $_REQUEST['field_inform'][$key]) ? 0 : 1); + $fieldsObj->setVar('field_admin', (1 == $_REQUEST['field_admin'][$key]) ? 0 : 1); + $fieldsObj->setVar('field_user', (1 == $_REQUEST['field_user'][$key]) ? 0 : 1); + $fieldsObj->setVar('field_block', (1 == $_REQUEST['field_block'][$key]) ? 0 : 1); $fieldsObj->setVar('field_main', ($key == $_REQUEST['field_main']) ? 0 : 1); - $fieldsObj->setVar('field_search', ($_REQUEST['field_search'][$key] == 1) ? 0 : 1); - $fieldsObj->setVar('field_required', ($_REQUEST['field_required'][$key] == 1) ? 0 : 1); + $fieldsObj->setVar('field_search', (1 == $_REQUEST['field_search'][$key]) ? 0 : 1); + $fieldsObj->setVar('field_required', (1 == $_REQUEST['field_required'][$key]) ? 0 : 1); } if ($fieldsObj->insert($fieldsObj, true)) { redirect_header('fields.php', 3, _AM_TDMCREATE_TOGGLE_SUCCESS); } else { redirect_header('fields.php', 3, _AM_TDMCREATE_TOGGLE_FAILED); } - break; + break; } -include __DIR__ . '/footer.php'; +include __DIR__ . '/footer.php'; \ No newline at end of file Modified: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/tables.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/tables.php 2015-05-01 16:05:55 UTC (rev 13051) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/tables.php 2015-05-02 13:42:44 UTC (rev 13052) @@ -28,7 +28,6 @@ $tableMid = XoopsRequest::getInt('table_mid'); $tableName = XoopsRequest::getInt('table_name'); $tableNumbFields = XoopsRequest::getInt('table_nbfields'); -$tableOrder = XoopsRequest::getInt('table_order'); $tableFieldname = XoopsRequest::getString('table_fieldname', ''); // switch ($op) { @@ -39,6 +38,7 @@ // Define main template $template_main = 'tdmcreate_tables.tpl'; $GLOBALS['xoTheme']->addStylesheet('modules/tdmcreate/assets/css/admin/style.css'); + $GLOBALS['xoTheme']->addScript('browse.php?Frameworks/jquery/plugins/jquery.ui.js'); $GLOBALS['xoTheme']->addScript('modules/tdmcreate/assets/js/functions.js'); $GLOBALS['xoTheme']->addScript('modules/tdmcreate/assets/js/sortable.js'); $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('tables.php')); @@ -147,10 +147,12 @@ redirect_header('tables.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); } // + $tables =& $tdmcreate->getHandler('tables'); + // if (isset($tableId)) { $tablesObj =& $tables->get($tableId); } else { - // Checking if table name exist + // Checking if table name exist in the same module $criteria = new CriteriaCompo(); $criteria->add(new Criteria('table_mid', $tableMid)); $table_name_search = $tables->getObjects($criteria); @@ -163,12 +165,13 @@ } $tablesObj =& $tables->create(); } + $tableOrder = XoopsRequest::getInt('table_order'); $order = $tablesObj->isNew() ? $tableOrder + 1 : $tableOrder; // Form save tables $tablesObj->setVars(array( 'table_mid' => $tableMid, 'table_name' => $_POST['table_name'], - 'table_category' => $_REQUEST['table_category'], + 'table_category' => ((1 == $_REQUEST['table_category']) ? 1 : 0), 'table_nbfields' => $tableNumbFields, 'table_order' => $order, 'table_fieldname' => $tableFieldname)); @@ -189,24 +192,24 @@ $tablesObj->setVar('table_image', $_POST['table_image']); } $tablesObj->setVars(array( - 'table_autoincrement' => $_REQUEST['table_autoincrement'], - 'table_blocks' => $_REQUEST['table_blocks'], - 'table_admin' => $_REQUEST['table_admin'], - 'table_user' => $_REQUEST['table_user'], - 'table_submenu' => $_REQUEST['table_submenu'], - 'table_submit' => $_REQUEST['table_submit'], - 'table_tag' => $_REQUEST['table_tag'], - 'table_broken' => $_REQUEST['table_broken'], - 'table_search' => $_REQUEST['table_search'], - 'table_comments' => $_REQUEST['table_comments'], - 'table_notifications' => $_REQUEST['table_notifications'], - 'table_permissions' => $_REQUEST['table_permissions'], - 'table_rate' => $_REQUEST['table_rate'], - 'table_print' => $_REQUEST['table_print'], - 'table_pdf' => $_REQUEST['table_pdf'], - 'table_rss' => $_REQUEST['table_rss'], - 'table_single' => $_REQUEST['table_single'], - 'table_visit' => $_REQUEST['table_visit'] + 'table_autoincrement' => ((1 == $_REQUEST['table_autoincrement']) ? 1 : 0), + 'table_blocks' => ((1 == $_REQUEST['table_blocks']) ? 1 : 0), + 'table_admin' => ((1 == $_REQUEST['table_admin']) ? 1 : 0), + 'table_user' => ((1 == $_REQUEST['table_user']) ? 1 : 0), + 'table_submenu' => ((1 == $_REQUEST['table_submenu']) ? 1 : 0), + 'table_submit' => ((1 == $_REQUEST['table_submit']) ? 1 : 0), + 'table_tag' => ((1 == $_REQUEST['table_tag']) ? 1 : 0), + 'table_broken' => ((1 == $_REQUEST['table_broken']) ? 1 : 0), + 'table_search' => ((1 == $_REQUEST['table_search']) ? 1 : 0), + 'table_comments' => ((1 == $_REQUEST['table_comments']) ? 1 : 0), + 'table_notifications' => ((1 == $_REQUEST['table_notifications']) ? 1 : 0), + 'table_permissions' => ((1 == $_REQUEST['table_permissions']) ? 1 : 0), + 'table_rate' => ((1 == $_REQUEST['table_rate']) ? 1 : 0), + 'table_print' => ((1 == $_REQUEST['table_print']) ? 1 : 0), + 'table_pdf' => ((1 == $_REQUEST['table_pdf']) ? 1 : 0), + 'table_rss' => ((1 == $_REQUEST['table_rss']) ? 1 : 0), + 'table_single' => ((1 == $_REQUEST['table_single']) ? 1 : 0), + 'table_visit' => ((1 == $_REQUEST['table_visit']) ? 1 : 0) )); // if ($tables->insert($tablesObj)) { @@ -215,11 +218,6 @@ $tableAction = '&field_mid=' . $tableMid . '&field_tid=' . $tableTid . '&field_numb=' . $tableNumbFields . '&field_name=' . $tableFieldname; redirect_header('fields.php?op=new' . $tableAction, 5, sprintf(_AM_TDMCREATE_TABLE_FORM_CREATED_OK, $_POST['table_name'])); } else { - // Get fields where table id - $fields =& $tdmcreate->getHandler('fields'); - $fieldsObj = $fields->get($tableId); - $fieldsObj->setVar('field_numb', $tableNumbFields); - $fields->insert($fieldsObj); redirect_header('tables.php', 5, sprintf(_AM_TDMCREATE_TABLE_FORM_UPDATED_OK, $_POST['table_name'])); } } @@ -284,13 +282,13 @@ foreach ($_POST['mod_id'] as $key => $value) { if ($key > 0) { $modulesObj =& $tdmcreate->getHandler('modules')->get($value); - $modulesObj->setVar('mod_admin', ($_REQUEST['mod_admin'][$key] == 1) ? 0 : 1); - $modulesObj->setVar('mod_user', ($_REQUEST['mod_user'][$key] == 1) ? 0 : 1); - $modulesObj->setVar('mod_blocks', ($_REQUEST['mod_blocks'][$key] == 1) ? 0 : 1); - $modulesObj->setVar('mod_search', ($_REQUEST['mod_search'][$key] == 1) ? 0 : 1); - $modulesObj->setVar('mod_comments', ($_REQUEST['mod_comments'][$key] == 1) ? 0 : 1); - $modulesObj->setVar('mod_notifications', ($_REQUEST['mod_notifications'][$key] == 1) ? 0 : 1); - $modulesObj->setVar('mod_permissions', ($_REQUEST['mod_permissions'][$key] == 1) ? 0 : 1); + $modulesObj->setVar('mod_admin', (1 == $_REQUEST['mod_admin'][$key]) ? 0 : 1); + $modulesObj->setVar('mod_user', (1 == $_REQUEST['mod_user'][$key]) ? 0 : 1); + $modulesObj->setVar('mod_blocks', (1 == $_REQUEST['mod_blocks'][$key]) ? 0 : 1); + $modulesObj->setVar('mod_search', (1 == $_REQUEST['mod_search'][$key]) ? 0 : 1); + $modulesObj->setVar('mod_comments', (1 == $_REQUEST['mod_comments'][$key]) ? 0 : 1); + $modulesObj->setVar('mod_notifications', (1 == $_REQUEST['mod_notifications'][$key]) ? 0 : 1); + $modulesObj->setVar('mod_permissions', (1 == $_REQUEST['mod_permissions'][$key]) ? 0 : 1); } } if ($modules->insert($modulesObj, true)) { @@ -302,16 +300,17 @@ case 'display_tables': $tables = $tdmcreate->getHandler('tables'); + // foreach ($_POST['table_id'] as $key => $value) { if ($key > 0) { $tablesObj =& $tables->get($value); - $tablesObj->setVar('table_admin', ($_REQUEST['table_admin'][$key] == 1) ? 0 : 1); - $tablesObj->setVar('table_user', ($_REQUEST['table_user'][$key] == 1) ? 0 : 1); - $tablesObj->setVar('table_blocks', ($_REQUEST['table_blocks'][$key] == 1) ? 0 : 1); - $tablesObj->setVar('table_submenu', ($_REQUEST['table_submenu'][$key] == 1) ? 0 : 1); - $tablesObj->setVar('table_search', ($_REQUEST['table_search'][$key] == 1) ? 0 : 1); - $tablesObj->setVar('table_comments', ($_REQUEST['table_comments'][$key] == 1) ? 0 : 1); - $tablesObj->setVar('table_notifications', ($_REQUEST['table_notifications'][$key] == 1) ? 0 : 1); + $tablesObj->setVar('table_admin', (1 == $_REQUEST['table_admin'][$key]) ? 0 : 1); + $tablesObj->setVar('table_user', (1 == $_REQUEST['table_user'][$key]) ? 0 : 1); + $tablesObj->setVar('table_blocks', (1 == $_REQUEST['table_blocks'][$key]) ? 0 : 1); + $tablesObj->setVar('table_submenu', (1 == $_REQUEST['table_submenu'][$key]) ? 0 : 1); + $tablesObj->setVar('table_search', (1 == $_REQUEST['table_search'][$key]) ? 0 : 1); + $tablesObj->setVar('table_comments', (1 == $_REQUEST['table_comments'][$key]) ? 0 : 1); + $tablesObj->setVar('table_notifications', (1 == $_REQUEST['table_notifications'][$key]) ? 0 : 1); } } if ($tables->insert($tablesObj, true)) { Modified: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/css/admin/style.css =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/css/admin/style.css 2015-05-01 16:05:55 UTC (rev 13051) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/css/admin/style.css 2015-05-02 13:42:44 UTC (rev 13052) @@ -26,12 +26,16 @@ text-shadow: 1px 1px 1px #fff; } -table { margin: 0; padding: 0; } +table { margin: 0; padding: 0; width: 100%; } /* Sortable tables & fields */ +tbody tr td.sortable { + text-align: center; + width: 100%; +} + tbody tr td.sortable img.move { cursor: move; - text-align: center; } tbody tr:hover { @@ -138,7 +142,7 @@ background-color: #efefef; } -.table-list tr { margin: 0; padding: 0; } +.table-list tr { margin: 0; padding: 0; width: 100%; } .table-list tr td img.move { margin-right: 20px; @@ -209,16 +213,16 @@ width: 5%; } -.field-list tr { margin: 0; padding: 0; } +.field-list tr { margin: 0; padding: 0; width: 100%; } .field-list tr td { padding: 5px 2px; margin-bottom: 3px; - background-color: #efefef; + /* background-color: #efefef; background-image: -moz-linear-gradient(top, #efefef, #e1e1e1); background-image: -webkit-gradient(linear, left top,left bottom, from(#efefef), to(#e1e1e1)); background-image: linear-gradient(top, #efefef, #e1e1e1); - filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, StartColorStr=#efefef, EndColorStr=#e1e1e1); /* vale solo per IE */ + filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, StartColorStr=#efefef, EndColorStr=#e1e1e1); vale solo per IE */ text-shadow:1px 1px 0 #fff; color:#ff8400; } @@ -230,4 +234,4 @@ } .field-list tr td strong { vertical-align: middle; -} +} \ No newline at end of file Added: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/SplClassLoader.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/SplClassLoader.php (rev 0) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/SplClassLoader.php 2015-05-02 13:42:44 UTC (rev 13052) @@ -0,0 +1,155 @@ +<?php + +/* + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * This software consists of voluntary contributions made by many individuals + * and is licensed under the MIT license. For more information, see + * <http://www.doctrine-project.org>. + */ + +/** + * SplClassLoader implementation that implements the technical interoperability + * standards for PHP 5.3 namespaces and class names. + * + * http://groups.google.com/group/php-standards/web/psr-0-final-proposal?pli=1 + * + * // Example which loads classes for the Doctrine Common package in the + * // Doctrine\Common namespace. + * $classLoader = new SplClassLoader('Doctrine\Common', '/path/to/doctrine'); + * $classLoader->register(); + * + * @license http://www.opensource.org/licenses/mit-license.html MIT License + * @author Jonathan H. Wage <jo...@gm...> + * @author Roman S. Borschel <ro...@co...> + * @author Matthew Weier O'Phinney <ma...@ze...> + * @author Kris Wallsmith <kri...@gm...> + * @author Fabien Potencier <fab...@sy...> + */ +class SplClassLoader +{ + private $_fileExtension = '.php'; + private $_namespace; + private $_includePath; + private $_namespaceSeparator = '\\'; + + /** + * Creates a new <tt>SplClassLoader</tt> that loads classes of the + * specified namespace. + * + * @param string $ns The namespace to use. + */ + public function __construct($ns = null, $includePath = null) + { + $this->_namespace = $ns; + $this->_includePath = $includePath; + } + + /** + * Sets the namespace separator used by classes in the namespace of this class loader. + * + * @param string $sep The separator to use. + */ + public function setNamespaceSeparator($sep) + { + $this->_namespaceSeparator = $sep; + } + + /** + * Gets the namespace seperator used by classes in the namespace of this class loader. + * + * @return void + */ + public function getNamespaceSeparator() + { + return $this->_namespaceSeparator; + } + + /** + * Sets the base include path for all class files in the namespace of this class loader. + * + * @param string $includePath + */ + public function setIncludePath($includePath) + { + $this->_includePath = $includePath; + } + + /** + * Gets the base include path for all class files in the namespace of this class loader. + * + * @return string $includePath + */ + public function getIncludePath() + { + return $this->_includePath; + } + + /** + * Sets the file extension of class files in the namespace of this class loader. + * + * @param string $fileExtension + */ + public function setFileExtension($fileExtension) + { + $this->_fileExtension = $fileExtension; + } + + /** + * Gets the file extension of class files in the namespace of this class loader. + * + * @return string $fileExtension + */ + public function getFileExtension() + { + return $this->_fileExtension; + } + + /** + * Installs this class loader on the SPL autoload stack. + */ + public function register() + { + spl_autoload_register(array($this, 'loadClass')); + } + + /** + * Uninstalls this class loader from the SPL autoloader stack. + */ + public function unregister() + { + spl_autoload_unregister(array($this, 'loadClass')); + } + + /** + * Loads the given class or interface. + * + * @param string $className The name of the class to load. + * @return void + */ + public function loadClass($className) + { + if (null === $this->_namespace || $this->_namespace.$this->_namespaceSeparator === substr($className, 0, strlen($this->_namespace.$this->_namespaceSeparator))) { + $fileName = ''; + $namespace = ''; + if (false !== ($lastNsPos = strripos($className, $this->_namespaceSeparator))) { + $namespace = substr($className, 0, $lastNsPos); + $className = substr($className, $lastNsPos + 1); + $fileName = str_replace($this->_namespaceSeparator, DIRECTORY_SEPARATOR, $namespace) . DIRECTORY_SEPARATOR; + } + $fileName .= str_replace('_', DIRECTORY_SEPARATOR, $className) . $this->_fileExtension; + + require ($this->_includePath !== null ? $this->_includePath . DIRECTORY_SEPARATOR : '') . $fileName; + } + } +} \ No newline at end of file Modified: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/fields.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/fields.php 2015-05-01 16:05:55 UTC (rev 13051) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/fields.php 2015-05-02 13:42:44 UTC (rev 13052) @@ -85,10 +85,8 @@ } /* - * @static function &getInstance - * @param null - */ - /** + * @static function &getInstance + * * @return TDMCreateFields */ public static function &getInstance() @@ -102,10 +100,8 @@ } /* - * @private function getHeaderForm - * @param mixed $action - */ - /** + * @private function getHeaderForm + * * @param bool $action * @return TDMCreateThemeForm */ @@ -143,15 +139,8 @@ } /* - * @public function getFormNew - * - * @param integer $field_mid - * @param integer $field_tid - * @param integer $field_numb - * @param string $field_name - * @param mixed $action - */ - /** + * @public function getFormNew + * * @param null $field_mid * @param null $field_tid * @param null $field_numb @@ -179,20 +168,9 @@ return $fieldsForm->getFooterForm($form); } - /* - * @private function getFormNewLine - * - * @param mixed $form - * @param mixed $class - * @param integer $i - * @param integer $field_mid - * @param integer $field_tid - * @param mixed $f_name - * @param integer $table_autoincrement - * - * @author timgno - modified in getFormNewLine by goffy - */ /** + * @private function getFormNewLine + * * @param $form * @param $class * @param $i @@ -311,30 +289,24 @@ } /* - * @public function getFormEdit - * - * @param integer $field_mid - * @param integer $field_tid - * @param mixed $action - */ - /** + * @public function getFormEdit + * * @param null $field_mid * @param null $field_tid - * @param null $field_numb * @param bool $action * @return mixed */ public function getFormEdit($field_mid = null, $field_tid = null, $action = false) { // Header function class - $fields_form = TDMCreateFields::getInstance(); - $form = $fields_form->getHeaderForm($action); + $fieldsForm = TDMCreateFields::getInstance(); + $form = $fieldsForm->getHeaderForm($action); // $class = 'even'; // Get the number of fields - goffy $tablesHandler =& $this->tdmcreate->getHandler('tables'); $table_autoincrement = $tablesHandler->get($field_tid)->getVar('table_autoincrement'); - $field_numb = $tablesHandler->get($field_tid)->getVar('table_nbfields'); + $field_numb = $tablesHandler->get($field_tid)->getVar('table_nbfields'); $f_name = $tablesHandler->get($field_tid)->getVar('table_fieldname'); // Get the list of fields @@ -353,10 +325,10 @@ $this->tdmcreate->getHandler('fields')->delete($fieldsObj, true); } else { // show field with settings - $form->addElement(new XoopsFormHidden('field_id[' . $field_id . ']', $field_id)); - $form->addElement(new XoopsFormHidden('field_mid', $field_mid)); - $form->addElement(new XoopsFormHidden('field_tid', $field_tid)); - + $form->addElement(new XoopsFormHidden('field_id[' . $id . ']', $field_id)); + //$form->addElement(new XoopsFormHidden('field_mid', $field_mid)); + //$form->addElement(new XoopsFormHidden('field_tid', $field_tid)); + $form->addElement(new TDMCreateFormLabel('<tr class="' . $class . '">')); // Index ID $form->addElement(new TDMCreateFormLabel('<td class="center">' . $id . '</td>')); @@ -457,7 +429,7 @@ unset($id); // Footer form - return $fields_form->getFooterForm($form); + return $fieldsForm->getFooterForm($form); } /* Modified: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/AdminObjects.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/AdminObjects.php 2015-05-01 16:05:55 UTC (rev 13051) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/AdminObjects.php 2015-05-02 13:42:44 UTC (rev 13052) @@ -38,7 +38,6 @@ if (!$instance) { $instance = new self(); } - return $instance; } @@ -46,19 +45,14 @@ * @public function getSimpleSetVar * @param string $tableName * @param string $fieldName + * @return string */ - /** - * @param $tableName - * @param $fieldName - * @return string - */ public function getSimpleSetVar($tableName, $fieldName) { $ret = <<<EOT // Set Var {$fieldName} \${$tableName}Obj->setVar('{$fieldName}', \$_POST['{$fieldName}']);\n EOT; - return $ret; } @@ -66,19 +60,14 @@ * @public function getTextDateSelectSetVar * @param string $tableName * @param string $fieldName + * @return string */ - /** - * @param $tableName - * @param $fieldName - * @return string - */ public function getTextDateSelectSetVar($tableName, $fieldName) { $ret = <<<EOT // Set Var {$fieldName} \${$tableName}Obj->setVar('{$fieldName}', strtotime(\$_POST['{$fieldName}']));\n EOT; - return $ret; } @@ -86,19 +75,14 @@ * @public function getCheckBoxOrRadioYNSetVar * @param string $tableName * @param string $fieldName + * @return string */ - /** - * @param $tableName - * @param $fieldName - * @return string - */ public function getCheckBoxOrRadioYNSetVar($tableName, $fieldName) { $ret = <<<EOT // Set Var {$fieldName} \${$tableName}Obj->setVar('{$fieldName}', ((1 == \$_REQUEST['{$fieldName}']) ? '1' : '0'));\n EOT; - return $ret; } @@ -106,19 +90,14 @@ * @public function getUrlFileSetVar * @param string $tableName * @param string $fieldName + * @return string */ - /** - * @param $tableName - * @param $fieldName - * @return string - */ public function getUrlFileSetVar($tableName, $fieldName) { $ret = <<<EOT // Set Var {$fieldName} - \${$tableName}Obj->setVar('{$fieldName}', formtUrl(\$_REQUEST['{$fieldName}']));\n + \${$tableName}Obj->setVar('{$fieldName}', formatUrl(\$_REQUEST['{$fieldName}']));\n EOT; - return $ret; } @@ -127,13 +106,8 @@ * @param string $moduleDirname * @param string $tableName * @param string $fieldName + * @return string */ - /** - * @param $moduleDirname - * @param $tableName - * @param $fieldName - * @return string - */ public function getImageListSetVar($moduleDirname, $tableName, $fieldName) { $ret = <<<EOT @@ -155,7 +129,6 @@ \${$tableName}Obj->setVar('{$fieldName}', \$_POST['{$fieldName}']); }\n EOT; - return $ret; } @@ -164,13 +137,8 @@ * @param string $moduleDirname * @param string $tableName * @param string $fieldName + * @return string */ - /** - * @param $moduleDirname - * @param $tableName - * @param $fieldName - * @return string - */ public function getUploadImageSetVar($moduleDirname, $tableName, $fieldName) { $stuModuleDirname = strtoupper($moduleDirname); @@ -193,7 +161,6 @@ \${$tableName}Obj->setVar('{$fieldName}', \$_POST['{$fieldName}']); }\n EOT; - return $ret; } @@ -202,13 +169,8 @@ * @param string $moduleDirname * @param string $tableName * @param string $fieldName + * @return string */ - /** - * @param $moduleDirname - * @param $tableName - * @param $fieldName - * @return string - */ public function getUploadFileSetVar($moduleDirname, $tableName, $fieldName) { $stuModuleDirname = strtoupper($moduleDirname); @@ -229,7 +191,6 @@ } }\n EOT; - return $ret; } @@ -239,21 +200,14 @@ * @param string $rpFieldName * @param string $tableName * @param string $fieldName + * @return string */ - /** - * @param $lpFieldName - * @param $rpFieldName - * @param $tableName - * @param $fieldName - * @return string - */ public function getSimpleGetVar($lpFieldName, $rpFieldName, $tableName, $fieldName) { $ret = <<<EOT \t\t\t\t// Get Var {$fieldName} \t\t\t\t\${$lpFieldName}['{$rpFieldName}'] = \${$tableName}All[\$i]->getVar('{$fieldName}');\n EOT; - return $ret; } @@ -265,16 +219,8 @@ * @param string $tableNameTopic * @param string $fieldNameParent * @param string $fieldNameTopic + * @return string */ - /** - * @param $lpFieldName - * @param $rpFieldName - * @param $tableName - * @param $tableNameTopic - * @param $fieldNameParent - * @param $fieldNameTopic - * @return string - */ public function getTopicGetVar($lpFieldName, $rpFieldName, $tableName, $tableNameTopic, $fieldNameParent, $fieldNameTopic) { $ret = <<<EOT @@ -282,7 +228,6 @@ \t\t\t\t\${$rpFieldName} =& \${$tableNameTopic}Handler->get(\${$tableName}All[\$i]->getVar('{$fieldNameParent}')); \t\t\t\t\${$lpFieldName}['{$rpFieldName}'] = \${$rpFieldName}->getVar('{$fieldNameTopic}');\n EOT; - return $ret; } @@ -292,14 +237,8 @@ * @param string $rpFieldName * @param string $tableName * @param string $fieldName + * @return string */ - /** - * @param $lpFieldName - * @param $rpFieldName - * @param $tableName - * @param $fieldName - * @return string - */ public function getUploadImageGetVar($lpFieldName, $rpFieldName, $tableName, $fieldName) { $ret = <<<EOT @@ -308,7 +247,6 @@ \t\t\t\t\$upload_image = \${$fieldName} ? \${$fieldName} : 'blank.gif'; \t\t\t\t\${$lpFieldName}['{$rpFieldName}'] = \$upload_image;\n EOT; - return $ret; } /* @@ -319,22 +257,13 @@ * @param string $fieldName * @return string */ - /* - * @public function getUrlFileGetVar - * @param $lpFieldName - * @param $rpFieldName - * @param $tableName - * @param $fieldName - * @return string - */ public function getUrlFileGetVar($lpFieldName, $rpFieldName, $tableName, $fieldName) { $ret = <<<EOT \t\t\t\t// Get Var {$fieldName} \t\t\t\t\${$lpFieldName}['{$rpFieldName}'] = \${$tableName}All[\$i]->getVar('{$fieldName}');\n EOT; - - return $ret; + return $ret; } /* * @public function getTextAreaGetVar @@ -342,21 +271,14 @@ * @param string $rpFieldName * @param string $tableName * @param string $fieldName + * @return string */ - /** - * @param $lpFieldName - * @param $rpFieldName - * @param $tableName - * @param $fieldName - * @return string - */ public function getTextAreaGetVar($lpFieldName, $rpFieldName, $tableName, $fieldName) { $ret = <<<EOT \t\t\t\t// Get Var {$fieldName} \t\t\t\t\${$lpFieldName}['{$rpFieldName}'] = strip_tags(\${$tableName}All[\$i]->getVar('{$fieldName}'));\n EOT; - return $ret; } @@ -366... [truncated message content] |
From: <txm...@us...> - 2015-05-01 16:05:59
|
Revision: 13051 http://sourceforge.net/p/xoops/svn/13051 Author: txmodxoops Date: 2015-05-01 16:05:55 +0000 (Fri, 01 May 2015) Log Message: ----------- Updated Fixed bugs Database new use Engine=InnoDB Deleted field_numb: This field can be called from the table_nbfield in tables Modified includes with __DIR__ Needed a fresh installation Modified Paths: -------------- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/about.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/building.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/fields.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/footer.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/header.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/index.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/menu.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/modules.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/tables.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/css/admin/style.css XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/js/sortable.js XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/TDMCreateAutoload.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/TDMCreateHelper.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/TDMCreateSession.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/building.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/fieldattributes.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/fieldelements.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/fieldkey.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/fieldnull.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/fields.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/fieldtype.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/TDMCreateAbstract.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/TDMCreateArchitecture.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/TDMCreateFile.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/TDMCreateHtmlSmartyCodes.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/TDMCreateStructure.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/TDMCreateTableFields.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/AdminAbout.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/AdminFooter.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/AdminHeader.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/AdminIndex.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/AdminMenu.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/AdminObjects.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/AdminPages.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/AdminPermissions.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/blocks/BlocksFiles.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/classes/ClassFiles.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/classes/ClassFormElements.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/classes/ClassHelper.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/css/CssStyles.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/docs/DocsChangelog.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/docs/DocsFiles.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/include/IncludeCommentFunctions.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/include/IncludeComments.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/include/IncludeCommon.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/include/IncludeFunctions.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/include/IncludeInstall.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/include/IncludeJquery.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/include/IncludeNotifications.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/include/IncludeSearch.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/include/IncludeUpdate.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/language/LanguageAdmin.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/language/LanguageBlocks.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/language/LanguageDefines.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/language/LanguageHelp.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/language/LanguageMailTpl.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/language/LanguageMain.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/language/LanguageModinfo.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/sql/SqlFile.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/TDMCreateHtmlSmartyCodes.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/admin/TemplatesAdminAbout.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/admin/TemplatesAdminFooter.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/admin/TemplatesAdminHeader.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/admin/TemplatesAdminIndex.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/admin/TemplatesAdminPages.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/admin/TemplatesAdminPermissions.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/blocks/TemplatesBlocks.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/user/TemplatesUserFooter.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/user/TemplatesUserHeader.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/user/TemplatesUserIndex.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/user/TemplatesUserPages.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/user/UserFooter.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/user/UserHeader.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/user/UserIndex.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/user/UserNotificationUpdate.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/user/UserObjects.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/user/UserPages.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/user/UserPrint.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/user/UserRss.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/user/UserSubmit.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/user/UserXoopsVersion.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/form/TDMCreateFormRadio.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/form/TDMCreateThemeForm.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/html/TDMCreateFormLabel.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/logoGenerator.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/modules.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/tables.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/include/common.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/include/functions.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/language/english/admin.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/language/english/modinfo.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/sql/mysql.sql XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/templates/admin/tdmcreate_fields.tpl XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/templates/admin/tdmcreate_fields_item.tpl XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/templates/admin/tdmcreate_modules.tpl XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/templates/admin/tdmcreate_tables.tpl XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/templates/admin/tdmcreate_tables_item.tpl XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/xoops_version.php Modified: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/about.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/about.php 2015-04-28 21:55:41 UTC (rev 13050) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/about.php 2015-05-01 16:05:55 UTC (rev 13051) @@ -18,8 +18,8 @@ * @author Txmod Xoops http://www.txmodxoops.org * @version $Id: about.php 11084 2013-02-23 15:44:20Z timgno $ */ -include 'header.php'; -$template_main = 'tdmcreate_about.tpl'; +include __DIR__ . '/header.php'; +$template_main = 'tdmcreate_about.tpl'; $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('about.php')); $GLOBALS['xoopsTpl']->assign('about', $adminMenu->renderAbout('6KJ7RW5DR3VTJ', false)); -include 'footer.php'; \ No newline at end of file +include __DIR__ . '/footer.php'; Modified: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/building.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/building.php 2015-04-28 21:55:41 UTC (rev 13050) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/building.php 2015-05-01 16:05:55 UTC (rev 13051) @@ -18,78 +18,72 @@ * @author Txmod Xoops http://www.txmodxoops.org * @version $Id: building.php 12258 2014-01-02 09:33:29Z timgno $ */ -include __DIR__ . DIRECTORY_SEPARATOR . 'header.php'; -$op = XoopsRequest::getString('op', 'default'); -$mid = XoopsRequest::getInt('mod_id'); -$moduleObj = $tdmcreate->getHandler('modules')->get( $mid ); +include __DIR__ . '/header.php'; +$op = XoopsRequest::getString('op', 'default'); +$mid = XoopsRequest::getInt('mod_id'); +$moduleObj = $tdmcreate->getHandler('modules')->get($mid); // Switch option switch ($op) { - case 'build': - $template_main = 'tdmcreate_building.tpl'; - $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('building.php')); - // Get var module dirname - $moduleDirname = $moduleObj->getVar('mod_dirname'); - // Directories for copy from to - $fromDir = TDMC_UPLOAD_REPOSITORY_PATH.'/'.strtolower($moduleDirname); - $toDir = XOOPS_ROOT_PATH.'/modules/'.strtolower($moduleDirname); - if(isset($moduleDirname)) { - // Clear this module if it's in repository - if(is_dir($fromDir)) { - TDMCreate_clearDir($fromDir); - } - // Clear this module if it's in root/modules - if(is_dir($toDir)) { - TDMCreate_clearDir($toDir); - } - } - // Structure - include_once TDMC_PATH . '/class/files/TDMCreateArchitecture.php'; - $handler = TDMCreateArchitecture::getInstance(); - // Creation of the structure of folders and files - $base_architecture = $handler->createBaseFoldersFiles( $moduleObj ); - if(false !== $base_architecture) { - $GLOBALS['xoopsTpl']->assign('base_architecture', true); - } else { - $GLOBALS['xoopsTpl']->assign('base_architecture', false); - } - // Get files - $build = array(); - $files = $handler->createFilesToBuilding( $moduleObj ); - foreach($files as $file) { - if($file) { - $build['list'] = $file; - } - $GLOBALS['xoopsTpl']->append('builds', $build); - } - unset($build); - // Directory to saved all files - $GLOBALS['xoopsTpl']->assign('building_directory', sprintf(_AM_TDMCREATE_BUILDING_DIRECTORY, $moduleDirname)); - // Copy this module in root modules - if( $moduleObj->getVar('mod_inroot_copy') == 1 ) { - TDMCreate_copyr($fromDir, $toDir); + case 'build': + $template_main = 'tdmcreate_building.tpl'; + $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('building.php')); + // Get var module dirname + $moduleDirname = $moduleObj->getVar('mod_dirname'); + // Directories for copy from to + $fromDir = TDMC_UPLOAD_REPOSITORY_PATH . '/' . strtolower($moduleDirname); + $toDir = XOOPS_ROOT_PATH . '/modules/' . strtolower($moduleDirname); + if (isset($moduleDirname)) { + // Clear this module if it's in repository + if (is_dir($fromDir)) { + TDMCreate_clearDir($fromDir); + } + // Clear this module if it's in root/modules + if (is_dir($toDir)) { + TDMCreate_clearDir($toDir); + } } - break; - - case 'default': - default: - $template_main = 'tdmcreate_building.tpl'; - $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('building.php')); - // Redirect if there aren't modules - $nbModules = $tdmcreate->getHandler('modules')->getCount(); - if( $nbModules == 0 ) { - redirect_header('modules.php?op=new', 2, _AM_TDMCREATE_NOTMODULES ); - } - unset($nbModules); - // Redirect if there aren't tables - /*$nbTables = $tdmcreate->getHandler('tables')->getCount(); - if($nbTables == 0) { - redirect_header('tables.php?op=new', 2, _AM_TDMCREATE_NOTTABLES ); - } - unset($nbTables);*/ - include_once TDMC_PATH . '/class/building.php'; - $handler = TDMCreateBuilding::getInstance(); - $form = $handler->getForm(); - $GLOBALS['xoopsTpl']->assign('form', $form->render()); - break; + // Structure + include_once TDMC_PATH . '/class/files/TDMCreateArchitecture.php'; + $handler = TDMCreateArchitecture::getInstance(); + // Creation of the structure of folders and files + $base_architecture = $handler->createBaseFoldersFiles($moduleObj); + if (false !== $base_architecture) { + $GLOBALS['xoopsTpl']->assign('base_architecture', true); + } else { + $GLOBALS['xoopsTpl']->assign('base_architecture', false); + } + // Get files + $build = array(); + $files = $handler->createFilesToBuilding($moduleObj); + foreach ($files as $file) { + if ($file) { + $build['list'] = $file; + } + $GLOBALS['xoopsTpl']->append('builds', $build); + } + unset($build); + // Directory to saved all files + $GLOBALS['xoopsTpl']->assign('building_directory', sprintf(_AM_TDMCREATE_BUILDING_DIRECTORY, $moduleDirname)); + // Copy this module in root modules + if (1 == $moduleObj->getVar('mod_inroot_copy')) { + TDMCreate_copyr($fromDir, $toDir); + } + break; + + case 'default': + default: + $template_main = 'tdmcreate_building.tpl'; + $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('building.php')); + // Redirect if there aren't modules + $nbModules = $tdmcreate->getHandler('modules')->getCount(); + if (0 == $nbModules) { + redirect_header('modules.php?op=new', 2, _AM_TDMCREATE_NOTMODULES); + } + unset($nbModules); + include_once TDMC_PATH . '/class/building.php'; + $handler = TDMCreateBuilding::getInstance(); + $form = $handler->getForm(); + $GLOBALS['xoopsTpl']->assign('form', $form->render()); + break; } -include __DIR__ . DIRECTORY_SEPARATOR . 'footer.php'; \ No newline at end of file +include __DIR__ . '/footer.php'; Modified: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/fields.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/fields.php 2015-04-28 21:55:41 UTC (rev 13050) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/fields.php 2015-05-01 16:05:55 UTC (rev 13051) @@ -1,4 +1,4 @@ -<?php +<?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 @@ -18,289 +18,277 @@ * @author Txmod Xoops http://www.txmodxoops.org * @version $Id: 1.91 fields.php 12258 2014-01-02 09:33:29Z timgno $ */ -include __DIR__ . DIRECTORY_SEPARATOR . 'header.php'; +include __DIR__ . '/header.php'; // Recovered value of arguments op in the URL $ $op = XoopsRequest::getString('op', 'list'); // Get fields Variables -$fieldMid = XoopsRequest::getInt('field_mid'); -$fieldTid = XoopsRequest::getInt('field_tid'); -$fieldNumb = XoopsRequest::getInt('field_numb'); +$fieldMid = XoopsRequest::getInt('field_mid'); +$fieldTid = XoopsRequest::getInt('field_tid'); +$fieldNumb = XoopsRequest::getInt('field_numb'); $fieldOrder = XoopsRequest::getInt('field_order'); -$fieldName = XoopsRequest::getString('field_name', ''); +$fieldName = XoopsRequest::getString('field_name', ''); // switch op -switch ($op) -{ - case 'list': +switch ($op) { + case 'list': default: $start = XoopsRequest::getInt('start', 0); - $limit = XoopsRequest::getInt('limit', $tdmcreate->getConfig('tables_adminpager')); - // Define main template - $template_main = 'tdmcreate_fields.tpl'; - $GLOBALS['xoTheme']->addStylesheet( 'modules/tdmcreate/assets/css/admin/style.css' ); - $GLOBALS['xoTheme']->addScript('modules/tdmcreate/assets/js/functions.js'); - $GLOBALS['xoTheme']->addScript('modules/tdmcreate/assets/js/sortable.js'); - $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('fields.php')); - $adminMenu->addItemButton(_AM_TDMCREATE_ADD_TABLE, 'tables.php?op=new', 'add'); - $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton()); - $GLOBALS['xoopsTpl']->assign('tdmc_url', TDMC_URL); - $GLOBALS['xoopsTpl']->assign('tdmc_icons_url', TDMC_ICONS_URL); - $GLOBALS['xoopsTpl']->assign('tdmc_upload_url', TDMC_UPLOAD_URL); - $GLOBALS['xoopsTpl']->assign('tdmc_upload_imgtab_url', TDMC_UPLOAD_IMGTAB_URL); - $GLOBALS['xoopsTpl']->assign('modPathIcon16', $modPathIcon16); - $GLOBALS['xoopsTpl']->assign('sysPathIcon32', $sysPathIcon32); - // Redirect if there aren't modules - $countModules = $tdmcreate->getHandler('modules')->getCount(); - if ( $countModules == 0 ) { - redirect_header('modules.php?op=new', 2, _AM_TDMCREATE_NOTMODULES ); - } - unset($countModules); - // Redirect if there aren't tables - $handlerTables = $tdmcreate->getHandler('tables'); - $countTables = $handlerTables->getCount(); - if ($countTables == 0) { - redirect_header('tables.php?op=new', 2, _AM_TDMCREATE_NOTTABLES ); - } - unset($countTables); - // Get the list of tables - $criteria = new CriteriaCompo(); - $criteria->add(new Criteria('table_mid', $handlerTables->getVar('table_mid'))); - $criteria->setStart($start); + $limit = XoopsRequest::getInt('limit', $tdmcreate->getConfig('tables_adminpager')); + // Define main template + $template_main = 'tdmcreate_fields.tpl'; + $GLOBALS['xoTheme']->addStylesheet('modules/tdmcreate/assets/css/admin/style.css'); + $GLOBALS['xoTheme']->addScript('modules/tdmcreate/assets/js/functions.js'); + $GLOBALS['xoTheme']->addScript('modules/tdmcreate/assets/js/sortable.js'); + $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('fields.php')); + $adminMenu->addItemButton(_AM_TDMCREATE_ADD_TABLE, 'tables.php?op=new', 'add'); + $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton()); + $GLOBALS['xoopsTpl']->assign('tdmc_url', TDMC_URL); + $GLOBALS['xoopsTpl']->assign('tdmc_icons_url', TDMC_ICONS_URL); + $GLOBALS['xoopsTpl']->assign('tdmc_upload_url', TDMC_UPLOAD_URL); + $GLOBALS['xoopsTpl']->assign('tdmc_upload_imgtab_url', TDMC_UPLOAD_IMGTAB_URL); + $GLOBALS['xoopsTpl']->assign('modPathIcon16', $modPathIcon16); + $GLOBALS['xoopsTpl']->assign('sysPathIcon32', $sysPathIcon32); + // Redirect if there aren't modules + $countModules = $tdmcreate->getHandler('modules')->getCount(); + if (0 == $countModules) { + redirect_header('modules.php?op=new', 2, _AM_TDMCREATE_NOTMODULES); + } + unset($countModules); + // Redirect if there aren't tables + $handlerTables = $tdmcreate->getHandler('tables'); + $countTables = $handlerTables->getCount(); + if (0 == $countTables) { + redirect_header('tables.php?op=new', 2, _AM_TDMCREATE_NOTTABLES); + } + unset($countTables); + // Get the list of tables + $criteria = new CriteriaCompo(); + $criteria->add(new Criteria('table_mid', $handlerTables->getVar('table_mid'))); + $criteria->setStart($start); $criteria->setLimit($limit); - $criteria->setSort('table_id ASC, table_order ASC, table_name'); - $criteria->setOrder('ASC'); - $countTables = $tdmcreate->getHandler('tables')->getCount($criteria); - $tablesAll = $tdmcreate->getHandler('tables')->getAll($criteria); - unset($criteria); - if ($countTables > 0) - { - $tlid = 1; - foreach (array_keys($tablesAll) as $tid) - { - // Display tables list - $table['id'] = $tid; - $table['lid'] = $tlid; - $table['mid'] = $tablesAll[$tid]->getVar('table_mid'); - $table['name'] = ucfirst($tablesAll[$tid]->getVar('table_name')); - $table['image'] = $tablesAll[$tid]->getVar('table_image'); - $table['nbfields'] = $tablesAll[$tid]->getVar('table_nbfields'); - $table['order'] = $tablesAll[$tid]->getVar('table_order'); - $table['autoincrement'] = $tablesAll[$tid]->getVar('table_autoincrement'); - $table['blocks'] = $tablesAll[$tid]->getVar('table_blocks'); - $table['admin'] = $tablesAll[$tid]->getVar('table_admin'); - $table['user'] = $tablesAll[$tid]->getVar('table_user'); - $table['search'] = $tablesAll[$tid]->getVar('table_search'); + $criteria->setSort('table_id ASC, table_order ASC, table_name'); + $criteria->setOrder('ASC'); + $countTables = $tdmcreate->getHandler('tables')->getCount($criteria); + $tablesAll = $tdmcreate->getHandler('tables')->getAll($criteria); + unset($criteria); + if ($countTables > 0) { + $tlid = 1; + foreach (array_keys($tablesAll) as $tid) { + // Display tables list + $table['id'] = $tid; + $table['lid'] = $tlid; + $table['mid'] = $tablesAll[$tid]->getVar('table_mid'); + $table['name'] = ucfirst($tablesAll[$tid]->getVar('table_name')); + $table['image'] = $tablesAll[$tid]->getVar('table_image'); + $table['nbfields'] = $tablesAll[$tid]->getVar('table_nbfields'); + $table['order'] = $tablesAll[$tid]->getVar('table_order'); + $table['autoincrement'] = $tablesAll[$tid]->getVar('table_autoincrement'); + $table['blocks'] = $tablesAll[$tid]->getVar('table_blocks'); + $table['admin'] = $tablesAll[$tid]->getVar('table_admin'); + $table['user'] = $tablesAll[$tid]->getVar('table_user'); + $table['search'] = $tablesAll[$tid]->getVar('table_search'); // Get the list of fields - $criteria = new CriteriaCompo(); - $criteria->add(new Criteria('field_mid', $table['mid'])); - $criteria->add(new Criteria('field_tid', $tid)); - $criteria->setSort('field_order ASC, field_id ASC, field_name'); - $criteria->setOrder('ASC'); - $countFields = $tdmcreate->getHandler('fields')->getCount($criteria); - $fieldsAll = $tdmcreate->getHandler('fields')->getObjects($criteria); - unset($criteria); - // Display fields list - $fields = array(); - $lid = 1; - if ( $countFields > 0 ) - { - foreach (array_keys($fieldsAll) as $fid) - { - $field['id'] = $fid; - $field['lid'] = $lid; - $field['order'] = $fieldsAll[$fid]->getVar('field_order'); - $field['name'] = str_replace('_', ' ', ucfirst($fieldsAll[$fid]->getVar('field_name'))); - $field['parent'] = $fieldsAll[$fid]->getVar('field_parent'); - $field['inlist'] = $fieldsAll[$fid]->getVar('field_inlist'); - $field['inform'] = $fieldsAll[$fid]->getVar('field_inform'); - $field['admin'] = $fieldsAll[$fid]->getVar('field_admin'); - $field['user'] = $fieldsAll[$fid]->getVar('field_user'); - $field['block'] = $fieldsAll[$fid]->getVar('field_block'); - $field['main'] = $fieldsAll[$fid]->getVar('field_main'); - $field['search'] = $fieldsAll[$fid]->getVar('field_search'); - $field['required'] = $fieldsAll[$fid]->getVar('field_required'); - $fields[] = $field; - unset($field); - $lid++; - } - } - $tlid++; - unset($lid); - $table['fields'] = $fields; - $GLOBALS['xoopsTpl']->append('tables_list', $table); - unset($table); - } - unset($tlid); - unset($fields); - if ( $countTables > $limit ) { - include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; - $pagenav = new XoopsPageNav($countTables, $limit, $start, 'start', 'op=list&limit=' . $limit); - $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav(4)); - } - } else { - $GLOBALS['xoopsTpl']->assign('error', _AM_TDMCREATE_THEREARENT_FIELDS); - } - break; - - case 'new': - // Define main template - $template_main = 'tdmcreate_fields.tpl'; - $GLOBALS['xoTheme']->addStylesheet( 'modules/tdmcreate/assets/css/admin/style.css' ); - $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('fields.php')); - $adminMenu->addItemButton(_AM_TDMCREATE_TABLES_LIST, 'tables.php', 'list'); - $adminMenu->addItemButton(_AM_TDMCREATE_FIELDS_LIST, 'fields.php', 'list'); - $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton()); - // Form Add - $fieldsObj =& $tdmcreate->getHandler('fields')->create(); - $form = $fieldsObj->getFormNew($fieldMid, $fieldTid, $fieldNumb, $fieldName); - $GLOBALS['xoopsTpl']->assign('form', $form->render()); - break; - - case 'save': + $criteria = new CriteriaCompo(); + $criteria->add(new Criteria('field_mid', $table['mid'])); + $criteria->add(new Criteria('field_tid', $tid)); + $criteria->setSort('field_order ASC, field_id ASC, field_name'); + $criteria->setOrder('ASC'); + $countFields = $tdmcreate->getHandler('fields')->getCount($criteria); + $fieldsAll = $tdmcreate->getHandler('fields')->getObjects($criteria); + unset($criteria); + // Display fields list + $fields = array(); + $lid = 1; + if ($countFields > 0) { + foreach (array_keys($fieldsAll) as $fid) { + $field['id'] = $fid; + $field['lid'] = $lid; + $field['order'] = $fieldsAll[$fid]->getVar('field_order'); + $field['name'] = str_replace('_', ' ', ucfirst($fieldsAll[$fid]->getVar('field_name'))); + $field['parent'] = $fieldsAll[$fid]->getVar('field_parent'); + $field['inlist'] = $fieldsAll[$fid]->getVar('field_inlist'); + $field['inform'] = $fieldsAll[$fid]->getVar('field_inform'); + $field['admin'] = $fieldsAll[$fid]->getVar('field_admin'); + $field['user'] = $fieldsAll[$fid]->getVar('field_user'); + $field['block'] = $fieldsAll[$fid]->getVar('field_block'); + $field['main'] = $fieldsAll[$fid]->getVar('field_main'); + $field['search'] = $fieldsAll[$fid]->getVar('field_search'); + $field['required'] = $fieldsAll[$fid]->getVar('field_required'); + $fields[] = $field; + unset($field); + ++$lid; + } + } + ++$tlid; + unset($lid); + $table['fields'] = $fields; + $GLOBALS['xoopsTpl']->append('tables_list', $table); + unset($table); + } + unset($tlid, $fields); + if ($countTables > $limit) { + include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; + $pagenav = new XoopsPageNav($countTables, $limit, $start, 'start', 'op=list&limit=' . $limit); + $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav(4)); + } + } else { + $GLOBALS['xoopsTpl']->assign('error', _AM_TDMCREATE_THEREARENT_FIELDS); + } + break; + + case 'new': + // Define main template + $template_main = 'tdmcreate_fields.tpl'; + $GLOBALS['xoTheme']->addStylesheet('modules/tdmcreate/assets/css/admin/style.css'); + $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('fields.php')); + $adminMenu->addItemButton(_AM_TDMCREATE_TABLES_LIST, 'tables.php', 'list'); + $adminMenu->addItemButton(_AM_TDMCREATE_FIELDS_LIST, 'fields.php', 'list'); + $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton()); + // Form Add + $fieldsObj =& $tdmcreate->getHandler('fields')->create(); + $form = $fieldsObj->getFormNew($fieldMid, $fieldTid, $fieldNumb, $fieldName); + $GLOBALS['xoopsTpl']->assign('form', $form->render()); + break; + + case 'save': + // + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header('fields.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); + } + $fieldId = XoopsRequest::getInt('field_id'); + // Fields Handler + $fields = $tdmcreate->getHandler('fields'); // - if ( !$GLOBALS['xoopsSecurity']->check() ) { - redirect_header('fields.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); - } - $fieldId = XoopsRequest::getInt('field_id'); - // Fields Handler - $fields = $tdmcreate->getHandler('fields'); - // Set Variables - foreach($_POST['field_id'] as $key => $value) - { - if(isset($value)){ - $fieldsObj =& $fields->get($value); - } else { - $fieldsObj =& $fields->create(); - } - $order = $fieldsObj->isNew() ? $fieldOrder + 1 : $fieldOrder; - if (isset($fieldMid) && isset($fieldTid) && !empty($_POST['field_name'][$key])) { - // Set Data - $fieldsObj->setVar( 'field_mid', $fieldMid ); - $fieldsObj->setVar( 'field_tid', $fieldTid ); - $fieldsObj->setVar( 'field_numb', $fieldNumb ); - $fieldsObj->setVar( 'field_order', (isset($_POST['field_order'][$key]) ? $_POST['field_order'][$key] : $order) ); - $fieldsObj->setVar( 'field_name', (!empty($_POST['field_name'][$key]) ? $_POST['field_name'][$key] : '') ); - $fieldsObj->setVar( 'field_type', (!empty($_POST['field_type'][$key]) ? $_POST['field_type'][$key] : '') ); - $fieldsObj->setVar( 'field_value', (!empty($_POST['field_value'][$key]) ? $_POST['field_value'][$key] : '') ); - $fieldsObj->setVar( 'field_attribute', (!empty($_POST['field_attribute'][$key]) ? $_POST['field_attribute'][$key] : '') ); - $fieldsObj->setVar( 'field_null', (!empty($_POST['field_null'][$key]) ? $_POST['field_null'][$key] : '') ); - $fieldsObj->setVar( 'field_default', (!empty($_POST['field_default'][$key]) ? $_POST['field_default'][$key] : '') ); - $fieldsObj->setVar( 'field_key', (!empty($_POST['field_key'][$key]) ? $_POST['field_key'][$key] : '') ); - $fieldsObj->setVar( 'field_element', (!empty($_POST['field_element'][$key]) ? $_POST['field_element'][$key] : '') ); - $fieldsObj->setVar( 'field_parent', ((isset($_REQUEST['field_parent'][$key]) == 1) ? 1 : 0) ); - $fieldsObj->setVar( 'field_inlist', ((isset($_REQUEST['field_inlist'][$key]) == 1) ? 1 : 0) ); - $fieldsObj->setVar( 'field_inform', ((isset($_REQUEST['field_inform'][$key]) == 1) ? 1 : 0) ); - $fieldsObj->setVar( 'field_admin', ((isset($_REQUEST['field_admin'][$key]) == 1) ? 1 : 0) ); - $fieldsObj->setVar( 'field_user', ((isset($_REQUEST['field_user'][$key]) == 1) ? 1 : 0) ); - $fieldsObj->setVar( 'field_block', ((isset($_REQUEST['field_block'][$key]) == 1) ? 1 : 0) ); - $fieldsObj->setVar( 'field_main', (($key == $_REQUEST['field_main']) ? 1 : 0) ); - $fieldsObj->setVar( 'field_search', ((isset($_REQUEST['field_search'][$key]) == 1) ? 1 : 0) ); - $fieldsObj->setVar( 'field_required', ((isset($_REQUEST['field_required'][$key]) == 1) ? 1 : 0) ); - // Insert Data - $tdmcreate->getHandler('fields')->insert($fieldsObj); - } - $orderId++; - } - unset($orderId); - // Get table name from field table id - $tables =& $tdmcreate->getHandler('tables')->get($fieldTid); - $tableName = $tables->getVar('table_name'); - // Set field elements - if ($fieldsObj->isNew()) { - // Fields Elements Handler - $fieldelementObj =& $tdmcreate->getHandler('fieldelements')->create(); - $fieldelementObj->setVar( 'fieldelement_mid', $fieldMid ); - $fieldelementObj->setVar( 'fieldelement_tid', $fieldTid ); - $fieldelementObj->setVar( 'fieldelement_name', 'Table : '.ucfirst($tableName) ); - $fieldelementObj->setVar( 'fieldelement_value', 'XoopsFormTables-'.ucfirst($tableName) ); - // Insert new field element id for table name - if (!$tdmcreate->getHandler('fieldelements')->insert($fieldelementObj) ) { - $GLOBALS['xoopsTpl']->assign('error', $fieldelementObj->getHtmlErrors() . ' Field element'); - } - redirect_header('fields.php', 2, sprintf(_AM_TDMCREATE_FIELDS_FORM_SAVED_OK, $tableName)); - } else { - // Needed code from table name by field_tid - redirect_header('fields.php', 2, sprintf(_AM_TDMCREATE_FIELDS_FORM_UPDATED_OK, $tableName)); - } + $order = $fieldsObj->isNew() ? $fieldOrder + 1 : $fieldOrder; + // Set Variables + foreach ($_POST['field_id'] as $key => $value) { + if (isset($value)) { + $fieldsObj =& $fields->get($value); + } else { + $fieldsObj =& $fields->create(); + } + // Set Data + $fieldsObj->setVar('field_mid', $fieldMid); + $fieldsObj->setVar('field_tid', $fieldTid); + $fieldsObj->setVar('field_order', $_POST['field_name'][$key] ? $_POST['field_name'][$key] : $order); + $fieldsObj->setVar('field_name', $_POST['field_name'][$key] ? $_POST['field_name'][$key] : ''); + $fieldsObj->setVar('field_type', $_POST['field_type'][$key] ? $_POST['field_type'][$key] : ''); + $fieldsObj->setVar('field_value', $_POST['field_value'][$key] ? $_POST['field_value'][$key] : ''); + $fieldsObj->setVar('field_attribute', ($_POST['field_attribute'][$key] ? $_POST['field_attribute'][$key] : ''); + $fieldsObj->setVar('field_null', $_POST['field_null'][$key] ? $_POST['field_null'][$key] : ''); + $fieldsObj->setVar('field_default', $_POST['field_default'][$key] ? $_POST['field_default'][$key] : ''); + $fieldsObj->setVar('field_key', $_POST['field_key'][$key] ? $_POST['field_key'][$key] : ''); + $fieldsObj->setVar('field_element', $_POST['field_element'][$key] ? $_POST['field_element'][$key] : ''); + $fieldsObj->setVar('field_parent', ($_REQUEST['field_parent'][$key] == 1) ? 1 : 0); + $fieldsObj->setVar('field_inlist', ($_REQUEST['field_inlist'][$key] == 1) ? 1 : 0); + $fieldsObj->setVar('field_inform', ($_REQUEST['field_inform'][$key] == 1) ? 1 : 0); + $fieldsObj->setVar('field_admin', ($_REQUEST['field_admin'][$key] == 1) ? 1 : 0); + $fieldsObj->setVar('field_user', ($_REQUEST['field_user'][$key] == 1) ? 1 : 0); + $fieldsObj->setVar('field_block', ($_REQUEST['field_block'][$key] == 1) ? 1 : 0); + $fieldsObj->setVar('field_main', ($key == $_REQUEST['field_main'] ? 1 : 0)); + $fieldsObj->setVar('field_search', ($_REQUEST['field_search'][$key] == 1) ? 1 : 0); + $fieldsObj->setVar('field_required', ($_REQUEST['field_required'][$key] == 1) ? 1 : 0); + // Insert Data + $tdmcreate->getHandler('fields')->insert($fieldsObj); + } + // Get table name from field table id + $tables =& $tdmcreate->getHandler('tables')->get($fieldTid); + $tableName = $tables->getVar('table_name'); + // Set field elements + if ($fieldsObj->isNew()) { + // Fields Elements Handler + $fieldelementObj =& $tdmcreate->getHandler('fieldelements')->create(); + $fieldelementObj->setVar('fieldelement_mid', $fieldMid); + $fieldelementObj->setVar('fieldelement_tid', $fieldTid); + $fieldelementObj->setVar('fieldelement_name', 'Table : ' . ucfirst($tableName)); + $fieldelementObj->setVar('fieldelement_value', 'XoopsFormTables-' . ucfirst($tableName)); + // Insert new field element id for table name + if (!$tdmcreate->getHandler('fieldelements')->insert($fieldelementObj)) { + $GLOBALS['xoopsTpl']->assign('error', $fieldelementObj->getHtmlErrors() . ' Field element'); + } + redirect_header('fields.php', 2, sprintf(_AM_TDMCREATE_FIELDS_FORM_SAVED_OK, $tableName)); + } else { + // Needed code from table name by field_tid + redirect_header('fields.php', 2, sprintf(_AM_TDMCREATE_FIELDS_FORM_UPDATED_OK, $tableName)); + } // - $GLOBALS['xoopsTpl']->assign('error', $fieldsObj->getHtmlErrors()); - $form = $fieldsObj->getForm(null, $fieldTid); - $GLOBALS['xoopsTpl']->assign('form', $form->render()); - break; - - case 'edit': - // Define main template - $template_main = 'tdmcreate_fields.tpl'; - $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('fields.php')); - $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()); - // Form Edit - $fieldId = XoopsRequest::getInt('field_id'); - $fieldsObj = $tdmcreate->getHandler('fields')->get( $fieldId ); - $form = $fieldsObj->getFormEdit($fieldMid, $fieldTid, $fieldNumb); - $GLOBALS['xoopsTpl']->assign('form', $form->render()); - break; - - case 'order': - // Initialize fields handler + $GLOBALS['xoopsTpl']->assign('error', $fieldsObj->getHtmlErrors()); + $form = $fieldsObj->getForm(null, $fieldTid); + $GLOBALS['xoopsTpl']->assign('form', $form->render()); + break; + + case 'edit': + // Define main template + $template_main = 'tdmcreate_fields.tpl'; + $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('fields.php')); + $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()); + // Form Edit + $fieldId = XoopsRequest::getInt('field_id'); + $fieldsObj = $tdmcreate->getHandler('fields')->get($fieldId); + $form = $fieldsObj->getFormEdit($fieldMid, $fieldTid); + $GLOBALS['xoopsTpl']->assign('form', $form->render()); + break; + + case 'order': + // Initialize fields handler $fieldsObj = $tdmcreate->getHandler('fields'); - if ( isset($_POST['forder'] ) ) { + if (isset($_POST['forder'])) { $i = 0; - foreach($_POST['forder'] as $order) { - if( $order > 0 ) { + foreach ($_POST['forder'] as $order) { + if ($order > 0) { $fieldOrder = $fieldsObj->get($order); $fieldOrder->setVar('field_order', $i); if (!$fieldsObj->insert($fieldOrder)) { - $error=true; + $error = true; } - $i++; + ++$i; } } - redirect_header('fields.php', 5, _AM_TDMCREATE_FIELD_ORDER_ERROR); - unset($i); + redirect_header('fields.php', 5, _AM_TDMCREATE_FIELD_ORDER_ERROR); + unset($i); } exit; - break; + break; - case 'delete': - $tablesObj =& $tdmcreate->getHandler('tables')->get($fieldTid); - if (isset($_REQUEST['ok']) && $_REQUEST['ok'] == 1) { - if ( !$GLOBALS['xoopsSecurity']->check() ) { - redirect_header('fields.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); - } - if ($tdmcreate->getHandler('tables')->delete($tablesObj)) { - redirect_header('fields.php', 3, _AM_TDMCREATE_FORMDELOK); - } else { - echo $tablesObj->getHtmlErrors(); - } + case 'delete': + $tablesObj =& $tdmcreate->getHandler('tables')->get($fieldTid); + if (isset($_REQUEST['ok']) && 1 == $_REQUEST['ok']) { + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header('fields.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); + } + if ($tdmcreate->getHandler('tables')->delete($tablesObj)) { + redirect_header('fields.php', 3, _AM_TDMCREATE_FORMDELOK); + } else { + echo $tablesObj->getHtmlErrors(); + } + } else { + xoops_confirm(array('ok' => 1, 'field_tid' => $fieldTid, 'op' => 'delete'), $_SERVER['REQUEST_URI'], sprintf(_AM_TDMCREATE_FORMSUREDEL, $tablesObj->getVar('table_name'))); + } + break; + + case 'display': + // Fields Handler + $fields = $tdmcreate->getHandler('fields'); + // + foreach ($_POST['field_id'] as $key => $value) { + $fieldsObj =& $fields->get($value); + $fieldsObj->setVar('field_parent', ($_REQUEST['field_parent'][$key] == 1) ? 0 : 1); + $fieldsObj->setVar('field_inlist', ($_REQUEST['field_inlist'][$key] == 1) ? 0 : 1); + $fieldsObj->setVar('field_inform', ($_REQUEST['field_inform'][$key] == 1) ? 0 : 1); + $fieldsObj->setVar('field_admin', ($_REQUEST['field_admin'][$key] == 1) ? 0 : 1); + $fieldsObj->setVar('field_user', ($_REQUEST['field_user'][$key] == 1) ? 0 : 1); + $fieldsObj->setVar('field_block', ($_REQUEST['field_block'][$key] == 1) ? 0 : 1); + $fieldsObj->setVar('field_main', ($key == $_REQUEST['field_main']) ? 0 : 1); + $fieldsObj->setVar('field_search', ($_REQUEST['field_search'][$key] == 1) ? 0 : 1); + $fieldsObj->setVar('field_required', ($_REQUEST['field_required'][$key] == 1) ? 0 : 1); + } + if ($fieldsObj->insert($fieldsObj, true)) { + redirect_header('fields.php', 3, _AM_TDMCREATE_TOGGLE_SUCCESS); } else { - xoops_confirm(array('ok' => 1, 'field_tid' => $fieldTid, 'op' => 'delete'), $_SERVER['REQUEST_URI'], sprintf(_AM_TDMCREATE_FORMSUREDEL, $tablesObj->getVar('table_name'))); + redirect_header('fields.php', 3, _AM_TDMCREATE_TOGGLE_FAILED); } - break; - - case 'display': - // - $fields = $tdmcreate->getHandler('fields'); - // Fields Handler - foreach($_POST['field_id'] as $key => $value) - { - $fieldsObj =& $fields->get($value); - $fieldsObj->setVar( 'field_parent', ((isset($_REQUEST['field_parent'][$key]) == 1) ? 1 : 0) ); - $fieldsObj->setVar( 'field_inlist', ((isset($_REQUEST['field_inlist'][$key]) == 1) ? 1 : 0) ); - $fieldsObj->setVar( 'field_inform', ((isset($_REQUEST['field_inform'][$key]) == 1) ? 1 : 0) ); - $fieldsObj->setVar( 'field_admin', ((isset($_REQUEST['field_admin'][$key]) == 1) ? 1 : 0) ); - $fieldsObj->setVar( 'field_user', ((isset($_REQUEST['field_user'][$key]) == 1) ? 1 : 0) ); - $fieldsObj->setVar( 'field_block', ((isset($_REQUEST['field_block'][$key]) == 1) ? 1 : 0) ); - $fieldsObj->setVar( 'field_main', (($key == $_REQUEST['field_main']) ? 1 : 0) ); - $fieldsObj->setVar( 'field_search', ((isset($_REQUEST['field_search'][$key]) == 1) ? 1 : 0) ); - $fieldsObj->setVar( 'field_required', ((isset($_REQUEST['field_required'][$key]) == 1) ? 1 : 0) ); - if ($fieldsObj->insert($fieldsObj, true)) { - redirect_header('fields.php', 3, _AM_TDMCREATE_TOGGLE_SUCCESS); - } else { - redirect_header('fields.php', 3, _AM_TDMCREATE_TOGGLE_FAILED); - } - } - break; + break; } -include __DIR__ . DIRECTORY_SEPARATOR . 'footer.php'; \ No newline at end of file +include __DIR__ . '/footer.php'; Modified: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/footer.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/footer.php 2015-04-28 21:55:41 UTC (rev 13050) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/footer.php 2015-05-01 16:05:55 UTC (rev 13051) @@ -19,8 +19,7 @@ * @version $Id: footer.php 12207 2013-10-23 02:46:52Z beckmi $ */ $GLOBALS['xoopsTpl']->assign('module_name', $GLOBALS['xoopsModule']->getVar('name')); -if ( isset($template_main) ) { +if (isset($template_main)) { $GLOBALS['xoopsTpl']->display("db:{$template_main}"); } xoops_cp_footer(); -?> \ No newline at end of file Modified: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/header.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/header.php 2015-04-28 21:55:41 UTC (rev 13050) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/header.php 2015-05-01 16:05:55 UTC (rev 13051) @@ -17,25 +17,25 @@ * @since 2.5.0 * @author Txmod Xoops http://www.txmodxoops.org * @version $Id: header.php 12258 2014-01-02 09:33:29Z timgno $ -*/ -include_once dirname(dirname(dirname(dirname(__FILE__)))) . '/include/cp_header.php'; -include_once dirname(dirname(__FILE__)) . '/include/common.php'; + */ +include_once dirname(dirname(dirname(__DIR__))) . '/include/cp_header.php'; +include_once dirname(__DIR__) . '/include/common.php'; // $thisDirname = $GLOBALS['xoopsModule']->getVar('dirname'); // Link System Icons $sysPathIcon16 = $GLOBALS['xoopsModule']->getInfo('sysicons16'); $sysPathIcon32 = $GLOBALS['xoopsModule']->getInfo('sysicons32'); // Link Local Icons -$modPathIcon16 = $GLOBALS['xoopsModule']->getInfo('modicons16'); -$modPathIcon32 = $GLOBALS['xoopsModule']->getInfo('modicons32'); +$modPathIcon16 = $GLOBALS['xoopsModule']->getInfo('modicons16'); +$modPathIcon32 = $GLOBALS['xoopsModule']->getInfo('modicons32'); $pathModuleAdmin = $GLOBALS['xoopsModule']->getInfo('dirmoduleadmin'); // TDMCreate Instance $tdmcreate = TDMCreateHelper::getInstance(); // MyTextSanitizer $myts =& MyTextSanitizer::getInstance(); if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { - include_once(XOOPS_ROOT_PATH."/class/template.php"); - $xoopsTpl = new XoopsTpl(); + include_once(XOOPS_ROOT_PATH . "/class/template.php"); + $xoopsTpl = new XoopsTpl(); } // System Icons $GLOBALS['xoopsTpl']->assign('sysPathIcon16', $sysPathIcon16); @@ -48,10 +48,10 @@ xoops_loadLanguage('modinfo', $thisDirname); xoops_loadLanguage('main', $thisDirname); // Locad admin menu class -if ( file_exists($GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'))){ - include_once $GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'); -}else{ - redirect_header("../../../admin.php", 5, _AM_MODULEADMIN_MISSING, false); +if (file_exists($GLOBALS['xoops']->path($pathModuleAdmin . '/moduleadmin.php'))) { + include_once $GLOBALS['xoops']->path($pathModuleAdmin . '/moduleadmin.php'); +} else { + redirect_header("../../../admin.php", 5, _AM_MODULEADMIN_MISSING, false); } xoops_cp_header(); -$adminMenu = new ModuleAdmin(); \ No newline at end of file +$adminMenu = new ModuleAdmin(); Modified: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/index.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/index.php 2015-04-28 21:55:41 UTC (rev 13050) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/index.php 2015-05-01 16:05:55 UTC (rev 13051) @@ -18,18 +18,18 @@ * @author Txmod Xoops http://www.txmodxoops.org * @version $Id: index.php 11084 2013-02-23 15:44:20Z timgno $ */ -include __DIR__ . DIRECTORY_SEPARATOR . 'header.php'; -$criteria = new CriteriaCompo(); +include __DIR__ . '/header.php'; +$criteria = new CriteriaCompo(); $count_modules = $tdmcreate->getHandler('modules')->getCount($criteria); -$count_tables = $tdmcreate->getHandler('tables')->getCount($criteria); -$count_fields = $tdmcreate->getHandler('fields')->getCount($criteria); +$count_tables = $tdmcreate->getHandler('tables')->getCount($criteria); +$count_fields = $tdmcreate->getHandler('fields')->getCount($criteria); unset($criteria); $template_main = 'tdmcreate_index.tpl'; -$adminMenu->addInfoBox(_AM_TDMCREATE_ADMIN_NUMMODULES) ; -$adminMenu->addInfoBoxLine(_AM_TDMCREATE_ADMIN_NUMMODULES, '<label>' ._AM_TDMCREATE_THEREARE_NUMMODULES. '</label>', $count_modules, 'Green') ; -$adminMenu->addInfoBoxLine(_AM_TDMCREATE_ADMIN_NUMMODULES, '<label>' ._AM_TDMCREATE_THEREARE_NUMTABLES. '</label>', $count_tables, 'Orange'); -$adminMenu->addInfoBoxLine(_AM_TDMCREATE_ADMIN_NUMMODULES, '<label>' ._AM_TDMCREATE_THEREARE_NUMFIELDS. '</label>', $count_fields, 'Gray'); -//$xoopsOption['template_main'] = 'tdmcreate_index.html'; +$adminMenu->addInfoBox(_AM_TDMCREATE_ADMIN_NUMMODULES); +$adminMenu->addInfoBoxLine(_AM_TDMCREATE_ADMIN_NUMMODULES, '<label>' . _AM_TDMCREATE_THEREARE_NUMMODULES . '</label>', $count_modules, 'Green'); +$adminMenu->addInfoBoxLine(_AM_TDMCREATE_ADMIN_NUMMODULES, '<label>' . _AM_TDMCREATE_THEREARE_NUMTABLES . '</label>', $count_tables, 'Orange'); +$adminMenu->addInfoBoxLine(_AM_TDMCREATE_ADMIN_NUMMODULES, '<label>' . _AM_TDMCREATE_THEREARE_NUMFIELDS . '</label>', $count_fields, 'Gray'); +//$xoopsOption['template_main'] = 'tdmcreate_index.html'; $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('index.php')); $GLOBALS['xoopsTpl']->assign('index', $adminMenu->renderIndex()); -include __DIR__ . DIRECTORY_SEPARATOR . 'footer.php'; \ No newline at end of file +include __DIR__ . '/footer.php'; Modified: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/menu.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/menu.php 2015-04-28 21:55:41 UTC (rev 13050) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/menu.php 2015-05-01 16:05:55 UTC (rev 13051) @@ -18,33 +18,33 @@ * @author Txmod Xoops http://www.txmodxoops.org * @version $Id: menu.php 11084 2013-02-23 15:44:20Z timgno $ */ -$module_handler =& xoops_gethandler('module'); -$xoopsModule =& XoopsModule::getByDirname('TDMCreate'); -$moduleInfo =& $module_handler->get($xoopsModule->getVar('mid')); -$sysPathIcon32 = $moduleInfo->getInfo('sysicons32'); -$adminmenu = array(); -$i = 1; +$module_handler =& xoops_gethandler('module'); +$xoopsModule =& XoopsModule::getByDirname('TDMCreate'); +$moduleInfo =& $module_handler->get($xoopsModule->getVar('mid')); +$sysPathIcon32 = $moduleInfo->getInfo('sysicons32'); +$adminmenu = array(); +$i = 1; $adminmenu[$i]['title'] = _MI_TDMCREATE_ADMENU1; -$adminmenu[$i]['link'] = 'admin/index.php'; -$adminmenu[$i]['icon'] = $sysPathIcon32.'/dashboard.png'; +$adminmenu[$i]['link'] = 'admin/index.php'; +$adminmenu[$i]['icon'] = $sysPathIcon32 . '/dashboard.png'; $i++; $adminmenu[$i]['title'] = _MI_TDMCREATE_ADMENU2; -$adminmenu[$i]['link'] = 'admin/modules.php'; -$adminmenu[$i]['icon'] = 'assets/icons/32/addmodule.png'; +$adminmenu[$i]['link'] = 'admin/modules.php'; +$adminmenu[$i]['icon'] = 'assets/icons/32/addmodule.png'; $i++; $adminmenu[$i]['title'] = _MI_TDMCREATE_ADMENU3; -$adminmenu[$i]['link'] = 'admin/tables.php'; -$adminmenu[$i]['icon'] = 'assets/icons/32/addtable.png'; +$adminmenu[$i]['link'] = 'admin/tables.php'; +$adminmenu[$i]['icon'] = 'assets/icons/32/addtable.png'; $i++; $adminmenu[$i]['title'] = _MI_TDMCREATE_ADMENU4; -$adminmenu[$i]['link'] = 'admin/fields.php'; -$adminmenu[$i]['icon'] = 'assets/icons/32/fields.png'; +$adminmenu[$i]['link'] = 'admin/fields.php'; +$adminmenu[$i]['icon'] = 'assets/icons/32/fields.png'; $i++; $adminmenu[$i]['title'] = _MI_TDMCREATE_ADMENU5; -$adminmenu[$i]['link'] = 'admin/building.php'; -$adminmenu[$i]['icon'] = 'assets/icons/32/builder.png'; +$adminmenu[$i]['link'] = 'admin/building.php'; +$adminmenu[$i]['icon'] = 'assets/icons/32/builder.png'; $i++; $adminmenu[$i]['title'] = _MI_TDMCREATE_ADMENU6; -$adminmenu[$i]['link'] = 'admin/about.php'; -$adminmenu[$i]['icon'] = $sysPathIcon32.'/about.png'; -unset($i); \ No newline at end of file +$adminmenu[$i]['link'] = 'admin/about.php'; +$adminmenu[$i]['icon'] = $sysPathIcon32 . '/about.png'; +unset($i); Modified: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/modules.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/modules.php 2015-04-28 21:55:41 UTC (rev 13050) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/modules.php 2015-05-01 16:05:55 UTC (rev 13051) @@ -1,4 +1,4 @@ -<?php +<?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 @@ -18,237 +18,235 @@ * @author Txmod Xoops <su...@tx...> * @version $Id: 1.59 modules.php 11297 2013-03-24 10:58:10Z timgno $ */ -include __DIR__ . DIRECTORY_SEPARATOR . 'header.php'; -// Recovered value of argument op in the URL $ +include __DIR__ . '/header.php'; +// Recovered value of argument op in the URL $ $op = XoopsRequest::getString('op', 'list'); // $mod_id = XoopsRequest::getInt('mod_id'); // -switch ($op) -{ - case 'list': - default: - $start = XoopsRequest::getInt('start', 0); +switch ($op) { + case 'list': + default: + $start = XoopsRequest::getInt('start', 0); $limit = XoopsRequest::getInt('limit', $tdmcreate->getConfig('modules_adminpager')); - // Define main template - $template_main = 'tdmcreate_modules.tpl'; - $GLOBALS['xoTheme']->addScript('modules/tdmcreate/assets/js/functions.js'); - $GLOBALS['xoTheme']->addStylesheet( 'modules/tdmcreate/assets/css/admin/style.css' ); + // Define main template + $template_main = 'tdmcreate_modules.tpl'; + $GLOBALS['xoTheme']->addScript('modules/tdmcreate/assets/js/functions.js'); + $GLOBALS['xoTheme']->addStylesheet('modules/tdmcreate/assets/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('buttons', $adminMenu->renderButton()); - $GLOBALS['xoopsTpl']->assign('tdmc_url', TDMC_URL); - $GLOBALS['xoopsTpl']->assign('tdmc_upload_imgmod_url', TDMC_UPLOAD_IMGMOD_URL); - $GLOBALS['xoopsTpl']->assign('modPathIcon16', $modPathIcon16); - $GLOBALS['xoopsTpl']->assign('sysPathIcon32', $sysPathIcon32); - $criteria = new CriteriaCompo(); - $criteria->setStart($start); + $adminMenu->addItemButton(_AM_TDMCREATE_ADD_MODULE, 'modules.php?op=new', 'add'); + $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('modPathIcon16', $modPathIcon16); + $GLOBALS['xoopsTpl']->assign('sysPathIcon32', $sysPathIcon32); + $criteria = new CriteriaCompo(); + $criteria->setStart($start); $criteria->setLimit($limit); - $criteria->setSort('mod_id ASC, mod_name'); - $criteria->setOrder('ASC'); - $nb_modules = $tdmcreate->getHandler('modules')->getCount( $criteria ); - $mods_arr = $tdmcreate->getHandler('modules')->getAll( $criteria ); - unset($criteria); - // Redirect if there aren't modules - if ( $nb_modules == 0 ) { - redirect_header('modules.php?op=new', 2, _AM_TDMCREATE_NOTMODULES ); - } - // Display modules list - if ( $nb_modules > 0 ) { - foreach (array_keys($mods_arr) as $i) { - $mod['id'] = $i; - $mod['name'] = $mods_arr[$i]->getVar('mod_name'); - $mod['version'] = $mods_arr[$i]->getVar('mod_version'); - $mod['image'] = $mods_arr[$i]->getVar('mod_image'); - $mod['release'] = $mods_arr[$i]->getVar('mod_release'); - $mod['status'] = $mods_arr[$i]->getVar('mod_status'); - $mod['admin'] = $mods_arr[$i]->getVar('mod_admin'); - $mod['user'] = $mods_arr[$i]->getVar('mod_user'); - $mod['blocks'] = $mods_arr[$i]->getVar('mod_blocks'); - $mod['search'] = $mods_arr[$i]->getVar('mod_search'); - $mod['comments'] = $mods_arr[$i]->getVar('mod_comments'); - $mod['notifications'] = $mods_arr[$i]->getVar('mod_notifications'); - $mod['permissions'] = $mods_arr[$i]->getVar('mod_permissions'); - $GLOBALS['xoopsTpl']->append('modules_list', $mod); - unset($mod); - } - if ( $nb_modules > $limit ) { - include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; - $pagenav = new XoopsPageNav($nb_modules, $limit, $start, 'start', 'op=list&limit=' . $limit); - $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav(4)); - } - } else { - $GLOBALS['xoopsTpl']->assign('error', _AM_TDMCREATE_THEREARENT_MODULES); - } - break; + $criteria->setSort('mod_id ASC, mod_name'); + $criteria->setOrder('ASC'); + $nb_modules = $tdmcreate->getHandler('modules')->getCount($criteria); + $mods_arr = $tdmcreate->getHandler('modules')->getAll($criteria); + unset($criteria); + // Redirect if there aren't modules + if (0 == $nb_modules) { + redirect_header('modules.php?op=new', 2, _AM_TDMCREATE_NOTMODULES); + } + // Display modules list + if ($nb_modules > 0) { + foreach (array_keys($mods_arr) as $i) { + $mod['id'] = $i; + $mod['name'] = $mods_arr[$i]->getVar('mod_name'); + $mod['version'] = $mods_arr[$i]->getVar('mod_version'); + $mod['image'] = $mods_arr[$i]->getVar('mod_image'); + $mod['release'] = $mods_arr[$i]->getVar('mod_release'); + $mod['status'] = $mods_arr[$i]->getVar('mod_status'); + $mod['admin'] = $mods_arr[$i]->getVar('... [truncated message content] |
From: <txm...@us...> - 2015-04-28 21:55:43
|
Revision: 13050 http://sourceforge.net/p/xoops/svn/13050 Author: txmodxoops Date: 2015-04-28 21:55:41 +0000 (Tue, 28 Apr 2015) Log Message: ----------- Updated Fixed bugs Modified Paths: -------------- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/tables.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/modules.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/docs/changelog.txt XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/language/english/admin.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/sql/mysql.sql XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/xoops_version.php Removed Paths: ------------- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/about.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/footer.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/header.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/index.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/menu.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/objects.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/pages.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/permissions.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/user/index.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/form/simpleform.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/form/themeform.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/helper.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/html/html.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/html/htmlform.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/html/htmltable.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/html/htmltag.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/html/simplelabel.php Modified: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/tables.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/tables.php 2015-04-28 16:44:18 UTC (rev 13049) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/tables.php 2015-04-28 21:55:41 UTC (rev 13050) @@ -155,84 +155,80 @@ } // $tables =& $tdmcreate->getHandler('tables'); - if (!isset($tableId)) { - // Checking if table name exist $tables->isNew() - $criteria = new CriteriaCompo(); - $criteria->add(new Criteria('table_name', $tableName)); - $table_name_search = $tables->getObjects($criteria); - //unset($criteria); - foreach (array_keys($table_name_search) as $t) - { - if( ($table_name_search[$t]->getVar('table_name') === $_POST['table_name']) && - ($table_name_search[$t]->getVar('table_mid') === $tableMid) && - ($table_name_search[$t]->getVar('table_id') === $tableId)) { - } + // Checking if table name exist + $criteria = new CriteriaCompo(); + $criteria->add(new Criteria('table_mid', $tableMid)); + $table_name_search = $tables->getObjects($criteria); + //unset($criteria); + foreach (array_keys($table_name_search) as $t) + { + if( $table_name_search[$t]->getVar('table_name') === $_POST['table_name'] ) { + redirect_header('tables.php?op=new', 3, sprintf(_AM_TDMCREATE_ERROR_TABLE_NAME_EXIST, $_POST['table_name'])); + return false; + } + } + // + if (isset($tableId)) { + $tablesObj =& $tables->get($tableId); + } else { + $tablesObj =& $tables->create(); + } + $order = $tablesObj->isNew() ? $tableOrder + 1 : $tableOrder; + // Form save tables + $tablesObj->setVars(array('table_mid' => $tableMid, + 'table_name' => $_POST['table_name'], + 'table_category' => $_REQUEST['table_category'], + 'table_nbfields' => $tableNumbFields, + 'table_order' => $order, + 'table_fieldname' => $tableFieldname)); + //Form table_image + include_once XOOPS_ROOT_PATH.'/class/uploader.php'; + $uploaddir = is_dir(XOOPS_ICONS32_PATH) ? XOOPS_ICONS32_PATH : TDMC_UPLOAD_IMGTAB_PATH; + $uploader = new XoopsMediaUploader($uploaddir, $tdmcreate->getConfig('mimetypes'), + $tdmcreate->getConfig('maxsize'), null, null); + if ($uploader->fetchMedia($_POST['xoops_upload_file'][0])) { + $uploader->fetchMedia($_POST['xoops_upload_file'][0]); + if (!$uploader->upload()) { + $errors = $uploader->getErrors(); + redirect_header('javascript:history.go(-1)', 3, $errors); + } else { + $tablesObj->setVar('table_image', $uploader->getSavedFileName()); } - redirect_header('tables.php?op=new', 3, sprintf(_AM_TDMCREATE_ERROR_TABLE_NAME_EXIST, $_POST['table_name'])); - } else { - if (isset($tableId)) { - $tablesObj =& $tables->get($tableId); - } else { - $tablesObj =& $tables->create(); - } - $order = $tablesObj->isNew() ? $tableOrder + 1 : $tableOrder; - // Form save tables - $tablesObj->setVars(array('table_mid' => $tableMid, - 'table_name' => $_POST['table_name'], - 'table_category' => (($_REQUEST['table_category'] == 1) ? '1' : '0'), - 'table_nbfields' => $tableNumbFields, - 'table_order' => $order, - 'table_fieldname' => $tableFieldname)); - //Form table_image - include_once XOOPS_ROOT_PATH.'/class/uploader.php'; - $framePathIcon32 = XOOPS_ROOT_PATH . '/Frameworks/moduleclasses/icons/32'; - $uploaddir = is_dir($framePathIcon32) ? $framePathIcon32 : TDMC_UPLOAD_IMGTAB_PATH; - $uploader = new XoopsMediaUploader($uploaddir, $tdmcreate->getConfig('mimetypes'), - $tdmcreate->getConfig('maxsize'), null, null); - if ($uploader->fetchMedia($_POST['xoops_upload_file'][0])) { - $uploader->fetchMedia($_POST['xoops_upload_file'][0]); - if (!$uploader->upload()) { - $errors = $uploader->getErrors(); - redirect_header('javascript:history.go(-1)', 3, $errors); - } else { - $tablesObj->setVar('table_image', $uploader->getSavedFileName()); - } + } else { + $tablesObj->setVar('table_image', $_POST['table_image']); + } + $tablesObj->setVars(array('table_autoincrement' => $_REQUEST['table_autoincrement'], + 'table_blocks' => $_REQUEST['table_blocks'], + 'table_admin' => $_REQUEST['table_admin'], + 'table_user' => $_REQUEST['table_user'], + 'table_submenu' => $_REQUEST['table_submenu'], + 'table_submit' => $_REQUEST['table_submit'], + 'table_tag' => $_REQUEST['table_tag'], + 'table_broken' => $_REQUEST['table_broken'], + 'table_search' => $_REQUEST['table_search'], + 'table_comments' => $_REQUEST['table_comments'], + 'table_notifications' => $_REQUEST['table_notifications'], + 'table_permissions' => $_REQUEST['table_permissions'], + 'table_rate' => $_REQUEST['table_rate'], + 'table_print' => $_REQUEST['table_print'], + 'table_pdf' => $_REQUEST['table_pdf'], + 'table_rss' => $_REQUEST['table_rss'], + 'table_single' => $_REQUEST['table_single'], + 'table_visit' => $_REQUEST['table_visit'] + ) ); + // + if( $tables->insert($tablesObj) ) { + if( $tablesObj->isNew() ) { + $tableTid = $GLOBALS['xoopsDB']->getInsertId(); + $tableAction = '&field_mid='.$tableMid.'&field_tid='.$tableTid.'&field_numb='.$tableNumbFields.'&field_name='.$tableFieldname; + redirect_header('fields.php?op=new'.$tableAction, 5, sprintf(_AM_TDMCREATE_TABLE_FORM_CREATED_OK, $_POST['table_name'])); } else { - $tablesObj->setVar('table_image', $_POST['table_image']); - } - $tablesObj->setVars(array('table_autoincrement' => (($_REQUEST['table_autoincrement'] == 1) ? '1' : '0'), - 'table_blocks' => (($_REQUEST['table_blocks'] == 1) ? '1' : '0'), - 'table_admin' => (($_REQUEST['table_admin'] == 1) ? '1' : '0'), - 'table_user' => (($_REQUEST['table_user'] == 1) ? '1' : '0'), - 'table_submenu' => (($_REQUEST['table_submenu'] == 1) ? '1' : '0'), - 'table_submit' => (($_REQUEST['table_submit'] == 1) ? '1' : '0'), - 'table_tag' => (($_REQUEST['table_tag'] == 1) ? '1' : '0'), - 'table_broken' => (($_REQUEST['table_broken'] == 1) ? '1' : '0'), - 'table_search' => (($_REQUEST['table_search'] == 1) ? '1' : '0'), - 'table_comments' => (($_REQUEST['table_comments'] == 1) ? '1' : '0'), - 'table_notifications' => (($_REQUEST['table_notifications'] == 1) ? '1' : '0'), - 'table_permissions' => (($_REQUEST['table_permissions'] == 1) ? '1' : '0'), - 'table_rate' => (($_REQUEST['table_rate'] == 1) ? '1' : '0'), - 'table_print' => (($_REQUEST['table_print'] == 1) ? '1' : '0'), - 'table_pdf' => (($_REQUEST['table_pdf'] == 1) ? '1' : '0'), - 'table_rss' => (($_REQUEST['table_rss'] == 1) ? '1' : '0'), - 'table_single' => (($_REQUEST['table_single'] == 1) ? '1' : '0'), - 'table_visit' => (($_REQUEST['table_visit'] == 1) ? '1' : '0') - ) ); - // - if( $tables->insert($tablesObj) ) { - if( $tablesObj->isNew() ) { - $tableTid = $GLOBALS['xoopsDB']->getInsertId(); - $table_action = '&field_mid='.$tableMid.'&field_tid='.$tableTid.'&field_numb='.$tableNumbFields.'&field_name='.$tableFieldname; - redirect_header('fields.php?op=new'.$table_action, 5, sprintf(_AM_TDMCREATE_TABLE_FORM_CREATED_OK, $_POST['table_name'])); - } else { - // Get fields where table id - $fields =& $tdmcreate->getHandler('fields'); - $fieldsObj = $fields->get($tableId); - $fieldsObj->setVar('field_numb', $tableNumbFields); - $fields->insert($fieldsObj); - redirect_header('tables.php', 5, sprintf(_AM_TDMCREATE_TABLE_FORM_UPDATED_OK, $_POST['table_name'])); - } + // Get fields where table id + $fields =& $tdmcreate->getHandler('fields'); + $fieldsObj = $fields->get($tableId); + $fieldsObj->setVar('field_numb', $tableNumbFields); + $fields->insert($fieldsObj); + redirect_header('tables.php', 5, sprintf(_AM_TDMCREATE_TABLE_FORM_UPDATED_OK, $_POST['table_name'])); } } // Deleted: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/about.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/about.php 2015-04-28 16:44:18 UTC (rev 13049) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/about.php 2015-04-28 21:55:41 UTC (rev 13050) @@ -1,73 +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: 1.91 admin_about.php 12258 2014-01-02 09:33:29Z timgno $ - */ -defined('XOOPS_ROOT_PATH') or die('Restricted access'); - -class AdminAbout extends TDMCreateFile -{ - /* - * @public function constructor - * @param null - */ - public function __construct() { - $this->tdmcfile = TDMCreateFile::getInstance(); - } - /* - * @static function &getInstance - * @param null - */ - public static function &getInstance() - { - static $instance = false; - if (!$instance) { - $instance = new self(); - } - return $instance; - } - /* - * @public function write - * @param string $module - * @param string $filename - */ - public function write($module, $filename) { - $this->setModule($module); - $this->setFileName($filename); - } - /* - * @public function render - * @param null - */ - public function render() { - $module = $this->getModule(); - $filename = $this->getFileName(); - $moduleDirname = $module->getVar('mod_dirname'); - $moduleDonations = $module->getVar('mod_donations'); - $content = $this->getHeaderFilesComments($module, $filename); - $content .= <<<EOT -include 'header.php'; -\$template_main = '{$moduleDirname}_admin_about.tpl'; -\$GLOBALS['xoopsTpl']->assign('navigation', \$adminMenu->addNavigation('about.php')); -\$GLOBALS['xoopsTpl']->assign('about', \$adminMenu->renderAbout('{$moduleDonations}', false)); -include 'footer.php'; -EOT; - $this->tdmcfile->create($moduleDirname, 'admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED); - return $this->tdmcfile->renderFile(); - } -} \ No newline at end of file Deleted: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/footer.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/footer.php 2015-04-28 16:44:18 UTC (rev 13049) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/footer.php 2015-04-28 21:55:41 UTC (rev 13050) @@ -1,73 +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: 1.91 admin_footer.php 12258 2014-01-02 09:33:29Z timgno $ - */ -defined('XOOPS_ROOT_PATH') or die('Restricted access'); - -class AdminFooter extends TDMCreateFile -{ - /* - * @public function constructor - * @param null - */ - public function __construct() { - $this->tdmcfile = TDMCreateFile::getInstance(); - } - /* - * @static function &getInstance - * @param string $module - * @param string $filename - */ - public static function &getInstance() - { - static $instance = false; - if (!$instance) { - $instance = new self(); - } - return $instance; - } - /* - * @public function write - * @param string $module - * @param string $filename - */ - public function write($module, $filename) { - $this->setModule($module); - $this->setFileName($filename); - } - /* - * @public function render - * @param null - */ - public function render() { - $module = $this->getModule(); - $filename = $this->getFileName(); - $moduleDirname = $module->getVar('mod_dirname'); - $content = $this->getHeaderFilesComments($module, $filename); - $content .= <<<EOT -if ( isset(\$template_main) ) { - \$GLOBALS['xoopsTpl']->display("db:{\$template_main}"); -} -xoops_cp_footer(); -?> -EOT; - $this->tdmcfile->create($moduleDirname, 'admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED); - return $this->tdmcfile->renderFile(); - } -} \ No newline at end of file Deleted: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/header.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/header.php 2015-04-28 16:44:18 UTC (rev 13049) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/header.php 2015-04-28 21:55:41 UTC (rev 13050) @@ -1,126 +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: admin_header.php 12258 2014-01-02 09:33:29Z timgno $ - */ -defined('XOOPS_ROOT_PATH') or die('Restricted access'); - -class AdminHeader extends TDMCreateFile -{ - /* - * @public function constructor - * @param null - */ - public function __construct() { - $this->tdmcfile = TDMCreateFile::getInstance(); - } - /* - * @static function &getInstance - * @param null - */ - public static function &getInstance() - { - static $instance = false; - if (!$instance) { - $instance = new self(); - } - return $instance; - } - /* - * @public function write - * @param string $module - * @param mixed $table - * @param array $tables - * @param string $filename - */ - public function write($module, $table, $tables, $filename) { - $this->setModule($module); - $this->setTable($table); - $this->setTables($tables); - $this->setFileName($filename); - } - /* - * @public function render - * @param null - */ - public function render() { - $module = $this->getModule(); - $table = $this->getTable(); - $tables = $this->getTables(); - $filename = $this->getFileName(); - $moduleDirname = $module->getVar('mod_dirname'); - $ucfModuleDirname = ucfirst($moduleDirname); - $language = $this->getLanguage('AM'); - $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'; -\$sysPathIcon16 = '../' . \$xoopsModule->getInfo('sysicons16'); -\$sysPathIcon32 = '../' . \$xoopsModule->getInfo('sysicons32'); -\$pathModuleAdmin = \$GLOBALS['xoopsModule']->getInfo('dirmoduleadmin'); -// -\$modPathIcon16 = \$xoopsModule->getInfo('modicons16'); -\$modPathIcon32 = \$xoopsModule->getInfo('modicons32');\n -EOT; - if (is_object($table)) { - if ( $table->getVar('table_name') != '' ) { - $content .= <<<EOT -// Get instance of module -\${$moduleDirname} = {$ucfModuleDirname}Helper::getInstance();\n -EOT; - } - foreach (array_keys($tables) as $t) - { - $tableName = $tables[$t]->getVar('table_name'); - $content .= <<<EOT -// {$tableName} -\${$tableName}Handler =& \${$moduleDirname}->getHandler('{$tableName}');\n -EOT; - } - } - $content .=<<<EOT -// -\$myts =& MyTextSanitizer::getInstance(); -if (!isset(\$xoopsTpl) || !is_object(\$xoopsTpl)) { - include_once(XOOPS_ROOT_PATH."/class/template.php"); - \$xoopsTpl = new XoopsTpl(); -} -// System icons path -\$xoopsTpl->assign('sysPathIcon16', \$sysPathIcon16); -\$xoopsTpl->assign('sysPathIcon32', \$sysPathIcon32); -// Local icons path -\$xoopsTpl->assign('modPathIcon16', \$modPathIcon16); -\$xoopsTpl->assign('modPathIcon32', \$modPathIcon32); - -//Load languages -xoops_loadLanguage('admin'); -xoops_loadLanguage('modinfo'); -// Local admin menu class -if ( file_exists(\$GLOBALS['xoops']->path(\$pathModuleAdmin.'/moduleadmin.php'))){ - include_once \$GLOBALS['xoops']->path(\$pathModuleAdmin.'/moduleadmin.php'); -}else{ - redirect_header("../../../admin.php", 5, _AM_MODULEADMIN_MISSING, false); -} -xoops_cp_header(); -\$adminMenu = new ModuleAdmin(); -EOT; - $this->tdmcfile->create($moduleDirname, 'admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED); - return $this->tdmcfile->renderFile(); - } -} \ No newline at end of file Deleted: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/index.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/index.php 2015-04-28 16:44:18 UTC (rev 13049) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/index.php 2015-04-28 21:55:41 UTC (rev 13050) @@ -1,114 +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: admin_index.php 12258 2014-01-02 09:33:29Z timgno $ - */ -defined('XOOPS_ROOT_PATH') or die('Restricted access'); - -class AdminIndex extends TDMCreateFile -{ - /* - * @public function constructor - * @param null - */ - public function __construct() { - $this->tdmcfile = TDMCreateFile::getInstance(); - } - /* - * @static function &getInstance - * @param null - */ - public static function &getInstance() - { - static $instance = false; - if (!$instance) { - $instance = new self(); - } - return $instance; - } - /* - * @public function write - * @param string $module - * @param mixed $tables - * @param string $filename - */ - public function write($module, $tables, $filename) { - $this->setModule($module); - $this->setTables($tables); - $this->setFileName($filename); - } - /* - * @public function render - * @param null - */ - public function render() { - $module = $this->getModule(); - $tables = $this->getTables(); - $filename = $this->getFileName(); - $moduleDirname = $module->getVar('mod_dirname'); - $language = $this->getLanguage($moduleDirname, 'AM'); - $language_thereare = $this->getLanguage($moduleDirname, 'AM', 'THEREARE_'); - $content = $this->getHeaderFilesComments($module, $filename); - $content .= <<<EOT -include_once 'header.php'; -// Count elements\n -EOT; - $tableName = null; - if(is_array($tables)) { - foreach (array_keys($tables) as $i) - { - $tableName = $tables[$i]->getVar('table_name'); - $content .= <<<EOT -\$count_{$tableName} = \${$tableName}Handler->getCount();\n -EOT; - } - } - $content .= <<<EOT -// Template Index -\$template_main = '{$moduleDirname}_admin_index.tpl';\n -EOT; - if(is_array($tables)) { - $content .= <<<EOT -// InfoBox Statistics -\$adminMenu->addInfoBox({$language}STATISTICS); -// Info elements\n -EOT; - foreach (array_keys($tables) as $i) - { - $tableName = $tables[$i]->getVar('table_name'); - $stuTableName = $language_thereare.strtoupper($tableName); - $content .= <<<EOT -\$adminMenu->addInfoBoxLine({$language}STATISTICS, '<label>'.{$stuTableName}.'</label>', \$count_{$tableName});\n -EOT; - } - } - if($tableName == null) { - $content .= <<<EOT -\$adminMenu->addInfoBoxLine({$language}STATISTICS, '<label>No statistics</label>', 0);\n -EOT; - } - $content .= <<<EOT -// Render Index -echo \$adminMenu->addNavigation('index.php'); -echo \$adminMenu->renderIndex(); -include_once 'footer.php'; -EOT; - $this->tdmcfile->create($moduleDirname, 'admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED); - return $this->tdmcfile->renderFile(); - } -} \ No newline at end of file Deleted: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/menu.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/menu.php 2015-04-28 16:44:18 UTC (rev 13049) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/menu.php 2015-04-28 21:55:41 UTC (rev 13050) @@ -1,165 +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: admin_menu.php 12258 2014-01-02 09:33:29Z timgno $ - */ -defined('XOOPS_ROOT_PATH') or die('Restricted access'); - -class AdminMenu extends TDMCreateFile -{ - /* - * @public function constructor - * @param null - */ - public function __construct() { - parent::__construct(); - $this->tdmcfile = TDMCreateFile::getInstance(); - } - /* - * @static function &getInstance - * @param null - */ - public static function &getInstance() - { - static $instance = false; - if (!$instance) { - $instance = new self(); - } - return $instance; - } - /* - * @public function write - * @param string $module - * @param object $table - * @param array $tables - * @param string $filename - */ - public function write($module, $table, $tables, $filename) { - $this->setModule($module); - $this->setTable($table); - $this->setTables($tables); - $this->setFileName($filename); - } - /* - * @private function getAdminMenuHeader - * @param null - */ - private function getAdminMenuHeader() { - $ret = <<<EOT -\$dirname = basename( dirname( dirname( __FILE__ ) ) ) ; -\$module_handler =& xoops_gethandler('module'); -\$xoopsModule =& XoopsModule::getByDirname(\$dirname); -\$moduleInfo =& \$module_handler->get(\$xoopsModule->getVar('mid')); -\$sysPathIcon32 = \$moduleInfo->getInfo('sysicons32');\n -EOT; - return $ret; - } - /* - * @private function getAdminMenuDashboard - * @param string $language - * @param integer $menu - */ - private function getAdminMenuDashboard($language, $menu) { - $ret = <<<EOT -\$i = 1; -\$adminmenu[\$i]['title'] = {$language}{$menu}; -\$adminmenu[\$i]['link'] = 'admin/index.php'; -\$adminmenu[\$i]['icon'] = \$sysPathIcon32.'/dashboard.png'; -\$i++;\n -EOT; - return $ret; - } - /* - * @private function getAdminMenuImagesPath - * @param array $tables - * @param integer $t - */ - private function getAdminMenuImagesPath($tables, $t) { - $fields = $this->getTableFields($tables[$t]->getVar('table_id')); - foreach (array_keys($fields) as $f) - { - $fieldElement = $fields[$f]->getVar('field_element'); - switch( $fieldElement ) { - case 11: - $ret = <<<EOT -\$adminmenu[\$i]['icon'] = 'assets/icons/32/{$tables[$t]->getVar('table_image')}';\n -EOT; - break; - default: - $ret = <<<EOT -\$adminmenu[\$i]['icon'] = \$sysPathIcon32.'/{$tables[$t]->getVar('table_image')}';\n -EOT; - break; - } - } - return $ret; - } - /* - * @public function render - * @param null - */ - public function render() { - $module = $this->getModule(); - $table = $this->getTable(); - $tables = $this->getTables(); - $filename = $this->getFileName(); - $moduleDirname = $module->getVar('mod_dirname'); - $language = $this->getLanguage($moduleDirname, 'MI', 'ADMENU'); - $menu = 1; - $content = $this->getHeaderFilesComments($module, $filename); - $content .= $this->getAdminMenuHeader(); - $content .= $this->getAdminMenuDashboard($language, $menu); - foreach (array_keys($tables) as $t) - { - $tablePermissions = $tables[$t]->getVar('table_permissions'); - if ( $tables[$t]->getVar('table_admin') == 1 ) - { - $menu++; - $content .= <<<EOT -\$adminmenu[\$i]['title'] = {$language}{$menu}; -\$adminmenu[\$i]['link'] = 'admin/{$tables[$t]->getVar('table_name')}.php'; -\$adminmenu[\$i]['icon'] = 'assets/icons/32/{$tables[$t]->getVar('table_image')}';\n -EOT; - //$content .= $this->getAdminMenuImagesPath($tables, $t); - $content .= <<<EOT -\$i++;\n -EOT; - } - } - if (is_object($table) && $table->getVar('table_permissions') == 1) { - $menu++; - $content .= <<<EOT -\$adminmenu[\$i]['title'] = {$language}{$menu}; -\$adminmenu[\$i]['link'] = 'admin/permissions.php'; -\$adminmenu[\$i]['icon'] = \$sysPathIcon32.'/permissions.png'; -\$i++;\n -EOT; - } - $menu++; - $content .= <<<EOT -\$adminmenu[\$i]['title'] = {$language}{$menu}; -\$adminmenu[\$i]['link'] = 'admin/about.php'; -\$adminmenu[\$i]['icon'] = \$sysPathIcon32.'/about.png'; -unset( \$i ); -EOT; - unset( $menu ); - - $this->tdmcfile->create($moduleDirname, 'admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED); - return $this->tdmcfile->renderFile(); - } -} \ No newline at end of file Deleted: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/objects.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/objects.php 2015-04-28 16:44:18 UTC (rev 13049) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/objects.php 2015-04-28 21:55:41 UTC (rev 13050) @@ -1,246 +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: 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 getSimpleSetVar - * @param string $tableName - * @param string $fieldName - */ - public function getSimpleSetVar($tableName, $fieldName) { - $ret = <<<EOT - // Set Var {$fieldName} - \${$tableName}Obj->setVar('{$fieldName}', \$_POST['{$fieldName}']);\n -EOT; - return $ret; - } - /* - * @public function getTextDateSelectSetVar - * @param string $tableName - * @param string $fieldName - */ - public function getTextDateSelectSetVar($tableName, $fieldName) { - $ret = <<<EOT - // Set Var {$fieldName} - \${$tableName}Obj->setVar('{$fieldName}', strtotime(\$_POST['{$fieldName}']));\n -EOT; - return $ret; - } - /* - * @public function getCheckBoxOrRadioYNSetVar - * @param string $tableName - * @param string $fieldName - */ - public function getCheckBoxOrRadioYNSetVar($tableName, $fieldName) { - $ret = <<<EOT - // Set Var {$fieldName} - \${$tableName}Obj->setVar('{$fieldName}', ((\$_REQUEST['{$fieldName}'] == 1) ? '1' : '0'));\n -EOT; - return $ret; - } - /* - * @public function getImageListSetVar - * @param string $moduleDirname - * @param string $tableName - * @param string $fieldName - */ - public function getImageListSetVar($moduleDirname, $tableName, $fieldName) { - $ret = <<<EOT - // Set Var {$fieldName} - include_once XOOPS_ROOT_PATH.'/class/uploader.php'; - \$uploaddir = XOOPS_ROOT_PATH . '/Frameworks/moduleclasses/icons/32'; - \$uploader = new XoopsMediaUploader(\$uploaddir, \${$moduleDirname}->getConfig('mimetypes'), - \${$moduleDirname}->getConfig('maxsize'), null, null); - if (\$uploader->fetchMedia(\$_POST['xoops_upload_file'][0])) { - //\$uploader->setPrefix('{$fieldName}_'); - //\$uploader->fetchMedia(\$_POST['xoops_upload_file'][0]); - if (!\$uploader->upload()) { - \$errors = \$uploader->getErrors(); - redirect_header('javascript:history.go(-1)', 3, \$errors); - } else { - \${$tableName}Obj->setVar('{$fieldName}', \$uploader->getSavedFileName()); - } - } else { - \${$tableName}Obj->setVar('{$fieldName}', \$_POST['{$fieldName}']); - }\n -EOT; - return $ret; - } - /* - * @public function getUploadImageSetVar - * @param string $moduleDirname - * @param string $tableName - * @param string $fieldName - */ - public function getUploadImageSetVar($moduleDirname, $tableName, $fieldName) { - $stuModuleDirname = strtoupper($moduleDirname); - $ret = <<<EOT - // Set Var {$fieldName} - include_once XOOPS_ROOT_PATH.'/class/uploader.php'; - \$uploaddir = {$stuModuleDirname}_UPLOAD_PATH.'/images/{$tableName}'; - \$uploader = new XoopsMediaUploader(\$uploaddir, \${$moduleDirname}->getConfig('mimetypes'), - \${$moduleDirname}->getConfig('maxsize'), null, null); - if (\$uploader->fetchMedia(\$_POST['xoops_upload_file'][0])) { - //\$uploader->setPrefix('{$fieldName}_'); - //\$uploader->fetchMedia(\$_POST['xoops_upload_file'][0]); - if (!\$uploader->upload()) { - \$errors = \$uploader->getErrors(); - redirect_header('javascript:history.go(-1)', 3, \$errors); - } else { - \${$tableName}Obj->setVar('{$fieldName}', \$uploader->getSavedFileName()); - } - } else { - \${$tableName}Obj->setVar('{$fieldName}', \$_POST['{$fieldName}']); - }\n -EOT; - return $ret; - } - /* - * @public function getUploadFileSetVar - * @param string $moduleDirname - * @param string $tableName - * @param string $fieldName - */ - public function getUploadFileSetVar($moduleDirname, $tableName, $fieldName) { - $stuModuleDirname = strtoupper($moduleDirname); - $ret = <<<EOT - // Set Var {$fieldName} - include_once XOOPS_ROOT_PATH.'/class/uploader.php'; - \$uploaddir = {$stuModuleDirname}_UPLOAD_PATH.'/files/{$tableName}'; - \$uploader = new XoopsMediaUploader(\$uploaddir, \${$moduleDirname}->getConfig('mimetypes'), - \${$moduleDirname}->getConfig('maxsize'), null, null); - if (\$uploader->fetchMedia(\$_POST['xoops_upload_file'][0])) { - //\$uploader->setPrefix('{$fieldName}_') ; - //\$uploader->fetchMedia(\$_POST['xoops_upload_file'][0]); - if (!\$uploader->upload()) { - \$errors = \$uploader->getErrors(); - redirect_header('javascript:history.go(-1)', 3, \$errors); - } else { - \${$tableName}Obj->setVar('{$fieldName}', \$uploader->getSavedFileName()); - } - }\n -EOT; - return $ret; - } - /* - * @public function getSimpleGetVar - * @param string $lpFieldName - * @param string $rpFieldName - * @param string $tableName - * @param string $fieldName - */ - public function getSimpleGetVar($lpFieldName, $rpFieldName, $tableName, $fieldName) { - $ret = <<<EOT -\t\t\t\t// Get Var {$fieldName} -\t\t\t\t\${$lpFieldName}['{$rpFieldName}'] = \${$tableName}_arr[\$i]->getVar('{$fieldName}');\n -EOT; - return $ret; - } - /* - * @public function getTopicGetVar - * @param string $lpFieldName - * @param string $rpFieldName - * @param string $tableName - * @param string $tableNameTopic - * @param string $fieldNameParent - * @param string $fieldNameTopic - */ - public function getTopicGetVar($lpFieldName, $rpFieldName, $tableName, $tableNameTopic, $fieldNameParent, $fieldNameTopic) { - $ret = <<<EOT -\t\t\t\t// Get Var {$fieldNameParent} -\t\t\t\t\${$rpFieldName} =& \${$tableNameTopic}Handler->get(\${$tableName}_arr[\$i]->getVar('{$fieldNameParent}')); -\t\t\t\t\${$lpFieldName}['{$rpFieldName}'] = \${$rpFieldName}->getVar('{$fieldNameTopic}');\n -EOT; - return $ret; - } - /* - * @public function getUploadImageGetVar - * @param string $lpFieldName - * @param string $rpFieldName - * @param string $tableName - * @param string $fieldName - */ - public function getUploadImageGetVar($lpFieldName, $rpFieldName, $tableName, $fieldName) { - $ret = <<<EOT -\t\t\t\t// Get Var {$fieldName} -\t\t\t\t\${$fieldName} = \${$tableName}_arr[\$i]->getVar('{$fieldName}'); -\t\t\t\t\$upload_image = \${$fieldName} ? \${$fieldName} : 'blank.gif'; -\t\t\t\t\${$lpFieldName}['{$rpFieldName}'] = \$upload_image;\n -EOT; - return $ret; - } - /* - * @public function getTextAreaGetVar - * @param string $lpFieldName - * @param string $rpFieldName - * @param string $tableName - * @param string $fieldName - */ - public function getTextAreaGetVar($lpFieldName, $rpFieldName, $tableName, $fieldName) { - $ret = <<<EOT -\t\t\t\t// Get Var {$fieldName} -\t\t\t\t\${$lpFieldName}['{$rpFieldName}'] = strip_tags(\${$tableName}_arr[\$i]->getVar('{$fieldName}'));\n -EOT; - return $ret; - } - /* - * @public function getSelectUserGetVar - * @param string $lpFieldName - * @param string $rpFieldName - * @param string $tableName - * @param string $fieldName - */ - public function getSelectUserGetVar($lpFieldName, $rpFieldName, $tableName, $fieldName) { - $ret = <<<EOT -\t\t\t\t// Get Var {$fieldName} -\t\t\t\t\${$lpFieldName}['{$rpFieldName}'] = XoopsUser::getUnameFromId(\${$tableName}_arr[\$i]->getVar('{$fieldName}'), 's');\n -EOT; - return $ret; - } - /* - * @public function getTextDateSelectGetVar - * @param string $lpFieldName - * @param string $rpFieldName - * @param string $tableName - * @param string $fieldName - */ - public function getTextDateSelectGetVar($lpFieldName, $rpFieldName, $tableName, $fieldName) { - $ret = <<<EOT -\t\t\t\t// Get Var {$fieldName} -\t\t\t\t\${$lpFieldName}['{$rpFieldName}'] = formatTimeStamp(\${$tableName}_arr[\$i]->getVar('{$fieldName}'), 's');\n -EOT; - return $ret; - } -} \ No newline at end of file Deleted: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/pages.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/pages.php 2015-04-28 16:44:18 UTC (rev 13049) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/pages.php 2015-04-28 21:55:41 UTC (rev 13050) @@ -1,380 +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: pages.php 12258 2014-01-02 09:33:29Z timgno $ - */ -defined('XOOPS_ROOT_PATH') or die('Restricted access'); -require_once 'objects.php'; -class AdminPages extends TDMCreateFile -{ - /* - * @var string - */ - private $adminobjects = null; - /* - * @public function constructor - * @param null - */ - public function __construct() { - parent::__construct(); - $this->adminobjects = AdminObjects::getInstance(); - $this->tdmcfile = TDMCreateFile::getInstance(); - } - /* - * @static function &getInstance - * @param null - */ - public static function &getInstance() - { - static $instance = false; - if (!$instance) { - $instance = new self(); - } - return $instance; - } - /* - * @public function write - * @param string $module - * @param string $table - */ - public function write($module, $table) { - $this->setModule($module); - $this->setTable($table); - } - /* - * @public function getAdminPagesHeader - * @param string $moduleDirname - * @param string $tableName - */ - public function getAdminPagesHeader($moduleDirname, $table, $fpif) { - - $ret = <<<EOT -include_once 'header.php'; -//It recovered the value of argument op in URL$ -\$op = XoopsRequest::getString('op', 'list'); -// Request {$fpif} -\${$fpif} = XoopsRequest::getInt('{$fpif}'); -// Switch options -switch (\$op) -{\n -EOT; - return $ret; - } - - /* - * @public function getAdminPagesList - * @param string $moduleDirname - * @param string $table - * @param string $tableFieldname - * @param string $language - * @param string $fields - * @param string $fpif - * @param string $fpmf - */ - public function getAdminPagesList($moduleDirname, $table, $tableFieldname, $language, $fields, $fpif, $fpmf) { - $stuModuleDirname = strtoupper($moduleDirname); - $tableName = $table->getVar('table_name'); - $tableAutoincrement = $table->getVar('table_autoincrement'); - $stuTableName = strtoupper($tableName); - $stuTableFieldname = strtoupper($tableFieldname); - $ret = <<<EOT - case 'list': - default: - \$start = XoopsRequest::getInt('start', 0); - \$limit = XoopsRequest::getInt('limit', \${$moduleDirname}->getConfig('adminpager')); - \$template_main = '{$moduleDirname}_admin_{$tableName}.tpl'; - \$GLOBALS['xoopsTpl']->assign('navigation', \$adminMenu->addNavigation('{$tableName}.php')); - \$adminMenu->addItemButton({$language}ADD_{$stuTableFieldname}, '{$tableName}.php?op=new', 'add'); - \$GLOBALS['xoopsTpl']->assign('buttons', \$adminMenu->renderButton()); - \$criteria = new CriteriaCompo(); - \$criteria->setSort('{$fpif} ASC, {$fpmf}'); - \$criteria->setOrder('ASC'); - \${$tableName}_rows = \${$tableName}Handler->getCount(\$criteria); - \${$tableName}_arr = \${$tableName}Handler->getAll(\$criteria); - unset(\$criteria); - \$GLOBALS['xoopsTpl']->assign('{$moduleDirname}_url', {$stuModuleDirname}_URL); - \$GLOBALS['xoopsTpl']->assign('{$moduleDirname}_upload_url', {$stuModuleDirname}_UPLOAD_URL); - // Table view - if (\${$tableName}_rows > 0) - { - foreach (array_keys(\${$tableName}_arr) as \$i) - {\n -EOT; - foreach(array_keys($fields) as $f) - { - $fieldName = $fields[$f]->getVar('field_name'); - $fieldParent = $fields[$f]->getVar('field_parent'); - // Verify if table_fieldname is not empty - $lpFieldName = !empty($tableFieldname) ? substr($fieldName, 0, strpos($fieldName, '_')) : $tableName; - $rpFieldName = $this->tdmcfile->getRightString($fieldName); - // - $fieldElement = $fields[$f]->getVar('field_element'); - if( ($fields[$f]->getVar('field_admin') == 1) || ($tableAutoincrement == 1) ) { - switch($fieldElement) { - case 3: - case 4: - $ret .= $this->adminobjects->getTextAreaGetVar($lpFieldName, $rpFieldName, $tableName, $fieldName); - break; - case 8: - $ret .= $this->adminobjects->getSelectUserGetVar($lpFieldName, $rpFieldName, $tableName, $fieldName); - break; - case 11: - $ret .= $this->adminobjects->getUploadImageGetVar($lpFieldName, $rpFieldName, $tableName, $fieldName); - break; - case 13: - $ret .= $this->adminobjects->getTextDateSelectGetVar($lpFieldName, $rpFieldName, $tableName, $fieldName); - break; - default: - if( ($fieldParent == 1) && !$table->getVar('table_category') ) { - if($fieldElement > 13) { - $fieldElements = $this->tdmcreate->getHandler('fieldelements')->get($fieldElement); - $fieldElementTid = $fieldElements->getVar('fieldelement_tid'); - $fieldElementName = $fieldElements->getVar('fieldelement_name'); - $rpFieldElementName = strtolower(str_replace('Table : ', '', $fieldElementName)); - } - // - $fieldNameParent = $fieldName; - // - $criteriaFieldsTopic = new CriteriaCompo(); - $criteriaFieldsTopic->add(new Criteria('field_tid', $fieldElementTid)); - $fieldsTopic = $this->tdmcreate->getHandler('fields')->getObjects($criteriaFieldsTopic); - unset($criteriaFieldsTopic); - foreach(array_keys($fieldsTopic) as $ft) - { - if( $fieldsTopic[$ft]->getVar('field_main') == 1 ) { - $fieldNameTopic = $fieldsTopic[$ft]->getVar('field_name'); - } - } - $ret .= $this->adminobjects->getTopicGetVar($lpFieldName, $rpFieldName, $tableName, $rpFieldElementName, $fieldNameParent, $fieldNameTopic); - } else { - $ret .= $this->adminobjects->getSimpleGetVar($lpFieldName, $rpFieldName, $tableName, $fieldName); - } - break; - } - } - } - $ret .= <<<EOT - \$GLOBALS['xoopsTpl']->append('{$tableName}_list', \${$lpFieldName}); - unset(\${$lpFieldName}); - }\n -EOT; - $ret .= <<<EOT - if ( \${$tableName}_rows > \$limit ) { - include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; - \$pagenav = new XoopsPageNav(\${$tableName}_rows, \$limit, \$start, 'start', 'op=list&limit=' . \$limit); - \$GLOBALS['xoopsTpl']->assign('pagenav', \$pagenav->renderNav(4)); - } - } else { - \$GLOBALS['xoopsTpl']->assign('error', {$language}THEREARENT_{$stuTableName}); - } - break;\n -EOT; - return $ret; - } - - /* - * @public function getAdminPagesNew - * @param string $moduleDirname - * @param string $tableName - * @param string $language - */ - public function getAdminPagesNew($moduleDirname, $tableName, $language) { - $stuTableName = strtoupper($tableName); - $ret = <<<EOT - case 'new': - \$template_main = '{$moduleDirname}_admin_{$tableName}.tpl'; - \$adminMenu->addItemButton({$language}{$stuTableName}_LIST, '{$tableName}.php', 'list'); - \$GLOBALS['xoopsTpl']->assign('navigation', \$adminMenu->addNavigation('{$tableName}.php')); - \$GLOBALS['xoopsTpl']->assign('buttons', \$adminMenu->renderButton()); - // Get Form - \${$tableName}Obj =& \${$tableName}Handler->create(); - \$form = \${$tableName}Obj->getForm(); - \$GLOBALS['xoopsTpl']->assign('form', \$form->render()); - break;\n -EOT; - return $ret; - } - - /* - * @public function getAdminPagesSave - * @param string $moduleDirname - * @param string $tableName - * @param string $language - * @param string $fields - * @param string $fpif - * @param string $fpmf - */ - public function getAdminPagesSave($moduleDirname, $tableName, $language, $fields, $fpif, $fpmf) - { - $ret = <<<EOT - case 'save': - if ( !\$GLOBALS['xoopsSecurity']->check() ) { - redirect_header('{$tableName}.php', 3, implode(',', \$GLOBALS['xoopsSecurity']->getErrors())); - } - if (isset(\${$fpif})) { - \${$tableName}Obj =& \${$tableName}Handler->get(\${$fpif}); - } else { - \${$tableName}Obj =& \${$tableName}Handler->create(); - } - // Set Vars\n -EOT; - foreach (array_keys($fields) as $f) - { - $fieldName = $fields[$f]->getVar('field_name'); - $fieldElement = $fields[$f]->getVar('field_element'); - if($f > 0) { // If we want to hide field id - switch($fieldElement) { - case 5: - case 6: - $ret .= $this->adminobjects->getCheckBoxOrRadioYNSetVar($tableName, $fieldName); - break; - case 10: - $ret .= $this->adminobjects->getImageListSetVar($moduleDirname, $tableName, $fieldName); - break; - case 11: - $ret .= $this->adminobjects->getUploadImageSetVar($moduleDirname, $tableName, $fieldName); - break; - case 12: - $ret .= $this->adminobjects->getUploadFileSetVar($moduleDirname, $tableName, $fieldName); - break; - case 13: - $ret .= $this->adminobjects->getTextDateSelectSetVar($tableName, $fieldName); - break; - default: - $ret .= $this->adminobjects->getSimpleSetVar($tableName, $fieldName); - break; - } - } - } - - $ret .= <<<EOT - // Insert Data - if (\${$tableName}Handler->insert(\${$tableName}Obj)) { - redirect_header('{$tableName}.php?op=list', 2, {$language}FORMOK); - } - // Get Form - \$GLOBALS['xoopsTpl']->assign('error', \${$tableName}Obj->getHtmlErrors()); - \$form =& \${$tableName}Obj->getForm(); - \$GLOBALS['xoopsTpl']->assign('form', \$form->render()); - break;\n -EOT; - return $ret; - } - - /* - * @public function getAdminPagesEdit - * @param string $moduleDirname - * @param string $tableName - * @param string $tableFieldname - * @param string $language - * @param string $fpif - */ - public function getAdminPagesEdit($moduleDirname, $tableName, $tableFieldname, $language, $fpif) { - $stuTableName = strtoupper($tableName); - $stuTableFieldname = strtoupper($tableFieldname); - $ret = <<<EOT - case 'edit': - \$template_main = '{$moduleDirname}_admin_{$tableName}.tpl'; - \$adminMenu->addItemButton({$language}ADD_{$stuTableFieldname}, '{$tableName}.php?op=new', 'add'); - \$adminMenu->addItemButton({$language}{$stuTableName}_LIST, '{$tableName}.php', 'list'); - \$GLOBALS['xoopsTpl']->assign('navigation', \$adminMenu->addNavigation('{$tableName}.php')); - \$GLOBALS['xoopsTpl']->assign('buttons', \$adminMenu->renderButton()); - // Get Form - \${$tableName}Obj = \${$tableName}Handler->get(\${$fpif}); - \$form = \${$tableName}Obj->getForm(); - \$GLOBALS['xoopsTpl']->assign('form', \$form->render()); - break;\n -EOT; - return $ret; - } - - /* - * @public function getAdminPagesDelete - * @param string $tableName - * @param string $language - */ - public function getAdminPagesDelete($tableName, $language, $fpif, $fpmf) { - - $ret = <<<EOT - case 'delete': - \${$tableName}Obj =& \${$tableName}Handler->get(\${$fpif}); - if (isset(\$_REQUEST['ok']) && \$_REQUEST['ok'] == 1) { - if ( !\$GLOBALS['xoopsSecurity']->check() ) { - redirect_header('{$tableName}.php', 3, implode(', ', \$GLOBALS['xoopsSecurity']->getErrors())); - } - if (\${$tableName}Handler->delete(\${$tableName}Obj)) { - redirect_header('{$tableName}.php', 3, {$language}FORMDELOK); - } else { - echo \${$tableName}Obj->getHtmlErrors(); - } - } else { - xoops_confirm(array('ok' => 1, '{$fpif}' => \${$fpif}, 'op' => 'delete'), \$_SERVER['REQUEST_URI'], sprintf({$language}FORMSUREDEL, \${$tableName}Obj->getVar('{$fpmf}'))); - } - break;\n -EOT; - return $ret; - } - - /* - * @public function getAdminPagesFooter - * @param null - */ - public function getAdminPagesFooter() { - $ret = <<<EOT -} -include_once 'footer.php'; -EOT; - return $ret; - } - - /* - * @public function render - * @param null - */ - public function renderFile($filename) - { - $module = $this->getModule(); - $table = $this->getTable(); - $moduleDirname = $module->getVar('mod_dirname'); - $tableName = $table->getVar('table_name'); - $tableFieldname = $table->getVar('table_fieldname'); - $language = $this->getLanguage($moduleDirname, 'AM'); - $fields = $this->getTableFields($table->getVar('table_id')); - foreach(array_keys($fields) as $f) - { - $fieldName = $fields[$f]->getVar('field_name'); - if($f == 0) { - $fpif = $fieldName; - } - if($fields[$f]->getVar('field_main') == 1) { - $fpmf = $fieldName; - } - } - $content = $this->getHeaderFilesComments($module, $filename); - $content .= $this->getAdminPagesHeader($moduleDirname, $tableName, $fpif); - $content .= $this->getAdminPagesList($moduleDirname, $table, $tableFieldname, $language, $fields, $fpif, $fpmf); - $content .= $this->getAdminPagesNew($moduleDirname, $tableName, $language); - $content .= $this->getAdminPagesSave($moduleDirname, $tableName, $language, $fields, $fpif, $fpmf); - $content .= $this->getAdminPagesEdit($moduleDirname, $tableName, $tableFieldname, $language, $fpif); - $content .= $this->getAdminPagesDelete($tableName, $language, $fpif, $fpmf); - $content .= $this->getAdminPagesFooter(); - // - $this->tdmcfile->create($moduleDirname, 'admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED); - return $this->tdmcfile->renderFile(); - } -} \ No newline at end of file Deleted: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/permissions.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/permissions.php 2015-04-28 16:44:18 UTC (rev 13049) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/permissions.php 2015-04-28 21:55:41 UTC (rev 13050) @@ -1,222 +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: admin_permissions.php 12258 2014-01-02 09:33:29Z timgno $ - */ -defined('XOOPS_ROOT_PATH') or die('Restricted access'); - -class AdminPermissions extends TDMCreateFile -{ - /* - * @public function constructor - * @param null - */ - public function __construct() { - parent::__construct(); - $this->tdmcfile = TDMCreateFile::getInstance(); - } - /* - * @static function &getInstance - * @param null - */ - public static function &getInstance() - { - static $instance = false; - if (!$instance) { - $instance = new self(); - } - return $instance; - } - /* - * @public function write - * @param string $module - * @param mixed $tables - * @param string $filename - */ - public function write($module, $tables, $filename) { - $this->setModule($module); - $this->setTables($tables); - $this->setFileName($filename); - } - /* - * @private function getPermissionsCodeHeader - * @param string $moduleDirname - * @param string $language - */ - private function getPermissionsCodeHeader($moduleDirname, $language) - { - $ret = <<<PRM -\ninclude_once 'header.php'; -include_once XOOPS_ROOT_PATH.'/class/xoopsform/grouppermform.php'; -if( !empty(\$_POST['submit']) ) -{ - redirect_header( XOOPS_URL.'/modules/'.\$xoopsModule->dirname().'/admin/permissions.php', 1, _MP_GPERMUPDATED ); -} -// Check admin have access to this page -/*\$group = \$xoopsUser->getGroups (); -\$groups = xoops_getModuleOption ( 'admin_groups', \$thisDirname ); -if (count ( array_intersect ( \$group, \$groups ) ) <= 0) { - redirect_header ( 'index.php', 3, _NOPERM ); -}*/ -\$template_main = '{$moduleDirname}_admin_permissions.tpl'; -echo \$adminMenu->addNavigation('permissions.php'); - -\$permission = {$moduleDirname}_CleanVars(\$_REQUEST, 'permission', 1, 'int'); -\$selected = array('', '', '', ''); -\$selected[\$permission-1] = ' selected'; -xoops_load('XoopsFormLoader'); -\$permTableForm = new XoopsSimpleForm('', 'fselperm', 'permissions.php', 'get'); -\$formSelect = new XoopsFormSelect('', 'permission', \$permission); -\$formSelect->setExtra('onchange="document.forms.fselperm.submit()"'); -\$formSelect->addOption(\$selected[0], {$language}GLOBAL); -\$formSelect->addOption(\$selected[1], {$language}APPROVE); -\$formSelect->addOption(\$selected[2], {$language}SUBMIT); -\$formSelect->addOption(\$selected[3], {$language}VIEW); -\$permTableForm->addElement(\$formSelect); -\$permTableForm->display();\n\n -PRM; - return $ret; - } - - /* - * @private function getPermissionsCodeSwitch - * @param string $moduleDirname - * @param string $language - */ - private function getPermissionsCodeSwitch($moduleDirname, $language) - { - $ret = <<<PRM -\$module_id = \$xoopsModule->getVar('mid'); -switch(\$permission) -{ - case 1: - \$formTitle = {$language}GLOBAL; - \$permName = '{$moduleDirname}_ac'; - \$permDesc = {$language}GLOBAL_DESC; - \$globalPerms = array( '4' => {$language}GLOBAL_4, - '8' => {$language}GLOBAL_8, - '16' => {$language}GLOBAL_16 ); - break; - case 2: - \$formTitle = {$language}APPROVE; - \$permName = '{$moduleDirname}_access'; - \$permDesc = {$language}APPROVE_DESC; - break; - case 3: - \$formTitle = {$language}SUBMIT; - \$permName = '{$moduleDirname}_submit'; - \$permDesc = {$language}SUBMIT_DESC; - break; - case 4: - \$formTitle = {$language}VIEW; - \$permName = '{$moduleDirname}_view'; - \$permDesc = {$language}VIEW_DESC; - break; -}\n -PRM; - return $ret; - } - - /* - * @private function getPermissionsCodeBody - * @param string $moduleDirname - * @param string $tableName - * @param string $language - */ - private function getPermissionsCodeBody($moduleDirname, $language) - { - $tables = $this->getTables(); - foreach(array_keys($tables) as $t) - { - $tableId = $tables[$t]->getVar('table_id'); - if($tables[$t]->getVar('table_permissions') == 1) { - $tableName = $tables[$t]->getVar('table_name'); - } - } - $fields = $this->getTableFields($tableId); - foreach(array_keys($fields) as $f) - { - if($f == 0) { - $fpif = $fields[$f]->getVar('field_name'); - } - if($fields[$f]->getVar('field_main') == 1) { - $fpmf = $fields[$f]->getVar('field_name'); - } - } - $ret = <<<PRM -\$permform = new XoopsGroupPermForm(\$formTitle, \$module_id, \$permName, \$permDesc, 'admin/permissions.php'); -if (\$permission == 1) { - foreach (\$globalPerms as \$perm_id => \$perm_name) { - \$permform->addItem(\$perm_id, \$perm_name); - } - echo \$permform->render(); - echo '<br /><br />'; -} else { - \$criteria = new CriteriaCompo(); - \$criteria->setSort('{$fpmf}'); - \$criteria->setOrder('ASC'); - \${$tableName}_count = \${$tableName}Handler->getCount(\$criteria); - \${$tableName}_arr = \${$tableName}Handler->getObjects(\$criteria); - unset(\$criteria); - foreach (array_keys(\${$tableName}_arr) as \$i) { - \$permform->addItem(\${$tableName}_arr[\$i]->getVar('{$fpif}'), \${$tableName}_arr[\$i]->getVar('{$fpmf}')); - } - // Check if {$tableName} exist before rendering the form and redirect, if there aren't {$tableName} - if (\${$tableName}_count > 0) { - echo \$permform->render(); - echo '<br /><br />'; - } else { - redirect_header ( '{$tableName}.php?op=new', 3, {$language}NOPERMSSET ); - exit (); - }\n -PRM; - return $ret; - } - - /* - * @private function getPermissionsCodeFooter - * @param null - */ - private function getPermissionsCodeFooter() { - $ret = <<<PRM -} -unset(\$permform); -include_once 'footer.php'; -PRM; - return $ret; - } - - /* - * @public function render - * @param null - */ - public function render() { - $module = $this->getModule(); - $filename = $this->getFileName(); - $moduleDirname = $module->getVar('mod_dirname'); - $language = $this->getLanguage($moduleDirname, 'AM'); - $content = $this->getHeaderFilesComments($module, $filename); - $content .= $this->getPermissionsCodeHeader($moduleDirname, $language); - $content .= $this->getPermissionsCodeSwitch($moduleDirname, $language); - $content .= $this->getPermissionsCodeBody($moduleDirname, $language); - ... [truncated message content] |
From: <txm...@us...> - 2015-04-28 16:44:23
|
Revision: 13049 http://sourceforge.net/p/xoops/svn/13049 Author: txmodxoops Date: 2015-04-28 16:44:18 +0000 (Tue, 28 Apr 2015) Log Message: ----------- Merged to alpha 2 Deleted unnecessary files Added Paths: ----------- XoopsModules/TDMCreate/branches/timgno/1.91a2/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/about.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/building.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/fields.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/footer.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/header.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/index.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/menu.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/modules.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/tables.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/css/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/css/admin/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/css/admin/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/css/admin/style.css XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/css/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/css/style.css XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/fonts/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/fonts/VeraBd.ttf XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/fonts/green.png XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/fonts/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/fonts/red.png XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/fonts/xcvLogo.txt XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/icons/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/icons/16/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/icons/16/arrow.gif XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/icons/16/blocks.png XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/icons/16/drag.png XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/icons/16/editfields.png XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/icons/16/fields.png XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/icons/16/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/icons/16/left_right.png XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/icons/16/nb_fields.png XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/icons/16/spinner.gif XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/icons/16/submenu.png XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/icons/16/tables.png XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/icons/16/toggle.png XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/icons/32/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/icons/32/addmodule.png XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/icons/32/addtable.png XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/icons/32/builder.png XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/icons/32/dashboard.png XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/icons/32/edittable.png XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/icons/32/fields.png XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/icons/32/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/icons/32/loading.gif XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/icons/blank.gif XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/icons/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/images/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/images/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/images/logos/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/images/logos/empty.png XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/images/logos/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/images/logos/naked.png XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/images/logos/txmodxoops_logo.gif XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/images/logos/xoops2.png XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/images/logos/xoopsdevelopmentteam_logo.gif XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/images/tdmcreate_logo.png XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/js/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/js/debug.log XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/js/functions.js XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/js/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/assets/js/sortable.js XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/TDMCreateAutoload.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/TDMCreateHelper.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/TDMCreateSession.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/building.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/cache/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/cache/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/fieldattributes.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/fieldelements.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/fieldkey.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/fieldnull.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/fields.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/fieldtype.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/TDMCreateAbstract.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/TDMCreateArchitecture.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/TDMCreateFile.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/TDMCreateHtmlSmartyCodes.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/TDMCreateStructure.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/TDMCreateTableFields.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/AdminAbout.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/AdminFooter.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/AdminHeader.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/AdminIndex.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/AdminMenu.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/AdminObjects.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/AdminPages.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/AdminPermissions.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/about.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/footer.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/header.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/index.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/menu.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/objects.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/pages.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/admin/permissions.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/blocks/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/blocks/BlocksFiles.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/blocks/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/classes/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/classes/ClassFiles.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/classes/ClassFormElements.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/classes/ClassHelper.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/classes/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/css/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/css/CssStyles.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/css/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/docs/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/docs/DocsChangelog.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/docs/DocsFiles.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/docs/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/include/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/include/IncludeCommentFunctions.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/include/IncludeComments.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/include/IncludeCommon.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/include/IncludeFunctions.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/include/IncludeInstall.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/include/IncludeJquery.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/include/IncludeNotifications.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/include/IncludeSearch.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/include/IncludeUpdate.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/include/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/language/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/language/LanguageAdmin.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/language/LanguageBlocks.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/language/LanguageDefines.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/language/LanguageHelp.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/language/LanguageMailTpl.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/language/LanguageMain.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/language/LanguageModinfo.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/language/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/sql/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/sql/SqlFile.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/sql/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/TDMCreateHtmlSmartyCodes.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/admin/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/admin/TemplatesAdminAbout.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/admin/TemplatesAdminFooter.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/admin/TemplatesAdminHeader.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/admin/TemplatesAdminIndex.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/admin/TemplatesAdminPages.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/admin/TemplatesAdminPermissions.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/admin/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/blocks/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/blocks/TemplatesBlocks.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/blocks/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/user/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/user/TemplatesUserFooter.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/user/TemplatesUserHeader.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/user/TemplatesUserIndex.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/user/TemplatesUserPages.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/templates/user/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/user/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/user/UserFooter.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/user/UserHeader.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/user/UserIndex.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/user/UserNotificationUpdate.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/user/UserObjects.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/user/UserPages.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/user/UserPrint.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/user/UserRss.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/user/UserSubmit.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/user/UserXoopsVersion.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/user/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/files/user/index.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/form/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/form/TDMCreateFormRadio.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/form/TDMCreateThemeForm.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/form/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/form/simpleform.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/form/themeform.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/helper.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/html/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/html/TDMCreateFormLabel.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/html/html.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/html/htmlform.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/html/htmltable.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/html/htmltag.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/html/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/html/simplelabel.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/logoGenerator.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/modules.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/class/tables.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/docs/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/docs/changelog.txt XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/docs/credits.txt XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/docs/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/docs/install.txt XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/docs/lang_diff.txt XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/docs/license.txt XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/docs/readme.txt XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/include/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/include/common.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/include/functions.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/include/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/include/install.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/include/update.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/language/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/language/english/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/language/english/admin.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/language/english/help/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/language/english/help/help.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/language/english/help/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/language/english/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/language/english/modinfo.php XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/language/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/language/update language 1.0 to 1.1.txt XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/language/update language 1.1 to 1.15.txt XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/language/update language 1.1 to 1.37.txt XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/language/update language 1.15 to 1.37.txt XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/language/update language 1.37 to 1.38.txt XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/language/update language 1.38 to 1.39.txt XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/sql/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/sql/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/sql/mysql.sql XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/templates/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/templates/admin/ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/templates/admin/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/templates/admin/tdmcreate_about.tpl XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/templates/admin/tdmcreate_building.tpl XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/templates/admin/tdmcreate_fields.tpl XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/templates/admin/tdmcreate_fields_item.tpl XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/templates/admin/tdmcreate_footer.tpl XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/templates/admin/tdmcreate_header.tpl XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/templates/admin/tdmcreate_index.tpl XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/templates/admin/tdmcreate_modules.tpl XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/templates/admin/tdmcreate_tables.tpl XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/templates/admin/tdmcreate_tables_item.tpl XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/templates/index.html XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/xoops_version.php Added: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/about.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/about.php (rev 0) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/about.php 2015-04-28 16:44:18 UTC (rev 13049) @@ -0,0 +1,25 @@ +<?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: about.php 11084 2013-02-23 15:44:20Z timgno $ + */ +include 'header.php'; +$template_main = 'tdmcreate_about.tpl'; +$GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('about.php')); +$GLOBALS['xoopsTpl']->assign('about', $adminMenu->renderAbout('6KJ7RW5DR3VTJ', false)); +include 'footer.php'; \ No newline at end of file Added: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/building.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/building.php (rev 0) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/building.php 2015-04-28 16:44:18 UTC (rev 13049) @@ -0,0 +1,95 @@ +<?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: building.php 12258 2014-01-02 09:33:29Z timgno $ + */ +include __DIR__ . DIRECTORY_SEPARATOR . 'header.php'; +$op = XoopsRequest::getString('op', 'default'); +$mid = XoopsRequest::getInt('mod_id'); +$moduleObj = $tdmcreate->getHandler('modules')->get( $mid ); +// Switch option +switch ($op) { + case 'build': + $template_main = 'tdmcreate_building.tpl'; + $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('building.php')); + // Get var module dirname + $moduleDirname = $moduleObj->getVar('mod_dirname'); + // Directories for copy from to + $fromDir = TDMC_UPLOAD_REPOSITORY_PATH.'/'.strtolower($moduleDirname); + $toDir = XOOPS_ROOT_PATH.'/modules/'.strtolower($moduleDirname); + if(isset($moduleDirname)) { + // Clear this module if it's in repository + if(is_dir($fromDir)) { + TDMCreate_clearDir($fromDir); + } + // Clear this module if it's in root/modules + if(is_dir($toDir)) { + TDMCreate_clearDir($toDir); + } + } + // Structure + include_once TDMC_PATH . '/class/files/TDMCreateArchitecture.php'; + $handler = TDMCreateArchitecture::getInstance(); + // Creation of the structure of folders and files + $base_architecture = $handler->createBaseFoldersFiles( $moduleObj ); + if(false !== $base_architecture) { + $GLOBALS['xoopsTpl']->assign('base_architecture', true); + } else { + $GLOBALS['xoopsTpl']->assign('base_architecture', false); + } + // Get files + $build = array(); + $files = $handler->createFilesToBuilding( $moduleObj ); + foreach($files as $file) { + if($file) { + $build['list'] = $file; + } + $GLOBALS['xoopsTpl']->append('builds', $build); + } + unset($build); + // Directory to saved all files + $GLOBALS['xoopsTpl']->assign('building_directory', sprintf(_AM_TDMCREATE_BUILDING_DIRECTORY, $moduleDirname)); + // Copy this module in root modules + if( $moduleObj->getVar('mod_inroot_copy') == 1 ) { + TDMCreate_copyr($fromDir, $toDir); + } + break; + + case 'default': + default: + $template_main = 'tdmcreate_building.tpl'; + $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('building.php')); + // Redirect if there aren't modules + $nbModules = $tdmcreate->getHandler('modules')->getCount(); + if( $nbModules == 0 ) { + redirect_header('modules.php?op=new', 2, _AM_TDMCREATE_NOTMODULES ); + } + unset($nbModules); + // Redirect if there aren't tables + /*$nbTables = $tdmcreate->getHandler('tables')->getCount(); + if($nbTables == 0) { + redirect_header('tables.php?op=new', 2, _AM_TDMCREATE_NOTTABLES ); + } + unset($nbTables);*/ + include_once TDMC_PATH . '/class/building.php'; + $handler = TDMCreateBuilding::getInstance(); + $form = $handler->getForm(); + $GLOBALS['xoopsTpl']->assign('form', $form->render()); + break; +} +include __DIR__ . DIRECTORY_SEPARATOR . 'footer.php'; \ No newline at end of file Added: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/fields.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/fields.php (rev 0) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/fields.php 2015-04-28 16:44:18 UTC (rev 13049) @@ -0,0 +1,306 @@ +<?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: 1.91 fields.php 12258 2014-01-02 09:33:29Z timgno $ + */ +include __DIR__ . DIRECTORY_SEPARATOR . 'header.php'; +// Recovered value of arguments op in the URL $ +$op = XoopsRequest::getString('op', 'list'); +// Get fields Variables +$fieldMid = XoopsRequest::getInt('field_mid'); +$fieldTid = XoopsRequest::getInt('field_tid'); +$fieldNumb = XoopsRequest::getInt('field_numb'); +$fieldOrder = XoopsRequest::getInt('field_order'); +$fieldName = XoopsRequest::getString('field_name', ''); +// switch op +switch ($op) +{ + case 'list': + default: + $start = XoopsRequest::getInt('start', 0); + $limit = XoopsRequest::getInt('limit', $tdmcreate->getConfig('tables_adminpager')); + // Define main template + $template_main = 'tdmcreate_fields.tpl'; + $GLOBALS['xoTheme']->addStylesheet( 'modules/tdmcreate/assets/css/admin/style.css' ); + $GLOBALS['xoTheme']->addScript('modules/tdmcreate/assets/js/functions.js'); + $GLOBALS['xoTheme']->addScript('modules/tdmcreate/assets/js/sortable.js'); + $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('fields.php')); + $adminMenu->addItemButton(_AM_TDMCREATE_ADD_TABLE, 'tables.php?op=new', 'add'); + $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton()); + $GLOBALS['xoopsTpl']->assign('tdmc_url', TDMC_URL); + $GLOBALS['xoopsTpl']->assign('tdmc_icons_url', TDMC_ICONS_URL); + $GLOBALS['xoopsTpl']->assign('tdmc_upload_url', TDMC_UPLOAD_URL); + $GLOBALS['xoopsTpl']->assign('tdmc_upload_imgtab_url', TDMC_UPLOAD_IMGTAB_URL); + $GLOBALS['xoopsTpl']->assign('modPathIcon16', $modPathIcon16); + $GLOBALS['xoopsTpl']->assign('sysPathIcon32', $sysPathIcon32); + // Redirect if there aren't modules + $countModules = $tdmcreate->getHandler('modules')->getCount(); + if ( $countModules == 0 ) { + redirect_header('modules.php?op=new', 2, _AM_TDMCREATE_NOTMODULES ); + } + unset($countModules); + // Redirect if there aren't tables + $handlerTables = $tdmcreate->getHandler('tables'); + $countTables = $handlerTables->getCount(); + if ($countTables == 0) { + redirect_header('tables.php?op=new', 2, _AM_TDMCREATE_NOTTABLES ); + } + unset($countTables); + // Get the list of tables + $criteria = new CriteriaCompo(); + $criteria->add(new Criteria('table_mid', $handlerTables->getVar('table_mid'))); + $criteria->setStart($start); + $criteria->setLimit($limit); + $criteria->setSort('table_id ASC, table_order ASC, table_name'); + $criteria->setOrder('ASC'); + $countTables = $tdmcreate->getHandler('tables')->getCount($criteria); + $tablesAll = $tdmcreate->getHandler('tables')->getAll($criteria); + unset($criteria); + if ($countTables > 0) + { + $tlid = 1; + foreach (array_keys($tablesAll) as $tid) + { + // Display tables list + $table['id'] = $tid; + $table['lid'] = $tlid; + $table['mid'] = $tablesAll[$tid]->getVar('table_mid'); + $table['name'] = ucfirst($tablesAll[$tid]->getVar('table_name')); + $table['image'] = $tablesAll[$tid]->getVar('table_image'); + $table['nbfields'] = $tablesAll[$tid]->getVar('table_nbfields'); + $table['order'] = $tablesAll[$tid]->getVar('table_order'); + $table['autoincrement'] = $tablesAll[$tid]->getVar('table_autoincrement'); + $table['blocks'] = $tablesAll[$tid]->getVar('table_blocks'); + $table['admin'] = $tablesAll[$tid]->getVar('table_admin'); + $table['user'] = $tablesAll[$tid]->getVar('table_user'); + $table['search'] = $tablesAll[$tid]->getVar('table_search'); + // Get the list of fields + $criteria = new CriteriaCompo(); + $criteria->add(new Criteria('field_mid', $table['mid'])); + $criteria->add(new Criteria('field_tid', $tid)); + $criteria->setSort('field_order ASC, field_id ASC, field_name'); + $criteria->setOrder('ASC'); + $countFields = $tdmcreate->getHandler('fields')->getCount($criteria); + $fieldsAll = $tdmcreate->getHandler('fields')->getObjects($criteria); + unset($criteria); + // Display fields list + $fields = array(); + $lid = 1; + if ( $countFields > 0 ) + { + foreach (array_keys($fieldsAll) as $fid) + { + $field['id'] = $fid; + $field['lid'] = $lid; + $field['order'] = $fieldsAll[$fid]->getVar('field_order'); + $field['name'] = str_replace('_', ' ', ucfirst($fieldsAll[$fid]->getVar('field_name'))); + $field['parent'] = $fieldsAll[$fid]->getVar('field_parent'); + $field['inlist'] = $fieldsAll[$fid]->getVar('field_inlist'); + $field['inform'] = $fieldsAll[$fid]->getVar('field_inform'); + $field['admin'] = $fieldsAll[$fid]->getVar('field_admin'); + $field['user'] = $fieldsAll[$fid]->getVar('field_user'); + $field['block'] = $fieldsAll[$fid]->getVar('field_block'); + $field['main'] = $fieldsAll[$fid]->getVar('field_main'); + $field['search'] = $fieldsAll[$fid]->getVar('field_search'); + $field['required'] = $fieldsAll[$fid]->getVar('field_required'); + $fields[] = $field; + unset($field); + $lid++; + } + } + $tlid++; + unset($lid); + $table['fields'] = $fields; + $GLOBALS['xoopsTpl']->append('tables_list', $table); + unset($table); + } + unset($tlid); + unset($fields); + if ( $countTables > $limit ) { + include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; + $pagenav = new XoopsPageNav($countTables, $limit, $start, 'start', 'op=list&limit=' . $limit); + $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav(4)); + } + } else { + $GLOBALS['xoopsTpl']->assign('error', _AM_TDMCREATE_THEREARENT_FIELDS); + } + break; + + case 'new': + // Define main template + $template_main = 'tdmcreate_fields.tpl'; + $GLOBALS['xoTheme']->addStylesheet( 'modules/tdmcreate/assets/css/admin/style.css' ); + $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('fields.php')); + $adminMenu->addItemButton(_AM_TDMCREATE_TABLES_LIST, 'tables.php', 'list'); + $adminMenu->addItemButton(_AM_TDMCREATE_FIELDS_LIST, 'fields.php', 'list'); + $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton()); + // Form Add + $fieldsObj =& $tdmcreate->getHandler('fields')->create(); + $form = $fieldsObj->getFormNew($fieldMid, $fieldTid, $fieldNumb, $fieldName); + $GLOBALS['xoopsTpl']->assign('form', $form->render()); + break; + + case 'save': + // + if ( !$GLOBALS['xoopsSecurity']->check() ) { + redirect_header('fields.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); + } + $fieldId = XoopsRequest::getInt('field_id'); + // Fields Handler + $fields = $tdmcreate->getHandler('fields'); + // Set Variables + foreach($_POST['field_id'] as $key => $value) + { + if(isset($value)){ + $fieldsObj =& $fields->get($value); + } else { + $fieldsObj =& $fields->create(); + } + $order = $fieldsObj->isNew() ? $fieldOrder + 1 : $fieldOrder; + if (isset($fieldMid) && isset($fieldTid) && !empty($_POST['field_name'][$key])) { + // Set Data + $fieldsObj->setVar( 'field_mid', $fieldMid ); + $fieldsObj->setVar( 'field_tid', $fieldTid ); + $fieldsObj->setVar( 'field_numb', $fieldNumb ); + $fieldsObj->setVar( 'field_order', (isset($_POST['field_order'][$key]) ? $_POST['field_order'][$key] : $order) ); + $fieldsObj->setVar( 'field_name', (!empty($_POST['field_name'][$key]) ? $_POST['field_name'][$key] : '') ); + $fieldsObj->setVar( 'field_type', (!empty($_POST['field_type'][$key]) ? $_POST['field_type'][$key] : '') ); + $fieldsObj->setVar( 'field_value', (!empty($_POST['field_value'][$key]) ? $_POST['field_value'][$key] : '') ); + $fieldsObj->setVar( 'field_attribute', (!empty($_POST['field_attribute'][$key]) ? $_POST['field_attribute'][$key] : '') ); + $fieldsObj->setVar( 'field_null', (!empty($_POST['field_null'][$key]) ? $_POST['field_null'][$key] : '') ); + $fieldsObj->setVar( 'field_default', (!empty($_POST['field_default'][$key]) ? $_POST['field_default'][$key] : '') ); + $fieldsObj->setVar( 'field_key', (!empty($_POST['field_key'][$key]) ? $_POST['field_key'][$key] : '') ); + $fieldsObj->setVar( 'field_element', (!empty($_POST['field_element'][$key]) ? $_POST['field_element'][$key] : '') ); + $fieldsObj->setVar( 'field_parent', ((isset($_REQUEST['field_parent'][$key]) == 1) ? 1 : 0) ); + $fieldsObj->setVar( 'field_inlist', ((isset($_REQUEST['field_inlist'][$key]) == 1) ? 1 : 0) ); + $fieldsObj->setVar( 'field_inform', ((isset($_REQUEST['field_inform'][$key]) == 1) ? 1 : 0) ); + $fieldsObj->setVar( 'field_admin', ((isset($_REQUEST['field_admin'][$key]) == 1) ? 1 : 0) ); + $fieldsObj->setVar( 'field_user', ((isset($_REQUEST['field_user'][$key]) == 1) ? 1 : 0) ); + $fieldsObj->setVar( 'field_block', ((isset($_REQUEST['field_block'][$key]) == 1) ? 1 : 0) ); + $fieldsObj->setVar( 'field_main', (($key == $_REQUEST['field_main']) ? 1 : 0) ); + $fieldsObj->setVar( 'field_search', ((isset($_REQUEST['field_search'][$key]) == 1) ? 1 : 0) ); + $fieldsObj->setVar( 'field_required', ((isset($_REQUEST['field_required'][$key]) == 1) ? 1 : 0) ); + // Insert Data + $tdmcreate->getHandler('fields')->insert($fieldsObj); + } + $orderId++; + } + unset($orderId); + // Get table name from field table id + $tables =& $tdmcreate->getHandler('tables')->get($fieldTid); + $tableName = $tables->getVar('table_name'); + // Set field elements + if ($fieldsObj->isNew()) { + // Fields Elements Handler + $fieldelementObj =& $tdmcreate->getHandler('fieldelements')->create(); + $fieldelementObj->setVar( 'fieldelement_mid', $fieldMid ); + $fieldelementObj->setVar( 'fieldelement_tid', $fieldTid ); + $fieldelementObj->setVar( 'fieldelement_name', 'Table : '.ucfirst($tableName) ); + $fieldelementObj->setVar( 'fieldelement_value', 'XoopsFormTables-'.ucfirst($tableName) ); + // Insert new field element id for table name + if (!$tdmcreate->getHandler('fieldelements')->insert($fieldelementObj) ) { + $GLOBALS['xoopsTpl']->assign('error', $fieldelementObj->getHtmlErrors() . ' Field element'); + } + redirect_header('fields.php', 2, sprintf(_AM_TDMCREATE_FIELDS_FORM_SAVED_OK, $tableName)); + } else { + // Needed code from table name by field_tid + redirect_header('fields.php', 2, sprintf(_AM_TDMCREATE_FIELDS_FORM_UPDATED_OK, $tableName)); + } + // + $GLOBALS['xoopsTpl']->assign('error', $fieldsObj->getHtmlErrors()); + $form = $fieldsObj->getForm(null, $fieldTid); + $GLOBALS['xoopsTpl']->assign('form', $form->render()); + break; + + case 'edit': + // Define main template + $template_main = 'tdmcreate_fields.tpl'; + $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('fields.php')); + $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()); + // Form Edit + $fieldId = XoopsRequest::getInt('field_id'); + $fieldsObj = $tdmcreate->getHandler('fields')->get( $fieldId ); + $form = $fieldsObj->getFormEdit($fieldMid, $fieldTid, $fieldNumb); + $GLOBALS['xoopsTpl']->assign('form', $form->render()); + break; + + case 'order': + // Initialize fields handler + $fieldsObj = $tdmcreate->getHandler('fields'); + if ( isset($_POST['forder'] ) ) { + $i = 0; + foreach($_POST['forder'] as $order) { + if( $order > 0 ) { + $fieldOrder = $fieldsObj->get($order); + $fieldOrder->setVar('field_order', $i); + if (!$fieldsObj->insert($fieldOrder)) { + $error=true; + } + $i++; + } + } + redirect_header('fields.php', 5, _AM_TDMCREATE_FIELD_ORDER_ERROR); + unset($i); + } + exit; + break; + + case 'delete': + $tablesObj =& $tdmcreate->getHandler('tables')->get($fieldTid); + if (isset($_REQUEST['ok']) && $_REQUEST['ok'] == 1) { + if ( !$GLOBALS['xoopsSecurity']->check() ) { + redirect_header('fields.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); + } + if ($tdmcreate->getHandler('tables')->delete($tablesObj)) { + redirect_header('fields.php', 3, _AM_TDMCREATE_FORMDELOK); + } else { + echo $tablesObj->getHtmlErrors(); + } + } else { + xoops_confirm(array('ok' => 1, 'field_tid' => $fieldTid, 'op' => 'delete'), $_SERVER['REQUEST_URI'], sprintf(_AM_TDMCREATE_FORMSUREDEL, $tablesObj->getVar('table_name'))); + } + break; + + case 'display': + // + $fields = $tdmcreate->getHandler('fields'); + // Fields Handler + foreach($_POST['field_id'] as $key => $value) + { + $fieldsObj =& $fields->get($value); + $fieldsObj->setVar( 'field_parent', ((isset($_REQUEST['field_parent'][$key]) == 1) ? 1 : 0) ); + $fieldsObj->setVar( 'field_inlist', ((isset($_REQUEST['field_inlist'][$key]) == 1) ? 1 : 0) ); + $fieldsObj->setVar( 'field_inform', ((isset($_REQUEST['field_inform'][$key]) == 1) ? 1 : 0) ); + $fieldsObj->setVar( 'field_admin', ((isset($_REQUEST['field_admin'][$key]) == 1) ? 1 : 0) ); + $fieldsObj->setVar( 'field_user', ((isset($_REQUEST['field_user'][$key]) == 1) ? 1 : 0) ); + $fieldsObj->setVar( 'field_block', ((isset($_REQUEST['field_block'][$key]) == 1) ? 1 : 0) ); + $fieldsObj->setVar( 'field_main', (($key == $_REQUEST['field_main']) ? 1 : 0) ); + $fieldsObj->setVar( 'field_search', ((isset($_REQUEST['field_search'][$key]) == 1) ? 1 : 0) ); + $fieldsObj->setVar( 'field_required', ((isset($_REQUEST['field_required'][$key]) == 1) ? 1 : 0) ); + if ($fieldsObj->insert($fieldsObj, true)) { + redirect_header('fields.php', 3, _AM_TDMCREATE_TOGGLE_SUCCESS); + } else { + redirect_header('fields.php', 3, _AM_TDMCREATE_TOGGLE_FAILED); + } + } + break; +} +include __DIR__ . DIRECTORY_SEPARATOR . 'footer.php'; \ No newline at end of file Added: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/footer.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/footer.php (rev 0) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/footer.php 2015-04-28 16:44:18 UTC (rev 13049) @@ -0,0 +1,26 @@ +<?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: footer.php 12207 2013-10-23 02:46:52Z beckmi $ + */ +$GLOBALS['xoopsTpl']->assign('module_name', $GLOBALS['xoopsModule']->getVar('name')); +if ( isset($template_main) ) { + $GLOBALS['xoopsTpl']->display("db:{$template_main}"); +} +xoops_cp_footer(); +?> \ No newline at end of file Added: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/header.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/header.php (rev 0) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/header.php 2015-04-28 16:44:18 UTC (rev 13049) @@ -0,0 +1,57 @@ +<?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: header.php 12258 2014-01-02 09:33:29Z timgno $ +*/ +include_once dirname(dirname(dirname(dirname(__FILE__)))) . '/include/cp_header.php'; +include_once dirname(dirname(__FILE__)) . '/include/common.php'; +// +$thisDirname = $GLOBALS['xoopsModule']->getVar('dirname'); +// Link System Icons +$sysPathIcon16 = $GLOBALS['xoopsModule']->getInfo('sysicons16'); +$sysPathIcon32 = $GLOBALS['xoopsModule']->getInfo('sysicons32'); +// Link Local Icons +$modPathIcon16 = $GLOBALS['xoopsModule']->getInfo('modicons16'); +$modPathIcon32 = $GLOBALS['xoopsModule']->getInfo('modicons32'); +$pathModuleAdmin = $GLOBALS['xoopsModule']->getInfo('dirmoduleadmin'); +// TDMCreate Instance +$tdmcreate = TDMCreateHelper::getInstance(); +// MyTextSanitizer +$myts =& MyTextSanitizer::getInstance(); +if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { + include_once(XOOPS_ROOT_PATH."/class/template.php"); + $xoopsTpl = new XoopsTpl(); +} +// System Icons +$GLOBALS['xoopsTpl']->assign('sysPathIcon16', $sysPathIcon16); +$GLOBALS['xoopsTpl']->assign('sysPathIcon32', $sysPathIcon32); +// Local Icons +$GLOBALS['xoopsTpl']->assign('modPathIcon16', $modPathIcon16); +$GLOBALS['xoopsTpl']->assign('modPathIcon32', $modPathIcon32); +// Load languages +xoops_loadLanguage('admin', $thisDirname); +xoops_loadLanguage('modinfo', $thisDirname); +xoops_loadLanguage('main', $thisDirname); +// Locad admin menu class +if ( file_exists($GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'))){ + include_once $GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'); +}else{ + redirect_header("../../../admin.php", 5, _AM_MODULEADMIN_MISSING, false); +} +xoops_cp_header(); +$adminMenu = new ModuleAdmin(); \ No newline at end of file Added: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/index.html =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/index.html (rev 0) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/index.html 2015-04-28 16:44:18 UTC (rev 13049) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/index.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/index.php (rev 0) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/index.php 2015-04-28 16:44:18 UTC (rev 13049) @@ -0,0 +1,35 @@ +<?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: index.php 11084 2013-02-23 15:44:20Z timgno $ + */ +include __DIR__ . DIRECTORY_SEPARATOR . 'header.php'; +$criteria = new CriteriaCompo(); +$count_modules = $tdmcreate->getHandler('modules')->getCount($criteria); +$count_tables = $tdmcreate->getHandler('tables')->getCount($criteria); +$count_fields = $tdmcreate->getHandler('fields')->getCount($criteria); +unset($criteria); +$template_main = 'tdmcreate_index.tpl'; +$adminMenu->addInfoBox(_AM_TDMCREATE_ADMIN_NUMMODULES) ; +$adminMenu->addInfoBoxLine(_AM_TDMCREATE_ADMIN_NUMMODULES, '<label>' ._AM_TDMCREATE_THEREARE_NUMMODULES. '</label>', $count_modules, 'Green') ; +$adminMenu->addInfoBoxLine(_AM_TDMCREATE_ADMIN_NUMMODULES, '<label>' ._AM_TDMCREATE_THEREARE_NUMTABLES. '</label>', $count_tables, 'Orange'); +$adminMenu->addInfoBoxLine(_AM_TDMCREATE_ADMIN_NUMMODULES, '<label>' ._AM_TDMCREATE_THEREARE_NUMFIELDS. '</label>', $count_fields, 'Gray'); +//$xoopsOption['template_main'] = 'tdmcreate_index.html'; +$GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('index.php')); +$GLOBALS['xoopsTpl']->assign('index', $adminMenu->renderIndex()); +include __DIR__ . DIRECTORY_SEPARATOR . 'footer.php'; \ No newline at end of file Added: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/menu.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/menu.php (rev 0) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/menu.php 2015-04-28 16:44:18 UTC (rev 13049) @@ -0,0 +1,50 @@ +<?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: menu.php 11084 2013-02-23 15:44:20Z timgno $ + */ +$module_handler =& xoops_gethandler('module'); +$xoopsModule =& XoopsModule::getByDirname('TDMCreate'); +$moduleInfo =& $module_handler->get($xoopsModule->getVar('mid')); +$sysPathIcon32 = $moduleInfo->getInfo('sysicons32'); +$adminmenu = array(); +$i = 1; +$adminmenu[$i]['title'] = _MI_TDMCREATE_ADMENU1; +$adminmenu[$i]['link'] = 'admin/index.php'; +$adminmenu[$i]['icon'] = $sysPathIcon32.'/dashboard.png'; +$i++; +$adminmenu[$i]['title'] = _MI_TDMCREATE_ADMENU2; +$adminmenu[$i]['link'] = 'admin/modules.php'; +$adminmenu[$i]['icon'] = 'assets/icons/32/addmodule.png'; +$i++; +$adminmenu[$i]['title'] = _MI_TDMCREATE_ADMENU3; +$adminmenu[$i]['link'] = 'admin/tables.php'; +$adminmenu[$i]['icon'] = 'assets/icons/32/addtable.png'; +$i++; +$adminmenu[$i]['title'] = _MI_TDMCREATE_ADMENU4; +$adminmenu[$i]['link'] = 'admin/fields.php'; +$adminmenu[$i]['icon'] = 'assets/icons/32/fields.png'; +$i++; +$adminmenu[$i]['title'] = _MI_TDMCREATE_ADMENU5; +$adminmenu[$i]['link'] = 'admin/building.php'; +$adminmenu[$i]['icon'] = 'assets/icons/32/builder.png'; +$i++; +$adminmenu[$i]['title'] = _MI_TDMCREATE_ADMENU6; +$adminmenu[$i]['link'] = 'admin/about.php'; +$adminmenu[$i]['icon'] = $sysPathIcon32.'/about.png'; +unset($i); \ No newline at end of file Added: XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/modules.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/modules.php (rev 0) +++ XoopsModules/TDMCreate/branches/timgno/1.91a2/tdmcreate/admin/modules.php 2015-04-28 16:44:18 UTC (rev 13049) @@ -0,0 +1,254 @@ +<?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.5 + * @author Txmod Xoops <su...@tx...> + * @version $Id: 1.59 modules.php 11297 2013-03-24 10:58:10Z timgno $ + */ +include __DIR__ . DIRECTORY_SEPARATOR . 'header.php'; +// Recovered value of argument op in the URL $ +$op = XoopsRequest::getString('op', 'list'); +// +$mod_id = XoopsRequest::getInt('mod_id'); +// +switch ($op) +{ + case 'list': + default: + $start = XoopsRequest::getInt('start', 0); + $limit = XoopsRequest::getInt('limit', $tdmcreate->getConfig('modules_adminpager')); + // Define main template + $template_main = 'tdmcreate_modules.tpl'; + $GLOBALS['xoTheme']->addScript('modules/tdmcreate/assets/js/functions.js'); + $GLOBALS['xoTheme']->addStylesheet( 'modules/tdmcreate/assets/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('buttons', $adminMenu->renderButton()); + $GLOBALS['xoopsTpl']->assign('tdmc_url', TDMC_URL); + $GLOBALS['xoopsTpl']->assign('tdmc_upload_imgmod_url', TDMC_UPLOAD_IMGMOD_URL); + $GLOBALS['xoopsTpl']->assign('modPathIcon16', $modPathIcon16); + $GLOBALS['xoopsTpl']->assign('sysPathIcon32', $sysPathIcon32); + $criteria = new CriteriaCompo(); + $criteria->setStart($start); + $criteria->setLimit($limit); + $criteria->setSort('mod_id ASC, mod_name'); + $criteria->setOrder('ASC'); + $nb_modules = $tdmcreate->getHandler('modules')->getCount( $criteria ); + $mods_arr = $tdmcreate->getHandler('modules')->getAll( $criteria ); + unset($criteria); + // Redirect if there aren't modules + if ( $nb_modules == 0 ) { + redirect_header('modules.php?op=new', 2, _AM_TDMCREATE_NOTMODULES ); + } + // Display modules list + if ( $nb_modules > 0 ) { + foreach (array_keys($mods_arr) as $i) { + $mod['id'] = $i; + $mod['name'] = $mods_arr[$i]->getVar('mod_name'); + $mod['version'] = $mods_arr[$i]->getVar('mod_version'); + $mod['image'] = $mods_arr[$i]->getVar('mod_image'); + $mod['release'] = $mods_arr[$i]->getVar('mod_release'); + $mod['status'] = $mods_arr[$i]->getVar('mod_status'); + $mod['admin'] = $mods_arr[$i]->getVar('mod_admin'); + $mod['user'] = $mods_arr[$i]->getVar('mod_user'); + $mod['blocks'] = $mods_arr[$i]->getVar('mod_blocks'); + $mod['search'] = $mods_arr[$i]->getVar('mod_search'); + $mod['comments'] = $mods_arr[$i]->getVar('mod_comments'); + $mod['notifications'] = $mods_arr[$i]->getVar('mod_notifications'); + $mod['permissions'] = $mods_arr[$i]->getVar('mod_permissions'); + $GLOBALS['xoopsTpl']->append('modules_list', $mod); + unset($mod); + } + if ( $nb_modules > $limit ) { + include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; + $pagenav = new XoopsPageNav($nb_modules, $limit, $start, 'start', 'op=list&limit=' . $limit); + $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav(4)); + } + } else { + $GLOBALS['xoopsTpl']->assign('error', _AM_TDMCREATE_THEREARENT_MODULES); + } + break; + + case 'new': + // Define main template + $template_main = 'tdmcreate_modules.tpl'; + $GLOBALS['xoTheme']->addScript('modules/tdmcreate/assets/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()); + + $modulesObj =& $tdmcreate->getHandler('modules')->create(); + $form = $modulesObj->getForm(); + $GLOBALS['xoopsTpl']->assign('form', $form->render()); + break; + + case 'save': + if ( !$GLOBALS['xoopsSecurity']->check() ) { + redirect_header('modules.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); + } + if (isset($mod_id)) { + $modulesObj =& $tdmcreate->getHandler('modules')->get($mod_id); + } else { + $modulesObj =& $tdmcreate->getHandler('modules')->create(); + } + $moduleDirname = preg_replace('/[^a-zA-Z0-9]\s+/', '', strtolower($_POST['mod_dirname'])); + //Form module save + $modulesObj->setVars(array('mod_name' => $_POST['mod_name'], + 'mod_dirname' => $moduleDirname, + 'mod_version' => $_POST['mod_version'], + 'mod_since' => $_POST['mod_since'], + 'mod_min_php' => $_POST['mod_min_php'], + 'mod_min_xoops' => $_POST['mod_min_xoops'], + 'mod_min_admin' => $_POST['mod_min_admin'], + 'mod_min_mysql' => $_POST['mod_min_mysql'], + 'mod_description' => $_POST['mod_description'], + 'mod_author' => $_POST['mod_author'], + 'mod_author_mail' => $_POST['mod_author_mail'], + 'mod_author_website_url' => $_POST['mod_author_website_url'], + 'mod_author_website_name' => $_POST['mod_author_website_name'], + 'mod_credits' => $_POST['mod_credits'], + 'mod_license' => $_POST['mod_license'], + 'mod_release_info' => $_POST['mod_release_info'], + 'mod_release_file' => $_POST['mod_release_file'], + 'mod_manual' => $_POST['mod_manual'], + 'mod_manual_file' => $_POST['mod_manual_file'])); + //Form mod_image + include_once XOOPS_ROOT_PATH . '/class/uploader.php'; + $uploader = new XoopsMediaUploader(TDMC_UPLOAD_IMGMOD_PATH, $tdmcreate->getConfig('mimetypes'), + $tdmcreate->getConfig('maxsize'), null, null); + if ($uploader->fetchMedia($_POST['xoops_upload_file'][0])) { + /*$extension = preg_replace( '/.*\.([^.]+)$/', '\\1', $_FILES['attachedfile']['name']); + $logo_image = $moduleDirname.'_logo.'.$extension; + $uploader->setPrefix($logo_image);*/ + $uploader->fetchMedia($_POST['xoops_upload_file'][0]); + if (!$uploader->upload()) { + $errors = $uploader->getErrors(); + redirect_header('javascript:history.go(-1)',3, $errors); + } else { + $modulesObj->setVar('mod_image', $uploader->getSavedFileName()); + } + } else { + $modulesObj->setVar('mod_image', $_POST['mod_image']); + } + //Form module save + $modulesObj->setVars(array('mod_demo_site_url' => $_POST['mod_demo_site_url'], + 'mod_demo_site_name' => $_POST['mod_demo_site_name'], + 'mod_support_url' => $_POST['mod_support_url'], + '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_admin' => (($_REQUEST['mod_admin'] == 1) ? '1' : '0'), + 'mod_user' => (($_REQUEST['mod_user'] == 1) ? '1' : '0'), + 'mod_blocks' => (($_REQUEST['mod_blocks'] == 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'), + ... [truncated message content] |
From: <txm...@us...> - 2015-04-28 16:01:23
|
Revision: 13048 http://sourceforge.net/p/xoops/svn/13048 Author: txmodxoops Date: 2015-04-28 16:01:20 +0000 (Tue, 28 Apr 2015) Log Message: ----------- Now you can order tables from the list Fixed bugs Modified Paths: -------------- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/fields.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/tables.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/functions.js XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/sortable.js XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fields.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/sql/mysql.sql XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_fields_item.tpl Added Paths: ----------- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/logos/index.html XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/logos/naked.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_tables_item.tpl Removed Paths: ------------- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/loading.gif XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/logos/VeraBd.ttf XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/logos/green.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/logos/red.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/tdmcreate_slogo.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/xcvLogo.txt XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/fields.js XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/jq.init.js Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/fields.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/fields.php 2015-04-27 19:41:43 UTC (rev 13047) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/fields.php 2015-04-28 16:01:20 UTC (rev 13048) @@ -240,18 +240,27 @@ $fieldsObj = $tdmcreate->getHandler('fields')->get( $fieldId ); $form = $fieldsObj->getFormEdit($fieldMid, $fieldTid, $fieldNumb); $GLOBALS['xoopsTpl']->assign('form', $form->render()); - break; + break; - case 'order': - foreach($_POST['field_order'] as $order => $value) { - if( $order > 0 ) { - $fieldsObj = $tdmcreate->getHandler('fields')->get( $value ); - $fieldsObj->setVar('field_order', $order); - if (!$tdmcreate->getHandler('fields')->insert( $fieldsObj )) { - redirect_header('fields.php', 5, _AM_TDMCREATE_FIELD_ORDER_ERROR); - } - } - } + case 'order': + // Initialize fields handler + $fieldsObj = $tdmcreate->getHandler('fields'); + if ( isset($_POST['forder'] ) ) { + $i = 0; + foreach($_POST['forder'] as $order) { + if( $order > 0 ) { + $fieldOrder = $fieldsObj->get($order); + $fieldOrder->setVar('field_order', $i); + if (!$fieldsObj->insert($fieldOrder)) { + $error=true; + } + $i++; + } + } + redirect_header('fields.php', 5, _AM_TDMCREATE_FIELD_ORDER_ERROR); + unset($i); + } + exit; break; case 'delete': Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/tables.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/tables.php 2015-04-27 19:41:43 UTC (rev 13047) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/tables.php 2015-04-28 16:01:20 UTC (rev 13048) @@ -254,16 +254,25 @@ $GLOBALS['xoopsTpl']->assign('form', $form->render()); break; - case 'order': - foreach($_POST['table_order'] as $order => $value) { - if( $order > 0 ) { - $tablesObj = $tdmcreate->getHandler('tables')->get( $value ); - $tablesObj->setVar('table_order', $order); - if (!$tdmcreate->getHandler('tables')->insert( $tablesObj )) { - redirect_header('tables.php', 5, _AM_TDMCREATE_FIELD_ORDER_ERROR); - } - } - } + case 'order': + // Initialize tables handler + $tablesObj = $tdmcreate->getHandler('tables'); + if ( isset($_POST['torder'] ) ) { + $i = 0; + foreach($_POST['torder'] as $order) { + if( $order > 0 ) { + $tableOrder = $tablesObj->get($order); + $tableOrder->setVar('table_order', $i); + if (!$tablesObj->insert($tableOrder)) { + $error=true; + } + $i++; + } + } + redirect_header('tables.php', 5, _AM_TDMCREATE_TABLE_ORDER_ERROR); + unset($i); + } + exit; break; case 'delete': Deleted: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/loading.gif =================================================================== (Binary files differ) Deleted: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/logos/VeraBd.ttf =================================================================== (Binary files differ) Deleted: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/logos/green.png =================================================================== (Binary files differ) Added: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/logos/index.html =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/logos/index.html (rev 0) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/logos/index.html 2015-04-28 16:01:20 UTC (rev 13048) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/logos/naked.png =================================================================== (Binary files differ) Index: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/logos/naked.png =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/logos/naked.png 2015-04-27 19:41:43 UTC (rev 13047) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/logos/naked.png 2015-04-28 16:01:20 UTC (rev 13048) Property changes on: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/logos/naked.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Deleted: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/logos/red.png =================================================================== (Binary files differ) Deleted: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/tdmcreate_slogo.png =================================================================== (Binary files differ) Deleted: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/xcvLogo.txt =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/xcvLogo.txt 2015-04-27 19:41:43 UTC (rev 13047) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/xcvLogo.txt 2015-04-28 16:01:20 UTC (rev 13048) @@ -1 +0,0 @@ -display:table-cell; vertical-align:middle; \ No newline at end of file Deleted: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/fields.js =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/fields.js 2015-04-27 19:41:43 UTC (rev 13047) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/fields.js 2015-04-28 16:01:20 UTC (rev 13048) @@ -1,42 +0,0 @@ -// Jquery function for side fields -/*$(document).ready( function() { - // Controls Drag & Drop - $('tbody tr.sortable td:nth-child(1) img').sortable({ - update: function(event, ui) { - var list = $(this).sortable( 'serialize'); - $.post( 'fields.php?op=order', list ); - }, - receive: function(event, ui) { - var field_id = $(ui.item).attr('field_id'); - var list = $(this).sortable( 'serialize'); - $.post( 'fields.php', { op: 'drag', field_id: field_id } ); - $.post( 'fields.php?op=order', list ); - } - } - ); - $('tr.sortable').disableSelection(); - }, - function() { - $( ".portlet" ) - .addClass( "ui-widget ui-widget-content ui-helper-clearfix ui-corner-all" ) - .find( ".portlet-header" ) - .addClass( "ui-widget-header ui-corner-all" ) - .prepend( "<span class='ui-icon ui-icon-minusthick portlet-toggle'></span>"); - - $( ".portlet-toggle" ).click(function() { - var icon = $( this ); - icon.toggleClass( "ui-icon-minusthick ui-icon-plusthick" ); - icon.closest( ".portlet" ).find( ".portlet-content" ).toggle(); - }); - } -);*/ -// Quando la pagina è caricata definisci l'ordine attuale e gli elementi da riordinare -$(document).ready(function() { - $('.field-list').sortable({ //definisco il contenitore di elementi da riordinare - handle : '.move', //definisco con la classe .move quali sono gli elementi trascinabili - update : function () { //aggiorno l'ordine ed eseguo una callback - var order = $('.field-list').sortable('serialize'); // salvo una variabile che contiene l'array con il nuovo ordine degli elementi - $("#info").load("modules/tdmcreate/admin/fields.php?"+order); - } - }); -}); \ No newline at end of file Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/functions.js =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/functions.js 2015-04-27 19:41:43 UTC (rev 13047) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/functions.js 2015-04-28 16:01:20 UTC (rev 13048) @@ -60,9 +60,14 @@ } $(document).ready(function() { + // Hide/Show Tables or Fields $('tr.toggleMain td:nth-child(1) img').click(function () { $(this).closest('tr.toggleMain').nextUntil('tr.toggleMain').toggle(); }); + // Hide/Show Modules Tables + $('#modtab').hide(); + $('td#modtabs').click(function(){ + $(this).next('#modtab').slideToggle('slow');}); }); function tdmcreate_setStatus( data, img, file ) { Deleted: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/jq.init.js =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/jq.init.js 2015-04-27 19:41:43 UTC (rev 13047) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/jq.init.js 2015-04-28 16:01:20 UTC (rev 13048) @@ -1,6 +0,0 @@ -$(document).ready(function(){ - // Hide/Show Modules Tables - $('#modtab').hide(); - $('td#modtabs').click(function(){ - $(this).next('#modtab').slideToggle('slow');}); -}); \ No newline at end of file Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/sortable.js =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/sortable.js 2015-04-27 19:41:43 UTC (rev 13047) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/sortable.js 2015-04-28 16:01:20 UTC (rev 13048) @@ -1,24 +1,38 @@ // Jquery function for order fields // When the page is loaded define the current order and items to reorder -/* Call the container items to reorder tables */ -$(document).ready(function() { - $('.table-list').sortable({ opacity: 0.6, handle : '.move', cursor: 'move', - update: function(event, ui) { - var order = $(this).sortable('serialize') + '&op=order'; - $.post('tables.php', order, function(response) { - $('#message').html(response); - }); +$(document).ready( function(){ + /* Call the container items to reorder tables */ + $('.table-list').sortable({ + accept: 'tdmc-tables', + opacity: 0.6, + handle : '.move', + cursor: 'move', + connectWith: '.table-list', + update: function(event, ui) { + var list = $(this).sortable( 'serialize'); + $.post( 'tables.php?op=order', list ); + }, + receive: function(event, ui) { + var list = $(this).sortable( 'serialize'); + $.post( 'admin.php?op=order', list ); + } } - }).disableSelection(); -}); -/* Call the container items to reorder fields */ -$(document).ready(function() { - $('.field-list').sortable({ opacity: 0.6, handle : '.move', cursor: 'move', - update: function() { - var order = $(this).sortable('serialize') + '&op=order'; - $.post('fields.php', order, function(response) { - $('#message').html(response); - }); + ).disableSelection(); + /* Call the container items to reorder fields */ + $('.field-list').sortable({ + accept: 'tdmc-fields', + opacity: 0.6, + handle : '.move', + cursor: 'move', + connectWith: '.field-list', + update: function(event, ui) { + var list = $(this).sortable( 'serialize'); + $.post( 'fields.php?op=order', list ); + }, + receive: function(event, ui) { + var list = $(this).sortable( 'serialize'); + $.post( 'fields.php?op=order', list ); + } } - }).disableSelection(); + ).disableSelection(); }); \ No newline at end of file Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fields.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fields.php 2015-04-27 19:41:43 UTC (rev 13047) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fields.php 2015-04-28 16:01:20 UTC (rev 13048) @@ -214,7 +214,7 @@ $parameters_tray = new XoopsFormElementTray('', '<br />'); // Field Elements $criteria_element = new CriteriaCompo(); - $criteria_element->add(new Criteria('fieldelement_tid', $field_tid)); + $criteria_element->add(new Criteria('fieldelement_tid', 0)); $criteria_table = new CriteriaCompo(); $criteria_table->add(new Criteria('fieldelement_mid', $field_mid)); $field_elements_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_ELEMENT_NAME, 'field_element['.$i.']'); Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/sql/mysql.sql =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/sql/mysql.sql 2015-04-27 19:41:43 UTC (rev 13047) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/sql/mysql.sql 2015-04-28 16:01:20 UTC (rev 13048) @@ -118,8 +118,7 @@ `field_required` TINYINT(1) NOT NULL DEFAULT '0', PRIMARY KEY (`field_id`), KEY `field_mid` (`field_mid`), - KEY `field_tid` (`field_tid`), - KEY `field_name` (`field_name`) + KEY `field_tid` (`field_tid`) )ENGINE =MyISAM; # Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_fields_item.tpl =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_fields_item.tpl 2015-04-27 19:41:43 UTC (rev 13047) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_fields_item.tpl 2015-04-28 16:01:20 UTC (rev 13048) @@ -2,7 +2,7 @@ <tbody class="field-list"> <{foreach item=field from=$table.fields}> <{if $field.id > 0}> - <tr id="field_order_<{$field.tid}>_<{$field.id}>_<{$field.order}>" order="<{$field.order}>" class="<{cycle values='even,odd'}>"> + <tr id="forder_<{$field.id}>" order="<{$field.order}>" class="tdmc-fields <{cycle values='even,odd'}>"> <td class='center width5'>[<{$field.lid}>] <img class="move" src="<{$modPathIcon16}>/drag.png" alt="<{$field.name}>" /></td> <td class='center width10'><{$field.name}></td> <td class='center'><img src="<{$modPathIcon16}>/tables.png" alt="Empty" /></td> Added: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_tables_item.tpl =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_tables_item.tpl (rev 0) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_tables_item.tpl 2015-04-28 16:01:20 UTC (rev 13048) @@ -0,0 +1,41 @@ +<table class='width100'> + <tbody class="table-list"> + <{foreach item=table from=$module.tables}> + <{if $table.id > 0}> + <tr id="torder_<{$table.id}>" order="<{$table.order}>" class="tdmc-tables <{cycle values='even,odd'}>"> + <td class='cell cell-width1'>[<{$table.lid}>] <img class="move" src="<{$modPathIcon16}>/drag.png" alt="<{$table.name}>" /></td> + <td class='cell cell-width2'><{$table.name}></td> + <td class='cell cell-width3'><img src="<{xoModuleIcons32}><{$table.image}>" alt="<{$table.name}>" height="30" /></td> + <td class='cell cell-width4'><{$table.nbfields}></td> + <td class='cell cell-width5'><img id="loading_img_table_admin<{$table.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_table_admin<{$table.id}>" onclick="tdmcreate_setStatus( { op: 'display_tables', table_id: <{$table.id}>, table_admin: <{if $table.admin}>0<{else}>1<{/if}> }, 'img_table_admin<{$table.id}>', 'tables.php' )" src="<{xoModuleIcons16}><{$table.admin}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$table.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$table.name}>" /> + </td> + <td class='cell cell-width6'><img id="loading_img_table_user<{$table.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_table_user<{$table.id}>" onclick="tdmcreate_setStatus( { op: 'display_tables', table_id: <{$table.id}>, table_user: <{if $table.user}>0<{else}>1<{/if}> }, 'img_table_user<{$table.id}>', 'tables.php' )" src="<{xoModuleIcons16}><{$table.user}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$table.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$table.name}>" /> + </td> + <td class='cell cell-width7'><img id="loading_img_table_blocks<{$table.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_table_blocks<{$table.id}>" onclick="tdmcreate_setStatus( { op: 'display_tables', table_id: <{$table.id}>, table_blocks: <{if $table.blocks}>0<{else}>1<{/if}> }, 'img_table_blocks<{$table.id}>', 'tables.php' )" src="<{xoModuleIcons16}><{$table.blocks}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$table.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$table.name}>" /> + </td> + <td class='cell cell-width8'><img id="loading_img_table_submenu<{$table.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_table_submenu<{$table.id}>" onclick="tdmcreate_setStatus( { op: 'display_tables', table_id: <{$table.id}>, table_submenu: <{if $table.submenu}>0<{else}>1<{/if}> }, 'img_table_submenu<{$table.id}>', 'tables.php' )" src="<{xoModuleIcons16}><{$table.submenu}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$table.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$table.name}>" /> + </td> + <td class='cell cell-width9'><img id="loading_img_table_search<{$table.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_table_search<{$table.id}>" onclick="tdmcreate_setStatus( { op: 'display_tables', table_id: <{$table.id}>, table_search: <{if $table.search}>0<{else}>1<{/if}> }, 'img_table_search<{$table.id}>', 'tables.php' )" src="<{xoModuleIcons16}><{$table.search}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$table.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$table.name}>" /> + </td> + <td class='cell cell-width10'><img id="loading_img_table_comments<{$table.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_table_comments<{$table.id}>" onclick="tdmcreate_setStatus( { op: 'display_tables', table_id: <{$table.id}>, table_comments: <{if $table.comments}>0<{else}>1<{/if}> }, 'img_table_comments<{$table.id}>', 'tables.php' )" src="<{xoModuleIcons16}><{$table.comments}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$table.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$table.name}>" /> + </td> + <td class='cell cell-width11'><img id="loading_img_table_notifications<{$table.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_table_notifications<{$table.id}>" onclick="tdmcreate_setStatus( { op: 'display_tables', table_id: <{$table.id}>, table_notifications: <{if $table.notifications}>0<{else}>1<{/if}> }, 'img_table_notifications<{$table.id}>', 'tables.php' )" src="<{xoModuleIcons16}><{$table.notifications}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$table.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$table.name}>" /> + </td> + <td class='cell cell-width12'><img id="loading_img_table_permissions<{$table.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_table_permissions<{$table.id}>" onclick="tdmcreate_setStatus( { op: 'display_tables', table_id: <{$table.id}>, table_permissions: <{if $table.permissions}>0<{else}>1<{/if}> }, 'img_table_permissions<{$table.id}>', 'tables.php' )" src="<{xoModuleIcons16}><{$table.permissions}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$table.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$table.name}>" /> + </td> + <td class='xo-actions cell cell-width13'> + <a href="tables.php?op=edit&table_mid=<{$table.mid}>&table_id=<{$table.id}>" title="<{$smarty.const._EDIT}>"> + <img src="<{xoModuleIcons16 edit.png}>" alt="<{$smarty.const._EDIT}>" /> + </a> + <a href="fields.php?op=edit&field_mid=<{$table.mid}>&field_tid=<{$table.id}>" title="<{$smarty.const._EDIT}>"> + <img src="<{$modPathIcon16}>/editfields.png" alt="<{$smarty.const._EDIT}>" /> + </a> + <a href="tables.php?op=delete&table_id=<{$table.id}>" title="<{$smarty.const._DELETE}>"> + <img src="<{xoModuleIcons16 delete.png}>" alt="<{$smarty.const._DELETE}>" /> + </a> + </td> + </tr> + <{/if}> + <{/foreach}> + </tbody> +</table> \ No newline at end of file |
From: <txm...@us...> - 2015-04-27 19:41:45
|
Revision: 13047 http://sourceforge.net/p/xoops/svn/13047 Author: txmodxoops Date: 2015-04-27 19:41:43 +0000 (Mon, 27 Apr 2015) Log Message: ----------- Updated Fixed bugs Modified Paths: -------------- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/fields.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/tables.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/css/admin/style.css XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/sortable.js XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fields.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/sql/mysql.sql XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_fields.tpl XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_fields_item.tpl XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_tables.tpl Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/fields.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/fields.php 2015-04-26 16:14:14 UTC (rev 13046) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/fields.php 2015-04-27 19:41:43 UTC (rev 13047) @@ -243,9 +243,9 @@ break; case 'order': - foreach($_REQUEST['field_order'] as $order => $id) { + foreach($_POST['field_order'] as $order => $value) { if( $order > 0 ) { - $fieldsObj = $tdmcreate->getHandler('fields')->get( $id ); + $fieldsObj = $tdmcreate->getHandler('fields')->get( $value ); $fieldsObj->setVar('field_order', $order); if (!$tdmcreate->getHandler('fields')->insert( $fieldsObj )) { redirect_header('fields.php', 5, _AM_TDMCREATE_FIELD_ORDER_ERROR); Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/tables.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/tables.php 2015-04-26 16:14:14 UTC (rev 13046) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/tables.php 2015-04-27 19:41:43 UTC (rev 13047) @@ -255,9 +255,9 @@ break; case 'order': - foreach($_POST['table_order'] as $order => $id) { + foreach($_POST['table_order'] as $order => $value) { if( $order > 0 ) { - $tablesObj = $tdmcreate->getHandler('tables')->get( $id ); + $tablesObj = $tdmcreate->getHandler('tables')->get( $value ); $tablesObj->setVar('table_order', $order); if (!$tdmcreate->getHandler('tables')->insert( $tablesObj )) { redirect_header('tables.php', 5, _AM_TDMCREATE_FIELD_ORDER_ERROR); Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/css/admin/style.css =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/css/admin/style.css 2015-04-26 16:14:14 UTC (rev 13046) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/css/admin/style.css 2015-04-27 19:41:43 UTC (rev 13047) @@ -19,7 +19,7 @@ * @version $Id: style.css 12258 2014-01-02 09:33:29Z timgno $ */ - body { +body { background: #fafafa; color: #444; font-family: verdana, arial, tahoma, helvetica, sans-serif; @@ -29,8 +29,9 @@ table { margin: 0; padding: 0; } /* Sortable tables & fields */ -tbody tr.sortable td img.move { - cursor: move; +tbody tr td.sortable img.move { + cursor: move; + text-align: center; } tbody tr:hover { @@ -38,41 +39,41 @@ } tr.modules td { - margin: 0; - padding: 5px; - border-bottom: 1px solid #ccc; - background-color:rgba(200,110,20,0.3); - vertical-align: middle; + margin: 0; + padding: 5px; + border-bottom: 1px solid #ccc; + background-color:rgba(200,110,20,0.3); + vertical-align: middle; } tr.tables td { - /* display: block; Problems in FireFox and Opera */ - margin: 0; - padding: 5px; - border-bottom: 1px solid #ccc; - background-color:rgba(230,130,100,0.3); - vertical-align: middle; + /* display: block; Problems in FireFox and Opera */ + margin: 0; + padding: 5px; + border-bottom: 1px solid #ccc; + background-color:rgba(230,130,100,0.3); + vertical-align: middle; } tr.fields td { - /* display: block; Problems in FireFox and Opera */ - margin: 0; - padding: 5px; - border-bottom: 1px solid #ccc; - background-color:rgba(0,255,0,0.3); - vertical-align: middle; + /* display: block; Problems in FireFox and Opera */ + margin: 0; + padding: 5px; + border-bottom: 1px solid #ccc; + background-color:rgba(0,255,0,0.3); + vertical-align: middle; } /*#show_rows { margin: 0; padding: 0; width: 60%; } #sortable tr { margin: 0 3px 3px 3px; padding: 0.4em; padding-left: 1.5em; font-size: 1.1em; height: 16px; }*/ .toggleChild { - display: none; + display: none; } img.imageToggle { - width: 16px; - height: 16px; + width: 16px; + height: 16px; } .even { Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/sortable.js =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/sortable.js 2015-04-26 16:14:14 UTC (rev 13046) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/sortable.js 2015-04-27 19:41:43 UTC (rev 13047) @@ -2,42 +2,23 @@ // When the page is loaded define the current order and items to reorder /* Call the container items to reorder tables */ $(document).ready(function() { - $('.table-list').sortable({ - opacity: 0.6, - handle : '.move', - cursor: 'move', - update: function() { + $('.table-list').sortable({ opacity: 0.6, handle : '.move', cursor: 'move', + update: function(event, ui) { var order = $(this).sortable('serialize') + '&op=order'; - $('#info').load('tables.php'); $.post('tables.php', order, function(response) { $('#message').html(response); - }); + }); } - }); + }).disableSelection(); }); /* Call the container items to reorder fields */ $(document).ready(function() { - $('.field-list').sortable({ - opacity: 0.6, - handle : '.move', - cursor: 'move', + $('.field-list').sortable({ opacity: 0.6, handle : '.move', cursor: 'move', update: function() { var order = $(this).sortable('serialize') + '&op=order'; - $('#info').load('fields.php'); $.post('fields.php', order, function(response) { $('#message').html(response); - }); + }); } - }); -}); -/* -$(document).ready(function() { - $('.field-list').sortable({ // definisco il contenitore di elementi da riordinare - handle : '.move', // definisco con la classe .move quali sono gli elementi trascinabili - update : function () { // aggiorno l'ordine ed eseguo una callback - // salvo una variabile che contiene l'array con il nuovo ordine degli elementi - var order = $('.field-list').sortable('serialize') + '&op=order'; - $("#info").load('fields.php'); - } - }); -});*/ \ No newline at end of file + }).disableSelection(); +}); \ No newline at end of file Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fields.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fields.php 2015-04-26 16:14:14 UTC (rev 13046) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fields.php 2015-04-27 19:41:43 UTC (rev 13047) @@ -352,7 +352,7 @@ $parameters_tray = new XoopsFormElementTray('', '<br />'); // Field Elements $criteria_element = new CriteriaCompo(); - $criteria_element->add(new Criteria('fieldelement_tid', $field_tid)); + $criteria_element->add(new Criteria('fieldelement_tid', 0)); $criteria_table = new CriteriaCompo(); $criteria_table->add(new Criteria('fieldelement_mid', $field_mid)); $field_elements_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_ELEMENT_NAME, 'field_element['.$id.']', $field->getVar('field_element')); Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/sql/mysql.sql =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/sql/mysql.sql 2015-04-26 16:14:14 UTC (rev 13046) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/sql/mysql.sql 2015-04-27 19:41:43 UTC (rev 13047) @@ -64,7 +64,7 @@ `table_name` VARCHAR(150) NOT NULL DEFAULT '', `table_fieldname` VARCHAR(150) NOT NULL DEFAULT '', `table_nbfields` INT(5) UNSIGNED NOT NULL DEFAULT '0', - `table_order` SMALLINT(3) UNSIGNED NOT NULL DEFAULT '0', + `table_order` SMALLINT(3) UNSIGNED NOT NULL DEFAULT '0', `table_image` VARCHAR(150) NOT NULL DEFAULT '', `table_autoincrement` TINYINT(1) NOT NULL DEFAULT '1', `table_blocks` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_fields.tpl =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_fields.tpl 2015-04-26 16:14:14 UTC (rev 13046) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_fields.tpl 2015-04-27 19:41:43 UTC (rev 13047) @@ -22,39 +22,41 @@ </tr> </thead> <tbody> - <{foreach item=table from=$tables_list}> - <tr id="table_<{$table.id}>" order="<{$table.order}>" class="fields toggleMain"> - <td class='center bold width5'>(<{$table.lid}>) - <a href="#" title="Toggle"><img class="imageToggle" src="<{$modPathIcon16}>/toggle.png" alt="Toggle" /></a> - </td> - <td class='center'><u class='bold'><{$table.name}></u></td> - <td class='center'><img src="<{xoModuleIcons32}><{$table.image}>" title="<{$table.name}>" alt="<{$table.name}>" /></td> - <td class='center bold'><{$table.nbfields}></td> - <td class='center'><img src="<{$modPathIcon16}>/fields.png" /></td> - <td class='center'><img src="<{$modPathIcon16}>/fields.png" /></td> - <td class='center'><img src="<{$modPathIcon16}>/fields.png" /></td> - <td class='center'><img src="<{$modPathIcon16}>/fields.png" /></td> - <td class='center'><img src="<{$modPathIcon16}>/fields.png" /></td> - <td class='center'><img src="<{$modPathIcon16}>/fields.png" /></td> - <td class='center'><img src="<{$modPathIcon16}>/fields.png" /></td> - <td class='center'><img src="<{$modPathIcon16}>/fields.png" /></td> - <td class='center'><img src="<{$modPathIcon16}>/fields.png" /></td> - <td class='xo-actions txtcenter width6'> - <a href="tables.php?op=edit&table_mid=<{$table.mid}>&table_id=<{$table.id}>" title="<{$smarty.const._AM_TDMCREATE_EDIT_TABLE}>"> - <img src="<{xoModuleIcons16 edit.png}>" alt="<{$smarty.const._AM_TDMCREATE_EDIT_TABLE}>" /> - </a> - <a href="fields.php?op=edit&field_mid=<{$table.mid}>&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}>" /> - </a> - <a href="fields.php?op=delete&field_tid=<{$table.id}>" title="<{$smarty.const._DELETE}>"> - <img src="<{xoModuleIcons16 delete.png}>" alt="<{$smarty.const._DELETE}>" /> - </a> - </td> - </tr> - <tr class="toggleChild"> - <td id="sortable" colspan="14" class='center'><{includeq file="db:tdmcreate_fields_item.tpl" table=$table}></td> - </tr> - <{/foreach}> + <{foreach item=table from=$tables_list}> + <{if $table.id > 0}> + <tr id="table_<{$table.id}>" order="<{$table.order}>" class="fields toggleMain"> + <td class='center bold width5'>(<{$table.lid}>) + <a href="#" title="Toggle"><img class="imageToggle" src="<{$modPathIcon16}>/toggle.png" alt="Toggle" /></a> + </td> + <td class='center'><u class='bold'><{$table.name}></u></td> + <td class='center'><img src="<{xoModuleIcons32}><{$table.image}>" title="<{$table.name}>" alt="<{$table.name}>" /></td> + <td class='center bold'><{$table.nbfields}></td> + <td class='center'><img src="<{$modPathIcon16}>/fields.png" /></td> + <td class='center'><img src="<{$modPathIcon16}>/fields.png" /></td> + <td class='center'><img src="<{$modPathIcon16}>/fields.png" /></td> + <td class='center'><img src="<{$modPathIcon16}>/fields.png" /></td> + <td class='center'><img src="<{$modPathIcon16}>/fields.png" /></td> + <td class='center'><img src="<{$modPathIcon16}>/fields.png" /></td> + <td class='center'><img src="<{$modPathIcon16}>/fields.png" /></td> + <td class='center'><img src="<{$modPathIcon16}>/fields.png" /></td> + <td class='center'><img src="<{$modPathIcon16}>/fields.png" /></td> + <td class='xo-actions txtcenter width6'> + <a href="tables.php?op=edit&table_mid=<{$table.mid}>&table_id=<{$table.id}>" title="<{$smarty.const._AM_TDMCREATE_EDIT_TABLE}>"> + <img src="<{xoModuleIcons16 edit.png}>" alt="<{$smarty.const._AM_TDMCREATE_EDIT_TABLE}>" /> + </a> + <a href="fields.php?op=edit&field_mid=<{$table.mid}>&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}>" /> + </a> + <a href="fields.php?op=delete&field_tid=<{$table.id}>" title="<{$smarty.const._DELETE}>"> + <img src="<{xoModuleIcons16 delete.png}>" alt="<{$smarty.const._DELETE}>" /> + </a> + </td> + </tr> + <tr class="toggleChild"> + <td class="sortable" colspan="14"><{includeq file="db:tdmcreate_fields_item.tpl" table=$table}></td> + </tr> + <{/if}> + <{/foreach}> </tbody> </table><br /><br /> <!-- Display modules navigation --> Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_fields_item.tpl =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_fields_item.tpl 2015-04-26 16:14:14 UTC (rev 13046) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_fields_item.tpl 2015-04-27 19:41:43 UTC (rev 13047) @@ -2,7 +2,7 @@ <tbody class="field-list"> <{foreach item=field from=$table.fields}> <{if $field.id > 0}> - <tr id="field_<{$table.id}>_<{$field.id}>" order="<{$field.order}>" class="<{cycle values='even,odd'}>"> + <tr id="field_order_<{$field.tid}>_<{$field.id}>_<{$field.order}>" order="<{$field.order}>" class="<{cycle values='even,odd'}>"> <td class='center width5'>[<{$field.lid}>] <img class="move" src="<{$modPathIcon16}>/drag.png" alt="<{$field.name}>" /></td> <td class='center width10'><{$field.name}></td> <td class='center'><img src="<{$modPathIcon16}>/tables.png" alt="Empty" /></td> Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_tables.tpl =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_tables.tpl 2015-04-26 16:14:14 UTC (rev 13046) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_tables.tpl 2015-04-27 19:41:43 UTC (rev 13047) @@ -2,63 +2,65 @@ <{includeq file="db:tdmcreate_header.tpl"}> <!-- Display modules list --> <{if $modules_list}> - <table class='outer width100'> - <thead> - <tr> - <th class='center'><{$smarty.const._AM_TDMCREATE_MODULE_ID}></th> - <th class='center'><{$smarty.const._AM_TDMCREATE_MODULE_NAME_LIST}></th> - <th class='center'><{$smarty.const._AM_TDMCREATE_MODULE_IMAGE_LIST}></th> - <th class='center'><{$smarty.const._AM_TDMCREATE_MODULE_NBFIELDS_LIST}></th> - <th class='center'><{$smarty.const._AM_TDMCREATE_MODULE_ADMIN_LIST}></th> - <th class='center'><{$smarty.const._AM_TDMCREATE_MODULE_USER_LIST}></th> - <th class='center'><{$smarty.const._AM_TDMCREATE_MODULE_BLOCKS_LIST}></th> - <th class='center'><{$smarty.const._AM_TDMCREATE_MODULE_SUBMENU_LIST}></th> - <th class='center'><{$smarty.const._AM_TDMCREATE_MODULE_SEARCH_LIST}></th> - <th class='center'><{$smarty.const._AM_TDMCREATE_MODULE_COMMENTS_LIST}></th> - <th class='center'><{$smarty.const._AM_TDMCREATE_MODULE_NOTIFICATIONS_LIST}></th> - <th class='center'><{$smarty.const._AM_TDMCREATE_MODULE_PERMISSIONS_LIST}></th> - <th class='center width6'><{$smarty.const._AM_TDMCREATE_FORMACTION}></th> - </tr> - </thead> - <tbody> - <{foreach item=module from=$modules_list}> - <tr id="module<{$module.id}>" class="tables toggleMain"> - <td class='center bold width5'>(<{$module.id}>) - <a href="#" title="Toggle"><img class="imageToggle" src="<{$modPathIcon16}>/toggle.png" alt="Toggle" /></a> - </td> - <td class='center bold green'><{$module.name}></td> - <td class='center'><img src="<{$tdmc_upload_imgmod_url}>/<{$module.image}>" alt="" height="35" /></td> - <td class='center'><img src="<{$modPathIcon16}>/fields.png" alt="16" /></td> - <td class='center'><img id="loading_img_admin<{$module.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_admin<{$module.id}>" onclick="tdmcreate_setStatus( { op: 'display_modules', mod_id: <{$module.id}>, mod_admin: <{if $module.admin == 1}>0<{else}>1<{/if}> }, 'img_admin<{$module.id}>', 'modules.php' )" src="<{xoModuleIcons16}><{$module.admin}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" /> - </td> - <td class='center'><img id="loading_img_user<{$module.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_user<{$module.id}>" onclick="tdmcreate_setStatus( { op: 'display_modules', mod_id: <{$module.id}>, mod_user: <{if $module.user}>0<{else}>1<{/if}> }, 'img_user<{$module.id}>', 'modules.php' )" src="<{xoModuleIcons16}><{$module.user}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" /> - </td> - <td class='center'><img id="loading_img_blocks<{$module.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_blocks<{$module.id}>" onclick="tdmcreate_setStatus( { op: 'display_modules', mod_id: <{$module.id}>, mod_blocks: <{if $module.blocks}>0<{else}>1<{/if}> }, 'img_blocks<{$module.id}>', 'modules.php' )" src="<{xoModuleIcons16}><{$module.blocks}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" /> - </td> - <td class='center'><img src="<{$tdmc_icons_url}>/16/submenu.png" alt="Submenu" title="Submenu" /></td> - <td class='center'><img id="loading_img_search<{$module.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_search<{$module.id}>" onclick="tdmcreate_setStatus( { op: 'display_modules', mod_id: <{$module.id}>, mod_search: <{if $module.search}>0<{else}>1<{/if}> }, 'img_search<{$module.id}>', 'modules.php' )" src="<{xoModuleIcons16}><{$module.search}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" /> - </td> - <td class='center'><img id="loading_img_comments<{$module.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_comments<{$module.id}>" onclick="tdmcreate_setStatus( { op: 'display_modules', mod_id: <{$module.id}>, mod_comments: <{if $module.comments}>0<{else}>1<{/if}> }, 'img_comments<{$module.id}>', 'modules.php' )" src="<{xoModuleIcons16}><{$module.comments}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" /> - </td> - <td class='center'><img id="loading_img_notifications<{$module.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_notifications<{$module.id}>" onclick="tdmcreate_setStatus( { op: 'display_modules', mod_id: <{$module.id}>, mod_notifications: <{if $module.notifications}>0<{else}>1<{/if}> }, 'img_notifications<{$module.id}>', 'modules.php' )" src="<{xoModuleIcons16}><{$module.notifications}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" /> - </td> - <td class='center'><img id="loading_img_permissions<{$module.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_permissions<{$module.id}>" onclick="tdmcreate_setStatus( { op: 'display_modules', mod_id: <{$module.id}>, mod_permissions: <{if $module.permissions}>0<{else}>1<{/if}> }, 'img_permissions<{$module.id}>', 'modules.php' )" src="<{xoModuleIcons16}><{$module.permissions}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" /> - </td> - <td class='xo-actions txtcenter width6'> - <a href="modules.php?op=edit&mod_id=<{$module.id}>" title="<{$smarty.const._EDIT}>"> - <img src="<{xoModuleIcons16 edit.png}>" alt="<{$smarty.const._EDIT}>" alt="<{$smarty.const._EDIT}>" /> - </a> - <a href="modules.php?op=delete&mod_id=<{$module.id}>" title="<{$smarty.const._DELETE}>"> - <img src="<{xoModuleIcons16 delete.png}>" alt="<{$smarty.const._DELETE}>" alt="<{$smarty.const._DELETE}>" /> - </a> - </td> - </tr> - <tr class="toggleChild"> - <td id="sortable" colspan="13" class='center'><{includeq file="db:tdmcreate_tables_item.tpl" module=$module}></td> - </tr> - <{/foreach}> - </tbody> - </table><br /><br /> + <table class='outer width100'> + <thead> + <tr> + <th class='center'><{$smarty.const._AM_TDMCREATE_MODULE_ID}></th> + <th class='center'><{$smarty.const._AM_TDMCREATE_MODULE_NAME_LIST}></th> + <th class='center'><{$smarty.const._AM_TDMCREATE_MODULE_IMAGE_LIST}></th> + <th class='center'><{$smarty.const._AM_TDMCREATE_MODULE_NBFIELDS_LIST}></th> + <th class='center'><{$smarty.const._AM_TDMCREATE_MODULE_ADMIN_LIST}></th> + <th class='center'><{$smarty.const._AM_TDMCREATE_MODULE_USER_LIST}></th> + <th class='center'><{$smarty.const._AM_TDMCREATE_MODULE_BLOCKS_LIST}></th> + <th class='center'><{$smarty.const._AM_TDMCREATE_MODULE_SUBMENU_LIST}></th> + <th class='center'><{$smarty.const._AM_TDMCREATE_MODULE_SEARCH_LIST}></th> + <th class='center'><{$smarty.const._AM_TDMCREATE_MODULE_COMMENTS_LIST}></th> + <th class='center'><{$smarty.const._AM_TDMCREATE_MODULE_NOTIFICATIONS_LIST}></th> + <th class='center'><{$smarty.const._AM_TDMCREATE_MODULE_PERMISSIONS_LIST}></th> + <th class='center width6'><{$smarty.const._AM_TDMCREATE_FORMACTION}></th> + </tr> + </thead> + <tbody> + <{foreach item=module from=$modules_list}> + <{if $module.id > 0}> + <tr id="module<{$module.id}>" class="tables toggleMain"> + <td class='center bold width5'>(<{$module.id}>) + <a href="#" title="Toggle"><img class="imageToggle" src="<{$modPathIcon16}>/toggle.png" alt="Toggle" /></a> + </td> + <td class='center bold green'><{$module.name}></td> + <td class='center'><img src="<{$tdmc_upload_imgmod_url}>/<{$module.image}>" alt="" height="35" /></td> + <td class='center'><img src="<{$modPathIcon16}>/fields.png" alt="16" /></td> + <td class='center'><img id="loading_img_admin<{$module.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_admin<{$module.id}>" onclick="tdmcreate_setStatus( { op: 'display_modules', mod_id: <{$module.id}>, mod_admin: <{if $module.admin == 1}>0<{else}>1<{/if}> }, 'img_admin<{$module.id}>', 'modules.php' )" src="<{xoModuleIcons16}><{$module.admin}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" /> + </td> + <td class='center'><img id="loading_img_user<{$module.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_user<{$module.id}>" onclick="tdmcreate_setStatus( { op: 'display_modules', mod_id: <{$module.id}>, mod_user: <{if $module.user}>0<{else}>1<{/if}> }, 'img_user<{$module.id}>', 'modules.php' )" src="<{xoModuleIcons16}><{$module.user}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" /> + </td> + <td class='center'><img id="loading_img_blocks<{$module.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_blocks<{$module.id}>" onclick="tdmcreate_setStatus( { op: 'display_modules', mod_id: <{$module.id}>, mod_blocks: <{if $module.blocks}>0<{else}>1<{/if}> }, 'img_blocks<{$module.id}>', 'modules.php' )" src="<{xoModuleIcons16}><{$module.blocks}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" /> + </td> + <td class='center'><img src="<{$tdmc_icons_url}>/16/submenu.png" alt="Submenu" title="Submenu" /></td> + <td class='center'><img id="loading_img_search<{$module.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_search<{$module.id}>" onclick="tdmcreate_setStatus( { op: 'display_modules', mod_id: <{$module.id}>, mod_search: <{if $module.search}>0<{else}>1<{/if}> }, 'img_search<{$module.id}>', 'modules.php' )" src="<{xoModuleIcons16}><{$module.search}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" /> + </td> + <td class='center'><img id="loading_img_comments<{$module.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_comments<{$module.id}>" onclick="tdmcreate_setStatus( { op: 'display_modules', mod_id: <{$module.id}>, mod_comments: <{if $module.comments}>0<{else}>1<{/if}> }, 'img_comments<{$module.id}>', 'modules.php' )" src="<{xoModuleIcons16}><{$module.comments}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" /> + </td> + <td class='center'><img id="loading_img_notifications<{$module.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_notifications<{$module.id}>" onclick="tdmcreate_setStatus( { op: 'display_modules', mod_id: <{$module.id}>, mod_notifications: <{if $module.notifications}>0<{else}>1<{/if}> }, 'img_notifications<{$module.id}>', 'modules.php' )" src="<{xoModuleIcons16}><{$module.notifications}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" /> + </td> + <td class='center'><img id="loading_img_permissions<{$module.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_permissions<{$module.id}>" onclick="tdmcreate_setStatus( { op: 'display_modules', mod_id: <{$module.id}>, mod_permissions: <{if $module.permissions}>0<{else}>1<{/if}> }, 'img_permissions<{$module.id}>', 'modules.php' )" src="<{xoModuleIcons16}><{$module.permissions}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" /> + </td> + <td class='xo-actions txtcenter width6'> + <a href="modules.php?op=edit&mod_id=<{$module.id}>" title="<{$smarty.const._EDIT}>"> + <img src="<{xoModuleIcons16 edit.png}>" alt="<{$smarty.const._EDIT}>" alt="<{$smarty.const._EDIT}>" /> + </a> + <a href="modules.php?op=delete&mod_id=<{$module.id}>" title="<{$smarty.const._DELETE}>"> + <img src="<{xoModuleIcons16 delete.png}>" alt="<{$smarty.const._DELETE}>" alt="<{$smarty.const._DELETE}>" /> + </a> + </td> + </tr> + <tr class="toggleChild"> + <td class="sortable" colspan="13"><{includeq file="db:tdmcreate_tables_item.tpl" module=$module}></td> + </tr> + <{/if}> + <{/foreach}> + </tbody> + </table><br /><br /> <!-- Display modules navigation --> <div class="clear"> </div> <{if $pagenav}><div class="xo-pagenav floatright"><{$pagenav}></div><div class="clear spacer"></div><{/if}> |
From: <txm...@us...> - 2015-04-26 16:14:16
|
Revision: 13046 http://sourceforge.net/p/xoops/svn/13046 Author: txmodxoops Date: 2015-04-26 16:14:14 +0000 (Sun, 26 Apr 2015) Log Message: ----------- Added Chechbox all controll Modified Paths: -------------- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/tables.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/language/english/admin.php Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/tables.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/tables.php 2015-04-26 15:06:26 UTC (rev 13045) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/tables.php 2015-04-26 16:14:14 UTC (rev 13046) @@ -174,13 +174,19 @@ $form->addElement($imgtray1); // $table_autoincrement = $this->isNew() ? 1 : $this->getVar('table_autoincrement'); - $check_table_autoincrement = new XoopsFormCheckBox(_AM_TDMCREATE_TABLE_AUTO_INCREMENT, 'table_autoincrement', $table_autoincrement); + $check_table_autoincrement = new XoopsFormRadioYN(_AM_TDMCREATE_TABLE_AUTO_INCREMENT, 'table_autoincrement', $table_autoincrement); $check_table_autoincrement->setDescription(_AM_TDMCREATE_TABLE_AUTO_INCREMENT_DESC); - $check_table_autoincrement->addOption(1, _AM_TDMCREATE_TABLE_AUTO_INCREMENT_OPTION); + //$check_table_autoincrement->addOption(1, _AM_TDMCREATE_TABLE_AUTO_INCREMENT_OPTION); $form->addElement($check_table_autoincrement); // $options_tray = new XoopsFormElementTray(_OPTIONS, '<br />'); // + $table_checkbox_all = new XoopsFormCheckBox('', "tablebox", 1); + $table_checkbox_all->addOption('allbox', _AM_TDMCREATE_TABLE_ALL ); + $table_checkbox_all->setExtra(" onclick='xoopsCheckAll(\"tableform\", \"tablebox\");' "); + $table_checkbox_all->setClass('xo-checkall'); + $options_tray->addElement($table_checkbox_all); + // $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); Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/language/english/admin.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/language/english/admin.php 2015-04-26 15:06:26 UTC (rev 13045) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/language/english/admin.php 2015-04-26 16:14:14 UTC (rev 13046) @@ -146,6 +146,7 @@ define('_AM_TDMCREATE_TABLE_FIELDNAME_DESC', "This is the prefix of field name (optional)<br />If you leave the field blank, doesn't appear anything in the fields of the next screen,<br />otherwise you'll see all the fields with a prefix type (i.e.: <span class='bold'>cat</span> of table <span class='bold'>categories</span>).<br /><b class='red bold'>WARNING</b>: It's recommended to use singolar word"); define('_AM_TDMCREATE_TABLE_OPTIONS_CHECKS_DESC', "For each table created, a file is created on behalf of this.<br /> Selecting one or more of these options, deciding whether to enter the name of the file to other files or you define a condition in these other files, need to be created or not."); +define('_AM_TDMCREATE_TABLE_ALL', "Check All"); define('_AM_TDMCREATE_TABLE_IMAGE', "Table Logo"); //define('_AM_TDMCREATE_TABLE_IMAGE_DESC', "You can choose an image from the list, or upload a new one from your computer"); // Added in version 1.91 |
From: <txm...@us...> - 2015-04-26 15:06:28
|
Revision: 13045 http://sourceforge.net/p/xoops/svn/13045 Author: txmodxoops Date: 2015-04-26 15:06:26 +0000 (Sun, 26 Apr 2015) Log Message: ----------- fixed Modified Paths: -------------- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminIndex.php Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminIndex.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminIndex.php 2015-04-26 13:03:22 UTC (rev 13044) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminIndex.php 2015-04-26 15:06:26 UTC (rev 13045) @@ -74,6 +74,7 @@ { $tableName = $tables[$i]->getVar('table_name'); $content .= <<<EOT +\${$tableName}Handler =& \${$moduleDirname}->getHandler('{$tableName}'); \$count_{$tableName} = \${$tableName}Handler->getCount();\n EOT; } |
From: <txm...@us...> - 2015-04-26 13:03:29
|
Revision: 13044 http://sourceforge.net/p/xoops/svn/13044 Author: txmodxoops Date: 2015-04-26 13:03:22 +0000 (Sun, 26 Apr 2015) Log Message: ----------- Fixed table_order Modified Paths: -------------- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/sql/mysql.sql Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/sql/mysql.sql =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/sql/mysql.sql 2015-04-26 12:17:46 UTC (rev 13043) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/sql/mysql.sql 2015-04-26 13:03:22 UTC (rev 13044) @@ -64,6 +64,7 @@ `table_name` VARCHAR(150) NOT NULL DEFAULT '', `table_fieldname` VARCHAR(150) NOT NULL DEFAULT '', `table_nbfields` INT(5) UNSIGNED NOT NULL DEFAULT '0', + `table_order` SMALLINT(3) UNSIGNED NOT NULL DEFAULT '0', `table_image` VARCHAR(150) NOT NULL DEFAULT '', `table_autoincrement` TINYINT(1) NOT NULL DEFAULT '1', `table_blocks` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', |
From: <txm...@us...> - 2015-04-26 12:17:59
|
Revision: 13043 http://sourceforge.net/p/xoops/svn/13043 Author: txmodxoops Date: 2015-04-26 12:17:46 +0000 (Sun, 26 Apr 2015) Log Message: ----------- Sortable tables for order menu and icons in admin index.php Modified Paths: -------------- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/fields.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/tables.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/css/admin/style.css XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/functions.js XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateArchitecture.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminHeader.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminPages.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/logoGenerator.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/modules.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/tables.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/include/common.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/language/english/admin.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_fields.tpl XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_fields_item.tpl XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_tables.tpl XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/xoops_version.php Added Paths: ----------- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/fonts/ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/fonts/VeraBd.ttf XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/fonts/green.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/fonts/index.html XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/fonts/red.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/fonts/xcvLogo.txt XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/sortable.js Removed Paths: ------------- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/32/brokenlink.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/32/category.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/32/download.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/32/plugin.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/32/stats.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/logo.png Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/fields.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/fields.php 2015-04-24 22:03:15 UTC (rev 13042) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/fields.php 2015-04-26 12:17:46 UTC (rev 13043) @@ -25,6 +25,7 @@ $fieldMid = XoopsRequest::getInt('field_mid'); $fieldTid = XoopsRequest::getInt('field_tid'); $fieldNumb = XoopsRequest::getInt('field_numb'); +$fieldOrder = XoopsRequest::getInt('field_order'); $fieldName = XoopsRequest::getString('field_name', ''); // switch op switch ($op) @@ -37,7 +38,7 @@ $template_main = 'tdmcreate_fields.tpl'; $GLOBALS['xoTheme']->addStylesheet( 'modules/tdmcreate/assets/css/admin/style.css' ); $GLOBALS['xoTheme']->addScript('modules/tdmcreate/assets/js/functions.js'); - $GLOBALS['xoTheme']->addScript('modules/tdmcreate/assets/js/fields.js'); + $GLOBALS['xoTheme']->addScript('modules/tdmcreate/assets/js/sortable.js'); $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('fields.php')); $adminMenu->addItemButton(_AM_TDMCREATE_ADD_TABLE, 'tables.php?op=new', 'add'); $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton()); @@ -54,30 +55,35 @@ } unset($countModules); // Redirect if there aren't tables - $countTables = $tdmcreate->getHandler('tables')->getCount(); + $handlerTables = $tdmcreate->getHandler('tables'); + $countTables = $handlerTables->getCount(); if ($countTables == 0) { redirect_header('tables.php?op=new', 2, _AM_TDMCREATE_NOTTABLES ); } unset($countTables); // Get the list of tables $criteria = new CriteriaCompo(); + $criteria->add(new Criteria('table_mid', $handlerTables->getVar('table_mid'))); $criteria->setStart($start); $criteria->setLimit($limit); - $criteria->setSort('table_id ASC, table_name'); + $criteria->setSort('table_id ASC, table_order ASC, table_name'); $criteria->setOrder('ASC'); $countTables = $tdmcreate->getHandler('tables')->getCount($criteria); $tablesAll = $tdmcreate->getHandler('tables')->getAll($criteria); unset($criteria); if ($countTables > 0) { + $tlid = 1; foreach (array_keys($tablesAll) as $tid) { // Display tables list - $table['id'] = $tid; + $table['id'] = $tid; + $table['lid'] = $tlid; $table['mid'] = $tablesAll[$tid]->getVar('table_mid'); $table['name'] = ucfirst($tablesAll[$tid]->getVar('table_name')); $table['image'] = $tablesAll[$tid]->getVar('table_image'); $table['nbfields'] = $tablesAll[$tid]->getVar('table_nbfields'); + $table['order'] = $tablesAll[$tid]->getVar('table_order'); $table['autoincrement'] = $tablesAll[$tid]->getVar('table_autoincrement'); $table['blocks'] = $tablesAll[$tid]->getVar('table_blocks'); $table['admin'] = $tablesAll[$tid]->getVar('table_admin'); @@ -87,7 +93,7 @@ $criteria = new CriteriaCompo(); $criteria->add(new Criteria('field_mid', $table['mid'])); $criteria->add(new Criteria('field_tid', $tid)); - $criteria->setSort('field_id ASC, field_name'); + $criteria->setSort('field_order ASC, field_id ASC, field_name'); $criteria->setOrder('ASC'); $countFields = $tdmcreate->getHandler('fields')->getCount($criteria); $fieldsAll = $tdmcreate->getHandler('fields')->getObjects($criteria); @@ -114,14 +120,16 @@ $field['required'] = $fieldsAll[$fid]->getVar('field_required'); $fields[] = $field; unset($field); - $lid++; + $lid++; } } + $tlid++; unset($lid); $table['fields'] = $fields; $GLOBALS['xoopsTpl']->append('tables_list', $table); unset($table); } + unset($tlid); unset($fields); if ( $countTables > $limit ) { include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; @@ -137,7 +145,6 @@ // Define main template $template_main = 'tdmcreate_fields.tpl'; $GLOBALS['xoTheme']->addStylesheet( 'modules/tdmcreate/assets/css/admin/style.css' ); - $GLOBALS['xoTheme']->addScript('modules/tdmcreate/assets/js/fields.js'); $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('fields.php')); $adminMenu->addItemButton(_AM_TDMCREATE_TABLES_LIST, 'tables.php', 'list'); $adminMenu->addItemButton(_AM_TDMCREATE_FIELDS_LIST, 'fields.php', 'list'); @@ -156,7 +163,6 @@ $fieldId = XoopsRequest::getInt('field_id'); // Fields Handler $fields = $tdmcreate->getHandler('fields'); - $orderId = 1; // Set Variables foreach($_POST['field_id'] as $key => $value) { @@ -164,13 +170,14 @@ $fieldsObj =& $fields->get($value); } else { $fieldsObj =& $fields->create(); - } + } + $order = $fieldsObj->isNew() ? $fieldOrder + 1 : $fieldOrder; if (isset($fieldMid) && isset($fieldTid) && !empty($_POST['field_name'][$key])) { // Set Data $fieldsObj->setVar( 'field_mid', $fieldMid ); $fieldsObj->setVar( 'field_tid', $fieldTid ); $fieldsObj->setVar( 'field_numb', $fieldNumb ); - $fieldsObj->setVar( 'field_order', (isset($_POST['field_order'][$key]) ? $_POST['field_order'][$key] : $orderId) ); + $fieldsObj->setVar( 'field_order', (isset($_POST['field_order'][$key]) ? $_POST['field_order'][$key] : $order) ); $fieldsObj->setVar( 'field_name', (!empty($_POST['field_name'][$key]) ? $_POST['field_name'][$key] : '') ); $fieldsObj->setVar( 'field_type', (!empty($_POST['field_type'][$key]) ? $_POST['field_type'][$key] : '') ); $fieldsObj->setVar( 'field_value', (!empty($_POST['field_value'][$key]) ? $_POST['field_value'][$key] : '') ); @@ -236,7 +243,7 @@ break; case 'order': - foreach($_REQUEST['field_id'] as $order => $id) { + foreach($_REQUEST['field_order'] as $order => $id) { if( $order > 0 ) { $fieldsObj = $tdmcreate->getHandler('fields')->get( $id ); $fieldsObj->setVar('field_order', $order); @@ -267,7 +274,7 @@ // $fields = $tdmcreate->getHandler('fields'); // Fields Handler - foreach($_REQUEST['field_id'] as $key => $value) + foreach($_POST['field_id'] as $key => $value) { $fieldsObj =& $fields->get($value); $fieldsObj->setVar( 'field_parent', ((isset($_REQUEST['field_parent'][$key]) == 1) ? 1 : 0) ); Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/tables.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/tables.php 2015-04-24 22:03:15 UTC (rev 13042) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/tables.php 2015-04-26 12:17:46 UTC (rev 13043) @@ -28,6 +28,7 @@ $tableMid = XoopsRequest::getInt('table_mid'); $tableName = XoopsRequest::getInt('table_name'); $tableNumbFields = XoopsRequest::getInt('table_nbfields'); +$tableOrder = XoopsRequest::getInt('table_order'); $tableFieldname = XoopsRequest::getString('table_fieldname', ''); // switch ($op) @@ -40,6 +41,7 @@ $template_main = 'tdmcreate_tables.tpl'; $GLOBALS['xoTheme']->addStylesheet( 'modules/tdmcreate/assets/css/admin/style.css' ); $GLOBALS['xoTheme']->addScript('modules/tdmcreate/assets/js/functions.js'); + $GLOBALS['xoTheme']->addScript('modules/tdmcreate/assets/js/sortable.js'); $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('tables.php')); $adminMenu->addItemButton(_AM_TDMCREATE_ADD_TABLE, 'tables.php?op=new', 'add'); $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton()); @@ -88,7 +90,7 @@ // Get the list of tables $criteria = new CriteriaCompo(); $criteria->add(new Criteria('table_mid', $i)); - $criteria->setSort('table_id ASC, table_name'); + $criteria->setSort('table_order ASC, table_id ASC, table_name'); $criteria->setOrder('ASC'); $numbTables = $tdmcreate->getHandler('tables')->getCount($criteria); $tables_arr = $tdmcreate->getHandler('tables')->getAll($criteria); @@ -105,7 +107,8 @@ $table['mid'] = $tables_arr[$t]->getVar('table_mid'); $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['nbfields'] = $tables_arr[$t]->getVar('table_nbfields'); + $table['order'] = $tables_arr[$t]->getVar('table_order'); $table['blocks'] = $tables_arr[$t]->getVar('table_blocks'); $table['admin'] = $tables_arr[$t]->getVar('table_admin'); $table['user'] = $tables_arr[$t]->getVar('table_user'); @@ -171,12 +174,14 @@ $tablesObj =& $tables->get($tableId); } else { $tablesObj =& $tables->create(); - } + } + $order = $tablesObj->isNew() ? $tableOrder + 1 : $tableOrder; // Form save tables $tablesObj->setVars(array('table_mid' => $tableMid, 'table_name' => $_POST['table_name'], 'table_category' => (($_REQUEST['table_category'] == 1) ? '1' : '0'), - 'table_nbfields' => $tableNumbFields, + 'table_nbfields' => $tableNumbFields, + 'table_order' => $order, 'table_fieldname' => $tableFieldname)); //Form table_image include_once XOOPS_ROOT_PATH.'/class/uploader.php'; @@ -248,6 +253,18 @@ $form = $tablesObj->getForm(); $GLOBALS['xoopsTpl']->assign('form', $form->render()); break; + + case 'order': + foreach($_POST['table_order'] as $order => $id) { + if( $order > 0 ) { + $tablesObj = $tdmcreate->getHandler('tables')->get( $id ); + $tablesObj->setVar('table_order', $order); + if (!$tdmcreate->getHandler('tables')->insert( $tablesObj )) { + redirect_header('tables.php', 5, _AM_TDMCREATE_FIELD_ORDER_ERROR); + } + } + } + break; case 'delete': $tablesObj =& $tdmcreate->getHandler('tables')->get($tableId); Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/css/admin/style.css =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/css/admin/style.css 2015-04-24 22:03:15 UTC (rev 13042) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/css/admin/style.css 2015-04-26 12:17:46 UTC (rev 13043) @@ -28,7 +28,7 @@ table { margin: 0; padding: 0; } -/* Sortable tables */ +/* Sortable tables & fields */ tbody tr.sortable td img.move { cursor: move; } @@ -137,8 +137,81 @@ background-color: #efefef; } -.field-list tr { margin: 0; padding: 0; /*list-style: none;*/ } +.table-list tr { margin: 0; padding: 0; } +.table-list tr td { display: block; } + +.table-list tr td img.move { + margin-right: 20px; + cursor: move; + vertical-align: middle; +} +.table-list tr td strong { + vertical-align: middle; +} + +tbody.table-list tr td { + text-align: center; +} + +tbody.table-list tr td { + text-align: center; +} + +.cell.cell-width1 { + width: 4%; +} + +.cell.cell-width2 { + width: 10%; +} + +.cell.cell-width3 { + width: 8%; +} + +.cell.cell-width4 { + width: 5%; +} + +.cell.cell-width5 { + width: 5%; +} + +.cell.cell-width6 { + width: 4%; +} + +.cell.cell-width7 { + width: 5%; +} + +.cell.cell-width8 { + width: 8%; +} + +.cell.cell-width9 { + width: 6%; +} + +.cell.cell-width10 { + width: 8%; +} + +.cell.cell-width11 { + width: 9%; +} + +.cell.cell-width12 { + width: 9%; +} + +.cell.cell-width13 { + width: 5%; +} + +.field-list tr { margin: 0; padding: 0; } + .field-list tr td { display: block; } .field-list tr td { Added: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/fonts/VeraBd.ttf =================================================================== (Binary files differ) Index: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/fonts/VeraBd.ttf =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/fonts/VeraBd.ttf 2015-04-24 22:03:15 UTC (rev 13042) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/fonts/VeraBd.ttf 2015-04-26 12:17:46 UTC (rev 13043) Property changes on: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/fonts/VeraBd.ttf ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/fonts/green.png =================================================================== (Binary files differ) Index: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/fonts/green.png =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/fonts/green.png 2015-04-24 22:03:15 UTC (rev 13042) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/fonts/green.png 2015-04-26 12:17:46 UTC (rev 13043) Property changes on: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/fonts/green.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/fonts/index.html =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/fonts/index.html (rev 0) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/fonts/index.html 2015-04-26 12:17:46 UTC (rev 13043) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/fonts/red.png =================================================================== (Binary files differ) Index: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/fonts/red.png =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/fonts/red.png 2015-04-24 22:03:15 UTC (rev 13042) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/fonts/red.png 2015-04-26 12:17:46 UTC (rev 13043) Property changes on: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/fonts/red.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/fonts/xcvLogo.txt =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/fonts/xcvLogo.txt (rev 0) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/fonts/xcvLogo.txt 2015-04-26 12:17:46 UTC (rev 13043) @@ -0,0 +1 @@ +display:table-cell; vertical-align:middle; \ No newline at end of file Deleted: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/32/brokenlink.png =================================================================== (Binary files differ) Deleted: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/32/category.png =================================================================== (Binary files differ) Deleted: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/32/download.png =================================================================== (Binary files differ) Deleted: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/32/plugin.png =================================================================== (Binary files differ) Deleted: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/32/stats.png =================================================================== (Binary files differ) Deleted: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/logo.png =================================================================== (Binary files differ) Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/functions.js =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/functions.js 2015-04-24 22:03:15 UTC (rev 13042) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/functions.js 2015-04-26 12:17:46 UTC (rev 13043) @@ -31,7 +31,7 @@ moduleImageSelected = moduleImageDom.options[moduleImageDom.selectedIndex].value; $.ajax({ type:'GET', - url:xoopsUrl + "/modules/tdmcreate/class/logoGenerator.php?f=phpFunction&iconName=" + iconName + "&caption=" + caption, + url:xoopsUrl + "/class/logoGenerator.php?f=phpFunction&iconName=" + iconName + "&caption=" + caption, // call php function , phpFunction=function Name , x= parameter data:{}, dataType:"html", @@ -48,8 +48,8 @@ fileExist=true;} } if (null == fileExist){ - var opt = document.createElement("option"); - document.getElementById("mod_image").options.add(opt); + var opt = document.createElement('option'); + document.getElementById('mod_image').options.add(opt); opt.text = mycheck; opt.value = mycheck; } Added: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/sortable.js =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/sortable.js (rev 0) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/sortable.js 2015-04-26 12:17:46 UTC (rev 13043) @@ -0,0 +1,43 @@ +// Jquery function for order fields +// When the page is loaded define the current order and items to reorder +/* Call the container items to reorder tables */ +$(document).ready(function() { + $('.table-list').sortable({ + opacity: 0.6, + handle : '.move', + cursor: 'move', + update: function() { + var order = $(this).sortable('serialize') + '&op=order'; + $('#info').load('tables.php'); + $.post('tables.php', order, function(response) { + $('#message').html(response); + }); + } + }); +}); +/* Call the container items to reorder fields */ +$(document).ready(function() { + $('.field-list').sortable({ + opacity: 0.6, + handle : '.move', + cursor: 'move', + update: function() { + var order = $(this).sortable('serialize') + '&op=order'; + $('#info').load('fields.php'); + $.post('fields.php', order, function(response) { + $('#message').html(response); + }); + } + }); +}); +/* +$(document).ready(function() { + $('.field-list').sortable({ // definisco il contenitore di elementi da riordinare + handle : '.move', // definisco con la classe .move quali sono gli elementi trascinabili + update : function () { // aggiorno l'ordine ed eseguo una callback + // salvo una variabile che contiene l'array con il nuovo ordine degli elementi + var order = $('.field-list').sortable('serialize') + '&op=order'; + $("#info").load('fields.php'); + } + }); +});*/ \ No newline at end of file Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateArchitecture.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateArchitecture.php 2015-04-24 22:03:15 UTC (rev 13042) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateArchitecture.php 2015-04-26 12:17:46 UTC (rev 13043) @@ -292,7 +292,7 @@ if( $module->getVar('mod_admin') == 1 ) { // Admin Header File $adminHeader = AdminHeader::getInstance(); - $adminHeader->write($module, $table, $tables, 'header.php'); + $adminHeader->write($module, $table, 'header.php'); $ret[] = $adminHeader->render(); // Admin Index File $adminIndex = AdminIndex::getInstance(); @@ -351,7 +351,7 @@ $languageBlocks->write($module, $tables, 'blocks.php'); $ret[] = $languageBlocks->render(); } - // Creation of admin permission file + // Creation of admin permission files if ( $table->getVar('table_permissions') == 1 ) { // Admin Permissions File $adminPermissions = AdminPermissions::getInstance(); Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminHeader.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminHeader.php 2015-04-24 22:03:15 UTC (rev 13042) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminHeader.php 2015-04-26 12:17:46 UTC (rev 13043) @@ -48,26 +48,19 @@ * @param array $tables * @param string $filename */ - public function write($module, $table, $tables, $filename) { + public function write($module, $table, $filename) { $this->setModule($module); $this->setTable($table); - $this->setTables($tables); $this->setFileName($filename); } /* - * @public function render - * @param null + * @private function getAdminPagesHeader + * @param string $moduleDirname + * @param string $tableName */ - public function render() { - $module = $this->getModule(); - $table = $this->getTable(); - $tables = $this->getTables(); - $filename = $this->getFileName(); - $moduleDirname = $module->getVar('mod_dirname'); - $ucfModuleDirname = ucfirst($moduleDirname); - $language = $this->getLanguage('AM'); - $content = $this->getHeaderFilesComments($module, $filename); - $content .= <<<EOT + private function getAdminHeader($moduleDirname, $table) { + $ucfModuleDirname = ucfirst($moduleDirname); + $ret = <<<EOT \nrequire_once dirname(dirname(dirname(dirname(__FILE__)))). '/include/cp_header.php'; \$thisPath = dirname(dirname(__FILE__)); include_once \$thisPath.'/include/common.php'; @@ -80,21 +73,13 @@ EOT; if (is_object($table)) { if ( $table->getVar('table_name') != '' ) { - $content .= <<<EOT + $ret .= <<<EOT // Get instance of module \${$moduleDirname} = {$ucfModuleDirname}Helper::getInstance();\n EOT; } - foreach (array_keys($tables) as $t) - { - $tableName = $tables[$t]->getVar('table_name'); - $content .= <<<EOT -// {$tableName} -\${$tableName}Handler =& \${$moduleDirname}->getHandler('{$tableName}');\n -EOT; - } } - $content .=<<<EOT + $ret .= <<<EOT // \$myts =& MyTextSanitizer::getInstance(); if (!isset(\$xoopsTpl) || !is_object(\$xoopsTpl)) { @@ -120,6 +105,20 @@ xoops_cp_header(); \$adminMenu = new ModuleAdmin(); EOT; + return $ret; + } + /* + * @public function render + * @param null + */ + public function render() { + $module = $this->getModule(); + $table = $this->getTable(); + $filename = $this->getFileName(); + $moduleDirname = $module->getVar('mod_dirname'); + $content = $this->getHeaderFilesComments($module, $filename); + $content .= $this->getAdminHeader($moduleDirname, $table); + $this->tdmcfile->create($moduleDirname, 'admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED); return $this->tdmcfile->renderFile(); } Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminPages.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminPages.php 2015-04-24 22:03:15 UTC (rev 13042) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminPages.php 2015-04-26 12:17:46 UTC (rev 13043) @@ -62,13 +62,15 @@ * @param string $tableName */ public function getAdminPagesHeader($moduleDirname, $table, $fpif) { - + $ucfModuleDirname = ucfirst($moduleDirname); $ret = <<<EOT include_once 'header.php'; //It recovered the value of argument op in URL$ \$op = XoopsRequest::getString('op', 'list'); // Request {$fpif} \${$fpif} = XoopsRequest::getInt('{$fpif}'); +// Get instance of module +\${$moduleDirname} = {$ucfModuleDirname}Helper::getInstance();\n // Switch options switch (\$op) {\n Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/logoGenerator.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/logoGenerator.php 2015-04-24 22:03:15 UTC (rev 13042) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/logoGenerator.php 2015-04-26 12:17:46 UTC (rev 13043) @@ -18,8 +18,8 @@ * @author Xoops Team Developement Modules - http://www.xoops.org * @version $Id: logoGenerator.php 12258 2014-01-02 09:33:29Z timgno $ */ -include_once dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php'; -//include_once XOOPS_ROOT_PATH . '/modules/TDMCreate/include/common.php'; +/*include_once dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php'; +include_once XOOPS_ROOT_PATH . '/modules/tdmcreate/include/common.php'; if(function_exists($_GET['f'])) { // get function name and parameter $_GET['f']($_GET["p"]); include_once 'logoGenerator.php'; @@ -48,23 +48,90 @@ } } } - if (!file_exists($imageBase = TDMC_IMAGE_LOGOS_PATH . "/xoops2.png") || - !file_exists($font = TDMC_IMAGE_LOGOS_PATH . "/VeraBd.ttf") || + if (!file_exists($imageBase = TDMC_IMAGE_LOGOS_PATH . "/empty.png") || + !file_exists($font = TDMC_FONTS_PATH . "/VeraBd.ttf") || !file_exists($iconFile = XOOPS_ICONS32_PATH . '/' . basename($logoIcon))) { return false; } $imageModule = imagecreatefrompng($imageBase); $imageIcon = imagecreatefrompng($iconFile); // Write text + $textColor = imagecolorallocate($imageModule, 0, 0, 0); + $spaceBorder = (92 - strlen($moduleDirname) * 7.5) / 2; + imagefttext($imageModule, 8.5, 0, $spaceBorder, 45, $textColor, $font, ucfirst($moduleDirname), array()); + imagecopy($imageModule, $imageIcon, 29, 2, 0, 0, 32, 32); + $targetImagePath = TDMC_UPLOAD_IMGMOD_PATH . "/" . $moduleDirname . "_logo.png"; + $targetImageUrl = TDMC_UPLOAD_IMGMOD_URL . "/" . $moduleDirname . "_logo.png"; + imagepng($imageModule, $targetImagePath ); + imagedestroy($imageModule); + imagedestroy($imageIcon); + + return $targetImageUrl; + } +}*/ +include_once dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php'; +//include_once XOOPS_ROOT_PATH . '/modules/TDMCreate/include/common.php'; + +if(function_exists($_GET['f'])) { // get function name and parameter $_GET['f']($_GET["p"]); + include_once 'logoGenerator.php'; + $ret = logoGenerator::createLogo($_GET['iconName'], $_GET['caption']); + phpFunction($ret); +} else { + echo 'Method Not Exist'; +} + +function phpFunction($val='') +{ // create php function here + echo $val; +} + +class logoGenerator +{ + static function createLogo($logoIcon, $moduleDirname) + { + if (!extension_loaded("gd")) { + return false; + } else { + $required_functions = array("imagecreatefrompng", "imagefttext", "imagecopy", "imagepng", "imagedestroy", "imagecolorallocate"); + foreach ($required_functions as $func) { + if (!function_exists($func)) { + return false; + } + } + } + + $dirname = 'tdmcreate'; + $iconFileName = XOOPS_ROOT_PATH . "/Frameworks/moduleclasses/icons/32/".basename($logoIcon); + + //$dirFonts = TDMC_PATH . "/assets/fonts"; + //$dirLogos = TDMC_PATH . "/assets/images/logos"; + $dirFonts = XOOPS_ROOT_PATH . "/modules/" . $dirname . "/assets/fonts"; + $dirLogos = XOOPS_ROOT_PATH . "/modules/" . $dirname . "/assets/images/logos"; + + if (!file_exists($imageBase = $dirLogos . "/empty.png") || + !file_exists($font = $dirFonts . "/VeraBd.ttf") || + !file_exists($iconFile = $iconFileName)) { + return false; + } + + $imageModule = imagecreatefrompng($imageBase); + $imageIcon = imagecreatefrompng($iconFile); + + // Write text $text_color = imagecolorallocate($imageModule, 0, 0, 0); $space_to_border = (92 - strlen($moduleDirname) * 7.5) / 2; imagefttext($imageModule, 8.5, 0, $space_to_border, 45, $text_color, $font, ucfirst($moduleDirname), array()); + imagecopy($imageModule, $imageIcon, 29, 2, 0, 0, 32, 32); - $targetImage = TDMC_UPLOAD_IMGMOD_URL . "/" . $moduleDirname . "_logo.png"; + + //$targetImage = TDMC_UPLOAD_IMGMOD_URL . "/" . $moduleDirname . "_logo.png"; + $targetImage = "/uploads/" . $dirname . "/images/modules/" . $moduleDirname . "_logo.png"; + imagepng($imageModule, XOOPS_ROOT_PATH . $targetImage ); + imagedestroy($imageModule); imagedestroy($imageIcon); - + return XOOPS_URL.$targetImage; } } \ No newline at end of file Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/modules.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/modules.php 2015-04-24 22:03:15 UTC (rev 13042) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/modules.php 2015-04-26 12:17:46 UTC (rev 13043) @@ -18,7 +18,7 @@ * @since 2.5.x * @author TDM TEAM DEV MODULE * @version $Id: modules.php 12209 2013-10-23 02:49:09Z beckmi $ - * @version $Id: modules.php 12400 2014-02-13 10:22:12Z timgno $ + * @version $Id: modules.php 13040 2015-04-25 15:12:12Z timgno $ */ defined('XOOPS_ROOT_PATH') or die('Restricted access'); @@ -122,7 +122,7 @@ $isNew = $this->isNew(); $title = $isNew ? sprintf(_AM_TDMCREATE_MODULE_NEW) : sprintf(_AM_TDMCREATE_MODULE_EDIT); // - include_once(XOOPS_ROOT_PATH."/class/xoopsformloader.php"); + include_once(XOOPS_ROOT_PATH.'/class/xoopsformloader.php'); // $form = new XoopsThemeForm($title, 'modulesform', $action, 'post', true); $form->setExtra('enctype="multipart/form-data"'); @@ -209,7 +209,7 @@ $this_image = $this->getVar('mod_image'); $mod_image = $this_image ? $this_image : 'empty.png'; // - $uploadirectory = 'uploads/'.$GLOBALS['xoopsModule']->dirname().'/images/repository'; + $uploadirectory = 'uploads/'.$GLOBALS['xoopsModule']->dirname().'/images/modules'; $imgtray = new XoopsFormElementTray(_AM_TDMCREATE_MODULE_IMAGE, '<br />'); $imgpath = sprintf(_AM_TDMCREATE_FORMIMAGE_PATH, './' . strtolower($uploadirectory) . '/'); $imageselect= new XoopsFormSelect($imgpath, 'mod_image', $mod_image); @@ -247,7 +247,7 @@ $createLogoTray -> addElement( new XoopsFormLabel( '', "<br /><img src='".XOOPS_URL."/".$uploadirectory."/".$tables_img."' name='image4' id='image4' alt='' />" ) ); // Create preview and submit buttons $buttonLogoGenerator4= new XoopsFormButton('', 'button4', _AM_TDMCREATE_MODULE_CREATENEWLOGO, 'button'); - $buttonLogoGenerator4->setExtra("onclick='createNewModuleLogo(\"" . XOOPS_URL . "\")'"); + $buttonLogoGenerator4->setExtra("onclick='createNewModuleLogo(\"" . TDMC_URL . "\")'"); $createLogoTray->addElement($buttonLogoGenerator4); // $form->addElement($createLogoTray); @@ -299,51 +299,38 @@ /* * @private static function createLogo * @param mixed $logoIcon - * @param string $moduleName + * @param string $moduleDirname */ - private static function createLogo($logoIcon, $moduleName) + private static function createLogo($logoIcon, $moduleDirname) { - global $pathIcon32; - - if (!extension_loaded("gd")) { + if (!extension_loaded('gd')) { return false; } else { - $required_functions = array("imagecreatefrompng", "imagefttext", "imagecopy", "imagepng", "imagedestroy", "imagecolorallocate"); - foreach ($required_functions as $func) { + $requiredFunctions = array('imagecreatefrompng', 'imagefttext', 'imagecopy', 'imagepng', 'imagedestroy', 'imagecolorallocate'); + foreach ($requiredFunctions as $func) { if (!function_exists($func)) { return false; } } } - - // $dirname = $GLOBALS['xoopsModule']->dirname(); - $iconFileName = $pathIcon32 . '/' . basename($logoIcon); - - $dirlogos = TDMC_PATH . "/images/logos"; - if (!file_exists($imageBase = $dirlogos . "/empty.png") || - !file_exists($font = $dirlogos . "/VeraBd.ttf") || - !file_exists($iconFile = $iconFileName)) { + if (!file_exists($imageBase = TDMC_IMAGE_LOGOS_PATH . '/empty.png') || + !file_exists($font = TDMC_FONTS_PATH . '/VeraBd.ttf') || + !file_exists($iconFile = XOOPS_ICONS32_PATH . '/' . basename($logoIcon))) { return false; } - $imageModule = imagecreatefrompng($imageBase); $imageIcon = imagecreatefrompng($iconFile); - // Write text - $text_color = imagecolorallocate($imageModule, 0, 0, 0); - $space_to_border = (92 - strlen($moduleName) * 7.5) / 2; - imagefttext($imageModule, 8.5, 0, $space_to_border, 45, $text_color, $font, ucfirst($moduleName), array()); - + $textColor = imagecolorallocate($imageModule, 0, 0, 0); + $spaceBorder = (92 - strlen($moduleDirname) * 7.5) / 2; + imagefttext($imageModule, 8.5, 0, $spaceBorder, 45, $textColor, $font, ucfirst($moduleDirname), array()); imagecopy($imageModule, $imageIcon, 29, 2, 0, 0, 32, 32); - - $targetImage = TDMC_UPLOAD_IMGMOD_URL . "/" . $moduleName . "_logo.png"; - - imagepng($imageModule, $targetImage ); - + $logoImg = '/' . $moduleDirname . '_logo.png'; + imagepng($imageModule, TDMC_UPLOAD_IMGMOD_PATH . $logoImg ); imagedestroy($imageModule); imagedestroy($imageIcon); - return XOOPS_URL . $targetImage; + return TDMC_UPLOAD_IMGMOD_URL . $logoImg; } } /* Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/tables.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/tables.php 2015-04-24 22:03:15 UTC (rev 13042) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/tables.php 2015-04-26 12:17:46 UTC (rev 13043) @@ -45,6 +45,7 @@ $this->initVar('table_name',XOBJ_DTYPE_TXTBOX); $this->initVar('table_fieldname',XOBJ_DTYPE_TXTBOX); $this->initVar('table_nbfields',XOBJ_DTYPE_INT); + $this->initVar('table_order',XOBJ_DTYPE_INT); $this->initVar('table_image',XOBJ_DTYPE_TXTBOX); $this->initVar('table_autoincrement',XOBJ_DTYPE_INT); $this->initVar('table_blocks',XOBJ_DTYPE_INT); @@ -141,8 +142,14 @@ // $table_nbfield = new XoopsFormText(_AM_TDMCREATE_TABLE_NBFIELDS, 'table_nbfields', 10, 25, $this->getVar('table_nbfields')); $table_nbfield->setDescription(_AM_TDMCREATE_TABLE_NBFIELDS_DESC); - $form->addElement($table_nbfield, true); + $form->addElement($table_nbfield, true); // + if(!$isNew) { + $table_order = new XoopsFormText(_AM_TDMCREATE_TABLE_ORDER, 'table_order', 5, 10, $this->getVar('table_order')); + $table_order->setDescription(_AM_TDMCREATE_TABLE_ORDER_DESC); + $form->addElement($table_order, true); + } + // $get_table_image = $this->getVar('table_image'); $table_image = $get_table_image ? $get_table_image : 'blank.gif'; $iconsdir = '/Frameworks/moduleclasses/icons/32'; @@ -163,6 +170,7 @@ $fileseltray1->addElement(new XoopsFormFile(_AM_TDMCREATE_FORMUPLOAD , 'attachedfile', $this->tdmcreate->getConfig('maxsize'))); $fileseltray1->addElement(new XoopsFormLabel('')); $imgtray1->addElement($fileseltray1); + $imgtray1->setDescription(_AM_TDMCREATE_TABLE_IMAGE_DESC); $form->addElement($imgtray1); // $table_autoincrement = $this->isNew() ? 1 : $this->getVar('table_autoincrement'); Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/include/common.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/include/common.php 2015-04-24 22:03:15 UTC (rev 13042) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/include/common.php 2015-04-26 12:17:46 UTC (rev 13043) @@ -29,6 +29,8 @@ define('TDMC_CLASSES_URL', TDMC_URL . '/class' ); define('TDMC_DOCS_PATH', TDMC_PATH . '/docs' ); define('TDMC_DOCS_URL', TDMC_URL . '/docs' ); +define('TDMC_FONTS_PATH', TDMC_PATH . '/assets/fonts' ); +define('TDMC_FONTS_URL', TDMC_URL . '/assets/fonts' ); define('TDMC_IMAGE_PATH', TDMC_PATH . '/assets/images' ); define('TDMC_IMAGE_URL', TDMC_URL . '/assets/images' ); define('TDMC_IMAGE_LOGOS_PATH', TDMC_PATH . '/assets/images/logos' ); Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/language/english/admin.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/language/english/admin.php 2015-04-24 22:03:15 UTC (rev 13042) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/language/english/admin.php 2015-04-26 12:17:46 UTC (rev 13043) @@ -140,11 +140,14 @@ define('_AM_TDMCREATE_TABLE_CATEGORY_DESC', "<b class='red bold'>WARNING</b>: <i>Once you have used this option for this module, and edit this table,<br />will not be displayed following the creation of other tables</i>"); define('_AM_TDMCREATE_TABLE_NBFIELDS', "Number fields"); define('_AM_TDMCREATE_TABLE_NBFIELDS_DESC', "Number of fields for this table"); +define('_AM_TDMCREATE_TABLE_ORDER', "Order tables"); +define('_AM_TDMCREATE_TABLE_ORDER_DESC', "You should order the tables to view them in the right ordered on the menu and index page of your new module"); define('_AM_TDMCREATE_TABLE_FIELDNAME', "Prefix Field Name"); define('_AM_TDMCREATE_TABLE_FIELDNAME_DESC', "This is the prefix of field name (optional)<br />If you leave the field blank, doesn't appear anything in the fields of the next screen,<br />otherwise you'll see all the fields with a prefix type (i.e.: <span class='bold'>cat</span> of table <span class='bold'>categories</span>).<br /><b class='red bold'>WARNING</b>: It's recommended to use singolar word"); -define('_AM_TDMCREATE_TABLE_OPTIONS_CHECKS_DESC', "For each table created, a file is created on behalf of this.<br /> +define('_AM_TDMCREATE_TABLE_OPTIONS_CHECKS_DESC', "For each table created, a file is created on behalf of this.<br /> Selecting one or more of these options, deciding whether to enter the name of the file to other files or you define a condition in these other files, need to be created or not."); define('_AM_TDMCREATE_TABLE_IMAGE', "Table Logo"); +//define('_AM_TDMCREATE_TABLE_IMAGE_DESC', "You can choose an image from the list, or upload a new one from your computer"); // Added in version 1.91 define('_AM_TDMCREATE_TABLE_AUTO_INCREMENT', " Auto Increment"); define('_AM_TDMCREATE_TABLE_AUTO_INCREMENT_OPTION', "Default checked"); @@ -172,7 +175,7 @@ define('_AM_TDMCREATE_TABLE_SINGLE', "Add in Single file"); define('_AM_TDMCREATE_TABLE_VISIT', "Add in Visit file"); // v1.38 -define('_AM_TDMCREATE_TABLE_IMAGE_DESC', "<span class='red bold'>WARNING</span>: If you want to choose a new image, is best to name it with the module name before and follow with the name of the image so as not to overwrite any images with the same name, in the <span class='bold'>Frameworks/moduleclasses/moduleadmin/icons/32/</span>. Otherwise an other solution, would be to insert the images in the module, a new folder is created, with the creation of the same module - <span class='bold'>images/32</span>."); +define('_AM_TDMCREATE_TABLE_IMAGE_DESC', "<span class='red bold'>WARNING</span>: If you want to choose a new image, is best to name it with the module name before and follow with the name of the image so as not to overwrite any images with the same name, in the <span class='bold'>Frameworks/moduleclasses/moduleadmin/icons/32/</span>. Otherwise an other solution, would be to insert the images in the module, a new folder is created, with the creation of the same module - <span class='bold'>assets/icons/32</span>."); define('_AM_TDMCREATE_TABLE_FORM_CREATED_OK', "The table <b class='green'>%s</b> is successfully created"); define('_AM_TDMCREATE_TABLE_FORM_UPDATED_OK', "The table <b class='green'>%s</b> is successfully updated"); // ------------------ Form Fields ------------------ Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_fields.tpl =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_fields.tpl 2015-04-24 22:03:15 UTC (rev 13042) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_fields.tpl 2015-04-26 12:17:46 UTC (rev 13043) @@ -23,12 +23,12 @@ </thead> <tbody> <{foreach item=table from=$tables_list}> - <tr id="table<{$table.id}>" class="fields toggleMain"> - <td class='center bold width5'>(<{$table.id}>) + <tr id="table_<{$table.id}>" order="<{$table.order}>" class="fields toggleMain"> + <td class='center bold width5'>(<{$table.lid}>) <a href="#" title="Toggle"><img class="imageToggle" src="<{$modPathIcon16}>/toggle.png" alt="Toggle" /></a> </td> <td class='center'><u class='bold'><{$table.name}></u></td> - <td class='center'><img src="<{xoModuleIcons32}><{$table.image}>" alt="<{$table.name}>" height="22" /></td> + <td class='center'><img src="<{xoModuleIcons32}><{$table.image}>" title="<{$table.name}>" alt="<{$table.name}>" /></td> <td class='center bold'><{$table.nbfields}></td> <td class='center'><img src="<{$modPathIcon16}>/fields.png" /></td> <td class='center'><img src="<{$modPathIcon16}>/fields.png" /></td> Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_fields_item.tpl =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_fields_item.tpl 2015-04-24 22:03:15 UTC (rev 13042) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_fields_item.tpl 2015-04-26 12:17:46 UTC (rev 13043) @@ -1,34 +1,34 @@ <table class='width100'> - <tbody class="field-list"> - <{foreach item=field from=$table.fields}> - <{if $field.id > 0}> - <tr id="fieldItem_<{$table.id}>_<{$field.id}>" order="<{$field.order}>" class="<{cycle values='even,odd'}>"> - <td class='center width5'>[<{$field.lid}>] <img class="move" src="<{$modPathIcon16}>/drag.png" alt="<{$field.name}>" /></td> - <td class='center width10'><{$field.name}></td> - <td class='center'><img src="<{$modPathIcon16}>/tables.png" alt="Empty" /></td> - <td class='center'><img src="<{$modPathIcon16}>/tables.png" alt="Empty" /></td> - <td class='center'><img id="loading_img_parent<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_parent<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_parent: <{if $field.parent}>0<{else}>1<{/if}> }, 'img_parent<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.parent}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> - </td> - <td class='center'><img id="loading_img_inlist<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_inlist<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_inlist: <{if $field.inlist}>0<{else}>1<{/if}> }, 'img_inlist<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.inlist}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> - </td> - <td class='center'><img id="loading_img_inform<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_inform<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_inform: <{if $field.inform}>0<{else}>1<{/if}> }, 'img_inform<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.inform}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> - </td> - <td class='center'><img id="loading_img_admin<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_admin<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_admin: <{if $field.admin}>0<{else}>1<{/if}> }, 'img_admin<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.admin}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> - </td> - <td class='center'><img id="loading_img_user<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_user<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_user: <{if $field.user}>0<{else}>1<{/if}> }, 'img_user<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.user}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> - </td> - <td class='center'><img id="loading_img_block<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_block<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_block: <{if $field.block}>0<{else}>1<{/if}> }, 'img_block<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.block}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> - </td> - <td class='center'><img id="loading_img_main<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_main<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_main: <{if $field.main}>0<{else}>1<{/if}> }, 'img_main<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.main}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> - </td> - <td class='center'><img id="loading_img_search<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_search<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_search: <{if $field.search}>0<{else}>1<{/if}> }, 'img_search<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.search}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> - </td> - <td class='center width10'> - <img id="loading_img_required<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_required<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_required: <{if $field.required}>0<{else}>1<{/if}> }, 'img_required<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.required}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> - </td> - <td class='center width5'><img src="<{$modPathIcon16}>/left_right.png" alt="Empty" /></td> - </tr> - <{/if}> - <{/foreach}> - </tbody> + <tbody class="field-list"> + <{foreach item=field from=$table.fields}> + <{if $field.id > 0}> + <tr id="field_<{$table.id}>_<{$field.id}>" order="<{$field.order}>" class="<{cycle values='even,odd'}>"> + <td class='center width5'>[<{$field.lid}>] <img class="move" src="<{$modPathIcon16}>/drag.png" alt="<{$field.name}>" /></td> + <td class='center width10'><{$field.name}></td> + <td class='center'><img src="<{$modPathIcon16}>/tables.png" alt="Empty" /></td> + <td class='center'><img src="<{$modPathIcon16}>/tables.png" alt="Empty" /></td> + <td class='center'><img id="loading_img_parent<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_parent<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_parent: <{if $field.parent}>0<{else}>1<{/if}> }, 'img_parent<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.parent}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> + </td> + <td class='center'><img id="loading_img_inlist<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_inlist<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_inlist: <{if $field.inlist}>0<{else}>1<{/if}> }, 'img_inlist<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.inlist}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> + </td> + <td class='center'><img id="loading_img_inform<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_inform<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_inform: <{if $field.inform}>0<{else}>1<{/if}> }, 'img_inform<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.inform}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> + </td> + <td class='center'><img id="loading_img_admin<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_admin<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_admin: <{if $field.admin}>0<{else}>1<{/if}> }, 'img_admin<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.admin}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> + </td> + <td class='center'><img id="loading_img_user<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_user<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_user: <{if $field.user}>0<{else}>1<{/if}> }, 'img_user<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.user}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> + </td> + <td class='center'><img id="loading_img_block<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_block<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_block: <{if $field.block}>0<{else}>1<{/if}> }, 'img_block<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.block}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> + </td> + <td class='center'><img id="loading_img_main<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_main<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_main: <{if $field.main}>0<{else}>1<{/if}> }, 'img_main<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.main}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> + </td> + <td class='center'><img id="loading_img_search<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_search<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_search: <{if $field.search}>0<{else}>1<{/if}> }, 'img_search<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.search}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> + </td> + <td class='center width10'> + <img id="loading_img_required<{$field.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_required<{$field.id}>" onclick="tdmcreate_setStatus( { op: 'display', field_id: <{$field.id}>, field_required: <{if $field.required}>0<{else}>1<{/if}> }, 'img_required<{$field.id}>', 'fields.php' )" src="<{xoModuleIcons16}><{$field.required}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$field.name}>" /> + </td> + <td class='center width5'><img src="<{$modPathIcon16}>/left_right.png" alt="Empty" /></td> + </tr> + <{/if}> + <{/foreach}> + </tbody> </table> \ No newline at end of file Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_tables.tpl =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_tables.tpl 2015-04-24 22:03:15 UTC (rev 13042) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_tables.tpl 2015-04-26 12:17:46 UTC (rev 13043) @@ -23,18 +23,18 @@ <tbody> <{foreach item=module from=$modules_list}> <tr id="module<{$module.id}>" class="tables toggleMain"> - <td class='center bold width5'>(<{$module.id}>) + <td class='center bold width5'>(<{$module.id}>) <a href="#" title="Toggle"><img class="imageToggle" src="<{$modPathIcon16}>/toggle.png" alt="Toggle" /></a> </td> <td class='center bold green'><{$module.name}></td> <td class='center'><img src="<{$tdmc_upload_imgmod_url}>/<{$module.image}>" alt="" height="35" /></td> - <td class='center'><img src="<{$modPathIcon16}>/fields.png" alt="16" /></td> + <td class='center'><img src="<{$modPathIcon16}>/fields.png" alt="16" /></td> <td class='center'><img id="loading_img_admin<{$module.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /><img style="cursor:pointer;" class="tooltip" id="img_admin<{$module.id}>" onclick="tdmcreate_setStatus( { op: 'display_modules', mod_id: <{$module.id}>, mod_admin: <{if $module.admin == 1}>0<{else}>1<{/if}> }, 'img_admin<{$module.id}>', 'modules.php' )" src="<{xoModuleIcons16}><{$module.admin}>.png" alt="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" title="<{$smarty.const._AM_TDMCREATE_CHANGE_DISPLAY}> <{$module.name}>" /> </td> <td class='center'><img id="loading_img_user<{$module.id}>" src="<{$modPathIcon16}>/spinner.gif" style="display:none;" title="<{$s... [truncated message content] |
From: <txm...@us...> - 2015-04-24 22:03:18
|
Revision: 13042 http://sourceforge.net/p/xoops/svn/13042 Author: txmodxoops Date: 2015-04-24 22:03:15 +0000 (Fri, 24 Apr 2015) Log Message: ----------- Fixed issues to creaction folders & files Modified Paths: -------------- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/building.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/fields.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fields.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateArchitecture.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateStructure.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserXoopsVersion.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/logoGenerator.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/include/common.php Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/building.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/building.php 2015-04-24 17:26:17 UTC (rev 13041) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/building.php 2015-04-24 22:03:15 UTC (rev 13042) @@ -45,8 +45,6 @@ // Structure include_once TDMC_PATH . '/class/files/TDMCreateArchitecture.php'; $handler = TDMCreateArchitecture::getInstance(); - $handler->createPath(TDMC_PATH); - $handler->createUploadPath(TDMC_UPLOAD_PATH); // Creation of the structure of folders and files $base_architecture = $handler->createBaseFoldersFiles( $moduleObj ); if(false !== $base_architecture) { Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/fields.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/fields.php 2015-04-24 17:26:17 UTC (rev 13041) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/fields.php 2015-04-24 22:03:15 UTC (rev 13042) @@ -171,14 +171,14 @@ $fieldsObj->setVar( 'field_tid', $fieldTid ); $fieldsObj->setVar( 'field_numb', $fieldNumb ); $fieldsObj->setVar( 'field_order', (isset($_POST['field_order'][$key]) ? $_POST['field_order'][$key] : $orderId) ); - $fieldsObj->setVar( 'field_name', (isset($_POST['field_name'][$key]) ? $_POST['field_name'][$key] : '') ); - $fieldsObj->setVar( 'field_type', (isset($_POST['field_type'][$key]) ? $_POST['field_type'][$key] : '') ); - $fieldsObj->setVar( 'field_value', (isset($_POST['field_value'][$key]) ? $_POST['field_value'][$key] : '') ); - $fieldsObj->setVar( 'field_attribute', (isset($_POST['field_attribute'][$key]) ? $_POST['field_attribute'][$key] : '') ); - $fieldsObj->setVar( 'field_null', (isset($_POST['field_null'][$key]) ? $_POST['field_null'][$key] : '') ); - $fieldsObj->setVar( 'field_default', (isset($_POST['field_default'][$key]) ? $_POST['field_default'][$key] : '') ); - $fieldsObj->setVar( 'field_key', (isset($_POST['field_key'][$key]) ? $_POST['field_key'][$key] : '') ); - $fieldsObj->setVar( 'field_element', (isset($_POST['field_element'][$key]) ? $_POST['field_element'][$key] : '') ); + $fieldsObj->setVar( 'field_name', (!empty($_POST['field_name'][$key]) ? $_POST['field_name'][$key] : '') ); + $fieldsObj->setVar( 'field_type', (!empty($_POST['field_type'][$key]) ? $_POST['field_type'][$key] : '') ); + $fieldsObj->setVar( 'field_value', (!empty($_POST['field_value'][$key]) ? $_POST['field_value'][$key] : '') ); + $fieldsObj->setVar( 'field_attribute', (!empty($_POST['field_attribute'][$key]) ? $_POST['field_attribute'][$key] : '') ); + $fieldsObj->setVar( 'field_null', (!empty($_POST['field_null'][$key]) ? $_POST['field_null'][$key] : '') ); + $fieldsObj->setVar( 'field_default', (!empty($_POST['field_default'][$key]) ? $_POST['field_default'][$key] : '') ); + $fieldsObj->setVar( 'field_key', (!empty($_POST['field_key'][$key]) ? $_POST['field_key'][$key] : '') ); + $fieldsObj->setVar( 'field_element', (!empty($_POST['field_element'][$key]) ? $_POST['field_element'][$key] : '') ); $fieldsObj->setVar( 'field_parent', ((isset($_REQUEST['field_parent'][$key]) == 1) ? 1 : 0) ); $fieldsObj->setVar( 'field_inlist', ((isset($_REQUEST['field_inlist'][$key]) == 1) ? 1 : 0) ); $fieldsObj->setVar( 'field_inform', ((isset($_REQUEST['field_inform'][$key]) == 1) ? 1 : 0) ); Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fields.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fields.php 2015-04-24 17:26:17 UTC (rev 13041) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fields.php 2015-04-24 22:03:15 UTC (rev 13042) @@ -214,7 +214,7 @@ $parameters_tray = new XoopsFormElementTray('', '<br />'); // Field Elements $criteria_element = new CriteriaCompo(); - $criteria_element->add(new Criteria('fieldelement_tid', 0)); + $criteria_element->add(new Criteria('fieldelement_tid', $field_tid)); $criteria_table = new CriteriaCompo(); $criteria_table->add(new Criteria('fieldelement_mid', $field_mid)); $field_elements_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_ELEMENT_NAME, 'field_element['.$i.']'); @@ -352,7 +352,7 @@ $parameters_tray = new XoopsFormElementTray('', '<br />'); // Field Elements $criteria_element = new CriteriaCompo(); - $criteria_element->add(new Criteria('fieldelement_tid', 0)); + $criteria_element->add(new Criteria('fieldelement_tid', $field_tid)); $criteria_table = new CriteriaCompo(); $criteria_table->add(new Criteria('fieldelement_mid', $field_mid)); $field_elements_select = new XoopsFormSelect(_AM_TDMCREATE_FIELD_ELEMENT_NAME, 'field_element['.$id.']', $field->getVar('field_element')); Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateArchitecture.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateArchitecture.php 2015-04-24 17:26:17 UTC (rev 13041) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateArchitecture.php 2015-04-24 22:03:15 UTC (rev 13042) @@ -16,7 +16,7 @@ * @package tdmcreate * @since 2.5.0 * @author Txmod Xoops http://www.txmodxoops.org - * @version $Id: architecture.php 12258 2014-01-02 09:33:29Z timgno $ + * @version $Id: TDMCreateArchitecture.php 12258 2014-01-02 09:33:29Z timgno $ */ defined('XOOPS_ROOT_PATH') or die('Restricted access'); require_once 'TDMCreateStructure.php'; @@ -37,7 +37,9 @@ */ public function __construct() { $this->tdmcreate = TDMCreateHelper::getInstance(); - $this->structure = TDMCreateStructure::getInstance(); + $this->structure = TDMCreateStructure::getInstance(); + $this->structure->setPath(TDMC_PATH); + $this->structure->setUploadPath(TDMC_UPLOAD_REPOSITORY_PATH); } /* * @static function &getInstance @@ -96,9 +98,11 @@ } // $indexFile = XOOPS_UPLOAD_PATH.'/index.html'; - $stlModuleAuthor = str_replace(' ', '', strtolower($module->getVar('mod_author'))); + $stlModuleAuthor = str_replace(' ', '', strtolower($module->getVar('mod_author'))); + $this->structure->setModuleName($module->getVar('mod_dirname')); + $uploadPath = $this->structure->getUploadPath(); // Creation of "module" folder in the Directory repository - $this->structure->makeDir(TDMC_UPLOAD_REPOSITORY_PATH.'/'. $module->getVar('mod_dirname')); + $this->structure->makeDir($uploadPath . '/'. $this->structure->getModuleName()); // Copied of index.html file in "root module" folder $this->structure->copyFile('', $indexFile, 'index.html'); if ( $module->getVar('mod_admin') == 1) { @@ -208,7 +212,7 @@ // Module $modId = $module->getVar('mod_id'); $moduleDirname = $module->getVar('mod_dirname'); - $uploadTablesIcons32 = $this->getUploadPath().'/images/tables'; + $uploadTablesIcons32 = $this->structure->getUploadPath().'/images/tables'; $framePathIcon32 = XOOPS_ROOT_PATH . '/Frameworks/moduleclasses/icons/32'; $icon32 = 'assets/icons/32'; // Id of tables Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateStructure.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateStructure.php 2015-04-24 17:26:17 UTC (rev 13041) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateStructure.php 2015-04-24 22:03:15 UTC (rev 13042) @@ -16,7 +16,7 @@ * @package tdmcreate * @since 2.5.0 * @author Txmod Xoops http://www.txmodxoops.org - * @version $Id: structure.php 12258 2014-01-02 09:33:29Z timgno $ + * @version $Id: TDMCreateStructure.php 12258 2014-01-02 09:33:29Z timgno $ */ defined('XOOPS_ROOT_PATH') or die('Restricted access'); xoops_load('XoopsFile'); @@ -33,7 +33,7 @@ /* * @var string */ - protected $folderName = null; + private $folderName = null; /* * @var string */ @@ -45,16 +45,8 @@ /* * @var mixed */ - private $uploadPath = null; + private $uploadPath = null; /* - * @var string - */ - private $fromFile = null; - /* - * @var string - */ - private $toFile = null; - /* * @public function constructor class * @param string $path */ @@ -73,40 +65,82 @@ $instance = new self(); } return $instance; - } + } /* * @public function setPath * @param string $path */ public function setPath($path) { $this->path = $path; - } + } /* - * @public function setUploadPath - * @param string $path - */ - public function setUploadPath($path) { - $this->uploadPath = $path; - } - /* * @public function getPath * @return string $path */ public function getPath() { return $this->path; + } + /* + * @protected function setUploadPath + * @param string $path + */ + protected function setUploadPath($path) { + $this->uploadPath = $path; } /* - * @public function getUploadPath + * @protected function getUploadPath * @return string $path */ - public function getUploadPath() { + protected function getUploadPath() { return $this->uploadPath; } + /* + * @protected function setModuleName + * @param string $moduleName + */ + protected function setModuleName($moduleName) { + $this->moduleName = $moduleName; + } + /* + * @protected function getModuleName + * @return string $moduleName + */ + protected function getModuleName() { + return $this->moduleName; + } + /* + * @private function setFolderName + * @param string $folderName + */ + private function setFolderName($folderName) { + $this->folderName = $folderName; + } + /* + * @private function getFolderName + * @return string $folderName + */ + private function getFolderName() { + return $this->folderName; + } + /* + * @private function setFileName + * @param string $fileName + */ + private function setFileName($fileName) { + $this->fileName = $fileName; + } + /* + * @private function getFileName + * @return string $fileName + */ + private function getFileName() { + return $this->fileName; + } /* - * @public function isDir + * @private function isDir * @param string $dname */ - public function isDir($dname) + private function isDir($dname) { if(!is_dir($dname)) { mkdir($dname, 0755); @@ -116,34 +150,26 @@ } } /* - * @public function makeDir + * @protected function makeDir * @param string $dir */ - public function makeDir($dir) + protected function makeDir($dir) { $this->isDir(strtolower(trim($dir))); - } + } /* - * @public function makeModuleDir - * @param string $dir - */ - public function makeModuleDir($dir) - { - $this->isDir(strtolower(trim($dir))); - } - /* - * @public function folderPath + * @public function addFolderPath * @param string $folderName * @param string $fileName */ - public function folderPath($folderName, $fileName = null) + private function addFolderPath($folderName, $fileName = false) { - $this->folderName = $folderName; - if( $fileName != null ) { - $this->fileName = $fileName; - $ret = $this->path . DIRECTORY_SEPARATOR . $this->moduleName . DIRECTORY_SEPARATOR . $this->folderName . DIRECTORY_SEPARATOR . $this->fileName; + $this->setFolderName($folderName); + if( $fileName ) { + $this->setFileName($fileName); + $ret = $this->getUploadPath() . DS . $this->getModuleName() . DS . $this->getFolderName() . DS . $this->getFileName(); } else { - $ret = $this->path . DIRECTORY_SEPARATOR . $this->moduleName . DIRECTORY_SEPARATOR . $this->folderName; + $ret = $this->getUploadPath() . DS . $this->getModuleName() . DS . $this->getFolderName(); } return $ret; } @@ -153,18 +179,18 @@ */ public function makeDirInModule($dirName) { - $fname = $this->folderPath($dirName); + $fname = $this->addFolderPath($dirName); $this->makeDir($fname); } /* * @public function makeDir & copy file * @param string $folderName - * @param string $toFile - * @param string $file + * @param string $fromFile + * @param string $toFile */ public function makeDirAndCopyFile($folderName, $fromFile, $toFile) { - $dname = $this->folderPath($folderName); + $dname = $this->addFolderPath($folderName); $this->makeDir($dname); $this->copyFile($folderName, $fromFile, $toFile); } @@ -176,25 +202,23 @@ */ public function copyFile($folderName, $fromFile, $toFile) { - $this->fromFile = $fromFile; - $this->toFile = $toFile; - $dname = $this->folderPath($folderName); - $fname = $this->folderPath($folderName) . DIRECTORY_SEPARATOR . $this->toFile; - $this->setCopy($dname, $fname); + $dname = $this->addFolderPath($folderName); + $fname = $this->addFolderPath($folderName, $toFile); + $this->setCopy($dname, $fromFile, $fname); } /* * @public function setCopy * @param string $dname * @param string $fname */ - public function setCopy($dname, $fname) + public function setCopy($dname, $fromFile, $fname) { if(is_dir($dname)) { chmod($dname, 0777); - copy($this->fromFile, $fname); + copy($fromFile, $fname); } else { $this->makeDir($dname); - copy($this->fromFile, $fname); + copy($fromFile, $fname); } } } \ No newline at end of file Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserXoopsVersion.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserXoopsVersion.php 2015-04-24 17:26:17 UTC (rev 13041) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserXoopsVersion.php 2015-04-24 22:03:15 UTC (rev 13042) @@ -566,9 +566,8 @@ foreach(array_keys($tables) as $t) { $tableName = $tables[$t]->getVar('table_name'); - $count = count($tableName); if($tables[$t]->getVar('table_notifications') == 1) { - if($t < $count) { + if($t < count($tableName)) { $notify_file .= "'".$tableName.".php', "; } else { $notify_file .= "'".$tableName.".php'"; Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/logoGenerator.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/logoGenerator.php 2015-04-24 17:26:17 UTC (rev 13041) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/logoGenerator.php 2015-04-24 22:03:15 UTC (rev 13042) @@ -48,36 +48,23 @@ } } } - - $dirname = 'tdmcreate'; - $iconFileName = XOOPS_ROOT_PATH . "/Frameworks/moduleclasses/icons/32/".basename($logoIcon); - - //$dirlogos = TDMC_PATH . "/assets/images/logos"; - //$dirlogos = XOOPS_ROOT_PATH . "/modules/" . $dirname . "/assets/images/logos"; if (!file_exists($imageBase = TDMC_IMAGE_LOGOS_PATH . "/xoops2.png") || !file_exists($font = TDMC_IMAGE_LOGOS_PATH . "/VeraBd.ttf") || - !file_exists($iconFile = $iconFileName)) { + !file_exists($iconFile = XOOPS_ICONS32_PATH . '/' . basename($logoIcon))) { return false; } - $imageModule = imagecreatefrompng($imageBase); $imageIcon = imagecreatefrompng($iconFile); - // Write text $text_color = imagecolorallocate($imageModule, 0, 0, 0); $space_to_border = (92 - strlen($moduleDirname) * 7.5) / 2; imagefttext($imageModule, 8.5, 0, $space_to_border, 45, $text_color, $font, ucfirst($moduleDirname), array()); - imagecopy($imageModule, $imageIcon, 29, 2, 0, 0, 32, 32); - $targetImage = TDMC_UPLOAD_IMGMOD_URL . "/" . $moduleDirname . "_logo.png"; - //$targetImage = "/uploads/" . $dirname . "/images/repository/" . $moduleDirname . "_logo.png"; - imagepng($imageModule, XOOPS_ROOT_PATH . $targetImage ); - imagedestroy($imageModule); imagedestroy($imageIcon); - + return XOOPS_URL.$targetImage; } } \ No newline at end of file Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/include/common.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/include/common.php 2015-04-24 17:26:17 UTC (rev 13041) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/include/common.php 2015-04-24 22:03:15 UTC (rev 13042) @@ -20,6 +20,8 @@ */ defined('XOOPS_ROOT_PATH') or die('Restricted access'); $dirname = $GLOBALS['xoopsModule']->getVar('dirname'); +// Root Frameworks icons 32x32 directory +define('XOOPS_ICONS32_PATH', XOOPS_ROOT_PATH . '/Frameworks/moduleclasses/icons/32' ); // Local Directories define('TDMC_PATH', XOOPS_ROOT_PATH . '/modules/' . $dirname ); define('TDMC_URL', XOOPS_URL . '/modules/' . $dirname ); @@ -38,8 +40,8 @@ define('TDMC_UPLOAD_URL', XOOPS_UPLOAD_URL . '/' . $dirname ); define('TDMC_UPLOAD_REPOSITORY_PATH', TDMC_UPLOAD_PATH . '/repository' ); define('TDMC_UPLOAD_REPOSITORY_URL', TDMC_UPLOAD_URL . '/repository' ); -define('TDMC_UPLOAD_IMGMOD_PATH', TDMC_UPLOAD_PATH . '/images/repository' ); -define('TDMC_UPLOAD_IMGMOD_URL', TDMC_UPLOAD_URL . '/images/repository' ); +define('TDMC_UPLOAD_IMGMOD_PATH', TDMC_UPLOAD_PATH . '/images/modules' ); +define('TDMC_UPLOAD_IMGMOD_URL', TDMC_UPLOAD_URL . '/images/modules' ); define('TDMC_UPLOAD_IMGTAB_PATH', TDMC_UPLOAD_PATH . '/images/tables' ); define('TDMC_UPLOAD_IMGTAB_URL', TDMC_UPLOAD_URL . '/images/tables' ); // Xoops Request |
From: <txm...@us...> - 2015-04-24 17:26:27
|
Revision: 13041 http://sourceforge.net/p/xoops/svn/13041 Author: txmodxoops Date: 2015-04-24 17:26:17 +0000 (Fri, 24 Apr 2015) Log Message: ----------- Changed elements index, added more elements Work in progress Modified Paths: -------------- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/fields.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/modules.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/tables.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/32/category.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/32/stats.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/functions.js XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fields.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateArchitecture.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminMenu.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminObjects.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminPages.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminPermissions.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/classes/ClassFiles.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/classes/ClassFormElements.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/language/LanguageAdmin.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/language/LanguageModinfo.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/admin/TemplatesAdminPages.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/blocks/TemplatesBlocks.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/user/TemplatesUserPages.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserHeader.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserPages.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserSubmit.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserXoopsVersion.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/logoGenerator.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/sql/mysql.sql XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/xoops_version.php Added Paths: ----------- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/tdmcreate_logo.png Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/fields.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/fields.php 2015-04-21 17:27:59 UTC (rev 13040) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/fields.php 2015-04-24 17:26:17 UTC (rev 13041) @@ -61,6 +61,8 @@ unset($countTables); // Get the list of tables $criteria = new CriteriaCompo(); + $criteria->setStart($start); + $criteria->setLimit($limit); $criteria->setSort('table_id ASC, table_name'); $criteria->setOrder('ASC'); $countTables = $tdmcreate->getHandler('tables')->getCount($criteria); Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/modules.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/modules.php 2015-04-21 17:27:59 UTC (rev 13040) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/modules.php 2015-04-24 17:26:17 UTC (rev 13041) @@ -42,6 +42,8 @@ $GLOBALS['xoopsTpl']->assign('modPathIcon16', $modPathIcon16); $GLOBALS['xoopsTpl']->assign('sysPathIcon32', $sysPathIcon32); $criteria = new CriteriaCompo(); + $criteria->setStart($start); + $criteria->setLimit($limit); $criteria->setSort('mod_id ASC, mod_name'); $criteria->setOrder('ASC'); $nb_modules = $tdmcreate->getHandler('modules')->getCount( $criteria ); Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/tables.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/tables.php 2015-04-21 17:27:59 UTC (rev 13040) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/tables.php 2015-04-24 17:26:17 UTC (rev 13041) @@ -53,6 +53,8 @@ $GLOBALS['xoopsTpl']->assign('sysPathIcon32', $sysPathIcon32); // Get the list of modules $criteria = new CriteriaCompo(); + $criteria->setStart($start); + $criteria->setLimit($limit); $criteria->setSort('mod_id ASC, mod_name'); $criteria->setOrder('ASC'); $numbModules = $tdmcreate->getHandler('modules')->getCount($criteria); Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/32/category.png =================================================================== (Binary files differ) Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/32/stats.png =================================================================== (Binary files differ) Added: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/tdmcreate_logo.png =================================================================== (Binary files differ) Index: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/tdmcreate_logo.png =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/tdmcreate_logo.png 2015-04-21 17:27:59 UTC (rev 13040) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/tdmcreate_logo.png 2015-04-24 17:26:17 UTC (rev 13041) Property changes on: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/tdmcreate_logo.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/functions.js =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/functions.js 2015-04-21 17:27:59 UTC (rev 13040) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/functions.js 2015-04-24 17:26:17 UTC (rev 13041) @@ -1,3 +1,7 @@ +/* + * JQuery javascript functions + * + */ function swapImg(swap) { obj = document.getElementById(swap); obj.src = !(obj.src == img_minus) ? img_minus : img_plus; @@ -12,7 +16,7 @@ if (selectDom.options[selectDom.selectedIndex].value != "") { imgDom.src = xoopsUrl + imgDir + "/" + selectDom.options[selectDom.selectedIndex].value + extra; } else { - imgDom.src = xoopsUrl + "/modules/TDMCreate/assets/images/icons/blank.gif"; + imgDom.src = xoopsUrl + "/modules/tdmcreate/assets/icons/blank.gif"; } } @@ -35,7 +39,7 @@ //alert(data1); logoDom.src = data1.split('\n')[0];//the data returned has too many lines. We need only the link to the image logoDom.load; //refresh the logo - mycheck=caption+'_slogo.png'; //name of the new logo file + mycheck=caption+'_logo.png'; //name of the new logo file //if file is not in the list of logo files, add it to the dropdown menu var fileExist; elems = moduleImageDom.options; Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fields.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fields.php 2015-04-21 17:27:59 UTC (rev 13040) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fields.php 2015-04-24 17:26:17 UTC (rev 13041) @@ -226,7 +226,11 @@ $field_parent = 0; $check_field_parent = new XoopsFormCheckBox(' ', 'field_parent['.$i.']'); $check_field_parent->addOption($field_parent, _AM_TDMCREATE_FIELD_PARENT ); - $parameters_tray->addElement($check_field_parent); + $parameters_tray->addElement($check_field_parent); + /*$field_parent = ($table_autoincrement == 1) ? 2 : 1; + $check_field_parent = new TDMCreateFormRadio('', 'field_parent', $field_parent); + $check_field_parent->addOption($i, _AM_TDMCREATE_FIELD_PARENT ); + $parameters_tray->addElement($check_field_parent);*/ $field_inlist = 0; $check_field_inlist = new XoopsFormCheckBox(' ', 'field_inlist['.$i.']', $field_inlist); @@ -359,7 +363,11 @@ $check_field_parent = new XoopsFormCheckBox(' ', 'field_parent['.$id.']', $field->getVar('field_parent')); $check_field_parent->addOption(1, _AM_TDMCREATE_FIELD_PARENT ); - $parameters_tray->addElement($check_field_parent); + $parameters_tray->addElement($check_field_parent); + /*$field_parent = ($field->getVar('field_parent') == 1) ? $id : 1; + $check_field_parent = new TDMCreateFormRadio('', 'field_parent', $field_parent); + $check_field_parent->addOption($id, _AM_TDMCREATE_FIELD_PARENT ); + $parameters_tray->addElement($check_field_parent);*/ $check_field_inlist = new XoopsFormCheckBox(' ', 'field_inlist['.$id.']', $field->getVar('field_inlist')); $check_field_inlist->addOption(1, _AM_TDMCREATE_FIELD_INLIST); Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateArchitecture.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateArchitecture.php 2015-04-21 17:27:59 UTC (rev 13040) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateArchitecture.php 2015-04-24 17:26:17 UTC (rev 13041) @@ -347,20 +347,17 @@ $languageBlocks->write($module, $tables, 'blocks.php'); $ret[] = $languageBlocks->render(); } - // Creation of admin files - if ( $table->getVar('table_admin') == 1) { - // Creation of admin permission file - if (( $table->getVar('table_permissions') == 1)) { - // Admin Permissions File - $adminPermissions = AdminPermissions::getInstance(); - $adminPermissions->write($module, $tables, 'permissions.php'); - $ret[] = $adminPermissions->render(); - // Templates Admin Permissions File - $adminTemplatesPermissions = TemplatesAdminPermissions::getInstance(); - $adminTemplatesPermissions->write($module, $moduleDirname.'_admin_permissions.tpl'); - $ret[] = $adminTemplatesPermissions->render(); - } - } + // Creation of admin permission file + if ( $table->getVar('table_permissions') == 1 ) { + // Admin Permissions File + $adminPermissions = AdminPermissions::getInstance(); + $adminPermissions->write($module, $tables, 'permissions.php'); + $ret[] = $adminPermissions->render(); + // Templates Admin Permissions File + $adminTemplatesPermissions = TemplatesAdminPermissions::getInstance(); + $adminTemplatesPermissions->write($module, $moduleDirname.'_admin_permissions.tpl'); + $ret[] = $adminTemplatesPermissions->render(); + } // Creation of notifications files if ( $table->getVar('table_notifications') == 1 ) { // Include Notifications File Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminMenu.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminMenu.php 2015-04-21 17:27:59 UTC (rev 13040) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminMenu.php 2015-04-24 17:26:17 UTC (rev 13041) @@ -95,7 +95,7 @@ { $fieldElement = $fields[$f]->getVar('field_element'); switch( $fieldElement ) { - case 11: + case 13: $ret = <<<EOT \$adminmenu[\$i]['icon'] = 'assets/icons/32/{$tables[$t]->getVar('table_image')}';\n EOT; Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminObjects.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminObjects.php 2015-04-21 17:27:59 UTC (rev 13040) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminObjects.php 2015-04-24 17:26:17 UTC (rev 13041) @@ -71,6 +71,18 @@ return $ret; } /* + * @public function getUrlFileSetVar + * @param string $tableName + * @param string $fieldName + */ + public function getUrlFileSetVar($tableName, $fieldName) { + $ret = <<<EOT + // Set Var {$fieldName} + \${$tableName}Obj->setVar('{$fieldName}', formtUrl(\$_REQUEST['{$fieldName}']));\n +EOT; + return $ret; + } + /* * @public function getImageListSetVar * @param string $moduleDirname * @param string $tableName @@ -83,9 +95,9 @@ \$uploaddir = XOOPS_ROOT_PATH . '/Frameworks/moduleclasses/icons/32'; \$uploader = new XoopsMediaUploader(\$uploaddir, \${$moduleDirname}->getConfig('mimetypes'), \${$moduleDirname}->getConfig('maxsize'), null, null); - if (\$uploader->fetchMedia(\$_POST['xoops_upload_file'][0])) { + if (\$uploader->fetchMedia(\$_POST['xoops_upload_file'][])) { //\$uploader->setPrefix('{$fieldName}_'); - //\$uploader->fetchMedia(\$_POST['xoops_upload_file'][0]); + //\$uploader->fetchMedia(\$_POST['xoops_upload_file'][]); if (!\$uploader->upload()) { \$errors = \$uploader->getErrors(); redirect_header('javascript:history.go(-1)', 3, \$errors); @@ -112,9 +124,9 @@ \$uploaddir = {$stuModuleDirname}_UPLOAD_PATH.'/images/{$tableName}'; \$uploader = new XoopsMediaUploader(\$uploaddir, \${$moduleDirname}->getConfig('mimetypes'), \${$moduleDirname}->getConfig('maxsize'), null, null); - if (\$uploader->fetchMedia(\$_POST['xoops_upload_file'][0])) { + if (\$uploader->fetchMedia(\$_POST['xoops_upload_file'][])) { //\$uploader->setPrefix('{$fieldName}_'); - //\$uploader->fetchMedia(\$_POST['xoops_upload_file'][0]); + //\$uploader->fetchMedia(\$_POST['xoops_upload_file'][]); if (!\$uploader->upload()) { \$errors = \$uploader->getErrors(); redirect_header('javascript:history.go(-1)', 3, \$errors); @@ -141,9 +153,9 @@ \$uploaddir = {$stuModuleDirname}_UPLOAD_PATH.'/files/{$tableName}'; \$uploader = new XoopsMediaUploader(\$uploaddir, \${$moduleDirname}->getConfig('mimetypes'), \${$moduleDirname}->getConfig('maxsize'), null, null); - if (\$uploader->fetchMedia(\$_POST['xoops_upload_file'][0])) { + if (\$uploader->fetchMedia(\$_POST['xoops_upload_file'][])) { //\$uploader->setPrefix('{$fieldName}_') ; - //\$uploader->fetchMedia(\$_POST['xoops_upload_file'][0]); + //\$uploader->fetchMedia(\$_POST['xoops_upload_file'][]); if (!\$uploader->upload()) { \$errors = \$uploader->getErrors(); redirect_header('javascript:history.go(-1)', 3, \$errors); Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminPages.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminPages.php 2015-04-21 17:27:59 UTC (rev 13040) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminPages.php 2015-04-24 17:26:17 UTC (rev 13041) @@ -86,7 +86,7 @@ * @param string $fpif * @param string $fpmf */ - public function getAdminPagesList($moduleDirname, $table, $tableFieldname, $language, $fields, $fpif, $fpmf) { + public function getAdminPagesList($moduleDirname, $table, $tableFieldname, $language, $fields, $fpif, $fieldInForm, $fpmf) { $stuModuleDirname = strtoupper($moduleDirname); $tableName = $table->getVar('table_name'); $tableAutoincrement = $table->getVar('table_autoincrement'); @@ -98,10 +98,18 @@ \$start = XoopsRequest::getInt('start', 0); \$limit = XoopsRequest::getInt('limit', \${$moduleDirname}->getConfig('adminpager')); \$template_main = '{$moduleDirname}_admin_{$tableName}.tpl'; - \$GLOBALS['xoopsTpl']->assign('navigation', \$adminMenu->addNavigation('{$tableName}.php')); + \$GLOBALS['xoopsTpl']->assign('navigation', \$adminMenu->addNavigation('{$tableName}.php'));\n +EOT; + if ($fieldInForm == 1) { + $ret .= <<<EOT \$adminMenu->addItemButton({$language}ADD_{$stuTableFieldname}, '{$tableName}.php?op=new', 'add'); - \$GLOBALS['xoopsTpl']->assign('buttons', \$adminMenu->renderButton()); + \$GLOBALS['xoopsTpl']->assign('buttons', \$adminMenu->renderButton());\n +EOT; + } + $ret .= <<<EOT \$criteria = new CriteriaCompo(); + \$criteria->setStart(\$start); + \$criteria->setLimit(\$limit); \$criteria->setSort('{$fpif} ASC, {$fpmf}'); \$criteria->setOrder('ASC'); \${$tableName}Count = \${$tableName}Handler->getCount(\$criteria); @@ -134,14 +142,17 @@ $ret .= $this->adminobjects->getSelectUserGetVar($lpFieldName, $rpFieldName, $tableName, $fieldName); break; case 12: + $ret .= $this->adminobjects->getUrlFileGetVar($lpFieldName, $rpFieldName, $tableName, $fieldName); + break; + case 13: $ret .= $this->adminobjects->getUploadImageGetVar($lpFieldName, $rpFieldName, $tableName, $fieldName); break; - case 14: + case 15: $ret .= $this->adminobjects->getTextDateSelectGetVar($lpFieldName, $rpFieldName, $tableName, $fieldName); break; default: - if( ($fieldParent == 1) && !$table->getVar('table_category') ) { - if($fieldElement > 13) { + if( ($fieldParent == 1) && $table->getVar('table_category') == 0 ) { + if($fieldElement > 15) { $fieldElements = $this->tdmcreate->getHandler('fieldelements')->get($fieldElement); $fieldElementTid = $fieldElements->getVar('fieldelement_tid'); $fieldElementName = $fieldElements->getVar('fieldelement_name'); @@ -243,16 +254,19 @@ case 6: $ret .= $this->adminobjects->getCheckBoxOrRadioYNSetVar($tableName, $fieldName); break; - case 10: + case 11: $ret .= $this->adminobjects->getImageListSetVar($moduleDirname, $tableName, $fieldName); break; - case 11: + case 12: + $ret .= $this->adminobjects->getUrlFileSetVar($tableName, $fieldName); + break; + case 13: $ret .= $this->adminobjects->getUploadImageSetVar($moduleDirname, $tableName, $fieldName); break; - case 12: + case 14: $ret .= $this->adminobjects->getUploadFileSetVar($moduleDirname, $tableName, $fieldName); break; - case 13: + case 15: $ret .= $this->adminobjects->getTextDateSelectSetVar($tableName, $fieldName); break; default: @@ -387,6 +401,7 @@ foreach(array_keys($fields) as $f) { $fieldName = $fields[$f]->getVar('field_name'); + $fieldInForm = $fields[$f]->getVar('field_inform'); if($f == 0) { $fpif = $fieldName; } @@ -396,10 +411,12 @@ } $content = $this->getHeaderFilesComments($module, $filename); $content .= $this->getAdminPagesHeader($moduleDirname, $tableName, $fpif); - $content .= $this->getAdminPagesList($moduleDirname, $table, $tableFieldname, $language, $fields, $fpif, $fpmf); - $content .= $this->getAdminPagesNew($moduleDirname, $tableName, $language); - $content .= $this->getAdminPagesSave($moduleDirname, $tableName, $language, $fields, $fpif, $fpmf); - $content .= $this->getAdminPagesEdit($moduleDirname, $tableName, $tableFieldname, $language, $fpif); + $content .= $this->getAdminPagesList($moduleDirname, $table, $tableFieldname, $language, $fields, $fpif, $fieldInForm, $fpmf); + if ($fieldInForm == 1) { + $content .= $this->getAdminPagesNew($moduleDirname, $tableName, $language); + $content .= $this->getAdminPagesSave($moduleDirname, $tableName, $language, $fields, $fpif, $fpmf); + $content .= $this->getAdminPagesEdit($moduleDirname, $tableName, $tableFieldname, $language, $fpif); + } $content .= $this->getAdminPagesDelete($tableName, $language, $fpif, $fpmf); $content .= $this->getAdminPagesFooter(); // Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminPermissions.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminPermissions.php 2015-04-21 17:27:59 UTC (rev 13040) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminPermissions.php 2015-04-24 17:26:17 UTC (rev 13041) @@ -54,11 +54,11 @@ $this->setFileName($filename); } /* - * @private function getPermissionsCodeHeader + * @private function getPermissionsHeader * @param string $moduleDirname * @param string $language */ - private function getPermissionsCodeHeader($moduleDirname, $language) + private function getPermissionsHeader($moduleDirname, $language) { $ret = <<<PRM \ninclude_once 'header.php'; @@ -94,11 +94,11 @@ } /* - * @private function getPermissionsCodeSwitch + * @private function getPermissionsSwitch * @param string $moduleDirname * @param string $language */ - private function getPermissionsCodeSwitch($moduleDirname, $language) + private function getPermissionsSwitch($moduleDirname, $language) { $ret = <<<PRM \$module_id = \$xoopsModule->getVar('mid'); @@ -133,12 +133,12 @@ } /* - * @private function getPermissionsCodeBody + * @private function getPermissionsBody * @param string $moduleDirname * @param string $tableName * @param string $language */ - private function getPermissionsCodeBody($moduleDirname, $language) + private function getPermissionsBody($moduleDirname, $language) { $tables = $this->getTables(); foreach(array_keys($tables) as $t) @@ -151,11 +151,12 @@ $fields = $this->getTableFields($tableId); foreach(array_keys($fields) as $f) { + $fieldName = $fields[$f]->getVar('field_name'); if($f == 0) { - $fpif = $fields[$f]->getVar('field_name'); + $fpif = $fieldName; } if($fields[$f]->getVar('field_main') == 1) { - $fpmf = $fields[$f]->getVar('field_name'); + $fpmf = $fieldName; } } $ret = <<<PRM @@ -189,10 +190,10 @@ } /* - * @private function getPermissionsCodeFooter + * @private function getPermissionsFooter * @param null */ - private function getPermissionsCodeFooter() { + private function getPermissionsFooter() { $ret = <<<PRM } unset(\$permform); @@ -211,10 +212,10 @@ $moduleDirname = $module->getVar('mod_dirname'); $language = $this->getLanguage($moduleDirname, 'AM'); $content = $this->getHeaderFilesComments($module, $filename); - $content .= $this->getPermissionsCodeHeader($moduleDirname, $language); - $content .= $this->getPermissionsCodeSwitch($moduleDirname, $language); - $content .= $this->getPermissionsCodeBody($moduleDirname, $language); - $content .= $this->getPermissionsCodeFooter(); + $content .= $this->getPermissionsHeader($moduleDirname, $language); + $content .= $this->getPermissionsSwitch($moduleDirname, $language); + $content .= $this->getPermissionsBody($moduleDirname, $language); + $content .= $this->getPermissionsFooter(); // $this->tdmcfile->create($moduleDirname, 'admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED); return $this->tdmcfile->renderFile(); Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/classes/ClassFiles.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/classes/ClassFiles.php 2015-04-21 17:27:59 UTC (rev 13040) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/classes/ClassFiles.php 2015-04-24 17:26:17 UTC (rev 13041) @@ -422,6 +422,7 @@ foreach(array_keys($fields) as $f) { $fieldName = $fields[$f]->getVar('field_name'); + $fieldInForm = $fields[$f]->getVar('field_inform'); if(($f == 0) && ($table->getVar('table_autoincrement') == 1)) { $fpif = $fieldName; // $fpif = fields parameter index field } @@ -431,11 +432,13 @@ } $content = $this->getHeaderFilesComments($module, $filename); $content .= $this->getHeadClass($moduleDirname, $tableName, $fields); - $content .= $this->getHeadInForm($module, $table); - if ($table->getVar('table_permissions') == 1) { - $content .= $this->getPermissionsInForm($moduleDirname, $fpif); + if ($fieldInForm == 1) { + $content .= $this->getHeadInForm($module, $table); + if ($table->getVar('table_permissions') == 1) { + $content .= $this->getPermissionsInForm($moduleDirname, $fpif); + } + $content .= $this->getFootInForm(); } - $content .= $this->getFootInForm(); $content .= $this->getToArray(); $content .= $this->getClassHandler($moduleDirname, $tableName, $tableCategory, $tableFieldname, $fpif, $fpmf); Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/classes/ClassFormElements.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/classes/ClassFormElements.php 2015-04-21 17:27:59 UTC (rev 13040) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/classes/ClassFormElements.php 2015-04-24 17:26:17 UTC (rev 13041) @@ -167,6 +167,46 @@ return $ret; } /* + * @private function getXoopsFormSelectFile + * @param string $language + * @param string $moduleDirname + * @param string $fieldName + * @param string $fieldDefault + * @param string $fieldElement + * @param string $required + */ + private function getXoopsFormSelectFile($language, $moduleDirname, $fieldName, $fieldElement, $required = 'false') { + $ret = <<<EOT + // Image Select or Upload + if ( \$this->{$moduleDirname}->getConfig('useshots') ){ + \${$fieldName} = \$this->getVar('{$fieldName}'); + \$uploadirectory = '/uploads/{$moduleDirname}/images/shots'; + \$uploaddir = XOOPS_ROOT_PATH . \$uploadirectory . '/' . \${$fieldName}; + \${$moduleDirname}cat_img = \${$fieldName} ? \${$fieldName} : 'blank.gif'; + if (!is_file(\$uploaddir)){ + \${$moduleDirname}cat_img = 'blank.gif'; + } + \$imgtray = new XoopsFormElementTray({$language}_FORMIMG,'<br />'); + \$imgpath = sprintf({$language}_FORMPATH, \$uploadirectory ); + \$imageselect = new XoopsFormSelect(\$imgpath, 'selected_img',\${$moduleDirname}cat_img); + \${$fieldName}_array = XoopsLists :: getImgListAsArray( XOOPS_ROOT_PATH . \$uploadirectory ); + foreach( \${$fieldName}_array as \$image ) { + \$imageselect->addOption("\$image", \$image); + } + \$imageselect->setExtra( "onchange='showImgSelected(\"image3\", \"selected_img\", \"" . \$uploadirectory . "\", \"\", \"" . XOOPS_URL . "\")'" ); + \$imgtray->addElement(\$imageselect,false); + \$imgtray -> addElement( new XoopsFormLabel( '', "<br /><img src='" . XOOPS_URL . "/" . \$uploadirectory . "/" . \${$moduleDirname}cat_img . "' name='image3' id='image3' alt='' />" ) ); + \$fileseltray= new XoopsFormElementTray('','<br />'); + //if (\$perm_upload == true) { + \$fileseltray->addElement(new XoopsFormFile({$language}_FORMUPLOAD , 'attachedimage', \$this->{$moduleDirname}->getConfig('maxuploadsize')){$required}); + //} + \$imgtray->addElement(\$fileseltray); + \$form->addElement(\$imgtray); + }\n +EOT; + return $ret; + } + /* * @private function getXoopsFormTextFile * @param string $language * @param string $moduleDirname @@ -175,16 +215,12 @@ * @param string $fieldElement * @param string $required */ - private function getXoopsFormTextFile($language, $moduleDirname, $fieldName, $fieldDefault, $fieldElement, $required = 'false') { - if($fieldElement == 11 ) { - $f_text = $fieldName; - $f_default = $fieldDefault; - } + private function getXoopsFormUrlFile($language, $moduleDirname, $fieldName, $fieldDefault, $fieldElement, $required = 'false') { $ret = <<<EOT // Form Text File \$formTextFile = new XoopsFormElementTray({$language}FORM_FILE,'<br /><br />'); - \$field_text = \$this->isNew() ? '{$f_default}' : \$this->getVar('{$f_text}'); - \$formText = new XoopsFormText({$language}FORM_TEXT, '{$f_text}', 75, 255, \$field_text); + \$field_text = \$this->isNew() ? '{$fieldDefault}' : \$this->getVar('{$fieldName}'); + \$formText = new XoopsFormText({$language}FORM_TEXT, '{$fieldName}', 75, 255, \$field_text); \$formTextFile->addElement(\$formText{$required} ); \$formTextFile->addElement(new XoopsFormFile({$language}FORM_UPLOAD , 'attachedfile', \$this->{$moduleDirname}->getConfig('maxsize')){$required}); \$form->addElement(\$formTextFile);\n @@ -237,13 +273,13 @@ return $ret; } /* - * @private function getXoopsFormSelect + * @private function getXoopsFormSelectBox * @param string $language * @param string $tableName * @param string $fieldName * @param string $required */ - private function getXoopsFormSelect($language, $tableName, $fieldName, $required = 'false') { + private function getXoopsFormSelectBox($language, $tableName, $fieldName, $required = 'false') { $ret = <<<EOT // Form Select \${$fieldName}_select = new XoopsFormSelect({$language}, '{$fieldName}', \$this->getVar('{$fieldName}')); @@ -304,7 +340,7 @@ private function getXoopsFormTable($language, $moduleDirname, $tableName, $fieldName, $fieldElement, $required = 'false') { $ucfTableName = ucfirst($tableName); - if($fieldElement > 14) { + if($fieldElement > 15) { $fElement = $this->tdmcreate->getHandler('fieldelements')->get($fieldElement); $rpFieldelementName = strtolower(str_replace('Table : ', '', $fElement->getVar('fieldelement_name'))); } @@ -410,7 +446,7 @@ $ret .= $this->getXoopsFormRadioYN($language, $fieldName, $required); break; case 7: - $ret .= $this->getXoopsFormSelect($language, $tableName, $fieldName, $required); + $ret .= $this->getXoopsFormSelectBox($language, $tableName, $fieldName, $required); break; case 8: $ret .= $this->getXoopsFormSelectUser($language, $fieldName, $required); @@ -422,15 +458,18 @@ $ret .= $this->getXoopsFormImageList($language_funct, $moduleDirname, $tableName, $fieldName, $required); break; case 11: - $ret .= $this->getXoopsFormTextFile($language, $moduleDirname, $fieldName, $fieldDefault, $fieldElement, $required); + $ret .= $this->getXoopsFormSelectFile($language, $moduleDirname, $fieldName, $fieldElement, $required); break; case 12: + $ret .= $this->getXoopsFormUrlFile($language, $moduleDirname, $fieldName, $fieldDefault, $fieldElement, $required); + break; + case 13: $ret .= $this->getXoopsFormUploadImage($language_funct, $moduleDirname, $tableName, $required); break; - case 13: + case 14: $ret .= $this->getXoopsFormUploadFile($language, $moduleDirname, $tableName, $fieldName, $required); break; - case 14: + case 15: $ret .= $this->getXoopsFormTextDateSelect($language, $moduleDirname, $fieldName, $required); break; default: @@ -440,8 +479,8 @@ } break; } - if ($fieldElement > 14) { - if($table->getVar('table_category') == 1) { + if ($fieldElement > 15) { + if(($table->getVar('table_category') == 1) || ($fieldParent == 1)) { $ret .= $this->getXoopsFormTopic($language, $moduleDirname, $table, $fields, $required); } else { $ret .= $this->getXoopsFormTable($language, $moduleDirname, $tableName, $fieldName, $fieldElement, $required); Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/language/LanguageAdmin.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/language/LanguageAdmin.php 2015-04-21 17:27:59 UTC (rev 13040) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/language/LanguageAdmin.php 2015-04-24 17:26:17 UTC (rev 13041) @@ -159,10 +159,10 @@ case 10: $ret .= $this->defines->getDefine($language, "FORM_UPLOAD_IMAGE_LIST_{$stuTableName}", "{$fieldNameDesc} in frameworks images"); break; - case 11: + case 13: $ret .= $this->defines->getDefine($language, "FORM_UPLOAD_IMAGE_{$stuTableName}", "{$fieldNameDesc} in uploads images"); break; - case 12: + case 14: $ret .= $this->defines->getDefine($language, "FORM_UPLOAD_FILE_{$stuTableName}", "{$fieldNameDesc} in uploads files"); break; } Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/language/LanguageModinfo.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/language/LanguageModinfo.php 2015-04-21 17:27:59 UTC (rev 13040) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/language/LanguageModinfo.php 2015-04-24 17:26:17 UTC (rev 13041) @@ -184,6 +184,11 @@ $ret .= $this->defines->getDefine($language, "MIMETYPES", "Mime Types"); $ret .= $this->defines->getDefine($language, "MIMETYPES_DESC", "Set the mime types selected"); } + if ( $table->getVar('table_tag') != 0 ) + { + $ret .= $this->defines->getDefine($language, "USE_TAG", "Use TAG"); + $ret .= $this->defines->getDefine($language, "USE_TAG_DESC", "If you use tag module, check this option to yes"); + } } $ret .= $this->defines->getDefine($language, "IDPAYPAL", "Paypal ID"); $ret .= $this->defines->getDefine($language, "IDPAYPAL_DESC", "Insert here your PayPal ID for donactions."); Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/admin/TemplatesAdminPages.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/admin/TemplatesAdminPages.php 2015-04-21 17:27:59 UTC (rev 13040) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/admin/TemplatesAdminPages.php 2015-04-24 17:26:17 UTC (rev 13041) @@ -121,7 +121,7 @@ <td class="center"><img src="<{xoModuleIcons32}><{\$list.{$rpFieldName}}>" alt="{$tableName}"></td>\n EOT; break; - case 11: + case 13: $ret .= <<<EOT <td class="center"><img src="<{\${$moduleDirname}_upload_url}>/images/{$tableName}/<{\$list.{$rpFieldName}}>" alt="{$tableName}"></td>\n EOT; @@ -184,7 +184,7 @@ <td class="center"><img src="<{xoModuleIcons32}><{\$list.{$fieldName}}>" alt="{$tableName}"></td>\n EOT; break; - case 11: + case 13: $ret .= <<<EOT <td class="center"><img src="<{\${$moduleDirname}_upload_url}>/images/{$tableName}/<{\$list.{$fieldName}}>" alt="{$tableName}"></td>\n EOT; Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/blocks/TemplatesBlocks.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/blocks/TemplatesBlocks.php 2015-04-21 17:27:59 UTC (rev 13040) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/blocks/TemplatesBlocks.php 2015-04-24 17:26:17 UTC (rev 13041) @@ -112,7 +112,7 @@ </td>\n EOT; break; - case 11: + case 13: $ret .= <<<EOT <td class="center"> <img src="<{\${$moduleDirname}_upload_url}>/images/{$tableName}/<{\$list.{$rpFieldName}}>" alt="{$tableName}"> @@ -166,7 +166,7 @@ </td>\n EOT; break; - case 11: + case 13: $ret .= <<<EOT <td class="center"> <img src="<{\${$moduleDirname}_upload_url}>/images/{$tableName}/<{\$list.{$fieldName}}>" alt="{$tableName}"> Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/user/TemplatesUserPages.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/user/TemplatesUserPages.php 2015-04-21 17:27:59 UTC (rev 13040) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/user/TemplatesUserPages.php 2015-04-24 17:26:17 UTC (rev 13041) @@ -115,7 +115,7 @@ <td class="center"><img src="<{xoModuleIcons32}><{\$list.{$rpFieldName}}>" alt="{$tableName}"></td>\n EOT; break; - case 11: + case 13: $ret .= <<<EOT <td class="center"><img src="<{\${$moduleDirname}_upload_url}>/images/{$tableName}/<{\$list.{$rpFieldName}}>" alt="{$tableName}"></td>\n EOT; @@ -162,7 +162,7 @@ <td class="center"><span style="background-color: #<{\$list.{$fieldName}}>;"></span></td>\n EOT; break; - case 10: + case 13: $ret .= <<<EOT <td class="center"><img src="<{\${$moduleDirname}_upload_url}>/images/{$tableName}/<{\$list.{$fieldName}}>" alt="{$tableName}"></td>\n EOT; Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserHeader.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserHeader.php 2015-04-21 17:27:59 UTC (rev 13040) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserHeader.php 2015-04-24 17:26:17 UTC (rev 13041) @@ -73,19 +73,7 @@ \$pathname = XOOPS_ROOT_PATH. '/modules/'.\$dirname; include_once \$pathname . '/include/common.php'; // Get instance of module -\${$moduleDirname} = {$ucfModuleDirname}Helper::getInstance();\n -EOT; - if (is_object($table)) { - foreach (array_keys($tables) as $t) - { - $tableName = $tables[$t]->getVar('table_name'); - $content .= <<<EOT -// {$tableName} -\${$tableName}Handler =& \${$moduleDirname}->getHandler('{$tableName}');\n -EOT; - } - } - $content .=<<<EOT +\${$moduleDirname} = {$ucfModuleDirname}Helper::getInstance(); // \$myts =& MyTextSanitizer::getInstance(); \$style = {$stuModuleDirname}_URL . '/assets/css/style.css'; Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserPages.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserPages.php 2015-04-21 17:27:59 UTC (rev 13040) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserPages.php 2015-04-24 17:26:17 UTC (rev 13041) @@ -72,7 +72,10 @@ $stlTableName = strtolower($tableName); $ucfTableName = ucfirst($tableName); $ret = <<<EOT -\ninclude_once 'header.php'; +\ninclude_once 'header.php'; +// {$tableName} +\${$tableName}Handler =& \${$moduleDirname}->getHandler('{$tableName}'); +// \$GLOBALS['xoopsOption']['template_main'] = '{$moduleDirname}_{$tableName}.tpl'; include_once XOOPS_ROOT_PATH . '/header.php'; \$start = {$moduleDirname}_CleanVars( \$_REQUEST, 'start', 0); @@ -112,16 +115,19 @@ break; case 8: $ret .= $this->userobjects->getSelectUserGetVar($lpFieldName, $rpFieldName, $tableName, $fieldName); - break; - case 11: + break; + case 12: + $ret .= $this->adminobjects->getUrlFileGetVar($lpFieldName, $rpFieldName, $tableName, $fieldName); + break; + case 13: $ret .= $this->userobjects->getUploadImageGetVar($lpFieldName, $rpFieldName, $tableName, $fieldName); break; - case 13: + case 15: $ret .= $this->userobjects->getTextDateSelectGetVar($lpFieldName, $rpFieldName, $tableName, $fieldName); break; default: if( ($fieldParent == 1) && !$table->getVar('table_category') ) { - if($fieldElement > 13) { + if($fieldElement > 15) { $fieldElements = $this->tdmcreate->getHandler('fieldelements')->get($fieldElement); $fieldElementTid = $fieldElements->getVar('fieldelement_tid'); $fieldElementName = $fieldElements->getVar('fieldelement_name'); Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserSubmit.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserSubmit.php 2015-04-21 17:27:59 UTC (rev 13040) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserSubmit.php 2015-04-24 17:26:17 UTC (rev 13041) @@ -133,13 +133,13 @@ { $fieldName = $fields[$f]->getVar('field_name'); $fieldElement = $fields[$f]->getVar('field_element'); - if(($fieldElement == 4) || ($fieldElement == 5)) { + if(($fieldElement == 5) || ($fieldElement == 6)) { $ret .= $this->adminobjects->getCheckBoxOrRadioYN($tableName, $fieldName); - } elseif($fieldElement == 9) { + } elseif($fieldElement == 13) { $ret .= $this->adminobjects->getUploadImage($moduleDirname, $tableName, $fieldName); - } elseif($fieldElement == 10) { + } elseif($fieldElement == 14) { $ret .= $this->adminobjects->getUploadFile($moduleDirname, $tableName, $fieldName); - } elseif($fieldElement == 11) { + } elseif($fieldElement == 15) { $ret .= $this->adminobjects->getTextDateSelect($tableName, $fieldName); } else { $ret .= $this->adminobjects->getSimpleSetVar($tableName, $fieldName); Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserXoopsVersion.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserXoopsVersion.php 2015-04-21 17:27:59 UTC (rev 13040) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserXoopsVersion.php 2015-04-24 17:26:17 UTC (rev 13041) @@ -422,11 +422,13 @@ 'default' => "{$moduleDirname}, {$keyword}");\n\n EOT; unset($this->keywords); - if (is_object($table)) { + if (is_object($table)) + { foreach (array_keys($fields) as $f) { $fieldElement = $fields[$f]->getVar('field_element'); - if(( $fieldElement == 9 ) || ( $fieldElement == 10 )) { + if(( $fieldElement == 10 ) || ( $fieldElement == 11 ) || + ( $fieldElement == 12 ) || ( $fieldElement == 13 ) || ( $fieldElement == 14 )) { $ret .= <<<EOT //Uploads : maxsize of image \$modversion['config'][] = array( @@ -449,8 +451,8 @@ "jpeg" => "image/jpeg","jpg" => "image/jpg","jpe" => "image/jpe", "png" => "image/png"));\n\n EOT; + } } - } if ($table->getVar('table_admin') == 1) { $ret .= <<<EOT \$modversion['config'][] = array( @@ -474,6 +476,17 @@ EOT; } } + if ($table->getVar('table_tag') == 1) { + $ret .= <<<EOT +\$modversion['config'][] = array( + 'name' => "usetag", + 'title' => "{$language}USE_TAG", + 'description' => "{$language}USE_TAG_DESC", + 'formtype' => "yesno", + 'valuetype' => "int", + 'default' => 0);\n\n +EOT; + } $ret .= <<<EOT \$modversion['config'][] = array( 'name' => "advertise", Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/logoGenerator.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/logoGenerator.php 2015-04-21 17:27:59 UTC (rev 13040) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/logoGenerator.php 2015-04-24 17:26:17 UTC (rev 13041) @@ -53,9 +53,9 @@ $iconFileName = XOOPS_ROOT_PATH . "/Frameworks/moduleclasses/icons/32/".basename($logoIcon); //$dirlogos = TDMC_PATH . "/assets/images/logos"; - $dirlogos = XOOPS_ROOT_PATH . "/modules/" . $dirname . "/assets/images/logos"; - if (!file_exists($imageBase = $dirlogos . "/xoops2.png") || - !file_exists($font = $dirlogos . "/VeraBd.ttf") || + //$dirlogos = XOOPS_ROOT_PATH . "/modules/" . $dirname . "/assets/images/logos"; + if (!file_exists($imageBase = TDMC_IMAGE_LOGOS_PATH . "/xoops2.png") || + !file_exists($font = TDMC_IMAGE_LOGOS_PATH . "/VeraBd.ttf") || !file_exists($iconFile = $iconFileName)) { return false; } @@ -70,8 +70,8 @@ imagecopy($imageModule, $imageIcon, 29, 2, 0, 0, 32, 32); - //$targetImage = TDMC_UPLOAD_IMGMOD_URL . "/" . $moduleDirname . "_slogo.png"; - $targetImage = "/uploads/" . $dirname . "/images/repository/" . $moduleDirname . "_logo.png"; + $targetImage = TDMC_UPLOAD_IMGMOD_URL . "/" . $moduleDirname . "_logo.png"; + //$targetImage = "/uploads/" . $dirname . "/images/repository/" . $moduleDirname . "_logo.png"; imagepng($imageModule, XOOPS_ROOT_PATH . $targetImage ); Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/sql/mysql.sql =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/sql/mysql.sql 2015-04-21 17:27:59 UTC (rev 13040) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/sql/mysql.sql 2015-04-24 17:26:17 UTC (rev 13041) @@ -254,7 +254,8 @@ (8, 0, 0, 'SelectUser', 'XoopsFormSelectUser'), (9, 0, 0, 'ColorPicker', 'XoopsFormColorPicker'), (10, 0, 0, 'ImageList', 'XoopsFormImageList'), - (11, 0, 0, 'TextFile', 'XoopsFormTextFile'), - (12, 0, 0, 'UploadImage', 'XoopsFormUploadImage'), - (13, 0, 0, 'UploadFile', 'XoopsFormUploadFile'), - (14, 0, 0, 'TextDateSelect', 'XoopsFormTextDateSelect'); \ No newline at end of file + (11, 0, 0, 'SelectFile', 'XoopsFormSelectFile'), + (12, 0, 0, 'UrlFile', 'XoopsFormUrlFile'), + (13, 0, 0, 'UploadImage', 'XoopsFormUploadImage'), + (14, 0, 0, 'UploadFile', 'XoopsFormUploadFile'), + (15, 0, 0, 'TextDateSelect', 'XoopsFormTextDateSelect'); \ No newline at end of file Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/xoops_version.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/xoops_version.php 2015-04-21 17:27:59 UTC (rev 13040) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/xoops_version.php 2015-04-24 17:26:17 UTC (rev 13041) @@ -35,7 +35,7 @@ $modversion['release_file'] = XOOPS_URL."/modules/{$dirname}/docs/readme.txt"; $modversion['manual'] = "MANUAL"; $modversion['manual_file'] = XOOPS_URL."/modules/{$dirname}/docs/manual.txt"; -$modversion['image'] = "assets/images/logo.png"; +$modversion['image'] = "assets/images/{$dirname}_logo.png"; $modversion['dirname'] = "{$dirname}"; $modversion['dirmoduleadmin'] = "/Frameworks/moduleclasses/moduleadmin"; |
From: <txm...@us...> - 2015-04-21 17:28:10
|
Revision: 13040 http://sourceforge.net/p/xoops/svn/13040 Author: txmodxoops Date: 2015-04-21 17:27:59 +0000 (Tue, 21 Apr 2015) Log Message: ----------- Updated Fixed bugs for field main Work in progress Modified Paths: -------------- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fields.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateArchitecture.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateStructure.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminPages.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/classes/ClassFormElements.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserPages.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/form/TDMCreateFormRadio.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/sql/mysql.sql XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_fields.tpl Added Paths: ----------- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/language/english/mail_template/ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/language/english/mail_template/index.html Removed Paths: ------------- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/icons/ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/form/TDMCreateFormRadioCopia.php Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fields.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fields.php 2015-04-19 20:33:25 UTC (rev 13039) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fields.php 2015-04-21 17:27:59 UTC (rev 13040) @@ -253,8 +253,8 @@ $check_field_block->addOption(1, _AM_TDMCREATE_FIELD_BLOCK); $parameters_tray->addElement($check_field_block); - $main = ($table_autoincrement == 1) ? 2 : 1; - $check_field_main = new TDMCreateFormRadio('', 'field_main', $i, $main);//['.$i.'] + $field_main = ($table_autoincrement == 1) ? 2 : 1; + $check_field_main = new TDMCreateFormRadio('', 'field_main', $field_main); $check_field_main->addOption($i, _AM_TDMCREATE_FIELD_MAINFIELD ); $parameters_tray->addElement($check_field_main); @@ -294,8 +294,7 @@ // Get the list of fields $criteria = new CriteriaCompo(); $criteria->add(new Criteria('field_mid', $field_mid)); - $criteria->add(new Criteria('field_tid', $field_tid)); - //$criteria->add(new Criteria('field_numb', $field_numb)); + $criteria->add(new Criteria('field_tid', $field_tid)); $criteria->setSort('field_id'); //added by goffy $fields = $this->tdmcreate->getHandler('fields')->getObjects($criteria); unset($criteria); @@ -383,7 +382,7 @@ $parameters_tray->addElement($check_field_block); $field_main = ($field->getVar('field_main') == 1) ? $id : 1; - $check_field_main = new TDMCreateFormRadio('', 'field_main', $id, $field_main); + $check_field_main = new TDMCreateFormRadio('', 'field_main', $field_main); $check_field_main->addOption($id, _AM_TDMCREATE_FIELD_MAINFIELD ); $parameters_tray->addElement($check_field_main); Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateArchitecture.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateArchitecture.php 2015-04-19 20:33:25 UTC (rev 13039) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateArchitecture.php 2015-04-21 17:27:59 UTC (rev 13040) @@ -197,7 +197,6 @@ } } } - var_dump($indexFile); } /* Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateStructure.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateStructure.php 2015-04-19 20:33:25 UTC (rev 13039) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateStructure.php 2015-04-21 17:27:59 UTC (rev 13040) @@ -170,7 +170,7 @@ } /* * @public function copy file - * @param string $foldername + * @param string $folderName * @param string $fromFile * @param string $toFile */ Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminPages.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminPages.php 2015-04-19 20:33:25 UTC (rev 13039) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminPages.php 2015-04-21 17:27:59 UTC (rev 13040) @@ -133,10 +133,10 @@ case 8: $ret .= $this->adminobjects->getSelectUserGetVar($lpFieldName, $rpFieldName, $tableName, $fieldName); break; - case 11: + case 12: $ret .= $this->adminobjects->getUploadImageGetVar($lpFieldName, $rpFieldName, $tableName, $fieldName); break; - case 13: + case 14: $ret .= $this->adminobjects->getTextDateSelectGetVar($lpFieldName, $rpFieldName, $tableName, $fieldName); break; default: @@ -145,22 +145,22 @@ $fieldElements = $this->tdmcreate->getHandler('fieldelements')->get($fieldElement); $fieldElementTid = $fieldElements->getVar('fieldelement_tid'); $fieldElementName = $fieldElements->getVar('fieldelement_name'); - $rpFieldElementName = strtolower(str_replace('Table : ', '', $fieldElementName)); - } - // - $fieldNameParent = $fieldName; - // - $criteriaFieldsTopic = new CriteriaCompo(); - $criteriaFieldsTopic->add(new Criteria('field_tid', $fieldElementTid)); - $fieldsTopic = $this->tdmcreate->getHandler('fields')->getObjects($criteriaFieldsTopic); - unset($criteriaFieldsTopic); - foreach(array_keys($fieldsTopic) as $ft) - { - if( $fieldsTopic[$ft]->getVar('field_main') == 1 ) { - $fieldNameTopic = $fieldsTopic[$ft]->getVar('field_name'); + $rpFieldElementName = strtolower(str_replace('Table : ', '', $fieldElementName)); + // + $fieldNameParent = $fieldName; + // + $criteriaFieldsTopic = new CriteriaCompo(); + $criteriaFieldsTopic->add(new Criteria('field_tid', $fieldElementTid)); + $fieldsTopic = $this->tdmcreate->getHandler('fields')->getObjects($criteriaFieldsTopic); + unset($criteriaFieldsTopic); + foreach(array_keys($fieldsTopic) as $ft) + { + if( $fieldsTopic[$ft]->getVar('field_main') == 1 ) { + $fieldNameTopic = $fieldsTopic[$ft]->getVar('field_name'); + } } + $ret .= $this->adminobjects->getTopicGetVar($lpFieldName, $rpFieldName, $tableName, $rpFieldElementName, $fieldNameParent, $fieldNameTopic); } - $ret .= $this->adminobjects->getTopicGetVar($lpFieldName, $rpFieldName, $tableName, $rpFieldElementName, $fieldNameParent, $fieldNameTopic); } else { $ret .= $this->adminobjects->getSimpleGetVar($lpFieldName, $rpFieldName, $tableName, $fieldName); } Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/classes/ClassFormElements.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/classes/ClassFormElements.php 2015-04-19 20:33:25 UTC (rev 13039) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/classes/ClassFormElements.php 2015-04-21 17:27:59 UTC (rev 13040) @@ -167,6 +167,31 @@ return $ret; } /* + * @private function getXoopsFormTextFile + * @param string $language + * @param string $moduleDirname + * @param string $fieldName + * @param string $fieldDefault + * @param string $fieldElement + * @param string $required + */ + private function getXoopsFormTextFile($language, $moduleDirname, $fieldName, $fieldDefault, $fieldElement, $required = 'false') { + if($fieldElement == 11 ) { + $f_text = $fieldName; + $f_default = $fieldDefault; + } + $ret = <<<EOT + // Form Text File + \$formTextFile = new XoopsFormElementTray({$language}FORM_FILE,'<br /><br />'); + \$field_text = \$this->isNew() ? '{$f_default}' : \$this->getVar('{$f_text}'); + \$formText = new XoopsFormText({$language}FORM_TEXT, '{$f_text}', 75, 255, \$field_text); + \$formTextFile->addElement(\$formText{$required} ); + \$formTextFile->addElement(new XoopsFormFile({$language}FORM_UPLOAD , 'attachedfile', \$this->{$moduleDirname}->getConfig('maxsize')){$required}); + \$form->addElement(\$formTextFile);\n +EOT; + return $ret; + } + /* * @private function getXoopsFormUploadImage * @param string $language * @param string $moduleDirname @@ -279,7 +304,7 @@ private function getXoopsFormTable($language, $moduleDirname, $tableName, $fieldName, $fieldElement, $required = 'false') { $ucfTableName = ucfirst($tableName); - if($fieldElement > 13) { + if($fieldElement > 14) { $fElement = $this->tdmcreate->getHandler('fieldelements')->get($fieldElement); $rpFieldelementName = strtolower(str_replace('Table : ', '', $fElement->getVar('fieldelement_name'))); } @@ -347,6 +372,7 @@ foreach(array_keys($fields) as $f) { $fieldName = $fields[$f]->getVar('field_name'); + $fieldDefault = $fields[$f]->getVar('field_default'); $fieldElement = $fields[$f]->getVar('field_element'); $fieldParent = $fields[$f]->getVar('field_parent'); $fieldInForm = $fields[$f]->getVar('field_inform'); @@ -396,12 +422,15 @@ $ret .= $this->getXoopsFormImageList($language_funct, $moduleDirname, $tableName, $fieldName, $required); break; case 11: + $ret .= $this->getXoopsFormTextFile($language, $moduleDirname, $fieldName, $fieldDefault, $fieldElement, $required); + break; + case 12: $ret .= $this->getXoopsFormUploadImage($language_funct, $moduleDirname, $tableName, $required); break; - case 12: + case 13: $ret .= $this->getXoopsFormUploadFile($language, $moduleDirname, $tableName, $fieldName, $required); break; - case 13: + case 14: $ret .= $this->getXoopsFormTextDateSelect($language, $moduleDirname, $fieldName, $required); break; default: @@ -411,7 +440,7 @@ } break; } - if ($fieldElement > 13) { + if ($fieldElement > 14) { if($table->getVar('table_category') == 1) { $ret .= $this->getXoopsFormTopic($language, $moduleDirname, $table, $fields, $required); } else { Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserPages.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserPages.php 2015-04-19 20:33:25 UTC (rev 13039) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserPages.php 2015-04-21 17:27:59 UTC (rev 13040) @@ -125,22 +125,22 @@ $fieldElements = $this->tdmcreate->getHandler('fieldelements')->get($fieldElement); $fieldElementTid = $fieldElements->getVar('fieldelement_tid'); $fieldElementName = $fieldElements->getVar('fieldelement_name'); - $rpFieldElementName = strtolower(str_replace('Table : ', '', $fieldElementName)); - } - // - $fieldNameParent = $fieldName; - // - $criteriaFieldsTopic = new CriteriaCompo(); - $criteriaFieldsTopic->add(new Criteria('field_tid', $fieldElementTid)); - $fieldsTopic = $this->tdmcreate->getHandler('fields')->getObjects($criteriaFieldsTopic); - unset($criteriaFieldsTopic); - foreach(array_keys($fieldsTopic) as $ft) - { - if( $fieldsTopic[$ft]->getVar('field_main') == 1 ) { - $fieldNameTopic = $fieldsTopic[$ft]->getVar('field_name'); + $rpFieldElementName = strtolower(str_replace('Table : ', '', $fieldElementName)); + // + $fieldNameParent = $fieldName; + // + $criteriaFieldsTopic = new CriteriaCompo(); + $criteriaFieldsTopic->add(new Criteria('field_tid', $fieldElementTid)); + $fieldsTopic = $this->tdmcreate->getHandler('fields')->getObjects($criteriaFieldsTopic); + unset($criteriaFieldsTopic); + foreach(array_keys($fieldsTopic) as $ft) + { + if( $fieldsTopic[$ft]->getVar('field_main') == 1 ) { + $fieldNameTopic = $fieldsTopic[$ft]->getVar('field_name'); + } } + $ret .= $this->userobjects->getTopicGetVar($lpFieldName, $rpFieldName, $tableName, $rpFieldElementName, $fieldNameParent, $fieldNameTopic); } - $ret .= $this->userobjects->getTopicGetVar($lpFieldName, $rpFieldName, $tableName, $rpFieldElementName, $fieldNameParent, $fieldNameTopic); } else { $ret .= $this->userobjects->getSimpleGetVar($lpFieldName, $rpFieldName, $tableName, $fieldName); } Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/form/TDMCreateFormRadio.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/form/TDMCreateFormRadio.php 2015-04-19 20:33:25 UTC (rev 13039) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/form/TDMCreateFormRadio.php 2015-04-21 17:27:59 UTC (rev 13040) @@ -28,14 +28,6 @@ var $_options = array(); /** - * Pre-selected id - * - * @var integer - * @access private - */ - var $_id = null; - - /** * Pre-selected value * * @var string @@ -67,11 +59,10 @@ * @param string $value Pre-selected value * @param string $delimeter */ - function TDMCreateFormRadio($caption, $name, $id, $value = null, $delimeter = ' ') + function TDMCreateFormRadio($caption, $name, $value = null, $delimeter = ' ') { $this->setCaption($caption); $this->setName($name); - $this->setId($id); if (isset($value)) { $this->setValue($value); } @@ -98,29 +89,8 @@ { $this->_value = $value; } - - /** - * Get the "_id" attribute - * - * @param null - * @return string - */ - function getId() - { - return $this->_id; - } /** - * Set the pre-selected id - * - * @param $_id string - */ - function setId($_id) - { - $this->_id = $_id; - } - - /** * Add an option * * @param string $value "value" attribute - This gets submitted as form-data. @@ -189,31 +159,29 @@ { $ret = ''; $ele_name = $this->getName(); - $ele_id = $this->getId(); $ele_title = $this->getTitle(); $ele_value = $this->getValue(); $ele_options = $this->getOptions(); $ele_extra = $this->getExtra(); $ele_delimeter = empty($this->columns) ? $this->getDelimeter() : ''; if (! empty($this->columns)) { - $ret .= '<table><tr>'; + $ret .= '<table class="table table-bordered"><tr>'; } $i = 0; - + $id_ele = 0; foreach ($ele_options as $value => $name) { + $id_ele++; if (! empty($this->columns)) { if ($i % $this->columns == 0) { $ret .= '<tr>'; } - $ret .= '<td>'; + $ret .= '<td class="radio">'; } - $ent_title = htmlspecialchars($ele_title, ENT_QUOTES); - $ent_value = htmlspecialchars($value, ENT_QUOTES); - $ret .= "<input type='radio' name='{$ele_name}' id='{$ele_name}[{$ele_id}]' title='{$ent_title}' value='{$ent_value}'"; + $ret .= '<input type="radio" name="' . $ele_name . '" id="' . $ele_name . '[' .$value. ']' . $id_ele. '" title = "' . htmlspecialchars($ele_title, ENT_QUOTES) . '" value="' . htmlspecialchars($value, ENT_QUOTES) . '"'; if (isset($ele_value) && $value == $ele_value) { - $ret .= " checked='checked'"; + $ret .= ' checked="checked"'; } - $ret .= $ele_extra . " />" . "<label name='xolb_{$ele_name}[{$ent_value}]' for='{$ele_name}[{$ele_id}]'>{$name}</label>" . $ele_delimeter ; + $ret .= $ele_extra . ' />' . "<label name='xolb_{$ele_name}' for='" . $ele_name . '[' .$value. ']' . $id_ele. "'><span><span></span></span>" . $name . "</label>" . $ele_delimeter ; if (! empty($this->columns)) { $ret .= '</td>'; if (++ $i % $this->columns == 0) { @@ -227,6 +195,7 @@ } $ret .= '</table>'; } + return $ret; } } \ No newline at end of file Deleted: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/form/TDMCreateFormRadioCopia.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/form/TDMCreateFormRadioCopia.php 2015-04-19 20:33:25 UTC (rev 13039) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/form/TDMCreateFormRadioCopia.php 2015-04-21 17:27:59 UTC (rev 13040) @@ -1,220 +0,0 @@ -<?php -/** - * XOOPS form radio compo - * - * 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://www.xoops.org/ - * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) - * @package tdmcreate - * @since 1.91 - * @author Kazumi Ono (AKA onokazu) http://www.myweb.ne.jp/, http://jp.xoops.org/ - * @author Taiwen Jiang <ph...@us...> - * @version $Id: TDMCreateFormRadio.php 12360 2014-12-06 13:18:22Z timgno $ - */ -class TDMCreateFormRadio extends XoopsFormElement -{ - /** - * Array of Options - * - * @var array - * @access private - */ - private $_options = array(); - - /** - * Pre-selected value - * - * @var integer - * @access private - */ - private $_id = null; - - /** - * Pre-selected value - * - * @var string - * @access private - */ - private $_value = null; - - /** - * Checked for selection - * - * @var boolean - * @access private - */ - private $checked; - - /** - * HTML to seperate the elements - * - * @var string - * @access private - */ - private $_delimeter; - - /** - * Column number for rendering - * - * @var int - * @access public - */ - public $columns; - - /** - * Constructor - * - * @param string $caption Caption - * @param string $name "name" attribute - * @param integer $id "id" attribute - * @param string $value Pre-selected value - * @param string $delimeter - */ - function TDMCreateFormRadio($caption, $name, $value = null, $checked = false, $delimeter = ' ') - { - $this->setCaption($caption); - $this->setName($name); - if (isset($value)) { - $this->setValue($value); - } - $this->checked = $checked; - $this->_delimeter = $delimeter; - } - - /** - * Get the "value" attribute - * - * @param bool $encode To sanitizer the text? - * @return string - */ - function getValue($encode = false) - { - return ($encode && $this->_value !== null) ? htmlspecialchars($this->_value, ENT_QUOTES) : $this->_value; - } - - /** - * Set the pre-selected value - * - * @param $value string - */ - function setValue($value) - { - $this->_value = $value; - } - - /** - * Add an option - * - * @param string $value "value" attribute - This gets submitted as form-data. - * @param string $name "name" attribute - This is displayed. If empty, we use the "value" instead. - */ - function addOption($value, $name = '') - { - if ($name != '') { - $this->_options[$value] = $name; - } else { - $this->_options[$value] = $value; - } - } - - /** - * Adds multiple options - * - * @param array $options Associative array of value->name pairs. - */ - function addOptionArray($options) - { - if (is_array($options)) { - foreach ($options as $k => $v) { - $this->addOption($k, $v); - } - } - } - - /** - * Get an array with all the options - * - * @param bool|int $encode To sanitizer the text? potential values: 0 - skip; 1 - only for value; 2 - for both value and name - * - * @return array Associative array of value->name pairs - */ - function getOptions($encode = false) - { - if (! $encode) { - return $this->_options; - } - $value = array(); - foreach ($this->_options as $val => $name) { - $value[$encode ? htmlspecialchars($val, ENT_QUOTES) : $val] = ($encode > 1) ? htmlspecialchars($name, ENT_QUOTES) : $name; - } - - return $value; - } - - /** - * Get the delimiter of this group - * - * @param bool $encode To sanitizer the text? - * @return string The delimiter - */ - function getDelimeter($encode = false) - { - return $encode ? htmlspecialchars(str_replace(' ', ' ', $this->_delimeter)) : $this->_delimeter; - } - - /** - * Prepare HTML for output - * - * @return string HTML - */ - function render() - { - $ret = ''; - $ele_name = $this->getName(); - $ele_id = $this->getId(); - $ele_value = $this->getValue(); - $ele_options = $this->getOptions(); - $ele_extra = $this->getExtra(); - $ele_delimeter = empty($this->columns) ? $this->getDelimeter() : ''; - if (! empty($this->columns)) { - $ret .= '<table><tr>'; - } - $i = 0; - foreach ($ele_options as $value => $name) { - if (! empty($this->columns)) { - if ($i % $this->columns == 0) { - $ret .= '<tr>'; - } - $ret .= '<td>'; - } - if (isset($ele_value) && $value == $ele_value) { - $check = " checked='checked'"; - } - if ($this->checked) { - $ret .= "<input type='radio' name='{$ele_name}' id='{$ele_id}' value='{$value}'{$check}"; - } else { - $ret .= "<input type='radio' name='{$ele_name}' id='{$ele_id}' value='{$value}'"; - } - $ret .= $ele_extra . " />" . "<label name='xolb_{$ele_name}' for='" . $ele_name . $ele_value. "'>" . $name . "</label>" . $ele_delimeter ; - if (! empty($this->columns)) { - $ret .= '</td>'; - if (++ $i % $this->columns == 0) { - $ret .= '</tr>'; - } - } - } - if (! empty($this->columns)) { - if ($span = $i % $this->columns) { - $ret .= '<td colspan="' . ($this->columns - $span) . '"></td></tr>'; - } - $ret .= '</table>'; - } - return $ret; - } -} \ No newline at end of file Added: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/language/english/mail_template/index.html =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/language/english/mail_template/index.html (rev 0) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/language/english/mail_template/index.html 2015-04-21 17:27:59 UTC (rev 13040) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/sql/mysql.sql =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/sql/mysql.sql 2015-04-19 20:33:25 UTC (rev 13039) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/sql/mysql.sql 2015-04-21 17:27:59 UTC (rev 13040) @@ -1,259 +1,260 @@ -# SQL Dump for tdmcreate module -# PhpMyAdmin Version: 4.0.4 -# http://www.phpmyadmin.net -# -# Host: localhost -# Generated on: Thu Jen 02, 2014 to 19:12 -# Server version: 5.5.24-log -# PHP Version: 5.3.13 - -# -# Table structure for table `tdmcreate_modules` 38 -# - -CREATE TABLE `tdmcreate_modules` ( - `mod_id` INT(5) UNSIGNED NOT NULL AUTO_INCREMENT, - `mod_name` VARCHAR(255) NOT NULL DEFAULT '', - `mod_dirname` VARCHAR(100) NOT NULL DEFAULT '', - `mod_version` VARCHAR(5) NOT NULL DEFAULT '1.0', - `mod_since` VARCHAR(5) NOT NULL DEFAULT '1.0', - `mod_min_php` VARCHAR(5) NOT NULL DEFAULT '5.3', - `mod_min_xoops` VARCHAR(5) NOT NULL DEFAULT '2.5.7', - `mod_min_admin` VARCHAR(5) NOT NULL DEFAULT '1.1', - `mod_min_mysql` VARCHAR(5) NOT NULL DEFAULT '5.0.7', - `mod_description` TEXT, - `mod_author` VARCHAR(255) NOT NULL DEFAULT 'TDM XOOPS', - `mod_author_mail` VARCHAR(255) NOT NULL DEFAULT 'in...@em...', - `mod_author_website_url` VARCHAR(255) NOT NULL DEFAULT 'http://', - `mod_author_website_name` VARCHAR(255) NOT NULL DEFAULT '', - `mod_credits` VARCHAR(255) NOT NULL DEFAULT 'TDM XOOPS', - `mod_license` VARCHAR(255) NOT NULL DEFAULT 'GNU', - `mod_release_info` VARCHAR(255) NOT NULL DEFAULT '', - `mod_release_file` VARCHAR(255) NOT NULL DEFAULT '', - `mod_manual` VARCHAR(255) NOT NULL DEFAULT '', - `mod_manual_file` VARCHAR(255) NOT NULL DEFAULT '', - `mod_image` VARCHAR(255) NOT NULL DEFAULT '', - `mod_demo_site_url` VARCHAR(255) NOT NULL DEFAULT 'http://', - `mod_demo_site_name` VARCHAR(255) NOT NULL DEFAULT '', - `mod_support_url` VARCHAR(255) NOT NULL DEFAULT 'http://', - `mod_support_name` VARCHAR(255) NOT NULL DEFAULT '', - `mod_website_url` VARCHAR(255) NOT NULL DEFAULT 'http://', - `mod_website_name` VARCHAR(255) NOT NULL DEFAULT '', - `mod_release` VARCHAR(11) NOT NULL DEFAULT '00-00-0000', - `mod_status` VARCHAR(150) NOT NULL DEFAULT 'Beta 1', - `mod_admin` TINYINT(1) UNSIGNED NOT NULL DEFAULT '1', - `mod_user` TINYINT(1) UNSIGNED NOT NULL DEFAULT '1', - `mod_blocks` TINYINT(1) UNSIGNED NOT NULL DEFAULT '1', - `mod_search` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', - `mod_comments` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', - `mod_notifications` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', - `mod_permissions` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', - `mod_inroot_copy` TINYINT(1) UNSIGNED NOT NULL DEFAULT '1', - `mod_donations` VARCHAR(50) NOT NULL DEFAULT '6KJ7RW5DR3VTJ', - `mod_subversion` VARCHAR(10) NOT NULL DEFAULT '12550', - PRIMARY KEY (`mod_id`), - KEY `mod_name` (`mod_name`), - UNIQUE KEY `mod_dirname` (`mod_dirname`) -)ENGINE =MyISAM; - - -CREATE TABLE `tdmcreate_tables` ( - `table_id` INT(5) UNSIGNED NOT NULL AUTO_INCREMENT, - `table_mid` INT(5) UNSIGNED NOT NULL DEFAULT '0', - `table_category` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', - `table_name` VARCHAR(150) NOT NULL DEFAULT '', - `table_fieldname` VARCHAR(150) NOT NULL DEFAULT '', - `table_nbfields` INT(5) UNSIGNED NOT NULL DEFAULT '0', - `table_image` VARCHAR(150) NOT NULL DEFAULT '', - `table_autoincrement` TINYINT(1) NOT NULL DEFAULT '1', - `table_blocks` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', - `table_admin` TINYINT(1) UNSIGNED NOT NULL DEFAULT '1', - `table_user` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', - `table_submenu` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', - `table_submit` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', - `table_tag` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', - `table_broken` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', - `table_search` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', - `table_comments` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', - `table_notifications` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', - `table_permissions` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', - `table_rate` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', - `table_print` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', - `table_pdf` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', - `table_rss` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', - `table_single` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', - `table_visit` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', - PRIMARY KEY (`table_id`), - KEY `table_mid` (`table_mid`), - UNIQUE KEY `table_name` (`table_name`) -)ENGINE =MyISAM; - -# -# Table structure for table `tdmcreate_fields` 21 -# - -CREATE TABLE `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(10) UNSIGNED NOT NULL DEFAULT '0', - `field_order` SMALLINT(3) 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 '', - `field_attribute` VARCHAR(50) NOT NULL DEFAULT '', - `field_null` CHAR(10) NOT NULL DEFAULT '', - `field_default` VARCHAR(150) NOT NULL DEFAULT '', - `field_key` CHAR(10) NOT NULL DEFAULT '', - `field_element` VARCHAR(150) NOT NULL DEFAULT '', - `field_parent` TINYINT(1) NOT NULL DEFAULT '0', - `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`), - KEY `field_name` (`field_name`) -)ENGINE =MyISAM; - -# -# Table structure for table `tdmcreate_languages` 5 -# - -CREATE TABLE `tdmcreate_languages` ( - `lng_id` INT(5) UNSIGNED NOT NULL AUTO_INCREMENT, - `lng_mid` INT(5) UNSIGNED NOT NULL DEFAULT '0', - `lng_file` VARCHAR(255) NOT NULL DEFAULT '', - `lng_define` VARCHAR(255) NOT NULL DEFAULT '', - `lng_description` VARCHAR(255) NOT NULL DEFAULT '', - PRIMARY KEY (`lng_id`), - KEY `lng_mid` (`lng_mid`) -)ENGINE =MyISAM; - -# -# Table structure for table `tdmcreate_fieldtype` 2 -# - -CREATE TABLE `tdmcreate_fieldtype` ( - `fieldtype_id` INT(5) UNSIGNED NOT NULL AUTO_INCREMENT, - `fieldtype_name` VARCHAR(100) NOT NULL DEFAULT '', - `fieldtype_value` VARCHAR(100) NOT NULL DEFAULT '', - PRIMARY KEY (`fieldtype_id`), - KEY `fieldtype_name` (`fieldtype_name`) -)ENGINE =MyISAM; - -INSERT INTO `tdmcreate_fieldtype` (`fieldtype_id`, `fieldtype_name`, `fieldtype_value`) VALUES - (1, '...', ''), - (2, 'INT', 'INT'), - (3, 'TINYINT', 'TINYINT'), - (4, 'MEDIUMINT', 'MEDIUMINT'), - (5, 'SMALLINT', 'SMALLINT'), - (6, 'FLOAT', 'FLOAT'), - (7, 'DOUBLE', 'DOUBLE'), - (8, 'DECIMAL', 'DECIMAL'), - (9, 'SET', 'SET'), - (10, 'ENUM', 'ENUM'), - (11, 'EMAIL', 'EMAIL'), - (12, 'URL', 'URL'), - (13, 'CHAR', 'CHAR'), - (14, 'VARCHAR', 'VARCHAR'), - (15, 'TEXT', 'TEXT'), - (16, 'TINYTEXT', 'TINYTEXT'), - (17, 'MEDIUMTEXT', 'MEDIUMTEXT'), - (18, 'LONGTEXT', 'LONGTEXT'), - (19, 'DATE', 'DATE'), - (20, 'DATETIME', 'DATETIME'), - (21, 'TIMESTAMP', 'TIMESTAMP'), - (22, 'TIME', 'TIME'), - (23, 'YEAR', 'YEAR'); - -# -# Table structure for table `tdmcreate_fieldattributes` 3 -# - -CREATE TABLE `tdmcreate_fieldattributes` ( - `fieldattribute_id` INT(5) UNSIGNED NOT NULL AUTO_INCREMENT, - `fieldattribute_name` VARCHAR(100) NOT NULL DEFAULT '', - `fieldattribute_value` VARCHAR(100) NOT NULL DEFAULT '', - PRIMARY KEY (`fieldattribute_id`), - KEY `fieldattribute_name` (`fieldattribute_name`) -)ENGINE =MyISAM; - -INSERT INTO `tdmcreate_fieldattributes` (`fieldattribute_id`, `fieldattribute_name`, `fieldattribute_value`) VALUES - (1, '...', ''), - (2, 'BINARY', 'BINARY'), - (3, 'UNSIGNED', 'UNSIGNED'), - (4, 'UNSIGNED_ZEROFILL', 'UNSIGNED_ZEROFILL'), - (5, 'CURRENT_TIMESTAMP', 'CURRENT_TIMESTAMP'); - -# -# Table structure for table `tdmcreate_fieldnull` 3 -# - -CREATE TABLE `tdmcreate_fieldnull` ( - `fieldnull_id` INT(5) UNSIGNED NOT NULL AUTO_INCREMENT, - `fieldnull_name` VARCHAR(100) NOT NULL DEFAULT '', - `fieldnull_value` VARCHAR(100) NOT NULL DEFAULT '', - PRIMARY KEY (`fieldnull_id`), - KEY `fieldnull_name` (`fieldnull_name`) -)ENGINE =MyISAM; - -INSERT INTO `tdmcreate_fieldnull` (`fieldnull_id`, `fieldnull_name`, `fieldnull_value`) VALUES - (1, '...', ''), - (2, 'NOT NULL', 'NOT NULL'), - (3, 'NULL', 'NULL'); - -# -# Table structure for table `tdmcreate_fieldkey` 3 -# - -CREATE TABLE `tdmcreate_fieldkey` ( - `fieldkey_id` INT(5) UNSIGNED NOT NULL AUTO_INCREMENT, - `fieldkey_name` VARCHAR(100) NOT NULL DEFAULT '', - `fieldkey_value` VARCHAR(100) NOT NULL DEFAULT '', - PRIMARY KEY (`fieldkey_id`), - KEY `fieldkey_name` (`fieldkey_name`) -)ENGINE =MyISAM; - -INSERT INTO `tdmcreate_fieldkey` (`fieldkey_id`, `fieldkey_name`, `fieldkey_value`) VALUES - (1, '...', ''), - (2, 'PRIMARY', 'PRIMARY'), - (3, 'UNIQUE', 'UNIQUE'), - (4, 'KEY', 'KEY'), - (5, 'INDEX', 'INDEX'), - (6, 'FULLTEXT', 'FULLTEXT'); - -# -# Table structure for table `tdmcreate_fieldelements` 5 -# - -CREATE TABLE `tdmcreate_fieldelements` ( - `fieldelement_id` INT(5) UNSIGNED NOT NULL AUTO_INCREMENT, - `fieldelement_mid` INT(11) UNSIGNED NOT NULL DEFAULT '0', - `fieldelement_tid` INT(11) UNSIGNED NOT NULL DEFAULT '0', - `fieldelement_name` VARCHAR(100) NOT NULL DEFAULT '', - `fieldelement_value` VARCHAR(100) NOT NULL DEFAULT '', - PRIMARY KEY (`fieldelement_id`), - KEY `fieldelement_mid` (`fieldelement_mid`), - KEY `fieldelement_tid` (`fieldelement_tid`) -)ENGINE =MyISAM; - -INSERT INTO `tdmcreate_fieldelements` (`fieldelement_id`, `fieldelement_mid`, `fieldelement_tid`, `fieldelement_name`, `fieldelement_value`) VALUES - (1, 0, 0, '...', ''), - (2, 0, 0, 'Text', 'XoopsFormText'), - (3, 0, 0, 'TextArea', 'XoopsFormTextArea'), - (4, 0, 0, 'DhtmlTextArea', 'XoopsFormDhtmlTextArea'), - (5, 0, 0, 'CheckBox', 'XoopsFormCheckBox'), - (6, 0, 0, 'RadioYN', 'XoopsFormRadioYN'), - (7, 0, 0, 'SelectBox', 'XoopsFormSelect'), - (8, 0, 0, 'SelectUser', 'XoopsFormSelectUser'), - (9, 0, 0, 'ColorPicker', 'XoopsFormColorPicker'), - (10, 0, 0, 'ImageList', 'XoopsFormImageList'), - (11, 0, 0, 'UploadImage', 'XoopsFormUploadImage'), - (12, 0, 0, 'UploadFile', 'XoopsFormUploadFile'), - (13, 0, 0, 'TextDateSelect', 'XoopsFormTextDateSelect'); \ No newline at end of file +# SQL Dump for tdmcreate module +# PhpMyAdmin Version: 4.0.4 +# http://www.phpmyadmin.net +# +# Host: localhost +# Generated on: Thu Jen 02, 2014 to 19:12 +# Server version: 5.5.24-log +# PHP Version: 5.3.13 + +# +# Table structure for table `tdmcreate_modules` 38 +# + +CREATE TABLE `tdmcreate_modules` ( + `mod_id` INT(5) UNSIGNED NOT NULL AUTO_INCREMENT, + `mod_name` VARCHAR(255) NOT NULL DEFAULT '', + `mod_dirname` VARCHAR(100) NOT NULL DEFAULT '', + `mod_version` VARCHAR(5) NOT NULL DEFAULT '1.0', + `mod_since` VARCHAR(5) NOT NULL DEFAULT '1.0', + `mod_min_php` VARCHAR(5) NOT NULL DEFAULT '5.3', + `mod_min_xoops` VARCHAR(5) NOT NULL DEFAULT '2.5.7', + `mod_min_admin` VARCHAR(5) NOT NULL DEFAULT '1.1', + `mod_min_mysql` VARCHAR(5) NOT NULL DEFAULT '5.0.7', + `mod_description` TEXT, + `mod_author` VARCHAR(255) NOT NULL DEFAULT 'TDM XOOPS', + `mod_author_mail` VARCHAR(255) NOT NULL DEFAULT 'in...@em...', + `mod_author_website_url` VARCHAR(255) NOT NULL DEFAULT 'http://', + `mod_author_website_name` VARCHAR(255) NOT NULL DEFAULT '', + `mod_credits` VARCHAR(255) NOT NULL DEFAULT 'TDM XOOPS', + `mod_license` VARCHAR(255) NOT NULL DEFAULT 'GNU', + `mod_release_info` VARCHAR(255) NOT NULL DEFAULT '', + `mod_release_file` VARCHAR(255) NOT NULL DEFAULT '', + `mod_manual` VARCHAR(255) NOT NULL DEFAULT '', + `mod_manual_file` VARCHAR(255) NOT NULL DEFAULT '', + `mod_image` VARCHAR(255) NOT NULL DEFAULT '', + `mod_demo_site_url` VARCHAR(255) NOT NULL DEFAULT 'http://', + `mod_demo_site_name` VARCHAR(255) NOT NULL DEFAULT '', + `mod_support_url` VARCHAR(255) NOT NULL DEFAULT 'http://', + `mod_support_name` VARCHAR(255) NOT NULL DEFAULT '', + `mod_website_url` VARCHAR(255) NOT NULL DEFAULT 'http://', + `mod_website_name` VARCHAR(255) NOT NULL DEFAULT '', + `mod_release` VARCHAR(11) NOT NULL DEFAULT '00-00-0000', + `mod_status` VARCHAR(150) NOT NULL DEFAULT 'Beta 1', + `mod_admin` TINYINT(1) UNSIGNED NOT NULL DEFAULT '1', + `mod_user` TINYINT(1) UNSIGNED NOT NULL DEFAULT '1', + `mod_blocks` TINYINT(1) UNSIGNED NOT NULL DEFAULT '1', + `mod_search` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', + `mod_comments` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', + `mod_notifications` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', + `mod_permissions` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', + `mod_inroot_copy` TINYINT(1) UNSIGNED NOT NULL DEFAULT '1', + `mod_donations` VARCHAR(50) NOT NULL DEFAULT '6KJ7RW5DR3VTJ', + `mod_subversion` VARCHAR(10) NOT NULL DEFAULT '12550', + PRIMARY KEY (`mod_id`), + KEY `mod_name` (`mod_name`), + UNIQUE KEY `mod_dirname` (`mod_dirname`) +)ENGINE =MyISAM; + + +CREATE TABLE `tdmcreate_tables` ( + `table_id` INT(5) UNSIGNED NOT NULL AUTO_INCREMENT, + `table_mid` INT(5) UNSIGNED NOT NULL DEFAULT '0', + `table_category` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', + `table_name` VARCHAR(150) NOT NULL DEFAULT '', + `table_fieldname` VARCHAR(150) NOT NULL DEFAULT '', + `table_nbfields` INT(5) UNSIGNED NOT NULL DEFAULT '0', + `table_image` VARCHAR(150) NOT NULL DEFAULT '', + `table_autoincrement` TINYINT(1) NOT NULL DEFAULT '1', + `table_blocks` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', + `table_admin` TINYINT(1) UNSIGNED NOT NULL DEFAULT '1', + `table_user` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', + `table_submenu` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', + `table_submit` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', + `table_tag` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', + `table_broken` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', + `table_search` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', + `table_comments` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', + `table_notifications` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', + `table_permissions` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', + `table_rate` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', + `table_print` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', + `table_pdf` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', + `table_rss` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', + `table_single` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', + `table_visit` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', + PRIMARY KEY (`table_id`), + KEY `table_mid` (`table_mid`), + UNIQUE KEY `table_name` (`table_name`) +)ENGINE =MyISAM; + +# +# Table structure for table `tdmcreate_fields` 21 +# + +CREATE TABLE `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(10) UNSIGNED NOT NULL DEFAULT '0', + `field_order` SMALLINT(3) 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 '', + `field_attribute` VARCHAR(50) NOT NULL DEFAULT '', + `field_null` CHAR(10) NOT NULL DEFAULT '', + `field_default` VARCHAR(150) NOT NULL DEFAULT '', + `field_key` CHAR(10) NOT NULL DEFAULT '', + `field_element` VARCHAR(150) NOT NULL DEFAULT '', + `field_parent` TINYINT(1) NOT NULL DEFAULT '0', + `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`), + KEY `field_name` (`field_name`) +)ENGINE =MyISAM; + +# +# Table structure for table `tdmcreate_languages` 5 +# + +CREATE TABLE `tdmcreate_languages` ( + `lng_id` INT(5) UNSIGNED NOT NULL AUTO_INCREMENT, + `lng_mid` INT(5) UNSIGNED NOT NULL DEFAULT '0', + `lng_file` VARCHAR(255) NOT NULL DEFAULT '', + `lng_define` VARCHAR(255) NOT NULL DEFAULT '', + `lng_description` VARCHAR(255) NOT NULL DEFAULT '', + PRIMARY KEY (`lng_id`), + KEY `lng_mid` (`lng_mid`) +)ENGINE =MyISAM; + +# +# Table structure for table `tdmcreate_fieldtype` 2 +# + +CREATE TABLE `tdmcreate_fieldtype` ( + `fieldtype_id` INT(5) UNSIGNED NOT NULL AUTO_INCREMENT, + `fieldtype_name` VARCHAR(100) NOT NULL DEFAULT '', + `fieldtype_value` VARCHAR(100) NOT NULL DEFAULT '', + PRIMARY KEY (`fieldtype_id`), + KEY `fieldtype_name` (`fieldtype_name`) +)ENGINE =MyISAM; + +INSERT INTO `tdmcreate_fieldtype` (`fieldtype_id`, `fieldtype_name`, `fieldtype_value`) VALUES + (1, '...', ''), + (2, 'INT', 'INT'), + (3, 'TINYINT', 'TINYINT'), + (4, 'MEDIUMINT', 'MEDIUMINT'), + (5, 'SMALLINT', 'SMALLINT'), + (6, 'FLOAT', 'FLOAT'), + (7, 'DOUBLE', 'DOUBLE'), + (8, 'DECIMAL', 'DECIMAL'), + (9, 'SET', 'SET'), + (10, 'ENUM', 'ENUM'), + (11, 'EMAIL', 'EMAIL'), + (12, 'URL', 'URL'), + (13, 'CHAR', 'CHAR'), + (14, 'VARCHAR', 'VARCHAR'), + (15, 'TEXT', 'TEXT'), + (16, 'TINYTEXT', 'TINYTEXT'), + (17, 'MEDIUMTEXT', 'MEDIUMTEXT'), + (18, 'LONGTEXT', 'LONGTEXT'), + (19, 'DATE', 'DATE'), + (20, 'DATETIME', 'DATETIME'), + (21, 'TIMESTAMP', 'TIMESTAMP'), + (22, 'TIME', 'TIME'), + (23, 'YEAR', 'YEAR'); + +# +# Table structure for table `tdmcreate_fieldattributes` 3 +# + +CREATE TABLE `tdmcreate_fieldattributes` ( + `fieldattribute_id` INT(5) UNSIGNED NOT NULL AUTO_INCREMENT, + `fieldattribute_name` VARCHAR(100) NOT NULL DEFAULT '', + `fieldattribute_value` VARCHAR(100) NOT NULL DEFAULT '', + PRIMARY KEY (`fieldattribute_id`), + KEY `fieldattribute_name` (`fieldattribute_name`) +)ENGINE =MyISAM; + +INSERT INTO `tdmcreate_fieldattributes` (`fieldattribute_id`, `fieldattribute_name`, `fieldattribute_value`) VALUES + (1, '...', ''), + (2, 'BINARY', 'BINARY'), + (3, 'UNSIGNED', 'UNSIGNED'), + (4, 'UNSIGNED_ZEROFILL', 'UNSIGNED_ZEROFILL'), + (5, 'CURRENT_TIMESTAMP', 'CURRENT_TIMESTAMP'); + +# +# Table structure for table `tdmcreate_fieldnull` 3 +# + +CREATE TABLE `tdmcreate_fieldnull` ( + `fieldnull_id` INT(5) UNSIGNED NOT NULL AUTO_INCREMENT, + `fieldnull_name` VARCHAR(100) NOT NULL DEFAULT '', + `fieldnull_value` VARCHAR(100) NOT NULL DEFAULT '', + PRIMARY KEY (`fieldnull_id`), + KEY `fieldnull_name` (`fieldnull_name`) +)ENGINE =MyISAM; + +INSERT INTO `tdmcreate_fieldnull` (`fieldnull_id`, `fieldnull_name`, `fieldnull_value`) VALUES + (1, '...', ''), + (2, 'NOT NULL', 'NOT NULL'), + (3, 'NULL', 'NULL'); + +# +# Table structure for table `tdmcreate_fieldkey` 3 +# + +CREATE TABLE `tdmcreate_fieldkey` ( + `fieldkey_id` INT(5) UNSIGNED NOT NULL AUTO_INCREMENT, + `fieldkey_name` VARCHAR(100) NOT NULL DEFAULT '', + `fieldkey_value` VARCHAR(100) NOT NULL DEFAULT '', + PRIMARY KEY (`fieldkey_id`), + KEY `fieldkey_name` (`fieldkey_name`) +)ENGINE =MyISAM; + +INSERT INTO `tdmcreate_fieldkey` (`fieldkey_id`, `fieldkey_name`, `fieldkey_value`) VALUES + (1, '...', ''), + (2, 'PRIMARY', 'PRIMARY'), + (3, 'UNIQUE', 'UNIQUE'), + (4, 'KEY', 'KEY'), + (5, 'INDEX', 'INDEX'), + (6, 'FULLTEXT', 'FULLTEXT'); + +# +# Table structure for table `tdmcreate_fieldelements` 5 +# + +CREATE TABLE `tdmcreate_fieldelements` ( + `fieldelement_id` INT(5) UNSIGNED NOT NULL AUTO_INCREMENT, + `fieldelement_mid` INT(11) UNSIGNED NOT NULL DEFAULT '0', + `fieldelement_tid` INT(11) UNSIGNED NOT NULL DEFAULT '0', + `fieldelement_name` VARCHAR(100) NOT NULL DEFAULT '', + `fieldelement_value` VARCHAR(100) NOT NULL DEFAULT '', + PRIMARY KEY (`fieldelement_id`), + KEY `fieldelement_mid` (`fieldelement_mid`), + KEY `fieldelement_tid` (`fieldelement_tid`) +)ENGINE =MyISAM; + +INSERT INTO `tdmcreate_fieldelements` (`fieldelement_id`, `fieldelement_mid`, `fieldelement_tid`, `fieldelement_name`, `fieldelement_value`) VALUES + (1, 0, 0, '...', ''), + (2, 0, 0, 'Text', 'XoopsFormText'), + (3, 0, 0, 'TextArea', 'XoopsFormTextArea'), + (4, 0, 0, 'DhtmlTextArea', 'XoopsFormDhtmlTextArea'), + (5, 0, 0, 'CheckBox', 'XoopsFormCheckBox'), + (6, 0, 0, 'RadioYN', 'XoopsFormRadioYN'), + (7, 0, 0, 'SelectBox', 'XoopsFormSelect'), + (8, 0, 0, 'SelectUser', 'XoopsFormSelectUser'), + (9, 0, 0, 'ColorPicker', 'XoopsFormColorPicker'), + (10, 0, 0, 'ImageList', 'XoopsFormImageList'), + (11, 0, 0, 'TextFile', 'XoopsFormTextFile'), + (12, 0, 0, 'UploadImage', 'XoopsFormUploadImage'), + (13, 0, 0, 'UploadFile', 'XoopsFormUploadFile'), + (14, 0, 0, 'TextDateSelect', 'XoopsFormTextDateSelect'); \ No newline at end of file Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_fields.tpl =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_fields.tpl 2015-04-19 20:33:25 UTC (rev 13039) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_fields.tpl 2015-04-21 17:27:59 UTC (rev 13040) @@ -43,7 +43,7 @@ <a href="tables.php?op=edit&table_mid=<{$table.mid}>&table_id=<{$table.id}>" title="<{$smarty.const._AM_TDMCREATE_EDIT_TABLE}>"> <img src="<{xoModuleIcons16 edit.png}>" alt="<{$smarty.const._AM_TDMCREATE_EDIT_TABLE}>" /> </a> - <a href="fields.php?op=edit&field_mid=<{$table.mid}>&field_tid=<{$table.id}>" title="<{$smarty.const._AM_TDMCREATE_EDIT_FIELDS}>"> + <a href="fields.php?op=edit&field_mid=<{$table.mid}>&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}>" /> </a> <a href="fields.php?op=delete&field_tid=<{$table.id}>" title="<{$smarty.const._DELETE}>"> |
From: <txm...@us...> - 2015-04-19 20:33:41
|
Revision: 13039 http://sourceforge.net/p/xoops/svn/13039 Author: txmodxoops Date: 2015-04-19 20:33:25 +0000 (Sun, 19 Apr 2015) Log Message: ----------- Updated Fixed bugs Modified Paths: -------------- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/about.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/building.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/fields.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/footer.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/header.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/index.html XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/index.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/menu.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/modules.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/tables.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/css/admin/style.css XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/css/index.html XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/css/style.css XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/index.html XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/logo.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/index.html XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/fields.js XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/js/functions.js XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/TDMCreateAutoload.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/TDMCreateSession.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/building.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fieldattributes.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fieldelements.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fieldkey.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fieldnull.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fields.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fields_copy.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fieldtype.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateAbstract.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateArchitecture.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateFile.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateHtmlSmartyCodes.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateStructure.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/TDMCreateTableFields.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminAbout.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminFooter.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminHeader.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminIndex.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminMenu.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminObjects.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminPages.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/AdminPermissions.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/blocks/BlocksFiles.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/classes/ClassFiles.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/classes/ClassFormElements.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/classes/ClassHelper.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/css/CssStyles.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/docs/DocsChangelog.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/docs/DocsFiles.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/include/IncludeCommentFunctions.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/include/IncludeComments.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/include/IncludeCommon.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/include/IncludeFunctions.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/include/IncludeInstall.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/include/IncludeJquery.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/include/IncludeNotifications.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/include/IncludeSearch.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/include/IncludeUpdate.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/language/LanguageAdmin.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/language/LanguageBlocks.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/language/LanguageDefines.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/language/LanguageHelp.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/language/LanguageMailTpl.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/language/LanguageMain.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/language/LanguageModinfo.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/sql/SqlFile.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/admin/TemplatesAdminAbout.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/admin/TemplatesAdminFooter.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/admin/TemplatesAdminHeader.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/admin/TemplatesAdminIndex.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/admin/TemplatesAdminPages.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/admin/TemplatesAdminPermissions.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/blocks/TemplatesBlocks.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/user/TemplatesUserFooter.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/user/TemplatesUserHeader.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/user/TemplatesUserIndex.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/user/TemplatesUserPages.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserFooter.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserHeader.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserIndex.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserNotificationUpdate.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserObjects.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserPages.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserPrint.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserRss.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserSubmit.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/UserXoopsVersion.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/form/TDMCreateThemeForm.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/html/TDMCreateFormLabel.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/index.html XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/logoGenerator.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/modules.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/request.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/tables.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/docs/changelog.txt XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/docs/credits.txt XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/docs/index.html XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/docs/install.txt XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/docs/lang_diff.txt XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/docs/license.txt XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/docs/readme.txt XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/include/common.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/include/functions.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/include/index.html XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/include/install.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/include/update.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/index.html XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/language/english/admin.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/language/english/help/help.html XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/language/english/help/index.html XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/language/english/index.html XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/language/english/modinfo.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/language/index.html XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/language/update language 1.0 to 1.1.txt XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/language/update language 1.1 to 1.15.txt XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/language/update language 1.1 to 1.37.txt XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/language/update language 1.15 to 1.37.txt XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/language/update language 1.37 to 1.38.txt XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/language/update language 1.38 to 1.39.txt XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/sql/index.html XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/sql/mysql.sql XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/index.html XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_about.tpl XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_building.tpl XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_fields.tpl XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_footer.tpl XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_header.tpl XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_index.tpl XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_modules.tpl XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_tables.tpl XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/index.html XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/xoops_version.php Added Paths: ----------- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/includes.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/repository.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/16/ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/16/arrow.gif XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/16/blocks.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/16/drag.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/16/editfields.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/16/fields.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/16/index.html XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/16/left_right.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/16/nb_fields.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/16/spinner.gif XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/16/submenu.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/16/tables.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/16/toggle.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/32/ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/32/addmodule.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/32/addtable.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/32/brokenlink.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/32/builder.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/32/category.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/32/dashboard.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/32/download.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/32/edittable.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/32/fields.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/32/index.html XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/32/plugin.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/32/stats.png XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/blank.gif XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/index.html XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/icons/loading.gif XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/logos/txmodxoops_logo.gif XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/txmodxoops_logo.gif XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/assets/images/xoopsdevelopmentteam_logo.gif XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/TDMCreateHelper.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/autoloader.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fields_class.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/fields_database.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/abstract.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/abstractfiles.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/about.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/footer.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/header.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/index.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/menu.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/objects.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/pages.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/permissions.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/admin/templates.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/architecture.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/blocks/blocks.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/blocks/templates.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/class/classes.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/class/formelements.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/class/index.html XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/classes/classes.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/classes/formelements.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/classes/helper.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/css/styles.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/docs/changelog.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/docs/docs.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/file.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/form_elements.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/htmlsmartycodes.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/include/comment_functions.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/include/comments.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/include/common.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/include/functions.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/include/install.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/include/jquery.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/include/notifications.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/include/search.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/include/update.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/language/admin.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/language/blocks.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/language/defines.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/language/help.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/language/mail.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/language/main.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/language/modinfo.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/sql/mysql.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/sql_file.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/structure.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/tablefields.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/tables_fields.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/TDMCreateHtmlSmartyCodes.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/admin/about.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/admin/footer.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/admin/header.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/admin/index.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/admin/pages.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/admin/permissions.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/blocks/blocks.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/blocks/templates.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/footer.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/header.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/index.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/pages.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/user/footer.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/user/header.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/user/index.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/user/pages.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/templates/user/templates.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/footer.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/header.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/index.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/notification_update.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/objects.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/pages.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/print.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/rss.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/submit.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/templates.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/files/user/xoopsversion.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/form/TDMCreateFormRadio.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/form/TDMCreateFormRadioCopia.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/form/simpleform.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/form/themeform.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/helper.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/html/html.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/html/htmlform.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/html/htmltable.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/html/htmltag.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/html/simplelabel.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/session.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/class/simplelabel.php XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/about.tpl XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/building.tpl XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/fields.tpl XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/footer.tpl XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/header.tpl XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/index.tpl XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/modules.tpl XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/repository.tpl XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tables.tpl XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/templates/admin/tdmcreate_fields_item.tpl Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/about.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/about.php 2015-04-18 20:46:15 UTC (rev 13038) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/about.php 2015-04-19 20:33:25 UTC (rev 13039) @@ -1,25 +1,25 @@ -<?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: about.php 11084 2013-02-23 15:44:20Z timgno $ - */ -include 'header.php'; -$template_main = 'tdmcreate_about.tpl'; -$GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('about.php')); -$GLOBALS['xoopsTpl']->assign('about', $adminMenu->renderAbout('6KJ7RW5DR3VTJ', false)); +<?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: about.php 11084 2013-02-23 15:44:20Z timgno $ + */ +include 'header.php'; +$template_main = 'tdmcreate_about.tpl'; +$GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('about.php')); +$GLOBALS['xoopsTpl']->assign('about', $adminMenu->renderAbout('6KJ7RW5DR3VTJ', false)); include 'footer.php'; \ No newline at end of file Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/building.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/building.php 2015-04-18 20:46:15 UTC (rev 13038) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/building.php 2015-04-19 20:33:25 UTC (rev 13039) @@ -1,97 +1,97 @@ -<?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: building.php 12258 2014-01-02 09:33:29Z timgno $ - */ -include 'header.php'; -$op = XoopsRequest::getString('op', 'default'); -$mid = XoopsRequest::getInt('mod_id'); -$moduleObj = $tdmcreate->getHandler('modules')->get( $mid ); -// Switch option -switch ($op) { - case 'build': - $template_main = 'tdmcreate_building.tpl'; - $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('building.php')); - // Get var module dirname - $moduleDirname = $moduleObj->getVar('mod_dirname'); - // Directories for copy from to - $fromDir = TDMC_UPLOAD_REPOSITORY_PATH.'/'.strtolower($moduleDirname); - $toDir = XOOPS_ROOT_PATH.'/modules/'.strtolower($moduleDirname); - if(isset($moduleDirname)) { - // Clear this module if it's in repository - if(is_dir($fromDir)) { - TDMCreate_clearDir($fromDir); - } - // Clear this module if it's in root/modules - if(is_dir($toDir)) { - TDMCreate_clearDir($toDir); - } - } - // Structure - include_once TDMC_PATH . '/class/files/TDMCreateArchitecture.php'; - $handler = TDMCreateArchitecture::getInstance(); - $handler->getPath( TDMC_PATH ); - $handler->getUploadPath( TDMC_UPLOAD_PATH ); - // Creation of the structure of folders and files - $base_architecture = $handler->createBaseFoldersFiles( $moduleObj ); - if($base_architecture !== false) { - $GLOBALS['xoopsTpl']->assign('base_architecture', true); - } else { - $GLOBALS['xoopsTpl']->assign('base_architecture', false); - } - // Get files - $build = array(); - $files = $handler->createFilesToBuilding( $moduleObj ); - foreach($files as $file) { - if($file) { - $build['list'] = $file; - } - $GLOBALS['xoopsTpl']->append('builds', $build); - } - unset($build); - // Directory to saved all files - $GLOBALS['xoopsTpl']->assign('building_directory', sprintf(_AM_TDMCREATE_BUILDING_DIRECTORY, $moduleDirname)); - // Copy this module in root modules - if( $moduleObj->getVar('mod_inroot_copy') == 1 ) { - TDMCreate_copyr($fromDir, $toDir); - } - break; - - case 'default': - default: - $template_main = 'tdmcreate_building.tpl'; - $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('building.php')); - // Redirect if there aren't modules - $nbModules = $tdmcreate->getHandler('modules')->getCount(); - if( $nbModules == 0 ) { - redirect_header('modules.php?op=new', 2, _AM_TDMCREATE_NOTMODULES ); - } - unset($nbModules); - // Redirect if there aren't tables - /*$nbTables = $tdmcreate->getHandler('tables')->getCount(); - if($nbTables == 0) { - redirect_header('tables.php?op=new', 2, _AM_TDMCREATE_NOTTABLES ); - } - unset($nbTables);*/ - include_once TDMC_PATH . '/class/building.php'; - $handler = TDMCreateBuilding::getInstance(); - $form = $handler->getForm(); - $GLOBALS['xoopsTpl']->assign('form', $form->render()); - break; -} -include 'footer.php'; \ No newline at end of file +<?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: building.php 12258 2014-01-02 09:33:29Z timgno $ + */ +include __DIR__ . DIRECTORY_SEPARATOR . 'header.php'; +$op = XoopsRequest::getString('op', 'default'); +$mid = XoopsRequest::getInt('mod_id'); +$moduleObj = $tdmcreate->getHandler('modules')->get( $mid ); +// Switch option +switch ($op) { + case 'build': + $template_main = 'tdmcreate_building.tpl'; + $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('building.php')); + // Get var module dirname + $moduleDirname = $moduleObj->getVar('mod_dirname'); + // Directories for copy from to + $fromDir = TDMC_UPLOAD_REPOSITORY_PATH.'/'.strtolower($moduleDirname); + $toDir = XOOPS_ROOT_PATH.'/modules/'.strtolower($moduleDirname); + if(isset($moduleDirname)) { + // Clear this module if it's in repository + if(is_dir($fromDir)) { + TDMCreate_clearDir($fromDir); + } + // Clear this module if it's in root/modules + if(is_dir($toDir)) { + TDMCreate_clearDir($toDir); + } + } + // Structure + include_once TDMC_PATH . '/class/files/TDMCreateArchitecture.php'; + $handler = TDMCreateArchitecture::getInstance(); + $handler->createPath(TDMC_PATH); + $handler->createUploadPath(TDMC_UPLOAD_PATH); + // Creation of the structure of folders and files + $base_architecture = $handler->createBaseFoldersFiles( $moduleObj ); + if(false !== $base_architecture) { + $GLOBALS['xoopsTpl']->assign('base_architecture', true); + } else { + $GLOBALS['xoopsTpl']->assign('base_architecture', false); + } + // Get files + $build = array(); + $files = $handler->createFilesToBuilding( $moduleObj ); + foreach($files as $file) { + if($file) { + $build['list'] = $file; + } + $GLOBALS['xoopsTpl']->append('builds', $build); + } + unset($build); + // Directory to saved all files + $GLOBALS['xoopsTpl']->assign('building_directory', sprintf(_AM_TDMCREATE_BUILDING_DIRECTORY, $moduleDirname)); + // Copy this module in root modules + if( $moduleObj->getVar('mod_inroot_copy') == 1 ) { + TDMCreate_copyr($fromDir, $toDir); + } + break; + + case 'default': + default: + $template_main = 'tdmcreate_building.tpl'; + $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('building.php')); + // Redirect if there aren't modules + $nbModules = $tdmcreate->getHandler('modules')->getCount(); + if( $nbModules == 0 ) { + redirect_header('modules.php?op=new', 2, _AM_TDMCREATE_NOTMODULES ); + } + unset($nbModules); + // Redirect if there aren't tables + /*$nbTables = $tdmcreate->getHandler('tables')->getCount(); + if($nbTables == 0) { + redirect_header('tables.php?op=new', 2, _AM_TDMCREATE_NOTTABLES ); + } + unset($nbTables);*/ + include_once TDMC_PATH . '/class/building.php'; + $handler = TDMCreateBuilding::getInstance(); + $form = $handler->getForm(); + $GLOBALS['xoopsTpl']->assign('form', $form->render()); + break; +} +include __DIR__ . DIRECTORY_SEPARATOR . 'footer.php'; \ No newline at end of file Modified: XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/fields.php =================================================================== --- XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/fields.php 2015-04-18 20:46:15 UTC (rev 13038) +++ XoopsModules/TDMCreate/branches/timgno/1.91a1/tdmcreate/admin/fields.php 2015-04-19 20:33:25 UTC (rev 13039) @@ -1,320 +1,288 @@ -<?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: 1.91 fields.php 12258 2014-01-02 09:33:29Z timgno $ - */ -include 'header.php'; -// Recovered value of arguments op in the URL $ -$op = XoopsRequest::getString('op', 'list'); -// Get fields Variables -/*$fieldMid = TDMCreate_CleanVars($_REQUEST, 'field_mid'); -$fieldTid = TDMCreate_CleanVars($_REQUEST, 'field_tid'); -$fieldNumb = TDMCreate_CleanVars($_REQUEST, 'field_numb'); -$fieldName = TDMCreate_CleanVars($_REQUEST, 'field_name', '', 'string');*/ -$fieldMid = XoopsRequest::getInt('field_mid'); -$fieldTid = XoopsRequest::getInt('field_tid'); -$fieldNumb = XoopsRequest::getInt('field_numb'); -$fieldName = XoopsRequest::getString('field_name'); /**/ -// -switch ($op) -{ - case 'list': - default: - $start = XoopsRequest::getInt('start', 0); - $limit = XoopsRequest::getInt('limit', $tdmcreate->getConfig('tables_adminpager')); - // Define main template - $template_main = 'tdmcreate_fields.tpl'; - $GLOBALS['xoTheme']->addStylesheet( 'modules/TDMCreate/assets/css/admin/style.css' ); - $GLOBALS['xoTheme']->addScript('modules/TDMCreate/assets/js/functions.js'); - $GLOBALS['xoTheme']->addScript('modules/TDMCreate/assets/js/fields.js'); - $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('fields.php')); - $adminMenu->addItemButton(_AM_TDMCREATE_ADD_TABLE, 'tables.php?op=new', 'add'); - $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton()); - $GLOBALS['xoopsTpl']->assign('tdmc_url', TDMC_URL); - $GLOBALS['xoopsTpl']->assign('tdmc_icons_url', TDMC_ICONS_URL); - $GLOBALS['xoopsTpl']->assign('tdmc_upload_url', TDMC_UPLOAD_URL); - $GLOBALS['xoopsTpl']->assign('tdmc_upload_imgtab_url', TDMC_UPLOAD_IMGTAB_URL); - $GLOBALS['xoopsTpl']->assign('modPathIcon16', $modPathIcon16); - $GLOBALS['xoopsTpl']->assign('sysPathIcon32', $sysPathIcon32); - //var_dump($sysPathIcon32); - // Redirect if there aren't modules - $countModules = $tdmcreate->getHandler('modules')->getCount(); - if ( $countModules == 0 ) { - redirect_header('modules.php?op=new', 2, _AM_TDMCREATE_NOTMODULES ); - } - unset($countModules); - // Redirect if there aren't tables - $countTables = $tdmcreate->getHandler('tables')->getCount(); - if ($countTables == 0) { - redirect_header('tables.php?op=new', 2, _AM_TDMCREATE_NOTTABLES ); - } - unset($countTables); - // Get the list of tables - $criteria = new CriteriaCompo(); - $criteria->setSort('table_id ASC, table_name'); - $criteria->setOrder('ASC'); - $countTables = $tdmcreate->getHandler('tables')->getCount($criteria); - $tablesAll = $tdmcreate->getHandler('tables')->getAll($criteria); - unset($criteria); - if ($countTables > 0) - { - foreach (array_keys($tablesAll) as $tid) - { - // Display tables list - $table['id'] = $tid; - $table['mid'] = $tablesAll[$tid]->getVar('table_mid'); - $table['name'] = ucfirst($tablesAll[$tid]->getVar('table_name')); - $table['image'] = $tablesAll[$tid]->getVar('table_image'); - $table['nbfields'] = $tablesAll[$tid]->getVar('table_nbfields'); - $table['autoincrement'] = $tablesAll[$tid]->getVar('table_autoincrement'); - $table['blocks'] = $tablesAll[$tid]->getVar('table_blocks'); - $table['admin'] = $tablesAll[$tid]->getVar('table_admin'); - $table['user'] = $tablesAll[$tid]->getVar('table_user'); - $table['search'] = $tablesAll[$tid]->getVar('table_search'); - // Get the list of fields - $criteria = new CriteriaCompo(); - $criteria->add(new Criteria('field_mid', $table['mid'])); - $criteria->add(new Criteria('field_tid', $tid)); - $criteria->setSort('field_id ASC, field_name'); - $criteria->setOrder('ASC'); - $countFields = $tdmcreate->getHandler('fields')->getCount($criteria); - $fieldsAll = $tdmcreate->getHandler('fields')->getObjects($criteria); - unset($criteria); - // Display fields list - $fields = array(); - $lid = 1; - if ( $countFields > 0 ) - { - foreach (array_keys($fieldsAll) as $fid) - { - $field['id'] = $fid; - $field['lid'] = $lid; - $field['name'] = str_replace('_', ' ', ucfirst($fieldsAll[$fid]->getVar('field_name'))); - $field['parent'] = $fieldsAll[$fid]->getVar('field_parent'); - $field['inlist'] = $fieldsAll[$fid]->getVar('field_inlist'); - $field['inform'] = $fieldsAll[$fid]->getVar('field_inform'); - $field['admin'] = $fieldsAll[$fid]->getVar('field_admin'); - $field['user'] = $fieldsAll[$fid]->getVar('field_user'); - $field['block'] = $fieldsAll[$fid]->getVar('field_block'); - $field['main'] = $fieldsAll[$fid]->getVar('field_main'); - $field['search'] = $fieldsAll[$fid]->getVar('field_search'); - $field['required'] = $fieldsAll[$fid]->getVar('field_required'); - $fields[] = $field; - unset($field); - $lid++; - } - } - unset($lid); - $table['fields'] = $fields; - $GLOBALS['xoopsTpl']->append('tables_list', $table); - unset($table); - } - if ( $countTables > $limit ) { - include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; - $pagenav = new XoopsPageNav($countTables, $limit, $start, 'start', 'op=list&limit=' . $limit); - $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav(4)); - } - } else { - $GLOBALS['xoopsTpl']->assign('error', _AM_TDMCREATE_THEREARENT_FIELDS); - } - var_dump($fieldMid); - var_dump($fieldTid); - var_dump($fieldNumb); - var_dump($fieldName); - break; - - case 'new': - // Define main template - $template_main = 'tdmcreate_fields.tpl'; - $GLOBALS['xoTheme']->addStylesheet( 'modules/TDMCreate/assets/css/admin/style.css' ); - $GLOBALS['xoTheme']->addScript('modules/TDMCreate/assets/js/fields.js'); - $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('fields.php')); - $adminMenu->addItemButton(_AM_TDMCREATE_TABLES_LIST, 'tables.php', 'list'); - $adminMenu->addItemButton(_AM_TDMCREATE_FIELDS_LIST, 'fields.php', 'list'); - $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton()); - // Form Add - $fieldsObj =& $tdmcreate->getHandler('fields')->create(); - $form = $fieldsObj->getFormNew($fieldMid, $fieldTid, $fieldNumb, $fieldName); - $GLOBALS['xoopsTpl']->assign('form', $form->render()); - // Test -> Will be removed - var_dump($fieldMid); - var_dump($fieldTid); - var_dump($fieldNumb); - var_dump($fieldName); - break; - - case 'save': - // - if ( !$GLOBALS['xoopsSecurity']->check() ) { - redirect_header('fields.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); - } - $fieldId = XoopsRequest::getInt('field_id'); - // Fields Handler - $fields = $tdmcreate->getHandler('fields'); - // Set Variables - foreach($_POST['field_id'] as $key => $value) - { - switch($value){ - case 'new': - $fieldsObj =& $fields->create(); - break; - default: - $fieldsObj =& $fields->get($value); - break; - } - if (isset($fieldMid) && isset($fieldTid) && !empty($_POST['field_name'][$key])) { - // Set Data - $fieldsObj->setVar( 'field_mid', $fieldMid ); - $fieldsObj->setVar( 'field_tid', $fieldTid ); - $fieldsObj->setVar( 'field_numb', $fieldNumb ); - $fieldsObj->setVar( 'field_name', (isset($_POST['field_name'][$key]) ? $_POST['field_name'][$key] : '') ); - $fieldsObj->setVar( 'field_type', (isset($_POST['field_type'][$key]) ? $_POST['field_type'][$key] : '') ); - $fieldsObj->setVar( 'field_value', (isset($_POST['field_value'][$key]) ? $_POST['field_value'][$key] : '') ); - $fieldsObj->setVar( 'field_attribute', (isset($_POST['field_attribute'][$key]) ? $_POST['field_attribute'][$key] : '') ); - $fieldsObj->setVar( 'field_null', (isset($_POST['field_null'][$key]) ? $_POST['field_null'][$key] : '') ); - $fieldsObj->setVar( 'field_default', (isset($_POST['field_default'][$key]) ? $_POST['field_default'][$key] : '') ); - $fieldsObj->setVar( 'field_key', (isset($_POST['field_key'][$key]) ? $_POST['field_key'][$key] : '') ); - $fieldsObj->setVar( 'field_element', (isset($_POST['field_element'][$key]) ? $_POST['field_element'][$key] : '') ); - $fieldsObj->setVar( 'field_parent', ((isset($_REQUEST['field_parent'][$key]) == 1) ? 1 : 0) ); - $fieldsObj->setVar( 'field_inlist', ((isset($_REQUEST['field_inlist'][$key]) == 1) ? 1 : 0) ); - $fieldsObj->setVar( 'field_inform', ((isset($_REQUEST['field_inform'][$key]) == 1) ? 1 : 0) ); - $fieldsObj->setVar( 'field_admin', ((isset($_REQUEST['field_admin'][$key]) == 1) ? 1 : 0) ); - $fieldsObj->setVar( 'field_user', ((isset($_REQUEST['field_user'][$key]) == 1) ? 1 : 0) ); - $fieldsObj->setVar( 'field_block', ((isset($_REQUEST['field_block'][$key]) == 1) ? 1 : 0) ); - $fieldsObj->setVar( 'field_main', (($key == isset($_REQUEST['field_main'][$key])) ? 1 : 0) ); - $fieldsObj->setVar( 'field_search', ((isset($_REQUEST['field_search'][$key]) == 1) ? 1 : 0) ); - $fieldsObj->setVar( 'field_required', ((isset($_REQUEST['field_required'][$key]) == 1) ? 1 : 0) ); - // Insert Data - $tdmcreate->getHandler('fields')->insert($fieldsObj); - } - } - // Get table name from field table id - $tables =& $tdmcreate->getHandler('tables')->get($fieldTid); - $table_name = $tables->getVar('table_name'); - // Set field elements - if ($fieldsObj->isNew()) { - // Fields Elements Handler - $fieldelementObj =& $tdmcreate->getHandler('fieldelements')->create(); - $fieldelementObj->setVar( 'fieldelement_mid', $fieldMid ); - $fieldelementObj->setVar( 'fieldelement_tid', $fieldTid ); - $fieldelementObj->setVar( 'fieldelement_name', 'Table : '.ucfirst($table_name) ); - $fieldelementObj->setVar( 'fieldelement_value', 'XoopsFormTables-'.ucfirst($table_name) ); - // Insert new field element id for table name - if (!$tdmcreate->getHandler('fieldelements')->insert($fieldelementObj) ) { - $GLOBALS['xoopsTpl']->assign('error', $fieldelementObj->getHtmlErrors() . ' Field element'); - } - redirect_header('fields.php', 2, sprintf(_AM_TDMCREATE_FIELDS_FORM_SAVED_OK, $table_name)); - } else { - redirect_header('fields.php', 2, sprintf(_AM_TDMCREATE_FIELDS_FORM_UPDATED_OK, $table_name)); - } - // - $GLOBALS['xoopsTpl']->assign('error', $fieldsObj->getHtmlErrors()); - $form = $fieldsObj->getForm(null, $fieldTid); - $GLOBALS['xoopsTpl']->assign('form', $form->render()); - break; - - case 'edit': - // Define main template - $template_main = 'tdmcreate_fields.tpl'; - $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('fields.php')); - $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()); - // Form Edit - $fieldId = XoopsRequest::getInt('field_id'); - $fieldsObj = $tdmcreate->getHandler('fields')->get( $fieldId ); - $form = $fieldsObj->getFormEdit($fieldMid, $fieldTid); - $GLOBALS['xoopsTpl']->assign('form', $form->render()); - // Test -> Will be removed - var_dump($fieldTid); - break; - - case 'drag': - $side = TDMCreate_CleanVars( $_POST, 'field_id', 0, 'int' ); - $fieldId = XoopsRequest::getInt('field_id'); - if ( $fieldId > 0 ) { - $fieldsObj = $tdmcreate->getHandler('fields')->get( $fieldId ); - $fieldsObj->setVar('field_id', $side); - if (!$tdmcreate->getHandler('fields')->insert( $fieldsObj )) { - redirect_header('fields.php', 5, _AM_TDMCREATE_FIELD_SIDE_ERROR); - } - } - break; - - case 'order': - if ( isset($_POST['field_id'] ) ) { - $i = 0; - foreach($_POST['field_id'] as $order) { - if( $order > 0 ) { - $fieldsObj = $tdmcreate->getHandler('fields')->get( $order ); - $fieldsObj->setVar('field_id', $i); - if (!$tdmcreate->getHandler('fields')->insert( $fieldsObj )) { - redirect_header('fields.php', 5, _AM_TDMCREATE_FIELD_ORDER_ERROR); - } - $i++; - } - } - unset($i); - } - exit; - break; - - case 'display': - // - $fields = $tdmcreate->getHandler('fields'); - // Fields Handler - foreach($_REQUEST['field_id'] as $key => $value) - { - /*$fieldId = XoopsRequest::getInt('field_id'); - $fieldParent = XoopsRequest::getInt('field_parent'); - $fieldInlist = XoopsRequest::getInt('field_inlist'); - $fieldInform = XoopsRequest::getInt('field_inform'); - $fieldAdmin = XoopsRequest::getInt('field_admin'); - $fieldUser = XoopsRequest::getInt('field_user'); - $fieldBlock = XoopsRequest::getInt('field_block'); - $fieldMain = XoopsRequest::getInt('field_main'); - $fieldSearch = XoopsRequest::getInt('field_search'); - $fieldRequired = XoopsRequest::getInt('field_required');*/ - - $fieldsObj =& $fields->get($value); - /*$fieldsObj->setVar('field_parent', $fieldParent); - $fieldsObj->setVar('field_inlist', $fieldInlist); - $fieldsObj->setVar('field_inform', $fieldInform); - $fieldsObj->setVar('field_admin', $fieldAdmin); - $fieldsObj->setVar('field_user', $fieldUser); - $fieldsObj->setVar('field_block', $fieldBlock); - $fieldsObj->setVar('field_main', $fieldMain); - $fieldsObj->setVar('field_search', $fieldSearch); - $fieldsObj->setVar('field_required', $fieldRequired);*/ - $fieldsObj->setVar( 'field_parent', $_POST['field_parent'][$key]); - $fieldsObj->setVar( 'field_inlist', $_POST['field_inlist'][$key]); - $fieldsObj->setVar( 'field_inform', $_POST['field_inform'][$key]); - $fieldsObj->setVar( 'field_admin', $_POST['field_admin'][$key]); - $fieldsObj->setVar( 'field_user', $_POST['field_user'][$key]); - $fieldsObj->setVar( 'field_block', $_POST['field_block'][$key]); - $fieldsObj->setVar( 'field_main', $_POST['field_main'][$key]); - $fieldsObj->setVar( 'field_search', $_POST['field_search'][$key]); - $fieldsObj->setVar( 'field_required', $_POST['field_required'][$key]); - // - $fields->insert($fieldsObj, true); - } - redirect_header('fields.php', 3, _AM_TDMCREATE_TOGGLE_SUCCESS); - break; -} -include 'footer.php'; \ No newline at end of file +<?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: 1.91 fields.php 12258 2014-01-02 09:33:29Z timgno $ + */ +include __DIR__ . DIRECTORY_SEPARATOR . 'header.php'; +// Recovered value of arguments op in the URL $ +$op = XoopsRequest::getString('op', 'list'); +// Get fields Variables +$fieldMid = XoopsRequest::getInt('field_mid'); +$fieldTid = XoopsRequest::getInt('field_tid'); +$fieldNumb = XoopsRequest::getInt('field_numb'); +$fieldName = XoopsRequest::getString('field_name', ''); +// switch op +switch ($op) +{ + case 'list': + default: + $start = XoopsRequest::getInt('start', 0); + $limit = XoopsRequest::getInt('limit', $tdmcreate->getConfig('tables_adminpager')); + // Define main template + $template_main = 'tdmcreate_fields.tpl'; + $GLOBALS['xoTheme']->addStylesheet( 'modules/tdmcreate/assets/css/admin/style.css' ); + $GLOBALS['xoTheme']->addScript('modules/tdmcreate/assets/js/functions.js'); + $GLOBALS['xoTheme']->addScript('modules/tdmcreate/assets/js/fields.js'); + $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('fields.php')); + $adminMenu->addItemButton(_AM_TDMCREATE_ADD_TABLE, 'tables.php?op=new', 'add'); + $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton()); + $GLOBALS['xoopsTpl']->assign('tdmc_url', TDMC_URL); + $GLOBALS['xoopsTpl']->assign('tdmc_icons_url', TDMC_ICONS_URL); + $GLOBALS['xoopsTpl']->assign('tdmc_upload_url', TDMC_UPLOAD_URL); + $GLOBALS['xoopsTpl']->assign('tdmc_upload_imgtab_url', TDMC_UPLOAD_IMGTAB_URL); + $GLOBALS['xoopsTpl']->assign('modPathIcon16', $modPathIcon16); + $GLOBALS['xoopsTpl']->assign('sysPathIcon32', $sysPathIcon32); + // Redirect if there aren't modules + $countModules = $tdmcreate->getHandler('modules')->getCount(); + if ( $countModules == 0 ) { + redirect_header('modules.php?op=new', 2, _AM_TDMCREATE_NOTMODULES ); + } + unset($countModules); + // Redirect if there aren't tables + $countTables = $tdmcreate->getHandler('tables')->getCount(); + if ($countTables == 0) { + redirect_header('tables.php?op=new', 2, _AM_TDMCREATE_NOTTABLES ); + } + unset($countTables); + // Get the list of tables + $criteria = new CriteriaCompo(); + $criteria->setSort('table_id ASC, table_name'); + $criteria->setOrder('ASC'); + $countTables = $tdmcreate->getHandler('tables')->getCount($criteria); + $tablesAll = $tdmcreate->getHandler('tables')->getAll($criteria); + unset($criteria); + if ($countTables > 0) + { + foreach (array_keys($tablesAll) as $tid) + { + // Display tables list + $table['id'] = $tid; + $table['mid'] = $tablesAll[$tid]->getVar('table_mid'); + $table['name'] = ucfirst($tablesAll[$tid]->getVar('table_name')); + $table['image'] = $tablesAll[$tid]->getVar('table_image'); + $table['nbfields'] = $tablesAll[$tid]->getVar('table_nbfields'); + $table['autoincrement'] = $tablesAll[$tid]->getVar('table_autoincrement'); + $table['blocks'] = $tablesAll[$tid]->getVar('table_blocks'); + $table['admin'] = $tablesAll[$tid]->getVar('table_admin'); + $table['user'] = $tablesAll[$tid]->getVar('table_user'); + $table['search'] = $tablesAll[$tid]->getVar('table_search'); + // Get the list of fields + $criteria = new CriteriaCompo(); + $criteria->add(new Criteria('field_mid', $table['mid'])); + $criteria->add(new Criteria('field_tid', $tid)); + $criteria->setSort('field_id ASC, field_name'); + $criteria->setOrder('ASC'); + $countFields = $tdmcreate->getHandler('fields')->getCount($criteria); + $fieldsAll = $tdmcreate->getHandler('fields')->getObjects($criteria); + unset($criteria); + // Display fields list + $fields = array(); + $lid = 1; + if ( $countFields > 0 ) + { + foreach (array_keys($fieldsAll) as $fid) + { + $field['id'] = $fid; + $field['lid'] = $lid; + $field['order'] = $fieldsAll[$fid]->getVar('field_order'); + $field['name'] = str_replace('_', ' ', ucfirst($fieldsAll[$fid]->getVar('field_name'))); + $field['parent'] = $fieldsAll[$fid]->getVar('field_parent'); + $field['inlist'] = $fieldsAll[$fid]->getVar('field_inlist'); + $field['inform'] = $fieldsAll[$fid]->getVar('field_inform'); + $field['admin'] = $fieldsAll[$fid]->getVar('field_admin'); + $field['user'] = $fieldsAll[$fid]->getVar('field_user'); + $field['block'] = $fieldsAll[$fid]->getVar('field_block'); + $field['main'] = $fieldsAll[$fid]->getVar('field_main'); + $field['search'] = $fieldsAll[$fid]->getVar('field_search'); + $field['required'] = $fieldsAll[$fid]->getVar('field_required'); + $fields[] = $field; + unset($field); + $lid++; + } + } + unset($lid); + $table['fields'] = $fields; + $GLOBALS['xoopsTpl']->append('tables_list', $table); + unset($table); + } + unset($fields); + if ( $countTables > $limit ) { + include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; + $pagenav = new XoopsPageNav($countTables, $limit, $start, 'start', 'op=list&limit=' . $limit); + $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav(4)); + } + } else { + $GLOBALS['xoopsTpl']->assign('error', _AM_TDMCREATE_THEREARENT_FIELDS); + } + break; + + case 'new': + // Define main template + $template_main = 'tdmcreate_fields.tpl'; + $GLOBALS['xoTheme']->addStylesheet( 'modules/tdmcreate/assets/css/admin/style.css' ); + $GLOBALS['xoTheme']->addScript('modules/tdmcreate/assets/js/fields.js'); + $GLOBALS['xoopsTpl']->assign('navigation', $adminMenu->addNavigation('fields.php')); + $adminMenu->addItemButton(_AM_TDMCREATE_TABLES_LIST, 'tables.php', 'list'); + $adminMenu->addItemButton(_AM_TDMCREATE_FIELDS_LIST, 'fields.php', 'list'); + $GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton()); + // Form Add + $fieldsObj =& $tdmcreate->getHandler('fields')->create(); + $form = $fieldsObj->getFormNew($fieldMid, $fieldTid, $fieldNumb, $fieldName); + $GLOBALS['xoopsTpl']->assign('form', $form->render()); + break; + + case 'save': + // + if ( !$GLOBALS['xoopsSecurity']->check() ) { + redirect_header('fields.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); + } + $fieldId = XoopsRequest::getInt('field_id'); + // Fields Handler + $fields = $tdmcreate->getHandler('fields'); + $orderId = 1; + // Set Variables + foreach($_POST['field_id'] as $key => $value) + { + if(isset($value)){ + $fieldsObj =& $fields->get($value); + } else { + $fieldsObj =& $fields->create(); + } + if (isset($fieldMid) && isset($fieldTid) && !empty($_POST['field_name'][$key])) { + // Set Data + $fieldsObj->setVar( 'field_mid', $fieldMid ); + $fieldsObj->setVar( 'field_tid', $fieldTid ); + $fieldsObj->setVar( 'field_numb', $fieldNumb ); + $fieldsObj->setVar( 'field_order', (isset($_POST['field_order'][$key]) ? $_POST['field_order'][$key] : $orderId) ); + $fieldsObj->setVar( 'field_name', (isset($_POST['field_name'][$key]) ? $_POST['field_name'][$key] : '') ); + $fieldsObj->setVar( 'field_type', (isset($_POST['field_type'][$key]) ? $_POST['field_type'][$key] : '') ); + $fieldsObj->setVar( 'field_value', (isset($_POST['field_value'][$key]) ? $_POST['field_value'][$key] : '') ); + $fieldsObj->setVar( 'field_attribute', (isset($_POST['field_attribute'][$key]) ? $_POST['field_attribute'][$key] : '') ); + $fieldsObj->setVar( 'field_null', (isset($_POST['field_null'][$key]) ? $_POST['field_null'][$key] : '') ); + $fieldsObj->setVar( 'field_default', (isset($_POST['field_default'][$key]) ? $_POST['field_default'][$key] : '') ); + $fieldsObj->setVar( 'field_key', (isset($_POST['field_key'][$key]) ? $_POST['field_key'][$key] : '') ); + $fieldsObj->setVar( 'field_element', (isset($_POST['field_element'][$key]) ? $_POST['field_element'][$key] : '') ); + $fieldsObj->setVar( 'field_parent', ((isset($_REQUEST['field_parent'][$key]) == 1) ? 1 : 0) ); + $fieldsObj->setVar( 'field_inlist', ((isset($_REQUEST['field_inlist'][$key]) == 1) ? 1 : 0) ); + $fieldsObj->setVar( 'field_inform', ((isset($_REQUEST['field_inform'][$key]) == 1) ? 1 : 0) ); + $fieldsObj->setVar( 'field_admin', ((isset($_REQUEST['field_admin'][$key]) == 1) ? 1 : 0) ); + $fieldsObj->setVar( 'field_user', ((isset($_REQUEST['field_user'][$key]) == 1) ? 1 : 0) ); + $fieldsObj->setVar( 'field_block', ((isset($_REQUEST['field_block'][$key]) == 1) ? 1 : 0) ); + $fieldsObj->setVar( 'field_main', (($key == $_REQUEST['field_main']) ? 1 : 0) ); + $fieldsObj->setVar( 'field_search', ((isset($_REQUEST['field_search'][$key]) == 1) ? 1 : 0) ); + $fieldsObj->setVar( 'field_required', ((isset($_REQUEST['field_required'][$key]) == 1) ? 1 : 0) ); + // Insert Data + $tdmcreate->getHandler('fields')->insert($fieldsObj); + } + $orderId++; + ... [truncated message content] |
From: <txm...@us...> - 2015-04-18 20:46:26
|
Revision: 13038 http://sourceforge.net/p/xoops/svn/13038 Author: txmodxoops Date: 2015-04-18 20:46:15 +0000 (Sat, 18 Apr 2015) Log Message: ----------- Personalized checkbox and radio button form Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formcheckbox.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formradio.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/style.css Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/avatars.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/banners.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/blocksadmin.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/comments.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/groups.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/help_center.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/images.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/mailusers.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/maintenance.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/module_index.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/modulesadmin.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/preferences.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/smilies.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/tplsets.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/userrank.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/users.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/form.css Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formcheckbox.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formcheckbox.php 2015-04-16 21:43:53 UTC (rev 13037) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formcheckbox.php 2015-04-18 20:46:15 UTC (rev 13038) @@ -212,7 +212,7 @@ if (count($ele_value) > 0 && in_array($value, $ele_value)) { $ret .= ' checked="checked"'; } - $ret .= $ele_extra . ' />'."<label name='xolb_{$ele_name}' for='{$ele_id}{$id_ele}'>" . $name . "</label>" . $ele_delimeter ; + $ret .= $ele_extra . ' />'."<label name='xolb_{$ele_name}' for='{$ele_id}{$id_ele}'><span></span>" . $name . "</label>" . $ele_delimeter ; if (! empty($this->columns)) { $ret .= '</td>'; if (++ $i % $this->columns == 0) { Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formradio.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formradio.php 2015-04-16 21:43:53 UTC (rev 13037) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formradio.php 2015-04-18 20:46:15 UTC (rev 13038) @@ -184,7 +184,7 @@ if (isset($ele_value) && $value == $ele_value) { $ret .= ' checked="checked"'; } - $ret .= $ele_extra . ' />' . "<label name='xolb_{$ele_name}' for='" . $ele_name . $id_ele. "'>" . $name . "</label>" . $ele_delimeter ; + $ret .= $ele_extra . ' />' . "<label name='xolb_{$ele_name}' for='" . $ele_name . $id_ele. "'><span><span></span></span>" . $name . "</label>" . $ele_delimeter ; if (! empty($this->columns)) { $ret .= '</td>'; if (++ $i % $this->columns == 0) { @@ -201,4 +201,4 @@ return $ret; } -} +} \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/avatars.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/avatars.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/avatars.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,26 @@ +<div id="help-template" class="outer"> + +<h1 class="head">Help: Avatar</h1> +<h4 class="odd">Description</h4> + +<p class="even"> +Avatars are small graphics or pictures that can be used in various content settings around the site. They are often used next to a user name to add a bit of "visual identification." Typical applications are the forum.<br /><br /> + +The Avatar Manager allows the Site administrator to add, edit or delete System Avatars as well as Custom Avatars. <br /><br /> +</p> +<h4 class="odd">System Avatar</h4> +<p class="even"> +System Avatars are images uploaded by the Site administrator in the Avatar Manager section. +</p> +<h4 class="odd">Custom Avatar</h4> +<p class="even"> +Custom Avatars are images directly uploaded by a user. For a user to be able to upload an avatar, the correct option must be configured in the User Info Settings of the Site Preferences. +</p> + +<h4 class="odd">Edit and delete Avatars</h4> +<p class="even"> +The Site administrator can edit the name and the display order of all the System Avatars, as well as deleting anyone of them. Note that if the Site administrator deleted an avatar that is used by a user, this user will lose his avatar. +</p> + + +</div> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/banners.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/banners.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/banners.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,12 @@ +<div id="help-template" class="outer"> +<h1 class="head">Help: Banners</h1> + +<h4 class="odd">Description</h4> +<p class="even"> +Banners are advertisements displayed in the top section of the page. They may be images or flash movies, e.g. the wildly gyrating XOOPS banner that is part of the default installation. XOOPS has a built in system for managing banners and creating accounts for advertising clients, which is found in the System Module -> Banners. You can have multiple banners on a XOOPS site – the display area rotates through each of the active banners in turn each time a new page is loaded.<br /><br /> + +Each time a banner is displayed to a visitor this counts as one ‘impression’, which is the common trading currency of banners. Clients typically pay for a certain number of impressions – i.e. to have their advertisement displayed a certain number of times.<br /><br /> + +Please note: If you are in the business of selling banners based on the number of impressions there is one important thing you should do: Go to System Module -> Preferences -> General Settings and fill in the ‘Your IP Address’ field (if you have one). This will prevent your visits to the site from being included in the impression count. Failure to do this could be considered somewhat dishonest (noting, however, that many Administrators don’t have a permanent IP – e.g. those using dial up modems). +</p> +</div> Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/blocksadmin.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/blocksadmin.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/blocksadmin.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,17 @@ +<div id="help-template" class="outer"> +<h1 class="head">Help: Blocks</h1> + +<h4 class="odd">Description</h4> +<p class="even"> +Blocks are discreet sections of content that can be created and configured in the admin interface. Custom blocks can be created and are typically made up of text, graphics and pictures. The content in these blocks may be formatted individually or inherit the site formatting. Blocks may also be part of a modules display output. The blocks administration page is where all blocks are configured and administered. <br /><br /> + +Blocks are like a newspapers' front page: they are teasers that incite readers to read more complete stories in the inside pages. Blocks offer small bits of dynamic content with links to the actual content stored in the module.<br /><br /> +Part of the things that happen under the hood or behind curtains when a module is installed in a XOOPS site is that the module's blocks are registered in the system so they can be used at will by the webmaster.<br /><br /> + +What can a webmaster do with a block? Well, mostly, decide about where in the site the block will be shown (the equivalent of defining a shop window, which in this case can be in the outside, the home page, or even in the inside: a block can be defined to be shown in other modules), and when shown, where in a page will it be seen.<br /><br /> + +Every module that is installed in a XOOPS site registers its blocks in the system, and the webmaster can decide where it will be shown, in what part of the page it'll appear and what kind of relevance, weight or position will it have. The site administrator can also edit the block's label and, if knowledgeable enough, can even edit the template that underlies the block's presentation. + +</p> + +</div> Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/comments.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/comments.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/comments.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,15 @@ +<div id="help-template" class="outer"> +<h1 class="head">Help: Comments</h1> + +<h4 class="odd">Description</h4> +<p class="even"> +Site administrators have the option of providing a comments section for users. Comments can be added to many modules and displayed in a variety of ways. Comments can be screened, filtered, and made available to selected groups. This provides quick easy interaction from site users, while maintaining good moderation and security.<br /><br /> + +The Comment Manager allows the Site administrator to edit and delete any comment that has been posted to the site, originating in any module that supports the comments feature. +Like the Blocks Administration page, some filters options are available to help the site administrator manage the comments. <br /><br /> + +You can also select several comments and delete them at once. + +</p> + +</div> Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/groups.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/groups.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/groups.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,14 @@ +<div id="help-template" class="outer"> +<h1 class="head">Help: Groups</h1> +<h4 class="odd">Description</h4> +<p class="even"> +XOOPS incorporates a member registration system - you can optionally require people to sign up to your site in order to have access to certain areas or functions. For example, most sites require people to join before they are allowed to contribute news or post messages in the forums.<br /> +Access and administration rights to a XOOPS website are set through a flexible permission system based on 'user groups'. The default groups include anonymous users, registered members and webmasters, but of course you can define as many groups as you need to manage your site. Each group can be given a unique set of access rights governing:<br /><br /> +- Which blocks can be seen <br /> +- Which modules can be accessed<br /> +- Which modules can be administered<br /> +- Which aspects of system administration can be modified<br /><br /> +You can change the name of these default groups, but, you cannot delete them. Other user groups can also be set and defined as discussed later.<br /><br /> +Custom groups can also be created through the groups administration page. +</p> +</div> Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/help_center.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/help_center.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/help_center.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,17 @@ +<div id="help-template" class="outer"> + +<h2 class="head">Welcome to: XOOPS Help center</h2> + +<h4 class="odd">How do I use XOOPS?</h4> +<p class="even">XOOPS is a web application platform written in PHP for the MySQL database. Its object orientation makes it an ideal tool for developing small or large community websites, intra company and corporate portals, weblogs and much more. In order to use XOOPS effectively, you need to install modules that provide the functionality that you're looking for. There are many different modules in <a href="http://www.xoops.org/modules/repository/" rel="external" title="Module Repository">Module Repository</a>, from calendars, photo galleries, through news, bulletin boards, to weather updates.</p> + +<h4 class="odd">How do I use the Help Center?</h4> +<p class="even">The Help Center is to provide you with basic information related to individual features of the Administration. Whenever you would like to know more about particular page you are on, just click the help icon in the right hand corner</p> + +<h4 class="odd">How I can create content in XOOPS?</h4> +<p class="even">You'll need a module for it. This could be a News module, or a Content module. </p> + +<h4 class="odd">How I can get more help?</h4> +<p class="even">Please visit our Support Forums at: <a href="http://www.xoops.org/modules/newbb" rel="external" title="Forum">http://www.xoops.org/modules/newbb</a> </p> + +</div> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/images.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/images.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/images.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,13 @@ +<div id="help-template" class="outer"> +<h1 class="head">Help: Image Manager</h1> + +<h4 class="odd">Description</h4> +<p class="even"> +The Image Manager is a tool that enables people to upload, organize and retrieve images for use throughout the site. You must configure the image manager before you can use it - this involves creating some categories to store your images and setting preferences on issues such as maximum image dimensions, file size and user group access rights. Each category is configured separately.<br /><br /> + +Images can be categorized and uploaded directly into the images manager through a browser in this window with one click of a button, enabling easy insertion of images into news articles and other content. There is an extensive permission system controlling image dimensions, file size and access of user groups to different categories. + +</p> + +</div> + Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/mailusers.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/mailusers.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/mailusers.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,12 @@ +<div id="help-template" class="outer"> +<h1 class="head">Help: Email Users</h1> +<h4 class="odd">Description</h4> + +<p class="even"> +XOOPS has a built in messaging system that enables you to send a message to your entire registered user base or subgroups thereof, or using date filters. This can be in the form of a private message (i.e. through the XOOPS built-in messaging system) or through an email. A range of options is available for filtering out subgroups of users from your membership.<br /><br /> + +You can also use predefined tags that will enable you to personalize your message. +</p> + +</div> + Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/maintenance.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/maintenance.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/maintenance.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,14 @@ +<div id="help-template" class="outer"> + +<h1 class="head">Help: Maintenance</h1> +<h4 class="odd">Description</h4> + +<p class="even"> +Maintenance provides several basic functions to help you in maintaining your XOOPS installation and keep it healthy:<br /><br /> + +- clean cache folder<br /> +- empty the session table<br /> +- perform maintenance of the database tables (analyze, check, optimize, and repair) <br /><br /> + +You can also perform a "Dump" of the whole database or individual tables for backup purposes. </p> +</div> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/module_index.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/module_index.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/module_index.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,7 @@ +<div id="help-template" class="outer"> + +<h2 class="head">Welcom to: System module</h2> +<h4 class="odd">Description</h4> +<p class="even">For administration of core settings of the site.</p> + +</div> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/modulesadmin.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/modulesadmin.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/modulesadmin.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,17 @@ +<div id="help-template" class="outer"> +<h1 class="head">Help: Modules</h1> + +<h4 class="odd">Description</h4> +<p class="even"> +Modules are the software constructs that, taking advantage of the infrastructure that XOOPS provides, let the webmaster offer the site’s users dynamic or static content generated using a Web interface that more often that not is very easy to use.<br /><br /> + +Part of the power of XOOPS resides in the way modules are managed. The webmaster can easily install, uninstall, activate or deactivate any specific module (except the System module, for obvious reasons). It’s also possible to rename modules, and to determine the order in which they will appear to the end user in the site’s menu (if you want them to appear at all), because you can also provide hidden functionality, defining active modules that have no visible presence to the casual user. For instance, you could define a module as not visible in the menu by disabling the check icon in the Menu column. So for the News module, you could then send a private messages to selected group of your users and tell them to access that directory typing the address in the URL field, something like <em>http://www.yoursite.com/modules/news</em>. <br /><br /> + +To change order of modules (which will be reflected in the Menu), you just need to drag and drop the modules to the desired placement.<br /><br /> + +Module installation needs some planning, both for the modules to be displayed and also the layout on the pages. It is a good idea to review other XOOPS sites and see which modules are used to display various types of content. This is easily done by opening any XOOPS site and hovering over the menu links on the left and right hand side panels. At the same time look at the URLs displayed in the status bar on your browser. You should see addresses like this: http://the_site.com/modules/news/.... All modules are stored in the /modules/ directory, thus the following sector of the address (in this example 'news') shows the module that will display contents of that menu link. <br /><br /> + +If you open the page for the link it will show an example of how the module is used and the type of content it displays. Reviewing other sites like this will also give you some good insight into layout and design capabilities. +</p> + +</div> Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/preferences.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/preferences.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/preferences.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,60 @@ +<div id="help-template" class="outer"> + +<h1 class="head">Help: Preferences</h1> +<h4 class="odd">Description</h4> + +<p class="even"> +The preference panels are where you configure your site-wide preferences. It is worth taking the time to work through them as some settings can have a significant impact on the performance, security and ease of use of your site. +</p> +<h4 class="odd">General Settings</h4> +<p class="even"> +These are the most important and most frequently accessed preferences. You will set the Site name and the Slogan for your Website. You'll also select the default Theme and Admin GUI. And if you need to work on your Website, you can close it for all users. You can also set Module-wide Cache times. +</p> + +<h4 class="odd">Meta Tags and Footer</h4> +<p class="even"> +Meta tags provide information about your information – they describe the nature of your website. Their main use is to help search engines and their robots to index your website correctly, i.e. to help the right people find it. The information you supply is included in the header of each web page. It should represent the content of the site as a whole - the meta information is the same on every page, it currently cannot be customised for different modules or pages.<br /><br /> + +Be aware that the major search engines use different strategies for indexing websites. They may place different weightings on meta tags or even ignore them completely. Careful use of meta information may help your website to gain better search engine rankings and it is useful to seek information on the indexing strategies of your dominant referrers (see your website logfile). This may help you to optimise your meta information or other aspects of your site design and content to improve your rankings. <br /><br /> + +Try to be accurate and honest in providing meta information. Don’t try to ‘<em>manipulate</em>’ search engines to gain a better ranking – they may recognise this behaviour and your site may be downgraded or blacklisted from their index. + +</p> + +<h4 class="odd">Word Censoring Options</h4> +<p class="even"> +XOOPS can automatically censor undesirable words that may be posted by visitors to your site and replace them with a generic, alternative term of your choice. The censorship function does consume some system resources and may slow your site somewhat. It is disabled by default.<br /><br /> + +To implement censorship on your site select the ‘<em>enable</em>’ radio button. You need to enter a list of unwanted words in the ‘<em>words to censor</em>’ box, separating them with the pipe character. This function is case insensitive. Enter a suitable replacement term in the ‘<em>replace bad words with</em>’ box. The default is #OOPS#. + +</p> + +<h4 class="odd">Search Options</h4> +<p class="even"> +The search facility is one of the most important tools for locating information in a portal website. The XOOPS search categorises results by module – records are identified as news items, downloads, links or other types as per the modules you have installed. <br /><br /> + +Global searches of all resources on your site are enabled by default. If you disable global searches this facility will no longer be available and the search block will become non-functional. +The default minimum keyword length for searches is five characters. Any terms that are shorter will be ignored. This is useful for controlling the precision of searches, though not much use for terms like “site map”. Short keywords tend to be more common so they tend to return a greater number of records, many of which may be irrelevant. Longer keywords tend to retrieve fewer records but with a higher degree of precision.<br /><br /> + +Searching is relatively expensive in computational terms and so excluding short terms will reduce the load on the server. However, bear in mind that sometimes it is useful to be able to search for a short term. + +</p> + +<h4 class="odd">Email Setup</h4> +<p class="even"> +This section of the control panel is used to configure your email for the system. It is recommended that you leave the Email Delivery Method on the default setting “PHP (mail)”. You do not need to fill in the Sendmail or SMTP fields unless you use an alternative email delivery option. +</p> + +<h4 class="odd">Authentication Options</h4> +<p class="even"> +Just leave it at Xoops Database and you can ignore all the other options in there.<br /><br /> + +LDAP or Microsoft Active directory servers have been added for authentication as an alternate to the normal Xoops users. The reason is that in many company you already have a user database in ADS or LDAP and they can use that to logon to Xoops and don´t have to register yet another account. +</p> + +<h4 class="odd">System Module Settings</h4> +<p class="even"> +Here you can activate/deactivate each of the System sections, as well as specify system-wide defaults, e.g. for number of displayed avatars or images per page. You can also select a default editor for blocks, comments, and for all modules. +</p> + +</div> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/smilies.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/smilies.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/smilies.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,14 @@ +<div id="help-template" class="outer"> +<h1 class="head">Help: Smilies</h1> + +<h4 class="odd">Description</h4> +<p class="even"> +Smiles are little graphic symbols that people can use to express themselves. They can be inserted anywhere in the text of an article, comment or post from both the user and admin sides of the system. XOOPS ships with a collection of 17 smilies built in. Some of these are displayed on the submission forms in various modules (including forums, news, downloads, links and others). Clicking on a smilie will insert it into the post. Smilies can also be inserted by typing in their unique ‘codes’ (keyboard shortcuts), for example typing ':' '-' 'D' in a post will insert this smilie: <img src="http://www.xoops.org/uploads/smil42e7a3d4c7b9f.gif" alt=""/> <br /><br /> + +The full list of smilies available on your system and their codes is accessible through the Smilies, which is where you're now. Here you can add, edit and delete smilies, and control which are displayed on submission forms (only nine of the 17 are displayed by default)<br /><br /> + +If you don’t want smilies on your system, you can either uncheck the “display in form?” box (in which case they won’t appear on submission forms, but will still be available via their codes), or use the delete link to remove them entirely. +</p> + +</div> + Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/tplsets.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/tplsets.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/tplsets.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,30 @@ +<div id="help-template" class="outer"> +<h1 class="head">Help: Templates</h1> + +<h4 class="odd">Description</h4> +<p class="even"> +XOOPS allows for some separation between the actual presentation of the site (the “<em>skin</em>” or user interface) and the code that runs in the back. The first one is handled by a sophisticated mechanism based on graphical themes. A theme may include, in its basic form, the essential HTML templates that define the visual interface of the site, as well as the style sheets and images needed to complement that visual interface. Themes are switchable in the administrative interface, so changing the whole appearance of a XOOPS site it’s just a matter of changing the value of a selector and clicking on “Accept”. XOOPS also provides site administrators with the ability to let users choose among some available themes.<br /><br /> + +Generally speaking, a <strong><em>theme</em></strong> is the high level visual framework of a site: the theme defines, for instance, the general layout of the site; on the other hand, it does not usually define the specific distribution of content within a block. This is handled by a different entity called a <em><strong>template set</strong></em>. A template set<em> </em>is an ensemble of HTML templates that define the presentation of content within all the blocks that form a XOOPS Web site. If we want a more clear metaphor for this, we could say that the theme is like the architect of a house, while the template set is like the interiors decorator. The first one sets the walls and defines the general distribution, but it’s the second one who’s in charge of “<em>dressing</em>” those walls.<br /><br /> + +If the active theme is a simple one that only includes a theme file, CSS files and some images, XOOPS employs the default template set to define the presentation of blocks. However, some complex themes are sophisticated enough to include their own template set. In this case, the site administrator must use the administrative interface to set both the theme and the template set. <br /><br /> + +How is the theme <em>magic</em> accomplished? That is, how can HTML templates include dynamic content? This is done not with mirrors and smoke, but with a clever template engine called +<strong><a rel="external" href="http://www.smarty.net/">Smarty</a></strong> that makes the function of what used to be called +<em><strong>variable interpolation</strong></em>. Expressed in a simple way, we could say that the XOOPS system uses PHP files to hold the logic of the modules (access to the database, allocation of variables, management of rights...), HTML files with Smarty variables inserted to manage the actual visual interface, and the Smarty engine to insert values and strings in specific places within the HTML that builds the pages seen by the end user. All in all, what this means to you can be easily summarized: thanks to its theming system, XOOPS lets site designers build more interesting and visually stunning sites without much concern about what happens under the hood. +</p> +<h4 class="odd">Cloning and downloading template sets</h4> +<p class="even"> +If you would like to create a custom template set you can make a copy of the default set (or any other) by selecting the ‘<em>clone</em>’ link (you will be prompted to give the new set a name). Unlike the default, other template sets can be freely edited. You can also save a copy of a template set to disk by selecting the ‘<em>download</em>’ link, or remove it with the ‘<em>delete</em>’ link. You may also sometimes see an additional ‘<em>Generate</em>’ link next to new modules for which templates have not yet been created. +</p> + +<h4 class="odd">Editing templates</h4> +<p class="even"> +You can see a full list of available templates by browsing the directory treeview. When you select a template, XOOPS will open it in an editor where you can edit it. <br /><br /> + +While editing templates you must enable a preference that automatically updates module template .html files if there are newer files under the themes/your theme/templates directory for the current theme (System Module -> Preferences -> General Settings -> Update module template .html files from themes/your theme/templates directory? -> ‘<em>Yes</em>’). This should be turned off once the site goes public.<br /><br /> +If you accidentally mess up a template don’t forget that you can retrieve a ‘<em>good</em>’ copy from the default template set. If you are working with non-standard templates it may be a good idea to save a copy to disk before you start modifying them. + +</p> + +</div> Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/userrank.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/userrank.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/userrank.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,17 @@ +<div id="help-template" class="outer"> + +<h1 class="head">Help: User Ranks</h1> +<h4 class="odd">Description</h4> + +<p class="even"> +User Ranks allow you to give people some ‘<em>status</em>’ based on either their role or level of participation in the community. It is important to note that user ranks are functionally irrelevant - they *do not* confer any extra privileges or administrative rights at all – they are just titles. User access rights are actually controlled elsewhere (through the Groups section of the control panel). If you assign someone the Webmaster user rank but forget to also assign them to the Webmaster user group (a common mistake) they may look cool but they won’t be able to administer the site !<br /><br /> + +‘<em>Normal</em>’ ranks are assigned on the basis of the number of forum posts and comments a user has made. A user’s rank will change as they make enough posts to qualify for the next level. XOOPS ships with the following default ranks: Just popping in; Not too shy to talk; Quite a regular; Just can’t stay away; and Home away from home. +XOOPS also ships with two ‘<em>special ranks</em>’: Moderator and Webmaster. Special ranks differ in that they can be assigned to users irrespective of the number of posts they have made. A typical use of special ranks is to give recognition to people performing various administrative functions.<br /><br /> + +The ‘<em>edit</em>’ link allows you to change the name of a rank, to alter the minimum / maximum number of posts needed to qualify, to designate it as a ‘<em>special</em>’ rank (or not), and to upload a new rank image. You can remove unnecessary ranks (‘delete’ link). <br /><br /> + +You can create additional ranks through the form at the bottom of the user rank page. Simply assign a name, minimum and maximum number of posts (if desired), upload a rank image and assign it as either normal or special. +</p> + +</div> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/users.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/users.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/language/english/help/users.tpl 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,28 @@ +<div id="help-template" class="outer"> +<h1 class="head">Help: Users</h1> + +<h4 class="odd">Description</h4> +<p class="even"> +XOOPS provides built in tools for easy user management. These include the ability to search for users by various criteria, send email and private messages to users through a template-based messaging system. In your site, users have the rights that pertain to the group they're assigned to.<br /><br /> + +As to users, they have access to their profile, have some control over most of the information that will be visible to other users, and have also an inbox to receive private messages from the site administrator or from other users. They have besides control over what changes in the site will trigger personal notifications. And depending on the permissions set by the site manager, they can see content and participate in the site's life by uploading content, writing stories or comments, rating content and in general giving their feedback to what they see on the site.<br /><br /> +</p> + +<h4 class="odd">Advanced Search</h4> +<p class="even"> +"Advanced Search" provides a wide range of options that you can use to search for specific users or to filter your membership. You can also obtain a complete list of members by pressing the ‘submit’ button without using any of the filters. +</p> + +<h4 class="odd">Edit Users</h4> +<p class="even"> +You can add, edit and delete users through this section of the System Module.<br /><br /> +To edit a user, search for one based on the name or other criteria. You may then choose to either <br /><br /> + +i) modify their details or <br /> +ii) delete them using the second drop down box.<br /><br /> + +Selecting ‘modify’ will open the user’s profile which you may then change as you see fit (note that you can also reach the edit profile page from the user side via the member directory, or by clicking on a username anywhere in the site). +</p> + + +</div> Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/form.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/form.css (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/form.css 2015-04-18 20:46:15 UTC (rev 13038) @@ -0,0 +1,85 @@ +/* + * Dashboard Responsive Admin Theme + * + * @copyright Txmod Xoops <http://www.txmodxoops.org/> - Xoops Project <http://www.xoops.org/> + * @license http://www.fsf.org/copyleft/gpl.html GNU public license 3.0 + * @package themes + * @since 2.5.x + * @author Txmod Xoops <http://www.txmodxoops.org/> + * @maintained Xoops Design Theme <http://www.xoops.org/> + * + * @version $Id 1.0 +*/ + +/* ==================== Form definitions ==================== */ +/* Hide the checkboxes and radio buttons */ +input[type=checkbox]:not(old), +input[type=radio ]:not(old){ + width : 2em; + margin : 0; + padding : 0; + font-size : 1em; + opacity : 0; +} +/* Position the label */ +input[type=checkbox]:not(old) + label, +input[type=radio ]:not(old) + label{ + display : inline-block; + margin-left : -2em; + line-height : 1.5em; +} +/* Style the first span to create the unchecked graphics */ +input[type=checkbox]:not(old) + label > span, +input[type=radio ]:not(old) + label > span{ + display : inline-block; + width : 0.995em; + height : 0.995em; + margin : 0.25em 0.25em 0.25em 0.25em; + border : 0.0925em solid rgb(152,152,152); + border-radius : 0.325em; + background : rgb(224,224,224); + background-image : -moz-linear-gradient(rgb(240,240,240),rgb(224,224,224)); + background-image : -ms-linear-gradient(rgb(240,240,240),rgb(224,224,224)); + background-image : -o-linear-gradient(rgb(240,240,240),rgb(224,224,224)); + background-image : -webkit-linear-gradient(rgb(240,240,240),rgb(224,224,224)); + background-image : linear-gradient(rgb(240,240,240),rgb(224,224,224)); + vertical-align : bottom; +} +/* Background gradient is reversed on selected checkboxes and radio buttons */ +input[type=checkbox]:not(old):checked + label > span, +input[type=radio ]:not(old):checked + label > span{ + background-image : -moz-linear-gradient(rgb(224,224,224),rgb(240,240,240)); + background-image : -ms-linear-gradient(rgb(224,224,224),rgb(240,240,240)); + background-image : -o-linear-gradient(rgb(224,224,224),rgb(240,240,240)); + background-image : -webkit-linear-gradient(rgb(224,224,224),rgb(240,240,240)); + background-image : linear-gradient(rgb(224,224,224),rgb(240,240,240)); +} +/* Display a tick inside selected checkboxes */ +input[type=checkbox]:not(old):checked + label > span:before{ + content : '✓'; + display : block; + width : 1em; + color : rgb(104,104,104); + font-size : 0.875em; + line-height : 1em; + text-align : center; + text-shadow : 0 0 0.0714em rgb(115,153,77); + font-weight : bold; +} +/* Display a ‘bullet’ inside selected radio buttons, + applying the same techniques as for the unchecked + graphics to the second span element */ +input[type=radio]:not(old):checked + label > span > span{ + display : block; + width : 0.7em; + height : 0.7em; + margin : 0.09em 0.05em 0.05em 0.08em; + border : 0.0925em solid rgb(105,105,105); + border-radius : 0.425em; + background : rgb(120,120,120); + background-image : -moz-linear-gradient(rgb(160,150,140),rgb(150,150,150)); + background-image : -ms-linear-gradient(rgb(160,150,140),rgb(150,150,150)); + background-image : -o-linear-gradient(rgb(160,150,140),rgb(150,150,150)); + background-image : -webkit-linear-gradient(rgb(160,150,140),rgb(150,150,150)); + background-image : linear-gradient(rgb(160,150,140),rgb(150,150,150)); +} \ No newline at end of file Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/style.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/style.css 2015-04-16 21:43:53 UTC (rev 13037) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/style.css 2015-04-18 20:46:15 UTC (rev 13038) @@ -14,7 +14,7 @@ @import url(accordion.css); @import url(logger.css); @import url(tabs.css); - +@import url(form.css); /* ==================== General definitions ==================== */ html { width: 100%; |
From: <txm...@us...> - 2015-04-16 21:43:55
|
Revision: 13037 http://sourceforge.net/p/xoops/svn/13037 Author: txmodxoops Date: 2015-04-16 21:43:53 +0000 (Thu, 16 Apr 2015) Log Message: ----------- Updated Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/style.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_header.tpl Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/style.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/style.css 2015-04-07 18:36:06 UTC (rev 13036) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/style.css 2015-04-16 21:43:53 UTC (rev 13037) @@ -69,12 +69,96 @@ font-size:18px; } -footer { - margin-top:20px; - padding-top:20px; - padding-bottom:20px; - background-color:#efefef; +#g-color-menu { + margin: 0; + padding: 15px 0 0 15px; } +#g-color-menu li { + display: inline-block; + border: 2px solid black; + height: 30px; + width: 30px; + margin: 0 15px 15px 0; +} +#g-color-menu li:hover { + border: 2px solid white; +} +#g-color-menu .color-theme1 { + display: block; + width: 0px; + height: 0px; + border-left-color: transparent !important; + border-top-color: transparent !important; + position: relative; + z-index: 1 +} +#g-color-menu .color-theme2 { + display: block; + width: 26px; + height: 26px; + position: relative; + top: -26px; +} +#g-color-menu li.theme1 { + display: none +} +#g-color-menu li { + cursor: pointer +} +#g-color-menu .theme1 .color1 { + border: 13px solid #ffffff; +} +#g-color-menu .theme1 .color2 { + background: #484848; +} +#g-color-menu .theme2 .color1 { + border: 13px solid #f6f6f6; +} +#g-color-menu .theme2 .color2 { + background: #f2404e; +} +#g-color-menu .theme3 .color1 { + border: 13px solid #cbccbe; +} +#g-color-menu .theme3 .color2 { + background: #584336; +} +#g-color-menu .theme4 .color1 { + border: 13px solid #fdfdfd; +} +#g-color-menu .theme4 .color2 { + background: #eac12d; +} +#g-color-menu .theme5 .color1 { + border: 13px solid #f5f1e8; +} +#g-color-menu .theme5 .color2 { + background: #b04444; +} +#g-color-menu .theme6 .color1 { + border: 13px solid #ffffff; +} +#g-color-menu .theme6 .color2 { + background: #729f42; +} +#g-color-menu .theme7 .color1 { + border: 13px solid #f1f1f1; +} +#g-color-menu .theme7 .color2 { + background: #317081; +} +#g-color-menu .theme8 .color1 { + border: 13px solid #fcfcfc; +} +#g-color-menu .theme8 .color2 { + background: #43bebc; +} +#g-color-menu .theme9 .color1 { + border: 13px solid #f9f6ed; +} +#g-color-menu .theme9 .color2 { + background: #eea200; +} .nav>li .count { position: absolute; @@ -95,7 +179,7 @@ /* Dropdown Submenu Top */ -.dropdown-submenu{ +.dropdown-submenu { position:relative; } @@ -188,6 +272,13 @@ margin: 20px 0 0 10px; } +footer { + margin-top:20px; + padding-top:20px; + padding-bottom:20px; + background-color:#efefef; +} + @media(max-width:767px) { .sidenav { margin-top: -20px; Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_header.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_header.tpl 2015-04-07 18:36:06 UTC (rev 13036) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_header.tpl 2015-04-16 21:43:53 UTC (rev 13037) @@ -12,6 +12,7 @@ </div> <div class="navbar-collapse collapse"> <ul class="nav navbar-nav navbar-right"> + <li class="home"><a href="<{xoAppUrl /}>"><i class="glyphicon glyphicon-home"></i></a></li> <{foreach item=item from=$navitems}> <li class="dropdown"> <a href="<{$item.link}>" class="dropdown-toggle" title="<{$item.title}>" data-toggle="dropdown" data-hover="dropdown-menu"> <i class="glyphicon glyphicon-<{$item.icon}>"></i> <span class="caret"></span></a> @@ -37,11 +38,11 @@ <a href="#" class="dropdown-toggle" role="button" data-toggle="dropdown" title="<{$smarty.const._OXYGEN_THEME_COLOR}>"> <i class="glyphicon glyphicon-tint"></i> <span class="caret"></span> </a> - <ul id="g-account-menu" class="dropdown-menu" role="menu"> + <ul id="g-color-menu" class="dropdown-menu" role="menu"> <li class="bg-color bg-dark"><a id="dark" href="<{$theme_css}>/index.html?style=dark" rel="dark" class="styleswitch"><{$smarty.const._OXYGEN_DARK}></a></li> <li class="bg-color bg-silver"><a id="silver" href="<{$theme_css}>/index.html?style=silver" rel="silver" class="styleswitch"><{$smarty.const._OXYGEN_SILVER}></a></li> <li class="bg-color bg-orange"><a id="orange" href="<{$theme_css}>/index.html?style=orange" rel="orange" class="styleswitch"><{$smarty.const._OXYGEN_ORANGE}></a></li> - <li class="bg-color bg-red"><a id="red" href="<{$theme_css}>/index.html?style=red" rel="red" class="styleswitch"><{$smarty.const._OXYGEN_RED}></a></li> + <li class="bg-color bg-red"><a id="red" href="<{$theme_css}>/index.html?style=red" rel="red" class="styleswitch"><{$smarty.const._OXYGEN_RED}></a></li> <li class="bg-color bg-green"><a id="green" href="<{$theme_css}>/index.html?style=green" rel="green" class="styleswitch"><{$smarty.const._OXYGEN_GREEN}></a></li> <li class="bg-color bg-yellow"><a id="yellow" href="<{$theme_css}>/index.html?style=yellow" rel="yellow" class="styleswitch"><{$smarty.const._OXYGEN_YELLOW}></a></li> <li class="bg-color bg-blue"><a id="blue" href="<{$theme_css}>/index.html?style=blue" rel="blue" class="styleswitch"><{$smarty.const._OXYGEN_BLUE}></a></li> |
From: <be...@us...> - 2015-04-07 18:36:15
|
Revision: 13036 http://sourceforge.net/p/xoops/svn/13036 Author: beckmi Date: 2015-04-07 18:36:06 +0000 (Tue, 07 Apr 2015) Log Message: ----------- Moving Adminbar to the top Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/css/style.css XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/theme.html XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/xotpl/xobanner.html Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/xotpl/xo_headerstatic.html Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/css/style.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/css/style.css 2015-04-06 12:43:54 UTC (rev 13035) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/css/style.css 2015-04-07 18:36:06 UTC (rev 13036) @@ -17,6 +17,8 @@ } /* ======= Body wrapper ======= */ +.push_down{margin-top:30px;} + #xo-wrapper {} #xo-bgstatic {} #xo-canvas { @@ -213,6 +215,51 @@ color: #fff; text-decoration: underline; } + +/*========== xo_headerstatic.html ==========*/ +#xo-headerstatic * { margin: 0; padding: 0} +#xo-headerstatic { + position: absolute; + top: 0; + left: 0; + bottom: 0; + width: 100%; + height: 30px; + background: none; + color: #000; + font-size: 11px; + z-index: 99999; + border-style: solid; + border-width: thin; +} + +body>#xo-headerstatic { position: fixed;} +#xo-headerstatic #controls { + margin: 0px 20px 0px 20px; + background-color: #fff; + line-height: 20px; + text-shadow: 2px 2px 3px #aaa; + border: 2px solid #b5b5b5; + border-bottom: none; +} + +body#xo-banner #xo-headerstatic { + padding: 0 50px 0 50px; + margin: 50px 50px 0px 50px; + +} + +#xo-headerstatic #controls { margin-top: 0px; background: #E7F4F7; padding: 3px 10px 0 10px;} +#xo-headerstatic .separate { margin-left: 3px; border-left: 1px solid #b5b5b5;} +#xo-headerstatic #controls ul, li { margin: 0; padding: 0;} +#xo-headerstatic #controls ul { list-style: none;} +#xo-headerstatic #controls li { display: inline-block; height: 20px; line-height: 27px; padding-right: 6px;} +#xo-headerstatic .icon { vertical-align: text-bottom;} +#xo-headerstatic .icon-chat { padding-top: 3px;} +#xo-headerstatic .chat, .icon-chat { float: right;} +#xo-headerstatic .text { vertical-align: top;} + + /*========== xo_footerstatic.html ==========*/ #xo-footerstatic * { margin: 0; padding: 0;} #xo-footerstatic { @@ -250,7 +297,7 @@ margin-bottom: 35px; } #xo-logger-tabs a:hover {background-color: transparent; color: #fff;} -table #xo-logger-queries tr {width: 100%;) +table #xo-logger-queries tr {width: 100%;} .outer {border: 1px solid silver;} .head {background-color: #c2cdd6; padding: 5px; font-weight: bold;} .even {background-color: #dee3e7; padding: 5px;} Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/theme.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/theme.html 2015-04-06 12:43:54 UTC (rev 13035) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/theme.html 2015-04-07 18:36:06 UTC (rev 13036) @@ -20,7 +20,10 @@ <{elseif $xoBlocks.canvas_left}><{assign var=columns_layout value='leftcolumn-layout'}> <{elseif $xoBlocks.canvas_right}><{assign var=columns_layout value='rightcolumn-layout'}> <{/if}> -<div id="xo-wrapper" class="<{$xoops_dirname}>"> +<{if $xoops_isadmin}> +<{includeq file="$theme_name/xo_headerstatic.html"}> +<{/if}> +<div id="xo-wrapper" class="<{$xoops_dirname}> <{if $xoops_isadmin}>push_down<{/if}>"> <div id="xo-bgstatic" class="<{$xoops_dirname}>"></div> <div id="xo-canvas"<{if $columns_layout}> class="<{$columns_layout}>"<{/if}>> <div id="xo-header" class="<{$xoops_dirname}>"> @@ -41,7 +44,7 @@ }> <{/if}> <td id="xo-page"> - <{if $xoBlocks.page_topleft or $xoBlocks.page_topcenter or $xoBlocks.page_topright}> + <{if $xoBlocks.page_topleft || $xoBlocks.page_topcenter || $xoBlocks.page_topright}> <div class="xo-blockszone xo-<{$theme_top_order}>pageblocks" id="xo-page-topblocks"> <{includeq file="$theme_name/centerblocks.html" topbottom=top lcr=$theme_top_order|substr:0:1}> <{includeq file="$theme_name/centerblocks.html" topbottom=top lcr=$theme_top_order|substr:1:1}> @@ -49,7 +52,7 @@ </div> <{/if}> <{if $xoops_contents && ($xoops_contents != ' ') }><div id="xo-content"><{$xoops_contents}></div><{/if}> - <{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomcenter or $xoBlocks.page_bottomright}> + <{if $xoBlocks.page_bottomleft || $xoBlocks.page_bottomcenter || $xoBlocks.page_bottomright}> <div class="xo-blockszone xo-<{$theme_bottom_order}>pageblocks" id="xo-page-bottomblocks"> <{includeq file="$theme_name/centerblocks.html" topbottom=bottom lcr=$theme_bottom_order|substr:0:1}> <{includeq file="$theme_name/centerblocks.html" topbottom=bottom lcr=$theme_bottom_order|substr:1:1}> @@ -72,8 +75,5 @@ <!--{xo-logger-output}--> </div> - <{if $xoops_isadmin}> - <{includeq file="$theme_name/xo_footerstatic.html"}> - <{/if}> </body> -</html> \ No newline at end of file +</html> Added: XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/xotpl/xo_headerstatic.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/xotpl/xo_headerstatic.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/xotpl/xo_headerstatic.html 2015-04-07 18:36:06 UTC (rev 13036) @@ -0,0 +1,56 @@ +<div id="xo-headerstatic"> + <div id="controls" > + <div> + <ul> + <li class="icon"><a href="<{xoAppUrl /}>" title="<{$smarty.const._YOURHOME}>"><img src="<{xoImgUrl icons/footer/home.png}>" alt="<{$smarty.const._YOURHOME}>" /></a></li> + <li class="separate"> </li> + <li class="text"><a href="<{xoAppUrl modules/system/admin.php?fct=preferences}>" title="<{$smarty.const.THEME_PREF}>"><{$smarty.const.THEME_PREF}></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=preferences}>" title="<{$smarty.const.THEME_CPHOME}>"><img src="<{xoImgUrl icons/footer/prefs_small.png}>" alt="<{$smarty.const._CPHOME}>" /></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=preferences&op=showmod&mod=1}>" title="<{$smarty.const.THEME_SYSSETTING}>"><img src="<{xoImgUrl icons/footer/configure_shortcuts.png}>" alt="<{$smarty.const.THEME_SYSSETTING}>" /></a></li> + <li class="icon"><a href="<{xoAppUrl admin.php}>" title="<{$smarty.const._CPHOME}>"><img src="<{xoImgUrl icons/footer/process.png}>" alt="<{$smarty.const._CPHOME}>" /></a></li> + <li class="separate"> </li> + <li class="text"><a href="<{xoAppUrl modules/system/admin.php}>" title="<{$smarty.const.THEME_ADMTOOLS}>"><{$smarty.const.THEME_ADMTOOLS}></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=modulesadmin}>" title="<{$smarty.const.THEME_INSTALLEDMODULES}>"><img src="<{xoImgUrl icons/footer/modules_small.png}>" title="<{$smarty.const.THEME_INSTALLEDMODULES}>"></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=blocksadmin}>" title="<{$smarty.const.THEME_BKAD}>"><img src="<{xoImgUrl icons/footer/blocks_small.png}>" alt=""/></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=tplsets}>" title="<{$smarty.const.THEME_TPLS}>"><img src="<{xoImgUrl icons/footer/tpls_small.png}>" /></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=maintenance}>" title="<{$smarty.const.THEME_ADMCLEAN}>"><img src="<{xoImgUrl icons/footer/maintenance_small.png}>" /></a></li> + <li class="separate"> </li> + <li class="text"><a href="<{xoAppUrl modules/system/admin.php?fct=users}>" title="<{$smarty.const.THEME_USER}>"><{$smarty.const.THEME_USER}></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=groups}>" title="<{$smarty.const.THEME_ADGS}>"><img src="<{xoImgUrl icons/footer/groups_small.png}>" alt=""/></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=userrank}>" title="<{$smarty.const.THEME_RANK}>"><img src="<{xoImgUrl icons/footer/userrank_small.png}>" alt=""/></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=users}>" title="<{$smarty.const.THEME_EUSER}>"><img src="<{xoImgUrl icons/footer/edituser_small.png}>" alt=""/></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=findusers}>" title="<{$smarty.const.THEME_FINDUSER}>"><img src="<{xoImgUrl icons/footer/finduser_small.png}>" alt=""/></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=mailusers}>" title="<{$smarty.const.THEME_MLUS}>"><img src="<{xoImgUrl icons/footer/mailuser_small.png}>" alt=""/></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=comments}>" title="<{$smarty.const.THEME_COMMENTS}>"><img src="<{xoImgUrl icons/footer/comments_small.png}>" alt=""/></a></li> + <li class="separate"> </li> + <li class="text"><a href="<{xoAppUrl modules/system/admin.php?fct=images}>" title="<{$smarty.const.THEME_IMAGES}>"><{$smarty.const.THEME_IMAGES}></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=images}>" title="<{$smarty.const.THEME_IMAGES}>"><img src="<{xoImgUrl icons/footer/images_small.png}>" alt=""/></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=avatars}>" title="<{$smarty.const.THEME_AVATARS}>"><img src="<{xoImgUrl icons/footer/avatar_small.png}>" alt=""/></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=smilies}>" title="<{$smarty.const.THEME_SMLS}>"><img src="<{xoImgUrl icons/footer/smilies_small.png}>" alt=""/></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=banners}>" title="<{$smarty.const.THEME_BANS}>"><img src="<{xoImgUrl icons/footer/banners_small.png}>" alt=""/></a></li> + <li class="separate"> </li> + + <li class="chat text"><a href="#" title="<{$smarty.const.THEME_UPTOP}>"><img src="<{xoImgUrl icons/footer/up.png}>" alt="<{$smarty.const.THEME_UPTOP}>" alt=""/></a></li> + <li class="chat separate"> </li> + <li class="chat text">Powered by <a href="http://sourceforge.net/projects/xoops/" title="XOOPS Project HomePage"><{$xoops_version}></a></li> + <li class="chat separate"> </li> + <li class="chat"><a href="<{xoAppUrl /user.php op=logout}>" title="<{$smarty.const._LOGOUT}>" ><img src="<{xoImgUrl icons/footer/logout.png}>" alt="<{$smarty.const._LOGOUT}>"/></a></li> + <!-- for my message box --> + <{xoInboxCount assign=pmcount}> + <li class="chat"><a href="<{xoAppUrl viewpmsg.php}>" title="<{$smarty.const.THEME_MESSAGE}> (<{$pmcount}>)"> + <{if $pmcount}> + <!-- if I have messages --> + <img src="<{xoImgUrl icons/footer/mail_warning.png}>" alt="(<{$pmcount}>) <{$smarty.const.THEME_NOTREAD}>"/>(<span class="shadow" style="color:#ff0000; font-weight: bold;"><{$pmcount}></span>) + <{else}> + <!-- if I do not have a message --> + <img src="<{xoImgUrl icons/footer/mail.png}>" alt="<{$smarty.const.THEME_MESSAGE}>"/> + <{/if}> + </a></li> + <li class="chat"><a href="<{xoAppUrl notifications.php}>" title="<{$smarty.const.THEME_NOTIFICATION}>"><img src="<{xoImgUrl icons/footer/comment_accept.png}>" alt="<{$smarty.const.THEME_NOTIFICATION}>"/></a></li> + <li class="chat"><a href="<{xoAppUrl edituser.php}>" title="<{$smarty.const.THEME_EDITPROFILE}>"><img src="<{xoImgUrl icons/footer/user_edit.png}>" alt="<{$smarty.const.THEME_MYACCOUNT}>"/></a></li> + <li class="chat"><a href="<{xoAppUrl /user.php}>" title="<{$smarty.const.THEME_MYACCOUNT}>"><img src="<{xoImgUrl icons/footer/user.png}>" alt="<{$smarty.const.THEME_MYACCOUNT}>"/></a></li> + <li class="chat separate"> </li> + </ul> + </div> + </div> +</div> Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/xotpl/xobanner.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/xotpl/xobanner.html 2015-04-06 12:43:54 UTC (rev 13035) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/xotpl/xobanner.html 2015-04-07 18:36:06 UTC (rev 13036) @@ -2,4 +2,4 @@ <a id="xo-main-logo" href="<{xoAppUrl /}>"><img src="<{xoImgUrl img/header-logo.png}>" alt="<{$xoops_sitename}>" /></a> <!-- include userbar --> <{includeq file="$theme_name/userbar.html"}> -</div> \ No newline at end of file +</div> |
From: <be...@us...> - 2015-04-06 12:44:04
|
Revision: 13035 http://sourceforge.net/p/xoops/svn/13035 Author: beckmi Date: 2015-04-06 12:43:54 +0000 (Mon, 06 Apr 2015) Log Message: ----------- Rename from /spanishutf8 to /spanish Added Paths: ----------- XoopsLanguages/spanish/core/2.55/htdocs/Frameworks/moduleclasses/moduleadmin/language/spanish/ XoopsLanguages/spanish/core/2.55/htdocs/class/xoopseditor/dhtmltextarea/language/spanish.php XoopsLanguages/spanish/core/2.55/htdocs/class/xoopseditor/textarea/language/spanish.php XoopsLanguages/spanish/core/2.55/htdocs/class/xoopseditor/tinymce/language/spanish.php XoopsLanguages/spanish/core/2.55/htdocs/install/language/spanish/ XoopsLanguages/spanish/core/2.55/htdocs/language/spanish/ XoopsLanguages/spanish/core/2.55/htdocs/modules/pm/language/spanish/ XoopsLanguages/spanish/core/2.55/htdocs/modules/profile/language/spanish/ XoopsLanguages/spanish/core/2.55/htdocs/modules/protector/language/spanish/ XoopsLanguages/spanish/core/2.55/htdocs/modules/system/language/spanish/ XoopsLanguages/spanish/core/2.55/htdocs/modules/system/themes/default/language/spanish/ XoopsLanguages/spanish/core/2.55/htdocs/modules/system/themes/zetadigme/language/spanish/ XoopsLanguages/spanish/core/2.55/htdocs/xoops_lib/modules/protector/language/spanish/ XoopsLanguages/spanish/core/2.55/upgrade/cnt-2.2.x-to-2.3.0/language/spanish.php XoopsLanguages/spanish/core/2.55/upgrade/language/spanish/ Removed Paths: ------------- XoopsLanguages/spanish/core/2.55/htdocs/Frameworks/moduleclasses/moduleadmin/language/spanishutf8/ XoopsLanguages/spanish/core/2.55/htdocs/class/xoopseditor/dhtmltextarea/language/spanishutf8.php XoopsLanguages/spanish/core/2.55/htdocs/class/xoopseditor/textarea/language/spanishutf8.php XoopsLanguages/spanish/core/2.55/htdocs/class/xoopseditor/tinymce/language/spanishutf8.php XoopsLanguages/spanish/core/2.55/htdocs/images/Thumbs.db XoopsLanguages/spanish/core/2.55/htdocs/install/language/spanishutf8/ XoopsLanguages/spanish/core/2.55/htdocs/language/spanishutf8/ XoopsLanguages/spanish/core/2.55/htdocs/modules/pm/language/spanishutf8/ XoopsLanguages/spanish/core/2.55/htdocs/modules/profile/language/spanishutf8/ XoopsLanguages/spanish/core/2.55/htdocs/modules/protector/language/spanishutf8/ XoopsLanguages/spanish/core/2.55/htdocs/modules/system/language/spanishutf8/ XoopsLanguages/spanish/core/2.55/htdocs/modules/system/themes/default/language/spanishutf8/ XoopsLanguages/spanish/core/2.55/htdocs/modules/system/themes/zetadigme/language/spanishutf8/ XoopsLanguages/spanish/core/2.55/htdocs/xoops_lib/modules/protector/language/spanishutf8/ XoopsLanguages/spanish/core/2.55/upgrade/cnt-2.2.x-to-2.3.0/language/spanishutf8.php XoopsLanguages/spanish/core/2.55/upgrade/language/spanishutf8/ Copied: XoopsLanguages/spanish/core/2.55/htdocs/class/xoopseditor/dhtmltextarea/language/spanish.php (from rev 12919, XoopsLanguages/spanish/core/2.55/htdocs/class/xoopseditor/dhtmltextarea/language/spanishutf8.php) =================================================================== --- XoopsLanguages/spanish/core/2.55/htdocs/class/xoopseditor/dhtmltextarea/language/spanish.php (rev 0) +++ XoopsLanguages/spanish/core/2.55/htdocs/class/xoopseditor/dhtmltextarea/language/spanish.php 2015-04-06 12:43:54 UTC (rev 13035) @@ -0,0 +1,17 @@ +<?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: english.php 4941 2010-07-22 17:13:36Z beckmi $ + * @package xoopseditor + */ +/** + * Assocated with editor_registry.php + */ +define('_XOOPS_EDITOR_DHTMLTEXTAREA','DHTML con xCode' ); + +?> Deleted: XoopsLanguages/spanish/core/2.55/htdocs/class/xoopseditor/dhtmltextarea/language/spanishutf8.php =================================================================== --- XoopsLanguages/spanish/core/2.55/htdocs/class/xoopseditor/dhtmltextarea/language/spanishutf8.php 2015-04-03 22:36:33 UTC (rev 13034) +++ XoopsLanguages/spanish/core/2.55/htdocs/class/xoopseditor/dhtmltextarea/language/spanishutf8.php 2015-04-06 12:43:54 UTC (rev 13035) @@ -1,17 +0,0 @@ -<?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: english.php 4941 2010-07-22 17:13:36Z beckmi $ - * @package xoopseditor - */ -/** - * Assocated with editor_registry.php - */ -define('_XOOPS_EDITOR_DHTMLTEXTAREA','DHTML con xCode' ); - -?> Copied: XoopsLanguages/spanish/core/2.55/htdocs/class/xoopseditor/textarea/language/spanish.php (from rev 12919, XoopsLanguages/spanish/core/2.55/htdocs/class/xoopseditor/textarea/language/spanishutf8.php) =================================================================== --- XoopsLanguages/spanish/core/2.55/htdocs/class/xoopseditor/textarea/language/spanish.php (rev 0) +++ XoopsLanguages/spanish/core/2.55/htdocs/class/xoopseditor/textarea/language/spanish.php 2015-04-06 12:43:54 UTC (rev 13035) @@ -0,0 +1,17 @@ +<?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: english.php 4941 2010-07-22 17:13:36Z beckmi $ + * @package xoopseditor + */ + +/* + * Assocated with editor_registry.php + */ +define("_XOOPS_EDITOR_TEXTAREA","Texto Plano"); +?> Deleted: XoopsLanguages/spanish/core/2.55/htdocs/class/xoopseditor/textarea/language/spanishutf8.php =================================================================== --- XoopsLanguages/spanish/core/2.55/htdocs/class/xoopseditor/textarea/language/spanishutf8.php 2015-04-03 22:36:33 UTC (rev 13034) +++ XoopsLanguages/spanish/core/2.55/htdocs/class/xoopseditor/textarea/language/spanishutf8.php 2015-04-06 12:43:54 UTC (rev 13035) @@ -1,17 +0,0 @@ -<?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: english.php 4941 2010-07-22 17:13:36Z beckmi $ - * @package xoopseditor - */ - -/* - * Assocated with editor_registry.php - */ -define("_XOOPS_EDITOR_TEXTAREA","Texto Plano"); -?> Copied: XoopsLanguages/spanish/core/2.55/htdocs/class/xoopseditor/tinymce/language/spanish.php (from rev 12919, XoopsLanguages/spanish/core/2.55/htdocs/class/xoopseditor/tinymce/language/spanishutf8.php) =================================================================== --- XoopsLanguages/spanish/core/2.55/htdocs/class/xoopseditor/tinymce/language/spanish.php (rev 0) +++ XoopsLanguages/spanish/core/2.55/htdocs/class/xoopseditor/tinymce/language/spanish.php 2015-04-06 12:43:54 UTC (rev 13035) @@ -0,0 +1,25 @@ +<?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: english.php 1138 2010-03-25 11:21:46Z kris_fr $ + */ +/* + * 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","es"); + +// 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 Deleted: XoopsLanguages/spanish/core/2.55/htdocs/class/xoopseditor/tinymce/language/spanishutf8.php =================================================================== --- XoopsLanguages/spanish/core/2.55/htdocs/class/xoopseditor/tinymce/language/spanishutf8.php 2015-04-03 22:36:33 UTC (rev 13034) +++ XoopsLanguages/spanish/core/2.55/htdocs/class/xoopseditor/tinymce/language/spanishutf8.php 2015-04-06 12:43:54 UTC (rev 13035) @@ -1,25 +0,0 @@ -<?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: english.php 1138 2010-03-25 11:21:46Z kris_fr $ - */ -/* - * 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","es"); - -// 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 Deleted: XoopsLanguages/spanish/core/2.55/htdocs/images/Thumbs.db =================================================================== (Binary files differ) Copied: XoopsLanguages/spanish/core/2.55/upgrade/cnt-2.2.x-to-2.3.0/language/spanish.php (from rev 12919, XoopsLanguages/spanish/core/2.55/upgrade/cnt-2.2.x-to-2.3.0/language/spanishutf8.php) =================================================================== --- XoopsLanguages/spanish/core/2.55/upgrade/cnt-2.2.x-to-2.3.0/language/spanish.php (rev 0) +++ XoopsLanguages/spanish/core/2.55/upgrade/cnt-2.2.x-to-2.3.0/language/spanish.php 2015-04-06 12:43:54 UTC (rev 13035) @@ -0,0 +1,15 @@ +<?php +// $Id: english.php 5509 2010-10-14 18:10:45Z kris_fr $ +// _LANGCODE: es +// _CHARSET : UTF-8 +// Translator: XOOPS Translation Team + +define('_CONFIRM_UPGRADE_220',' +Los scripts de actualización migraran los datos existentes del módulo "profile".<br /> +Favor no desinstalar el módulo "profile" manualmente, de otra manera los datos correspondientes no se migrarán.<br /><br /> +Una vez que el proceso de actualización esté completo <stong>valla a la administración de módulos para actualizar el módulo 'profile'</strong>, by which profile data will be migrated completely.<br /><br /> +To cancel the upgrade, <a href='index.php'>click here</a>.<br /><br /> +Or to <a style='color:green; font-size:1.3em;' href='index.php?action=next&upd220=ok'>proceed</a>. +'); + +?> Deleted: XoopsLanguages/spanish/core/2.55/upgrade/cnt-2.2.x-to-2.3.0/language/spanishutf8.php =================================================================== --- XoopsLanguages/spanish/core/2.55/upgrade/cnt-2.2.x-to-2.3.0/language/spanishutf8.php 2015-04-03 22:36:33 UTC (rev 13034) +++ XoopsLanguages/spanish/core/2.55/upgrade/cnt-2.2.x-to-2.3.0/language/spanishutf8.php 2015-04-06 12:43:54 UTC (rev 13035) @@ -1,15 +0,0 @@ -<?php -// $Id: english.php 5509 2010-10-14 18:10:45Z kris_fr $ -// _LANGCODE: es -// _CHARSET : UTF-8 -// Translator: XOOPS Translation Team - -define('_CONFIRM_UPGRADE_220',' -Los scripts de actualización migraran los datos existentes del módulo "profile".<br /> -Favor no desinstalar el módulo "profile" manualmente, de otra manera los datos correspondientes no se migrarán.<br /><br /> -Una vez que el proceso de actualización esté completo <stong>valla a la administración de módulos para actualizar el módulo 'profile'</strong>, by which profile data will be migrated completely.<br /><br /> -To cancel the upgrade, <a href='index.php'>click here</a>.<br /><br /> -Or to <a style='color:green; font-size:1.3em;' href='index.php?action=next&upd220=ok'>proceed</a>. -'); - -?> |
From: <txm...@us...> - 2015-04-03 22:36:35
|
Revision: 13034 http://sourceforge.net/p/xoops/svn/13034 Author: txmodxoops Date: 2015-04-03 22:36:33 +0000 (Fri, 03 Apr 2015) Log Message: ----------- Fixed path for avatars list Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopslists.php Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopslists.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopslists.php 2015-04-03 20:06:07 UTC (rev 13033) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopslists.php 2015-04-03 22:36:33 UTC (rev 13034) @@ -200,9 +200,9 @@ { $avatars = array(); if ($avatar_dir != '') { - $avatars = XoopsLists::getImgListAsArray(XOOPS_ROOT_PATH . '/images/avatar/' . $avatar_dir . '/', $avatar_dir . '/'); + $avatars = XoopsLists::getImgListAsArray(XOOPS_UPLOAD_PATH . '/avatars/' . $avatar_dir . '/', $avatar_dir . '/'); } else { - $avatars = XoopsLists::getImgListAsArray(XOOPS_ROOT_PATH . '/images/avatar/'); + $avatars = XoopsLists::getImgListAsArray(XOOPS_UPLOAD_PATH . '/avatars/'); } return $avatars; @@ -215,10 +215,10 @@ { $avatars = array(); $dirlist = array(); - $dirlist = XoopsLists::getDirListAsArray(XOOPS_ROOT_PATH . '/images/avatar/'); + $dirlist = XoopsLists::getDirListAsArray(XOOPS_UPLOAD_PATH . '/avatars/'); if (count($dirlist) > 0) { foreach ($dirlist as $dir) { - $avatars[$dir] = &XoopsLists::getImgListAsArray(XOOPS_ROOT_PATH . '/images/avatar/' . $dir . '/', $dir . '/'); + $avatars[$dir] = &XoopsLists::getImgListAsArray(XOOPS_UPLOAD_PATH . '/avatars/' . $dir . '/', $dir . '/'); } } else { return false; |
From: <txm...@us...> - 2015-04-03 20:06:32
|
Revision: 13033 http://sourceforge.net/p/xoops/svn/13033 Author: txmodxoops Date: 2015-04-03 20:06:07 +0000 (Fri, 03 Apr 2015) Log Message: ----------- Updated changed extension .html to .tpl of all admin themes Warning: This change was made in the file classes Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/pagenav.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/avatars/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/preferences/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/tplsets/jquery.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/tplsets/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/users/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/xoops_version.php Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/backend.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme_blocks.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/userutility.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopslists.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/header.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/imagemanager.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/index.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/lostpass.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/misc.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/avatars/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/avatars/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/banners/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/banners/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/banners/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/banners/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/blocksadmin/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/blocksadmin/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/blocksadmin/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/blocksadmin/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/comments/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/comments/admin_header.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/comments/comment_delete.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/comments/comment_edit.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/comments/comment_post.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/comments/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/comments/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/comments/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/groupperm.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/groups/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/groups/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/groups/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/groups/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/images/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/images/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/images/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/mailusers/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/mailusers/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/mailusers/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/mailusers/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/maintenance/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/maintenance/dump/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/maintenance/dump/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/maintenance/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/maintenance/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/maintenance/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/modulesadmin/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/modulesadmin/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/modulesadmin/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/modulesadmin/modulesadmin.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/modulesadmin/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/preferences/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/preferences/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/smilies/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/smilies/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/smilies/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/smilies/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/tplsets/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/tplsets/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/userrank/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/userrank/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/userrank/main.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/userrank/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/users/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/users/jquery.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/users/users.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/admin/users/xoops_version.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/admin.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/button.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/code_mirror/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/code_mirror/csscolors.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/code_mirror/docs.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/code_mirror/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/code_mirror/jscolors.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/code_mirror/phpcolors.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/code_mirror/sparqlcolors.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/code_mirror/sqlcolors.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/code_mirror/xmlcolors.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/help.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/imagemanager.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/lightbox.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/menu.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/animated-overlay.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/ui-bg_flat_0_aaaaaa_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/ui-bg_flat_75_ffffff_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/ui-bg_glass_55_fbf9ee_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/ui-bg_glass_65_ffffff_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/ui-bg_glass_75_dadada_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/ui-bg_glass_75_e6e6e6_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/ui-bg_glass_95_fef1ec_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/ui-icons_222222_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/ui-icons_2e83ff_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/ui-icons_454545_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/ui-icons_888888_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/images/ui-icons_cd0a0a_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery-ui.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.accordion.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.all.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.autocomplete.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.base.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.button.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.core.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.datepicker.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.dialog.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.menu.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.progressbar.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.resizable.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.selectable.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.slider.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.spinner.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.tabs.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.theme.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/jquery.ui.tooltip.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/animated-overlay.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/ui-bg_flat_0_aaaaaa_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/ui-bg_flat_75_ffffff_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/ui-bg_glass_55_fbf9ee_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/ui-bg_glass_65_ffffff_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/ui-bg_glass_75_dadada_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/ui-bg_glass_75_e6e6e6_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/ui-bg_glass_95_fef1ec_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/ui-bg_highlight-soft_75_cccccc_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/ui-icons_222222_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/ui-icons_2e83ff_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/ui-icons_454545_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/ui-icons_888888_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/images/ui-icons_cd0a0a_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery-ui.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.accordion.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.autocomplete.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.button.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.core.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.datepicker.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.dialog.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.menu.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.progressbar.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.resizable.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.selectable.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.slider.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.spinner.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.tabs.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.theme.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/jquery.ui.tooltip.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/minified/ui.all.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/base/ui.all.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/animated-overlay.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ui-bg_flat_15_cd0a0a_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ui-bg_glass_100_e4f1fb_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ui-bg_glass_50_3baae3_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ui-bg_glass_80_d7ebf9_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ui-bg_highlight-hard_70_000000_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ui-bg_highlight-soft_25_ffef8f_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ui-icons_2694e8_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ui-icons_2e83ff_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ui-icons_3d80b3_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ui-icons_72a7cf_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/images/ui-icons_ffffff_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery-ui.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery-ui.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.accordion.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.all.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.autocomplete.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.base.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.button.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.core.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.datepicker.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.dialog.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.menu.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.progressbar.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.resizable.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.selectable.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.slider.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.spinner.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.tabs.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.theme.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/jquery.ui.tooltip.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/animated-overlay.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ui-bg_flat_15_cd0a0a_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ui-bg_glass_100_e4f1fb_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ui-bg_glass_50_3baae3_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ui-bg_glass_80_d7ebf9_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ui-bg_highlight-hard_70_000000_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ui-bg_highlight-soft_100_deedf7_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ui-bg_highlight-soft_25_ffef8f_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ui-icons_2694e8_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ui-icons_2e83ff_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ui-icons_3d80b3_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ui-icons_72a7cf_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/images/ui-icons_ffffff_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery-ui.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.accordion.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.autocomplete.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.button.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.core.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.datepicker.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.dialog.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.menu.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.progressbar.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.resizable.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.selectable.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.slider.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.spinner.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.tabs.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.theme.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/jquery.ui.tooltip.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/minified/ui.all.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/cupertino/ui.all.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/animated-overlay.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-bg_flat_55_fbec88_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-bg_glass_85_dfeffc_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-bg_glass_95_fef1ec_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-icons_217bc0_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-icons_2e83ff_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-icons_469bdd_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-icons_6da8d5_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-icons_cd0a0a_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-icons_d8e7f3_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/images/ui-icons_f9bd01_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/jquery-ui.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/jquery-ui.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/jquery.ui.theme.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/redmond/ui.all.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/animated-overlay.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/ui-bg_flat_75_ffffff_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/ui-bg_glass_65_ffffff_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/ui-bg_glass_75_dadada_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/ui-icons_222222_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/ui-icons_2e83ff_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/ui-icons_454545_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/ui-icons_888888_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/images/ui-icons_cd0a0a_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/jquery-ui.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/jquery-ui.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/jquery-ui.structure.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/jquery-ui.theme.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/jquery.ui.theme.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/minified/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/minified/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/minified/jquery-ui.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/minified/jquery-ui.structure.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/minified/jquery-ui.theme.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/minified/ui.all.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/smoothness/ui.all.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/animated-overlay.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-bg_glass_55_fcf0ba_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-bg_gloss-wave_100_ece8da_500x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-bg_highlight-hard_100_f5f3e5_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-bg_highlight-hard_100_fafaf4_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-bg_highlight-hard_15_459e00_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-bg_highlight-hard_95_cccccc_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-bg_highlight-soft_25_67b021_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-bg_highlight-soft_95_ffedad_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-bg_inset-soft_15_2b2922_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-icons_808080_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-icons_847e71_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-icons_8dc262_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-icons_cd0a0a_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-icons_eeeeee_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/images/ui-icons_ffffff_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/jquery-ui.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/jquery-ui.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/jquery.ui.theme.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/south-street/ui.all.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/animated-overlay.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-bg_flat_55_999999_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-bg_flat_75_aaaaaa_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-bg_glass_45_0078ae_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-bg_glass_55_f8da4e_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-bg_glass_75_79c9ec_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-bg_gloss-wave_45_e14f1c_500x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-bg_gloss-wave_50_6eac2c_500x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-bg_gloss-wave_75_2191c0_500x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-bg_inset-hard_100_fcfdfd_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-icons_0078ae_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-icons_056b93_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-icons_d8e7f3_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-icons_e0fdff_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-icons_f5e175_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-icons_f7a50d_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/images/ui-icons_fcd113_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/jquery-ui.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/jquery-ui.structure.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/jquery-ui.theme.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/minified/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/minified/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/minified/jquery-ui.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/minified/jquery-ui.structure.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/minified/jquery-ui.theme.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/minified/ui.all.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/start/ui.all.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/animated-overlay.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_diagonals-medium_20_d34d17_40x40.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_flat_30_cccccc_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_flat_50_5c5c5c_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_flat_55_999999_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_flat_75_aaaaaa_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_glass_45_0078ae_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_glass_55_f8da4e_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_glass_75_79c9ec_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_gloss-wave_45_817865_500x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_gloss-wave_45_e14f1c_500x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_gloss-wave_50_6eac2c_500x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_gloss-wave_60_fece2f_500x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_gloss-wave_70_ffdd57_500x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_gloss-wave_75_2191c0_500x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_gloss-wave_90_fff9e5_500x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_highlight-soft_100_feeebd_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_inset-hard_100_fcfdfd_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-bg_inset-soft_30_ffffff_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-icons_0078ae_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-icons_056b93_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-icons_3d3d3d_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-icons_bd7b00_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-icons_d19405_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-icons_d8e7f3_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-icons_e0fdff_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-icons_eb990f_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-icons_ed9f26_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-icons_f5e175_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-icons_f7a50d_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-icons_fadc7a_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-icons_fcd113_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/images/ui-icons_ffe180_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/jquery-ui.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/jquery-ui.structure.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/jquery-ui.theme.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/minified/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/minified/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/minified/jquery-ui.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/minified/jquery-ui.structure.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/minified/jquery-ui.theme.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/minified/ui.all.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/sunny/ui.all.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/animated-overlay.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ui-bg_flat_30_cccccc_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ui-bg_flat_50_5c5c5c_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ui-bg_glass_20_555555_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ui-bg_glass_40_0078a3_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ui-bg_glass_40_ffc73d_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ui-bg_gloss-wave_25_333333_500x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ui-bg_highlight-soft_80_eeeeee_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ui-bg_inset-soft_25_000000_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ui-bg_inset-soft_30_f58400_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ui-icons_222222_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ui-icons_4b8e0b_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ui-icons_a83300_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ui-icons_cccccc_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/images/ui-icons_ffffff_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/jquery-ui.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/jquery-ui.min.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/jquery.ui.theme.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-darkness/ui.all.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/animated-overlay.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ui-bg_flat_10_000000_40x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ui-icons_222222_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ui-icons_228ef1_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ui-icons_ef8c08_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ui-icons_ffd27a_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/images/ui-icons_ffffff_256x240.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/jquery-ui.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/jquery.ui.theme.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/css/ui/ui-lightness/ui.all.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/bg_button.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/breadcrumb/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/breadcrumb/default/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/breadcrumb/default/bc_bg.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/breadcrumb/default/bc_separator.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/breadcrumb/default/bc_separator_end.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/breadcrumb/default/home.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/breadcrumb/default/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/breadcrumb/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/add.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/anonymous.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/applications.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/attach.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/avatar_custom.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/avatar_system.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/block.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/cancel.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/clear.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/clone.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/colorize.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/comment.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/configure.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/db.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/db_add.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/db_comit.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/db_remove.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/db_status.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/db_update.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/delete.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/display.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/edit.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/exec.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/family.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/favorites.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/fileimport.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/folder_add.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/folder_blue.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/folder_delete.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/forum.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/group_add.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/group_delete.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/group_edit.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/help.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/home.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/identity.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/info.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/install.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/mail_delete.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/mail_forward.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/mail_get.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/mail_reply.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/mail_send.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/messagebox_critical.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/messagebox_info.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/messagebox_warning.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/network.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/pipe.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/pm.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/print_printer.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/reload.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/revert.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/save.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/socket.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/success.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/tips.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/trash_empty.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/trash_full.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/uninstall.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/upload.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/url.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/user_add.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/user_delete.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/user_edit.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/view.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/view_large.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/view_small.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/active_user.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/group_1.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/group_2.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/group_3.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/system_auth.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/system_mail.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/system_main.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/system_meta.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/system_mods.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/system_search.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/system_user.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/system_word.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/default/xoops/xoops.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/icons/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/loading.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/menu/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/menu/bg.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/menu/bg_tabs1.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/menu/bg_tabs2.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/menu/bg_tabs_alt1.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/menu/bg_tabs_alt2.gif XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/menu/index.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/mimetypes/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/mimetypes/css.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/assets/images/mimetypes/css_48.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/as... [truncated message content] |
From: <txm...@us...> - 2015-04-03 16:37:35
|
Revision: 13032 http://sourceforge.net/p/xoops/svn/13032 Author: txmodxoops Date: 2015-04-03 16:37:24 +0000 (Fri, 03 Apr 2015) Log Message: ----------- Updated changed extension .html to .tpl of all admin themes Warning: This change was made in the file class/theme.php Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/style.css XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/js/bootnewage.js XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/xotpl/xo_toolbar.html Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/img/back-top-btn.png XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/theme.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_accordion.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_footer.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_header.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_metas.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_modules.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_page.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_scripts.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_sidenav.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_tabs.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/theme.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/theme.tpl XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/theme.tpl Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme.php 2015-03-31 01:46:35 UTC (rev 13031) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/theme.php 2015-04-03 16:37:24 UTC (rev 13032) @@ -168,7 +168,7 @@ * * @var string */ - var $canvasTemplate = 'theme.html'; + var $canvasTemplate = 'theme.tpl'; /** * Theme folder path @@ -497,7 +497,7 @@ $this->template->assign_by_ref('xoops_contents', $this->content); - // Do not cache the main (theme.html) template output + // Do not cache the main (theme.tpl) template output $this->template->caching = 0; $this->template->display($this->path . '/' . $this->canvasTemplate); $this->renderCount++; Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/style.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/style.css 2015-03-31 01:46:35 UTC (rev 13031) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/css/style.css 2015-04-03 16:37:24 UTC (rev 13032) @@ -51,6 +51,20 @@ height: 40px; } +#toTop { + width:42px; + height:42px; + background:url(../img/back-top-btn.png) no-repeat; + text-align:center; + position:fixed; + bottom:10px; + right:20px; + cursor:pointer; + display:none; + text-indent:-9999px; + z-index:12; +} + i { font-size:18px; } Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/img/back-top-btn.png =================================================================== (Binary files differ) Index: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/img/back-top-btn.png =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/img/back-top-btn.png 2015-03-31 01:46:35 UTC (rev 13031) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/img/back-top-btn.png 2015-04-03 16:37:24 UTC (rev 13032) Property changes on: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/img/back-top-btn.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/js/bootnewage.js =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/js/bootnewage.js 2015-03-31 01:46:35 UTC (rev 13031) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/assets/js/bootnewage.js 2015-04-03 16:37:24 UTC (rev 13032) @@ -56,4 +56,17 @@ } }); }); + $(function() { + $(window).scroll(function() { + if($(this).scrollTop() != 0) { + $('#toTop').fadeIn(); + } else { + $('#toTop').fadeOut(); + } + }); + + $('#toTop').click(function() { + $('body,html').animate({scrollTop:0},800); + }); + }); }); \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/theme.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/theme.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/theme.tpl 2015-04-03 16:37:24 UTC (rev 13032) @@ -0,0 +1,24 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <{includeq file="$theme_tpl/theme_metas.tpl"}> + </head> + <body> + <{includeq file="$theme_tpl/theme_header.tpl"}> + <!-- Main --> + <div class="container-fluid"> + <!-- upper section --> + <div class="row"> + <div class="sidenav col-sm-2"> + <{includeq file="$theme_tpl/theme_sidenav.tpl"}> + </div><!-- /span-2 --> + <div class="col-sm-10"> + <{includeq file="$theme_tpl/theme_page.tpl"}> + </div><!--/col-span-10--> + </div><!--/row--> + <!-- /upper section --> + </div><!--/container-fluid--> + <!-- /Main --> + <{includeq file="$theme_tpl/theme_footer.tpl"}> + </body> +</html> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_accordion.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_accordion.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_accordion.tpl 2015-04-03 16:37:24 UTC (rev 13032) @@ -0,0 +1,101 @@ + <div id="accordion"> + <h5><{$smarty.const._MD_CPANEL_OVERVIEW}></h5> + <div class="pane"> + <table class="table table-hover"> + <tr> + <td><{$smarty.const._OXYGEN_VERSION_XOOPS}></td> + <td><{$xoops_version}></td> + </tr> + <tr> + <td><{$smarty.const._OXYGEN_VERSION_PHP}></td> + <td><{$lang_php_vesion}></td> + </tr> + <tr> + <td><{$smarty.const._OXYGEN_VERSION_MYSQL}></td> + <td><{$lang_mysql_version}></td> + </tr> + <tr> + <td><{$smarty.const._OXYGEN_SERVER_API}></td> + <td><{$lang_server_api}></td> + </tr> + <tr> + <td><{$smarty.const._OXYGEN_OS}></td> + <td><{$lang_os_name}></td> + </tr> + <tr> + <td>safe_mode</td> + <td><{$safe_mode}></td> + </tr> + <tr> + <td>register_globals</td> + <td><{$register_globals}></td> + </tr> + <tr> + <td>magic_quotes_gpc</td> + <td><{$magic_quotes_gpc}></td> + </tr> + <tr> + <td>allow_url_fopen</td> + <td><{$allow_url_fopen}></td> + </tr> + <tr> + <td>fsockopen</td> + <td><{$fsockopen}></td> + </tr> + <tr> + <td>post_max_size</td> + <td><{$post_max_size}></td> + </tr> + <tr> + <td>max_input_time</td> + <td><{$max_input_time}></td> + </tr> + <tr> + <td>output_buffering</td> + <td><{$output_buffering}></td> + </tr> + <tr> + <td>max_execution_time</td> + <td><{$max_execution_time}></td> + </tr> + <tr> + <td>memory_limit</td> + <td><{$memory_limit}></td> + </tr> + <tr> + <td>file_uploads</td> + <td><{$file_uploads}></td> + </tr> + <tr> + <td>upload_max_filesize</td> + <td><{$upload_max_filesize}></td> + </tr> + </table> + </div> + <h5><{$smarty.const._OXYGEN_XOOPS_LICENSE}></h5> + <div class="pane"> + <p id="xolicenses"><a rel="external" href="http://www.gnu.org/licenses/gpl-2.0.html" title="<{$smarty.const.XOOPS_LICENSE_TEXT}>"><{$smarty.const.XOOPS_LICENSE_TEXT}></a></p> + </div> + <h5><{$smarty.const._OXYGEN_ABOUT}></h5> + <div class="pane"><{$smarty.const._OXYGEN_ABOUT_TEXT}></div> + <h5><{$smarty.const._OXYGEN_XOOPS_LINKS}></h5> + <div class="pane"> + <table class="table table-condensed"> + <tr> + <td><a rel="external" href="http://sourceforge.net/projects/xoops"><{$smarty.const._OXYGEN_XOOPSPROJECT}></a></td> + <td><a rel="external" href="http://xoops.org"><{$smarty.const._OXYGEN_WEBSITE}></a></td> + </tr> + <tr> + <td><a rel="external" href="http://www.xoops.org/modules/core"><{$smarty.const._OXYGEN_XOOPSCORE}></a></td> + <td><a rel="external" href="http://www.xoops.org/modules/mediawiki/index.php/Main_Page"><{$smarty.const._OXYGEN_XOOPSWIKI}></a></td> + </tr> + <tr> + <td><a rel="external" href="http://www.xoops.org/modules/xoopspartners"><{$smarty.const._OXYGEN_LOCALSUPPORT}></a></td> + <td><a rel="external" href="http://xoops.svn.sourceforge.net/viewvc/xoops"><{$smarty.const._OXYGEN_CODESVN}></a></td> + </tr> + <tr> + <td><a rel="external" href="http://sourceforge.net/tracker/?group_id=41586&atid=430840"><{$smarty.const._OXYGEN_REPORTBUG}></a></td> + </tr> + </table> + </div> +</div> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_footer.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_footer.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_footer.tpl 2015-04-03 16:37:24 UTC (rev 13032) @@ -0,0 +1,8 @@ +<div id="toTop">Back to Top</div> +<footer class="text-center"><span class="text-center"><{$xoops_footer}></span></footer> + <!-- script references --> +<!-- <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script> + <script src="<{xoAppUrl browse.php?Frameworks/jquery/plugins/jquery.ui.js}>"></script> + <script src="<{xoImgUrl assets/js/bootstrap.min.js}>"></script> + <script src="<{xoImgUrl assets/js/bootnewage.js}>"></script> +<nav class="navbar navbar-inverse navbar-fixed-bottom nav-footer"><span class="text-center"><i class="fa fa-copyright fa-lg"></i> <{$xoops_footer}></span><ul class="social-icons pull-right"><li><a href="http://twitter.com/txmodxoops" class="fa fa-twitter fa-lg" target="_blank"></a></li><li><a href="https://www.facebook.com/txmodxoops" target="_blank"><i class="fa fa-facebook fa-lg"></i></a></li><li><a href="https://www.youtube.com/channel/UCIpn7ZwJGSQc5iOUEaUt1sA" target="_blank"><i class="fa fa-youtube fa-lg"></i></a></li></ul></nav> --> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_header.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_header.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_header.tpl 2015-04-03 16:37:24 UTC (rev 13032) @@ -0,0 +1,64 @@ + <!-- Header --> + <nav id="top-nav" class="navbar navbar-inverse navbar-static-top" role="navigation"> + <div class="container-fluid"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + <a class="navbar-brand" href="<{xoAppUrl admin.php}>"><img src="<{xoImgUrl assets/img/logo.png}>" /></a> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav navbar-right"> + <{foreach item=item from=$navitems}> + <li class="dropdown"> + <a href="<{$item.link}>" class="dropdown-toggle" title="<{$item.title}>" data-toggle="dropdown" data-hover="dropdown-menu"> <i class="glyphicon glyphicon-<{$item.icon}>"></i> <span class="caret"></span></a> + <ul class="dropdown-menu multi-level" role="menu" aria-labelledby="dropdown-menu"> + <{foreach item=sub from=$item.menu}> + <li tabindex="-1" class="dropdown-submenu"> + <{if $sub.options != 0}> + <a class="submenu-after" tabindex="-1" href="<{$sub.link}>"> <{$sub.title}> </a> + <ul class="dropdown-menu"> + <{foreach item=option from=$sub.options}> + <li><a href="<{$sub.url}><{$option.link}>"><{$option.title}></a></li> + <{/foreach}> + </ul> + <{else}> + <a href="<{$sub.link}>" title="<{$sub.title}>"<{if $sub.target}> target="<{$sub.target}>"<{/if}>><{$sub.title}></a> + <{/if}> + </li> + <{/foreach}> + </ul> + </li> + <{/foreach}> + <li id="choosestyle" class="dropdown"> + <a href="#" class="dropdown-toggle" role="button" data-toggle="dropdown" title="<{$smarty.const._OXYGEN_THEME_COLOR}>"> + <i class="glyphicon glyphicon-tint"></i> <span class="caret"></span> + </a> + <ul id="g-account-menu" class="dropdown-menu" role="menu"> + <li class="bg-color bg-dark"><a id="dark" href="<{$theme_css}>/index.html?style=dark" rel="dark" class="styleswitch"><{$smarty.const._OXYGEN_DARK}></a></li> + <li class="bg-color bg-silver"><a id="silver" href="<{$theme_css}>/index.html?style=silver" rel="silver" class="styleswitch"><{$smarty.const._OXYGEN_SILVER}></a></li> + <li class="bg-color bg-orange"><a id="orange" href="<{$theme_css}>/index.html?style=orange" rel="orange" class="styleswitch"><{$smarty.const._OXYGEN_ORANGE}></a></li> + <li class="bg-color bg-red"><a id="red" href="<{$theme_css}>/index.html?style=red" rel="red" class="styleswitch"><{$smarty.const._OXYGEN_RED}></a></li> + <li class="bg-color bg-green"><a id="green" href="<{$theme_css}>/index.html?style=green" rel="green" class="styleswitch"><{$smarty.const._OXYGEN_GREEN}></a></li> + <li class="bg-color bg-yellow"><a id="yellow" href="<{$theme_css}>/index.html?style=yellow" rel="yellow" class="styleswitch"><{$smarty.const._OXYGEN_YELLOW}></a></li> + <li class="bg-color bg-blue"><a id="blue" href="<{$theme_css}>/index.html?style=blue" rel="blue" class="styleswitch"><{$smarty.const._OXYGEN_BLUE}></a></li> + </ul> + </li> + <li class="dropdown"> + <a href="#" class="dropdown-toggle" role="button" data-toggle="dropdown"> + <img class="user-avatar" src="<{$xoops_avatar}>" alt="<{$xoops_uname}>"><{$xoops_uname}> <span class="caret"></span> + <ul id="g-account-menu" class="dropdown-menu" role="menu"> + <li><a href="<{xoAppUrl modules/profile/index.php}>"><i class="glyphicon glyphicon-user"></i> Profile</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=users&op=users_edit&uid=1}>"><i class="glyphicon glyphicon-edit"></i> Edit</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=preferences&op=show&confcat_id=2}>"><i class="glyphicon glyphicon-cog"></i> Settings</a></li> + <li><a href="<{xoAppUrl user.php?op=logout}>"><i class="glyphicon glyphicon-log-out"></i> <{$smarty.const._LOGOUT}></a></li> + </ul> + </li> + </ul> + </div> + </div><!-- /container --> + </nav> + <!-- /Header --> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_metas.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_metas.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_metas.tpl 2015-04-03 16:37:24 UTC (rev 13032) @@ -0,0 +1,26 @@ + <meta http-equiv="X-UA-Compatible" content="IE=edge" /> + <meta name="viewport" content="width=device-width, initial-scale=1" /> + <!-- title and metas --> + <title><{if $xoops_pagetitle !=''}><{$xoops_pagetitle}> : <{/if}><{$xoops_sitename}></title> + <meta http-equiv="content-language" content="<{$xoops_langcode}>" /> + <meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" /> + <meta name="robots" content="<{$xoops_meta_robots}>" /> + <meta name="keywords" content="<{$xoops_meta_keywords}>" /> + <meta name="description" content="<{$xoops_meta_description}>" /> + <meta name="rating" content="<{$xoops_meta_rating}>" /> + <meta name="author" content="<{$xoops_meta_author}>"/> + <meta name="copyright" content="<{$xoops_meta_copyright}>" /> + <meta name="generator" content="XOOPS"/> + <{if $url}> + <meta http-equiv="Refresh" content="<{$time}>; url=<{$url}>" /> + <{/if}> + <!-- Rss --> + <link rel="alternate" type="application/rss+xml" title="" href="<{xoAppUrl backend.php}>" /> + <!-- path favicon --> + <link rel="shortcut icon" type="image/ico" href="<{xoAppUrl favicon.ico}>" /> + <!-- customized header contents --> + <{$xoops_module_header}> + <!--[if lt IE 9]> + <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> + <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> + <![endif]--> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_modules.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_modules.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_modules.tpl 2015-04-03 16:37:24 UTC (rev 13032) @@ -0,0 +1,34 @@ +<table class="table table-striped table-bordered table-hover"> + <thead> + <tr> + <th colspan="4"><{$smarty.const._OXYGEN_INSTALLEDMODULES}></th> + </tr> + <tr> + <th class="text-center"><{$smarty.const._OXYGEN_INSTALLEDMODULES_NUM}></th> + <th class="text-center"><{$smarty.const._OXYGEN_INSTALLEDMODULES_IMAGE}></th> + <th class="text-center"><{$smarty.const._OXYGEN_INSTALLEDMODULES_NAME}></th> + <th class="text-center"><{$smarty.const._OXYGEN_INSTALLEDMODULES_DESCRIPTION}></th> + </tr> + </thead> + <tbody> + <{foreach item=mod from=$modules}> + <tr> + <td class="box-icon text-center"><{$mod.id}></td> + <td class="box-icon text-center"><a class="thumbnail" href="<{$mod.link}>" title="<{$mod.title}>"> + <img class="img-rounded" src='<{$mod.icon|default:"$theme_img/modules.png"}>' alt="<{$mod.title}>" /> + </a> + </td> + <td class="box-icon text-center"><a class="thumbnail" href="<{$mod.link}>" title="<{$mod.title}>"><span><{$mod.title}></span></a> + </td> + <td class="box-icon text-center"><span><{$mod.description}></span></td> + </tr> + <{/foreach}> + </tbody> + <{if $pagenav}> + <tfoot> + <tr> + <td colspan="4"> <{$pagenav}></td> + </tr> + </tfoot> + <{/if}> +</table> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_page.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_page.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_page.tpl 2015-04-03 16:37:24 UTC (rev 13032) @@ -0,0 +1,50 @@ + <!-- column 2 --> + <h3><i class="glyphicon glyphicon-dashboard"></i> Dashboard</h3> + <hr /> + <div class="row"> + <!-- center left--> + <div class="col-md-12"> + <{if $xo_sys_breadcrumb}> + <div class="row"> + <div class="col-lg-12"> + <ul class="breadcrumb"> + <{foreach item=item from=$xo_sys_breadcrumb}> + <li><{if $item.link}><a href="<{$item.link}>" title="<{$item.title}>"><{$item.title}></a><{else}><{$item.title}><{/if}></li> + <{/foreach}> + </ul> + </div> + </div><{* /.row <hr /> *}> + <{/if}> + <{if $xoops_contents && $admin_warnings_enable !== false}> + <div class="row"> + <div class="col-lg-12"> + <div class="panel panel-default"> + <div class="panel-body"> + <{* Display Admin menu *}> + <{if $xo_system_menu}><{$xo_system_menu}><{/if}> + <{$xoops_contents}> + </div> + </div> + </div> + </div><{* /.row *}> + <hr /> + <{/if}> + <{if $modules}> + <div class="row"> + <div class="col-lg-9"> + <div class="panel panel-default"> + <div class="panel-body"> + <{includeq file="$theme_tpl/theme_modules.tpl"}> + </div> + </div> + </div> + <!--center-right--> + <div class="col-md-3"> + <{includeq file="$theme_tpl/theme_tabs.tpl"}> + <hr /> + <{includeq file="$theme_tpl/theme_accordion.tpl"}> + </div><!--/col--> + </div><{* /.row *}><hr /> + <{/if}> + </div><!--/col-span-12--> + </div><!--/row--> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_scripts.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_scripts.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_scripts.tpl 2015-04-03 16:37:24 UTC (rev 13032) @@ -0,0 +1,6 @@ + + <script src="<{xoImgUrl include/xoops.js}>" type="text/javascript"></script> + <script src="<{xoImgUrl browse.php?Frameworks/jquery/jquery.js}>" type="text/javascript"></script> + <script src="<{xoImgUrl browse.php?Frameworks/jquery/plugins/jquery.ui.js}>" type="text/javascript"></script> + <script src="<{xoImgUrl assets/js/bootstrap.min.js}>" type="text/javascript"></script> + <script src="<{xoImgUrl assets/js/bootnewage.js}>" type="text/javascript"></script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_sidenav.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_sidenav.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_sidenav.tpl 2015-04-03 16:37:24 UTC (rev 13032) @@ -0,0 +1,21 @@ + <!-- left --> + <h3><i class="glyphicon glyphicon-briefcase"></i> Toolbox</h3> + <hr /> + <ul class="nav nav-stacked"> + <li><a href="<{xoAppUrl admin.php}>"><i class="glyphicon glyphicon-dashboard"></i> Dashboard</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=avatars}>"><i class="glyphicon glyphicon-asterisk"></i> Avatars</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=banners}>"><i class="glyphicon glyphicon-link"></i> Banners</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=blocksadmin}>"><i class="glyphicon glyphicon-th-list"></i> Blocks</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=comments}>"><i class="glyphicon glyphicon-comment"></i> Comments</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=groups}>"><i class="glyphicon glyphicon-th"></i> Groups</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=images}>"><i class="glyphicon glyphicon-picture"></i> Image Manager</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=mailusers}>"><i class="glyphicon glyphicon-envelope"></i> Email User</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=maintenance}>"><i class="glyphicon glyphicon-trash"></i> Maintenance</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=modulesadmin}>"><i class="glyphicon glyphicon-gift"></i> Modules</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=preferences}>"><i class="glyphicon glyphicon-cog"></i> Preferences</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=smilies}>"><i class="glyphicon glyphicon-eye-open"></i> Smilies</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=tplsets}>"><i class="glyphicon glyphicon-list"></i> Templates</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=userrank}>"><i class="glyphicon glyphicon-star"></i> User Rank</a></li> + <li><a href="<{xoAppUrl modules/system/admin.php?fct=users}>"><i class="glyphicon glyphicon-user"></i> Users</a></li> + </ul> + <hr /> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_tabs.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_tabs.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_tabs.tpl 2015-04-03 16:37:24 UTC (rev 13032) @@ -0,0 +1,29 @@ +<!-- the tabs --> +<ul id="tabNav" class="nav nav-tabs"> + <li class="active" role="presentation"><a href="#" title="<{$smarty.const._AM_SYSTEM_HELP}>" data-toggle="tab"><i class="glyphicon glyphicon-earphone"></i></a></li> + <li role="presentation"><a href="#" title="<{block id=4 display='title'}>" data-toggle="tab"><i class="glyphicon glyphicon-time"></i></a></li> + <li role="presentation"><a href="#" title="<{block id=9 display='title'}>" data-toggle="tab"><i class="glyphicon glyphicon-edit"></i></a></li> + <li role="presentation"><a href="#" title="<{block id=8 display='title'}>" data-toggle="tab"><i class="glyphicon glyphicon-user"></i></a></li> + <li role="presentation"><a href="#" title="<{block id=10 display='title'}>" data-toggle="tab"><i class="glyphicon glyphicon-comment"></i></a></li> +</ul> +<!-- tab "panes" --> +<div id="tabContent" class="panes"> + <div> + <div class="help"> + <a href="#" ><{$smarty.const._OXYGEN_HELP_1}></a> + <p><{$smarty.const._OXYGEN_HELP_DESC_1}></p> + </div> + <div class="help"> + <a href="#" ><{$smarty.const._OXYGEN_HELP_2}></a> + <p><{$smarty.const._OXYGEN_HELP_DESC_2}></p> + </div> + <div class="help"> + <a href="#" ><{$smarty.const._OXYGEN_HELP_3}></a> + <p><{$smarty.const._OXYGEN_HELP_DESC_3}></p> + </div> + </div> + <div><{block id=4}></div> + <div><{block id=9}></div> + <div><{block id=8}></div> + <div><{block id=10}></div> +</div> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/theme.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/theme.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/dashboard/theme.tpl 2015-04-03 16:37:24 UTC (rev 13032) @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>"> +<head> + <{includeq file="$theme_tpl/theme_metas.html"}> +</head> +<body id="<{$xoops_dirname}>" class="<{$xoops_langcode}>"> + <div id="wrapper"> + <{includeq file="$theme_tpl/theme_header.html"}> + <{includeq file="$theme_tpl/theme_sidenav.html"}> + <{includeq file="$theme_tpl/theme_page.html" }> + <{includeq file="$theme_tpl/theme_footer.html"}> + </div><{* /#wrapper *}> + <{includeq file="$theme_tpl/theme_scripts.html"}> +</body> +</html> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/theme.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/theme.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/theme.tpl 2015-04-03 16:37:24 UTC (rev 13032) @@ -0,0 +1,14 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>"> +<head> + <{includeq file="$theme_tpl/xo_metas.html"}> + <{includeq file="$theme_tpl/xo_scripts.html"}> +</head> +<body id="<{$xoops_dirname}>" class="<{$xoops_langcode}>"> + <{includeq file="$theme_tpl/xo_head.html"}> + <{includeq file="$theme_tpl/xo_globalnav.html"}> + <{includeq file="$theme_tpl/xo_toolbar.html"}> + <{includeq file="$theme_tpl/xo_page.html" }> + <{includeq file="$theme_tpl/xo_footer.html"}> +</body> +</html> \ No newline at end of file Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/xotpl/xo_toolbar.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/xotpl/xo_toolbar.html 2015-03-31 01:46:35 UTC (rev 13031) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/default/xotpl/xo_toolbar.html 2015-04-03 16:37:24 UTC (rev 13032) @@ -8,7 +8,7 @@ <img class="img-rounded" src='<{$op.icon|default:"$theme_icons/icon_options.png"}>' alt="<{$op.title}>" /> </a> <{/foreach}> - <{if $moddir!='system' && $mod_options}> + <{if $moddir !='system' && $mod_options}> <a href="<{$xoops_url}>/modules/system/admin.php?fct=preferences&op=showmod&mod=<{$modid}>" data-toggle="tooltip" data-original-title="<{$smarty.const._OXYGEN_SITEPREF}>" title="<{$smarty.const._OXYGEN_SITEPREF}>"> <img class="img-rounded" src="<{$theme_icons}>/prefs.png" alt="<{$smarty.const._OXYGEN_SITEPREF}>" /> </a> Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/theme.tpl =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/theme.tpl (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/xnewage/theme.tpl 2015-04-03 16:37:24 UTC (rev 13032) @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>"> +<head> + <{includeq file="$theme_tpl/metas.html"}> +</head> +<body id="<{$xoops_dirname}>" class="<{$xoops_langcode}>"> + <div id="wrapper"> + <{includeq file="$theme_tpl/header.html"}> + <{includeq file="$theme_tpl/page.html" }> + <{includeq file="$theme_tpl/footer.html"}> + <{includeq file="$theme_tpl/scripts.html"}> + </div><{* /#wrapper *}> +</body> +</html> \ No newline at end of file |
From: <be...@us...> - 2015-03-31 01:46:39
|
Revision: 13031 http://sourceforge.net/p/xoops/svn/13031 Author: beckmi Date: 2015-03-31 01:46:35 +0000 (Tue, 31 Mar 2015) Log Message: ----------- 2.5.7.1 files (culex) Modified Paths: -------------- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/moduleadmin/language/danish/main.php XoopsLanguages/danish/core/2.5.7.1/htdocs/class/mail/phpmailer/language/phpmailer.lang-dk.php XoopsLanguages/danish/core/2.5.7.1/htdocs/class/xoopseditor/dhtmltextarea/language/danish.php XoopsLanguages/danish/core/2.5.7.1/htdocs/class/xoopseditor/textarea/language/danish.php XoopsLanguages/danish/core/2.5.7.1/htdocs/class/xoopseditor/tinymce/language/danish.php XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/finish.php XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/install.php XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/install2.php XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/mysql.lang.data.sql XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/support.php XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/support.png XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/welcome.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/admin.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/auth.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/backend.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/banners.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/calendar.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/captcha.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/comment.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/countries.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/errors.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/findusers.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/formdhtmltextarea.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/global.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/locale.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/logger.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/mail.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/mail_template/activated.tpl XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/mail_template/adminactivate.tpl XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/mail_template/comment_notify.tpl XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/mail_template/commentsubmit_notify.tpl XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/mail_template/default_notify.tpl XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/mail_template/lostpass1.tpl XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/mail_template/lostpass2.tpl XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/mail_template/register.tpl XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/mail_template/tellfriend.tpl XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/mail_template/welcome.tpl XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/misc.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/notification.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/pmsg.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/search.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/timezone.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/uploader.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/user.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/xoopsmailerlocal.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/pm/language/danish/admin.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/pm/language/danish/main.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/pm/language/danish/modinfo.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/profile/language/danish/admin.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/profile/language/danish/mail_template/emailchanged.tpl XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/profile/language/danish/main.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/profile/language/danish/modinfo.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/avatars.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/banners.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/blocksadmin.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/comments.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/groups.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/images.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/mailusers.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/maintenance.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/modulesadmin.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/preferences.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/smilies.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/tplsets.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/userrank.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/users.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/blocks.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/cpanel.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/avatars.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/banners.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/blocksadmin.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/comments.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/groups.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/help_center.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/images.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/mailusers.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/maintenance.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/module_index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/modulesadmin.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/preferences.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/smilies.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/tplsets.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/userrank.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/users.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/modinfo.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/themes/default/language/danish/admin.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/themes/default/language/danish/localsupport.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/themes/zetadigme/language/danish/admin.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/themes/zetadigme/language/danish/localsupport.php XoopsLanguages/danish/core/2.5.7.1/htdocs/themes/suico/language/danish/main.php XoopsLanguages/danish/core/2.5.7.1/htdocs/themes/zetagenesis/language/danish/main.php XoopsLanguages/danish/core/2.5.7.1/htdocs/themes/zetagenesis/language/danish/style.css XoopsLanguages/danish/core/2.5.7.1/htdocs/xoops_lib/modules/protector/language/danish/admin.php XoopsLanguages/danish/core/2.5.7.1/htdocs/xoops_lib/modules/protector/language/danish/main.php XoopsLanguages/danish/core/2.5.7.1/htdocs/xoops_lib/modules/protector/language/danish/modinfo.php Added Paths: ----------- XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/style.css XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/pm/language/danish/help/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/pm/language/danish/help/help.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/pm/language/danish/help/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/profile/language/danish/help/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/profile/language/danish/help/help.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/profile/language/danish/help/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/protector/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/protector/language/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/protector/language/help/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/protector/language/help/help.html XoopsLanguages/danish/core/2.5.7.1/htdocs/themes/xbootstrap/ XoopsLanguages/danish/core/2.5.7.1/htdocs/themes/xbootstrap/language/ XoopsLanguages/danish/core/2.5.7.1/htdocs/themes/xbootstrap/language/danish/ XoopsLanguages/danish/core/2.5.7.1/htdocs/themes/xbootstrap/language/danish/main.php Modified: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/moduleadmin/language/danish/main.php =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/moduleadmin/language/danish/main.php 2015-03-31 01:30:00 UTC (rev 13030) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/moduleadmin/language/danish/main.php 2015-03-31 01:46:35 UTC (rev 13031) @@ -1,50 +1,43 @@ -<?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) - * @translation Michael Albertsen (Aka culex) - */ - -// Info -define('_AM_MODULEADMIN_CONFIG','Configurationscheck'); -define('_AM_MODULEADMIN_CONFIG_CHMOD',"Mappen '%s' skal være med chmod '%s' (den er nuværende sat til %s).'"); -define('_AM_MODULEADMIN_CONFIG_FOLDERKO',"Mappen '%s' findes ikke"); -define('_AM_MODULEADMIN_CONFIG_FOLDEROK',"mappen '%s' findes"); -define('_AM_MODULEADMIN_CONFIG_PHP','Minimum PHP krævet: %s (din version er %s)'); -define('_AM_MODULEADMIN_CONFIG_XOOPS','Minimum XOOPS krævet: %s (din version er %s)'); - -define('_AM_MODULEADMIN_CONFIG_DB','minimum version krævet: %s (din version er %s)'); -define('_AM_MODULEADMIN_CONFIG_ADMIN','Minimum ModuleAdmin krævet: %s (din version er %s)'); - -// About -define('_AM_MODULEADMIN_ABOUT_CHANGELOG','Ændringslog'); -define('_AM_MODULEADMIN_ABOUT_DESCRIPTION','Beskrivelse'); -define('_AM_MODULEADMIN_ABOUT_MODULEINFO','Modul-info'); -define('_AM_MODULEADMIN_ABOUT_MODULESTATUS','Status:'); -define('_AM_MODULEADMIN_ABOUT_UPDATEDATE','Opdatet:'); -define('_AM_MODULEADMIN_ABOUT_WEBSITE',"Website:"); - -define("_AM_MODULEADMIN_ABOUT_RELEASEDATE","Udgivet: "); -define("_AM_MODULEADMIN_ABOUT_AUTHOR","Forfatter: "); -define("_AM_MODULEADMIN_ABOUT_CREDITS","Kredit: "); -define("_AM_MODULEADMIN_ABOUT_LICENSE","Licens: "); -define("_AM_MODULEADMIN_ABOUT_AUTHOR_NAME","Forfatternavn: "); -define("_AM_MODULEADMIN_ABOUT_AUTHOR_INFO","Forfatterinfo"); - -define("_AM_MODULEADMIN_HOME","Hjem"); -define("_AM_MODULEADMIN_DASHBOARD","Dashboard"); -define("_AM_MODULEADMIN_ABOUT","Om"); -define("_AM_MODULEADMIN_PERMISSIONS","Tilladelser"); - -//ModuleAdmin -define("_AM_MODULEADMIN_ADMIN_FOOTER","<div class='center smallsmall italic pad5'>Dette modul opretholdes af <a class='tooltip' rel='external' href='http://xoops.org/' title='Besøg XOOPS Community'>XOOPS Community</a></div>"); \ No newline at end of file +<?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','Configurationscheck'); +define('_AM_MODULEADMIN_CONFIG_CHMOD',"Mappen '%s' skal være med chmod '%s' (den er nuværende sat til %s).'"); +define('_AM_MODULEADMIN_CONFIG_FOLDERKO',"Mappen '%s' findes ikke"); +define('_AM_MODULEADMIN_CONFIG_FOLDEROK',"mappen '%s' findes"); +define('_AM_MODULEADMIN_CONFIG_PHP','Minimum PHP krævet: %s (din version er %s)'); +define('_AM_MODULEADMIN_CONFIG_XOOPS','Minimum XOOPS krævet: %s (din version er %s)'); +define('_AM_MODULEADMIN_CONFIG_DB','minimum version krævet: %s (din version er %s)'); +define('_AM_MODULEADMIN_CONFIG_ADMIN','Minimum ModuleAdmin krævet: %s (din version er %s)'); +// About +define('_AM_MODULEADMIN_ABOUT_CHANGELOG','Ændringslog'); +define('_AM_MODULEADMIN_ABOUT_DESCRIPTION','Profilemodulet er til styring af brugerdefinerede brugerprofil felter.'); +define('_AM_MODULEADMIN_ABOUT_MODULEINFO','Modul-info'); +define('_AM_MODULEADMIN_ABOUT_MODULESTATUS','Status:'); +define('_AM_MODULEADMIN_ABOUT_UPDATEDATE','Opdatet:'); +define('_AM_MODULEADMIN_ABOUT_WEBSITE',"Website:"); +define("_AM_MODULEADMIN_ABOUT_RELEASEDATE","Udgivet: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR","Forfatter: "); +define("_AM_MODULEADMIN_ABOUT_CREDITS","Kredit: "); +define("_AM_MODULEADMIN_ABOUT_LICENSE","Licens: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_NAME","Forfatternavn: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_INFO","Forfatterinfo"); +define("_AM_MODULEADMIN_HOME","Hjem"); +define("_AM_MODULEADMIN_DASHBOARD","Dashboard"); +define("_AM_MODULEADMIN_ABOUT","Om"); +define("_AM_MODULEADMIN_PERMISSIONS","Tilladelser"); +//ModuleAdmin +define("_AM_MODULEADMIN_ADMIN_FOOTER","<div class='center smallsmall italic pad5'>Dette modul opretholdes af <a class='tooltip' rel='external' href='http://xoops.org/' title='Besøg XOOPS Community'>XOOPS Community</a></div>"); Modified: XoopsLanguages/danish/core/2.5.7.1/htdocs/class/mail/phpmailer/language/phpmailer.lang-dk.php =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/class/mail/phpmailer/language/phpmailer.lang-dk.php 2015-03-31 01:30:00 UTC (rev 13030) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/class/mail/phpmailer/language/phpmailer.lang-dk.php 2015-03-31 01:46:35 UTC (rev 13031) @@ -1,26 +1,23 @@ <?php /** -* PHPMailer language file: refer to English translation for definitive list -* Danish Version -* Author: Mikael Stokkebro <in...@st...> -*/ + * PHPMailer language file. + * English Version + */ -$PHPMAILER_LANG['authenticate'] = 'SMTP fejl: Kunne ikke logge p\xE5.'; -$PHPMAILER_LANG['connect_host'] = 'SMTP fejl: Kunne ikke tilslutte SMTP serveren.'; -$PHPMAILER_LANG['data_not_accepted'] = 'SMTP fejl: Data kunne ikke accepteres.'; -//$PHPMAILER_LANG['empty_message'] = 'Message body empty'; -$PHPMAILER_LANG['encoding'] = 'Ukendt encode-format: '; -$PHPMAILER_LANG['execute'] = 'Kunne ikke k\xF8re: '; -$PHPMAILER_LANG['file_access'] = 'Ingen adgang til fil: '; -$PHPMAILER_LANG['file_open'] = 'Fil fejl: Kunne ikke \xE5bne filen: '; -$PHPMAILER_LANG['from_failed'] = 'F\xF8lgende afsenderadresse er forkert: '; -$PHPMAILER_LANG['instantiate'] = 'Kunne ikke initialisere email funktionen.'; -//$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' mailer underst\xF8ttes ikke.'; -$PHPMAILER_LANG['provide_address'] = 'Du skal indtaste mindst en modtagers emailadresse.'; -$PHPMAILER_LANG['recipients_failed'] = 'SMTP fejl: F\xF8lgende modtagere er forkerte: '; -//$PHPMAILER_LANG['signing'] = 'Signing Error: '; -//$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.'; -//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: '; -//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: '; -?><?php // Translation done by Culex - 2012-03-15 18:40 ?> \ No newline at end of file +$PHPMAILER_LANG['provide_address'] = 'Du skal indtaste mindst en modtagers emailadresse.'; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer understøttes ikke.'; +$PHPMAILER_LANG['execute'] = 'Kunne ikke køre: '; +$PHPMAILER_LANG['instantiate'] = 'Kunne ikke initialisere email funktionen.'; +$PHPMAILER_LANG['authenticate'] = 'SMTP fejl: Kunne ikke logge på.'; +$PHPMAILER_LANG['from_failed'] = 'Følgende afsenderadresse er forkert: '; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP fejl: Følgende modtagere er forkerte: '; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP fejl: Data kunne ikke accepteres.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP fejl: Kunne ikke tilslutte SMTP serveren.'; +$PHPMAILER_LANG['file_access'] = 'Ingen adgang til fil: '; +$PHPMAILER_LANG['file_open'] = 'Fil fejl: Kunne ikke åbne filen: '; +$PHPMAILER_LANG['encoding'] = 'Ukendt encode-format: '; +$PHPMAILER_LANG['signing'] = 'Signing Error: '; +$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: '; +$PHPMAILER_LANG['empty_message'] = 'Message body empty'; +$PHPMAILER_LANG['invalid_address'] = 'Ugylding adresse'; +$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: '; Modified: XoopsLanguages/danish/core/2.5.7.1/htdocs/class/xoopseditor/dhtmltextarea/language/danish.php =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/class/xoopseditor/dhtmltextarea/language/danish.php 2015-03-31 01:30:00 UTC (rev 13030) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/class/xoopseditor/dhtmltextarea/language/danish.php 2015-03-31 01:46:35 UTC (rev 13031) @@ -1,22 +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: english.php 4941 2010-07-22 17:13:36Z beckmi $ - * @package xoopseditor - */ -/** - * Assocated with editor_registry.php - */ - -// _LANGCODE: da -// _CHARSET : UTF-8 -// Translator: Anders Kristiansen (anderssk) www.xoopsnordic.org - -define('_XOOPS_EDITOR_DHTMLTEXTAREA','DHTML med xCode' ); - -?> +<?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: english.php 12033 2013-09-14 03:16:44Z beckmi $ + * @package xoopseditor + */ +/** + * Assocated with editor_registry.php + */ +define('_XOOPS_EDITOR_DHTMLTEXTAREA','DHTML med xCode'); Modified: XoopsLanguages/danish/core/2.5.7.1/htdocs/class/xoopseditor/textarea/language/danish.php =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/class/xoopseditor/textarea/language/danish.php 2015-03-31 01:30:00 UTC (rev 13030) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/class/xoopseditor/textarea/language/danish.php 2015-03-31 01:46:35 UTC (rev 13031) @@ -6,15 +6,10 @@ * @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: english.php 4941 2010-07-22 17:13:36Z beckmi $ + * @version $Id: english.php 12033 2013-09-14 03:16:44Z beckmi $ * @package xoopseditor */ -// _LANGCODE: da -// _CHARSET : UTF-8 -// Translator: Anders Kristiansen (anderssk) www.xoopsnordic.org - /* * Assocated with editor_registry.php */ -define("_XOOPS_EDITOR_TEXTAREA","Ren tekst"); -?> +define('_XOOPS_EDITOR_TEXTAREA',"Ren tekst"); Modified: XoopsLanguages/danish/core/2.5.7.1/htdocs/class/xoopseditor/tinymce/language/danish.php =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/class/xoopseditor/tinymce/language/danish.php 2015-03-31 01:30:00 UTC (rev 13030) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/class/xoopseditor/tinymce/language/danish.php 2015-03-31 01:46:35 UTC (rev 13031) @@ -1,29 +1,22 @@ -<?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: english.php 1138 2010-03-25 11:21:46Z kris_fr $ - */ -/* - * Assocated with editor_registry.php - */ -// _LANGCODE: da -// _CHARSET : UTF-8 -// Translator: Anders Kristiansen (anderssk) www.xoopsnordic.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, "fr" for French -// For details, check http://tinymce.moxiecode.com/download_i18n.php -define("_XOOPS_EDITOR_TINYMCE_LANGUAGE","da"); - -// 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"); -?> +<?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: english.php 12154 2013-10-06 23:36:44Z rgriffith $ + */ +/* + * 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',"da"); +// 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"); Modified: XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/finish.php =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/finish.php 2015-03-31 01:30:00 UTC (rev 13030) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/finish.php 2015-03-31 01:46:35 UTC (rev 13031) @@ -1,16 +1,16 @@ <?php -// $Id$ +// $Id: finish.php 12033 2013-09-14 03:16:44Z beckmi $ // _LANGCODE: da // _CHARSET : UTF-8 -// Translator: Anders Kristiansen (anderssk) www.xoopsnordic.org +// Translator: XOOPS Translation Team $content .= "<h3>Din Side</h3> <p>Klik <a href='../index.php'>HER</a> for at se din side.</p> <h3>Support</h3> <p>Besøg <a href='http://xoops.sourceforge.net/' rel='external'>for mere information om XOOPS</a></p> -<p><strong>BEMÆRK :</strong> Din side indeholder et minimum af funktionalitet, hvis du vil tilføje indhold: tekst, billeder, forum, link eller lign, skal du først downloade fra <a href='http://www.xoops.org/modules/repository' rel='external' title='Vælg og downloads moduler'> XOOPS siden</a> og installerer disse moduler. Det samme gælder for <a href='http://www.xoops.org/modules/extgallery' rel='external' title='Vælg og installer themes'>layout (themes)</a>. Du er altid velkommen på <a href='http://www.xoopsnordic.org rel='external' title='XOOPSNordic'>hvor du kan få hjælp </a> til opsætning og valg af modulerer.</p> -"; +<p><strong>BEMÆRK :</strong> Din side indeholder et minimum af funktionalitet, hvis du vil tilføje indhold: tekst, billeder, forum, link eller lign, skal du først downloade fra <a href='http://www.xoops.org/modules/repository' rel='external' title='Vælg og downloads moduler'> XOOPS siden</a> og installerer disse moduler. Det samme gælder for <a href='http://www.xoops.org/modules/extgallery' rel='external' title='Vælg og installer themes'>layout (themes)</a>. Du er altid velkommen på <a href='http://www.xoopsnordic.org rel='external' title='XOOPSNordic'>hvor du kan få hjælp </a> til opsætning og valg af modulerer.</p> +"; $content .= "<h3>Sikkerheds konfiguration</h3> @@ -20,5 +20,4 @@ Fjern mappen <em>{$installer_modified}</em> (eller <em>install</em> hvis den ikke automatisk blev omdøbt under installering) fra din server. </div> </p> -"; -?> +"; \ No newline at end of file Modified: XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/install.php =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/install.php 2015-03-31 01:30:00 UTC (rev 13030) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/install.php 2015-03-31 01:46:35 UTC (rev 13031) @@ -11,207 +11,172 @@ * @author Skalpa Keo <sk...@xo...> * @author Taiwen Jiang <ph...@us...> * @author dugris <du...@fr...> - * @version $Id$ + * @version $Id: install.php 12598 2014-06-15 03:34:59Z beckmi $ */ - -// _LANGCODE: da +// _LANGCODE: en // _CHARSET : UTF-8 -// Translator: Anders Kristiansen (anderssk) www.xoopsnordic.org - -define("SHOW_HIDE_HELP","Vis/skjul hjælpe tekst" ); - +// Translator: XOOPS Translation Team +define('SHOW_HIDE_HELP',"Vis/skjul hjælpe tekst"); // License -define('LICENSE_NOT_WRITEABLE','Licens er %s . <br/><font style="colour:#ff0000">gør ../include/license.php skrivbar</font>'); -define('LICENSE_IS_WRITEABLE','Licens er %s'); - +define('LICENSE_NOT_WRITEABLE','%s Licens er IKKE skivbar! <br/><span style="colour:#ff0000">Gør ../include/license.php Skrivbar</span>'); +define('LICENSE_IS_WRITEABLE','%s Licens er skrivbar'); // Configuration check page -define("SERVER_API","Server API" ); -define("PHP_EXTENSION","%s udvidelser" ); -define("CHAR_ENCODING","Tegnsæt" ); -define("XML_PARSING","XML analysere" ); -define("REQUIREMENTS","Krav" ); -define("_PHP_VERSION","PHP version" ); -define("RECOMMENDED_SETTINGS","Anbefalede indstillinger" ); -define("RECOMMENDED_EXTENSIONS","Anbefalede udvidelser" ); -define("SETTING_NAME","Indstilling" ); -define("RECOMMENDED","Anbefalet" ); -define("CURRENT","Nuværende" ); -define("RECOMMENDED_EXTENSIONS_MSG","Disse udvidelser er ikke et krav til normalt brug, men kan være nødvendige for at udnytte -nogle specifikke muligheder (som multi-sprog eller RSS-støtte). anbefales det at få dem installeret." ); -define("NONE","Ingen" ); -define("SUCCESS","Succes " ); -define("WARNING","Advarsel" ); -define("FAILED","Fejlet" ); - +define('SERVER_API',"Server API"); +define('PHP_EXTENSION',"%s udvidelser"); +define('CHAR_ENCODING',"Tegnsæt"); +define('XML_PARSING',"XML analysere"); +define('REQUIREMENTS',"Krav"); +define('_PHP_VERSION',"PHP version"); +define('RECOMMENDED_SETTINGS',"Anbefalede indstillinger"); +define('RECOMMENDED_EXTENSIONS',"Anbefalede udvidelser"); +define('SETTING_NAME',"Indstilling"); +define('RECOMMENDED',"Anbefalet"); +define('CURRENT',"Nuværende"); +define('RECOMMENDED_EXTENSIONS_MSG',"Disse udvidelser er ikke et krav til normalt brug, men kan være nødvendige for at udnytte +nogle specifikke muligheder (som multi-sprog eller RSS-støtte). anbefales det at få dem installeret."); +define('NONE',"Ingen"); +define('SUCCESS',"Succes "); +define('WARNING',"Advarsel"); +define('FAILED',"Fejlet"); // Titles (main and pages) -define("XOOPS_INSTALL_WIZARD","XOOPS installationsguide" ); - -define("LANGUAGE_SELECTION","Sprog valg" ); -define("LANGUAGE_SELECTION_TITLE","Vælg sprog"); -define("INTRODUCTION","Introduktion " ); -define("INTRODUCTION_TITLE","Velkommen til XOOPS installationsassistent." ); -define("CONFIGURATION_CHECK","Konfigurations check" ); -define("CONFIGURATION_CHECK_TITLE","Kontrollerer din servers konfiguration" ); -define("PATHS_SETTINGS","Mappe indstillinger" ); -define("PATHS_SETTINGS_TITLE","Mappe indstillinger" ); -define("DATABASE_CONNECTION","Database forbindelse" ); -define("DATABASE_CONNECTION_TITLE","Database forbindelse" ); -define("DATABASE_CONFIG","Database konfiguration" ); -define("DATABASE_CONFIG_TITLE","Database konfiguration" ); -define("CONFIG_SAVE","Gem konfiguration" ); -define("CONFIG_SAVE_TITLE","Gemmer dit systems konfiguration" ); -define("TABLES_CREATION","Tabel oprettelse" ); -define("TABLES_CREATION_TITLE","Database tabel oprettelse" ); -define("INITIAL_SETTINGS","Indledende indstillinger" ); -define("INITIAL_SETTINGS_TITLE","Indtast dine indledende indstillinger" ); -define("DATA_INSERTION","Data indsættelse" ); -define("DATA_INSERTION_TITLE","Gemmer dine indstillinger i databasen" ); -define("WELCOME","Velkommen" ); -define("WELCOME_TITLE","Velkommen til din XOOPS side" ); - - +define('XOOPS_INSTALL_WIZARD',"XOOPS installationsguide"); +define('LANGUAGE_SELECTION',"Sprog valg"); +define('LANGUAGE_SELECTION_TITLE',"Vælg sprog"); // L128 +define('INTRODUCTION',"Introduktion "); +define('INTRODUCTION_TITLE',"Velkommen til XOOPS installationsassistent."); // L0 +define('CONFIGURATION_CHECK',"Konfigurations check"); +define('CONFIGURATION_CHECK_TITLE',"Kontrollerer din servers konfiguration"); +define('PATHS_SETTINGS',"Mappe indstillinger"); +define('PATHS_SETTINGS_TITLE',"Mappe indstillinger"); +define('DATABASE_CONNECTION',"Database forbindelse"); +define('DATABASE_CONNECTION_TITLE',"Database forbindelse"); +define('DATABASE_CONFIG',"Database konfiguration"); +define('DATABASE_CONFIG_TITLE',"Database konfiguration"); +define('CONFIG_SAVE',"Gem konfiguration"); +define('CONFIG_SAVE_TITLE',"Gemmer dit systems konfiguration"); +define('TABLES_CREATION',"Tabel oprettelse"); +define('TABLES_CREATION_TITLE',"Database tabel oprettelse"); +define('INITIAL_SETTINGS',"Indledende indstillinger"); +define('INITIAL_SETTINGS_TITLE',"Indtast dine indledende indstillinger"); +define('DATA_INSERTION',"Data indsættelse"); +define('DATA_INSERTION_TITLE',"Gemmer dine indstillinger i databasen"); +define('WELCOME',"Velkommen"); +define('WELCOME_TITLE',"Velkommen til din XOOPS side"); // L0 // Settings (labels and help text) -define("XOOPS_PATHS","XOOPS fysiske sti" ); -define("XOOPS_URLS","Web-steder" ); - -define("XOOPS_ROOT_PATH_LABEL","XOOPS root fysiske sti" ); -define("XOOPS_ROOT_PATH_HELP","Fysisk sti til XOOPS dokumenter (serveres) mappe UDEN skråstreg" ); - -define("XOOPS_LIB_PATH_LABEL","XOOPS biblioteks mappe" ); -define("XOOPS_LIB_PATH_HELP","Fysisk sti til XOOPS biblioteket UDEN skråstreg, for fremtidig kompatibilitet. Hvis muligt, placer foldere uden for " . XOOPS_ROOT_PATH_LABEL . " for øget sikkerhed."); -define("XOOPS_DATA_PATH_LABEL","XOOPS datafil mappe" ); -define("XOOPS_DATA_PATH_HELP","Fysisk sti til XOOPS datafiler (skrivbar) mappe UDEN skråstreg, for fremtidig kompatibilitet. Hvis muligt, placer foldere uden for " . XOOPS_ROOT_PATH_LABEL . " for øget sikkerhed." ); - -define("XOOPS_URL_LABEL","Website placering (URL)" ); -define("XOOPS_URL_HELP","Adresse til XOOPS , som vil blive brugt til at få adgang til din XOOPS-side" ); - -define("LEGEND_CONNECTION","Server forbindelse" ); -define("LEGEND_DATABASE","Database" ); - -define("DB_HOST_LABEL","Server hostname" ); -define("DB_HOST_HELP", "værtsnavnet på den database server. Hvis du er usikker, <em> localhost </ em> værker i de fleste tilfælde"); -define("DB_USER_LABEL","Bruger navn" ); -define("DB_USER_HELP", "Din brugerkonto, der vil blive anvendt til at forbinde til database-serveren"); -define("DB_PASS_LABEL","Password" ); -define("DB_PASS_HELP", "Password til din konto på database brugerkonto"); -define("DB_NAME_LABEL","Database navn" ); -define("DB_NAME_HELP", "Navnet på databasen på værten. Installationsprogrammet vil forsøge at oprette den database, hvis ikke eksisterer"); -define("DB_CHARSET_LABEL","Database tegnsæt" ); -define("DB_CHARSET_HELP", "MySQL version 4.12 omfatter tegnsæt støtte. som giver dig mulighed for at lagre data ved hjælp af en række forskellige tegnsæt og foretage sammenligninger i henhold til en række collations."); -define("DB_COLLATION_LABEL","Database indsamling" ); -define("DB_COLLATION_HELP", "En samling er et sæt regler for at sammenligne tegn i et tegnsæt."); -define("DB_PREFIX_LABEL","Tabel præfiks" ); -define("DB_PREFIX_HELP", "Dette præfiks vil blive tilføjet alle nye tabeller i databasen. Dette gøres for at undgå navnesammenfald i databasen. Hvis du er usikker, så bare behold standardværdien"); -define("DB_PCONNECT_LABEL","Brug vedvarende forbindelse?" ); -define("DB_PCONNECT_HELP", "Standard er 'NEJ'. Vælg 'NEJ' hvis du er usikker"); -define("DB_DATABASE_LABEL","Database" ); - -define("LEGEND_ADMIN_ACCOUNT","Administrator konto" ); -define("ADMIN_LOGIN_LABEL","Administrator login" ); -define("ADMIN_EMAIL_LABEL","Administrator e-mail" ); -define("ADMIN_PASS_LABEL","Administrator password" ); -define("ADMIN_CONFIRMPASS_LABEL","Bekræft password" ); - +define('XOOPS_PATHS',"XOOPS fysiske sti"); +define('XOOPS_URLS',"Web-steder"); +define('XOOPS_ROOT_PATH_LABEL',"XOOPS root fysiske sti"); +define('XOOPS_ROOT_PATH_HELP',"Fysisk sti til XOOPS dokumenter (serveres) mappe UDEN skråstreg"); +define('XOOPS_LIB_PATH_LABEL',"XOOPS biblioteks mappe"); +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 datafil mappe"); +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 placering (URL)"); // L56 +define('XOOPS_URL_HELP',"Adresse til XOOPS , som vil blive brugt til at få adgang til din XOOPS-side"); // L58 +define('LEGEND_CONNECTION',"Server forbindelse"); +define('LEGEND_DATABASE',"Database"); // L51 +define('DB_HOST_LABEL',"Server hostname"); // L27 +define('DB_HOST_HELP',"værtsnavnet på den database server. Hvis du er usikker, <em> localhost </ em> værker i de fleste tilfælde"); // L67 +define('DB_USER_LABEL',"Kaldenavn for brugeren"); // L28 +define('DB_USER_HELP',"Din brugerkonto, der vil blive anvendt til at forbinde til database-serveren"); // L65 +define('DB_PASS_LABEL',"Password"); // L52 +define('DB_PASS_HELP',"Password til din konto på database brugerkonto"); // L68 +define('DB_NAME_LABEL',"Database navn"); // L29 +define('DB_NAME_HELP',"Navnet på databasen på værten. Installationsprogrammet vil forsøge at oprette den database, hvis ikke eksisterer"); // L64 +define('DB_CHARSET_LABEL',"Database tegnsæt"); +define('DB_CHARSET_HELP',"MySQL version 4.12 omfatter tegnsæt støtte. som giver dig mulighed for at lagre data ved hjælp af en række forskellige tegnsæt og foretage sammenligninger i henhold til en række collations."); +define('DB_COLLATION_LABEL',"Database indsamling"); +define('DB_COLLATION_HELP',"En samling er et sæt regler for at sammenligne tegn i et tegnsæt."); +define('DB_PREFIX_LABEL',"Tabel præfiks"); // L30 +define('DB_PREFIX_HELP',"Dette præfiks vil blive tilføjet alle nye tabeller i databasen. Dette gøres for at undgå navnesammenfald i databasen. Hvis du er usikker, så bare behold standardværdien"); // L63 +define('DB_PCONNECT_LABEL',"Brug vedvarende forbindelse?"); // L54 +define('DB_PCONNECT_HELP',"Standard er 'NEJ'. Vælg 'NEJ' hvis du er usikker"); // L69 +define('DB_DATABASE_LABEL',"Database"); +define('LEGEND_ADMIN_ACCOUNT',"Administrator konto"); +define('ADMIN_LOGIN_LABEL',"Administrator login"); // L37 +define('ADMIN_EMAIL_LABEL',"Administrator e-mail"); // L38 +define('ADMIN_PASS_LABEL',"Administrator password"); // L39 +define('ADMIN_CONFIRMPASS_LABEL',"Bekræft password"); // L74 // Buttons -define("BUTTON_PREVIOUS","Forrige" ); -define("BUTTON_NEXT","Næste" ); - +define('BUTTON_PREVIOUS',"Forrige"); // L42 +define('BUTTON_NEXT',"Næste"); // L47 // Messages -define("XOOPS_FOUND","%s fundet" ); -define("CHECKING_PERMISSIONS","Tjek fil og mappe tilladelser.." ); -define("IS_NOT_WRITABLE","%s er ikke skrivbar." ); -define("IS_WRITABLE","%s er skrivbar." ); - -define("XOOPS_PATH_FOUND","Mappe fundet." ); - -define("READY_CREATE_TABLES","Ingen XOOPS tabeller fundet.<br />Installationsprogrammet er nu klar til at oprette XOOPS system tabeller.<br />Klik <em>næste</em> for at fortsætte." ); -define("XOOPS_TABLES_FOUND","Tabeler til XOOPS eksistere allerede i din database..<br />Klik <em>næste</em> for at gå til næste trin." ); -define("XOOPS_TABLES_CREATED","XOOPS system tabeller blev oprettet.<br />Klik <em>næste</em> for at gå til næste trin." ); -define("READY_INSERT_DATA","Installationsprogrammet er nu klar til at indsætte foreløbige data ind i din database." ); -define("READY_SAVE_MAINFILE","Installationsprogrammet er nu klar til at gemme de indtastede oplysninger i <em>mainfile.php</em>.<br />Klik <em>næste</em> for at fortsætte." ); -define("SAVED_MAINFILE","Gemt indstillinger i mainfile.php" ); -define("SAVED_MAINFILE_MSG","Installationsprogrammet har gemt indstillingerne i <em>mainfile.php</em>. Klik <em>næste</em> for at gå til næste trin." ); -define("DATA_ALREADY_INSERTED","XOOPS data fundet i databasen.<br />Klik <em>næste</em> for at gå til næste trin." ); -define("DATA_INSERTED","Foreløbige data er indsat i databasen.<br />Klik <em>næste</em> for at gå til næste trin." ); - - +define('XOOPS_FOUND',"%s fundet"); +define('CHECKING_PERMISSIONS',"Tjek fil og mappe tilladelser.."); // L82 +define('IS_NOT_WRITABLE',"%s er ikke skrivbar."); // L83 +define('IS_WRITABLE',"%s er skrivbar."); // L84 +define('XOOPS_PATH_FOUND',"Mappe fundet."); +define('READY_CREATE_TABLES',"Ingen XOOPS tabeller fundet.<br />Installationsprogrammet er nu klar til at oprette XOOPS system tabeller.<br />Klik <em>næste</em> for at fortsætte."); +define('XOOPS_TABLES_FOUND',"Tabeler til XOOPS eksistere allerede i din database..<br />Klik <em>næste</em> for at gå til næste trin."); // L131 +define('XOOPS_TABLES_CREATED',"XOOPS system tabeller blev oprettet.<br />Klik <em>næste</em> for at gå til næste trin."); +define('READY_INSERT_DATA',"Installationsprogrammet er nu klar til at indsætte foreløbige data ind i din database."); +define('READY_SAVE_MAINFILE',"Installationsprogrammet er nu klar til at gemme de indtastede oplysninger i <em>mainfile.php</em>.<br />Klik <em>næste</em> for at fortsætte."); +define('SAVED_MAINFILE',"Gemt indstillinger i mainfile.php"); +define('SAVED_MAINFILE_MSG',"Installationsprogrammet har gemt indstillingerne i <em>mainfile.php</em>. Klik <em>næste</em> for at gå til næste trin."); +define('DATA_ALREADY_INSERTED',"XOOPS data fundet i databasen.<br />Klik <em>næste</em> for at gå til næste trin."); +define('DATA_INSERTED',"Foreløbige data er indsat i databasen.<br />Klik <em>næste</em> for at gå til næste trin."); // %s is database name -define("DATABASE_CREATED","Databasen %s oprettet!" ); +define('DATABASE_CREATED',"Databasen %s oprettet!"); // L43 // %s is table name -define("TABLE_NOT_CREATED","Kunne ikke oprette tabel %s." ); -define("TABLE_CREATED","Tabel %s oprettet." ); -define("ROWS_INSERTED","%d data sat ind i tabel %s." ); -define("ROWS_FAILED","Kunne ikke indsætte %d i tabeller %s." ); -define("TABLE_ALTERED","Tabeller %s er opdateret."); -define("TABLE_NOT_ALTERED","Kunne ikke opdatere tabel %s."); -define("TABLE_DROPPED","Tabel %s er droppet."); -define("TABLE_NOT_DROPPED","Kunne ikke slette tabel %s."); - +define('TABLE_NOT_CREATED',"Kunne ikke oprette tabel %s."); // L118 +define('TABLE_CREATED',"Tabel %s oprettet."); // L45 +define('ROWS_INSERTED',"%d data sat ind i tabel %s."); // L119 +define('ROWS_FAILED',"Kunne ikke indsætte %d i tabeller %s."); // L120 +define('TABLE_ALTERED',"Tabeller %s er opdateret."); // L133 +define('TABLE_NOT_ALTERED',"Kunne ikke opdatere tabel %s."); // L134 +define('TABLE_DROPPED',"Tabel %s er droppet."); // L163 +define('TABLE_NOT_DROPPED',"Kunne ikke slette tabel %s."); // L164 // Error messages -define("ERR_COULD_NOT_ACCESS","Kunne ikke få adgang til den angivne mappe. Kontroller at den findes og kan læses af serveren." ); -define("ERR_NO_XOOPS_FOUND","Ingen XOOPS installation blev fundet i den angivne mappe." ); -define("ERR_INVALID_EMAIL","Ugyldig e-mail" ); -define("ERR_REQUIRED","Information er påkrævet."); -define("ERR_PASSWORD_MATCH","De to passwords er ikke ens" ); -define("ERR_NEED_WRITE_ACCESS","Serveren skal have skriveadgang til følgende filer og mapper<br />(dvs. <em>chmod 777 mappe_navn</em> på UNIX/LINUX server)<br />Hvis de ikke er tilgængelige eller ikke er oprettet korrekt, så skal du manuelt oprette dem og tildele rettigheder." ); -define("ERR_NO_DATABASE","Kunne ikke oprette databasen. Kontakt serverens administrator for detaljer." ); -define("ERR_NO_DBCONNECTION","Kunne ikke forbinde til database serveren." ); -define("ERR_WRITING_CONSTANT","Kunne ikke skrive værdien %s" ); - -define("ERR_COPY_MAINFILE","Kunne ikke kopierer distributionsfilen til mainfile.php" ); -define("ERR_WRITE_MAINFILE","Kunne ikke skrive til mainfile.php. Kontroller at rettighederne på filen er korrekte (skrivbar) og prøv derefter igen."); -define("ERR_READ_MAINFILE","Kunne ikke åbne mainfile.php for læsning" ); - -define("ERR_INVALID_DBCHARSET","Tegnsættet '%s' er ikke understøttet." ); -define("ERR_INVALID_DBCOLLATION","Tegnsæt '%s' er ikke supporteret." ); -define("ERR_CHARSET_NOT_SET","Standard skrifttype er ikke sat til XOOPS database." ); - -define("_INSTALL_CHARSET","UTF-8"); - - -define("SUPPORT","Supports"); - -define("LOGIN","Autentificering"); -define("LOGIN_TITLE","Autentificering"); -define("USER_LOGIN","Administrator Login" ); -define("USERNAME","Brugernavn :"); -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","Filteringsfunctioner"); - -define("ADMIN_EXIST","Administratorskontoen findes allerede.<br />Klik <strong>næste</strong> for at gå til næste trin."); - -define("CONFIG_SITE","Side opsætning" ); -define("CONFIG_SITE_TITLE","Side konfiguration" ); -define("MODULES","Modul installationer" ); -define("MODULES_TITLE","Modul installation" ); -define("THEME","Vælg theme" ); -define("THEME_TITLE","Vælg dit standard theme" ); - -define("INSTALLED_MODULES","Følgende moduler blev installeret.<br />Klik <strong>næste</strong> for at gå til næste trin."); -define("NO_MODULES_FOUND","Ingen moduler fundet.<br />Klik <strong>næste</strong> for at gå til næste trin."); -define("NO_INSTALLED_MODULES","Ingen moduler installeret.<br />Klik <strong>næste</strong> for at gå til næste trin."); - -define("THEME_NO_SCREENSHOT","Ingen screenshot fundet"); - -define("IS_VALOR"," => "); - +define('ERR_COULD_NOT_ACCESS',"Kunne ikke få adgang til den angivne mappe. Kontroller at den findes og kan læses af serveren."); +define('ERR_NO_XOOPS_FOUND',"Ingen XOOPS installation blev fundet i den angivne mappe."); +define('ERR_INVALID_EMAIL',"Ugyldig e-mail"); // L73 +define('ERR_REQUIRED',"Information er påkrævet."); // L41 +define('ERR_PASSWORD_MATCH',"De to passwords er ikke ens"); +define('ERR_NEED_WRITE_ACCESS',"Serveren skal have skriveadgang til følgende filer og mapper<br />(dvs. <em>chmod 777 mappe_navn</em> på UNIX/LINUX server)<br />Hvis de ikke er tilgængelige eller ikke er oprettet korrekt, så skal du manuelt oprette dem og tildele rettigheder."); +define('ERR_NO_DATABASE',"Kunne ikke oprette databasen. Kontakt serverens administrator for detaljer."); // L31 +define('ERR_NO_DBCONNECTION',"Kunne ikke forbinde til database serveren."); // L106 +define('ERR_WRITING_CONSTANT',"Kunne ikke skrive værdien %s"); // L122 +define('ERR_COPY_MAINFILE',"Kunne ikke kopierer distributionsfilen til mainfile.php"); +define('ERR_WRITE_MAINFILE',"Kunne ikke skrive til mainfile.php. Kontroller at rettighederne på filen er korrekte (skrivbar) og prøv derefter igen."); +define('ERR_READ_MAINFILE',"Kunne ikke åbne mainfile.php for læsning"); +define('ERR_INVALID_DBCHARSET',"Tegnsættet '%s' er ikke understøttet."); +define('ERR_INVALID_DBCOLLATION',"Tegnsæt '%s' er ikke supporteret."); +define('ERR_CHARSET_NOT_SET',"Standard skrifttype er ikke sat til XOOPS database."); +define('_INSTALL_CHARSET',"UTF-8"); +define('SUPPORT',"Supports"); +define('LOGIN',"Autentificering"); +define('LOGIN_TITLE',"Autentificering"); +define('USER_LOGIN',"Administrator Login"); +define('USERNAME',"Brugernavn :"); +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',"Filteringsfunctioner"); +define('ADMIN_EXIST',"Administratorskontoen findes allerede.<br />Klik <strong>næste</strong> for at gå til næste trin."); +define('CONFIG_SITE',"Side konfiguration"); +define('CONFIG_SITE_TITLE',"Side konfiguration"); +define('MODULES',"Modul installation"); +define('MODULES_TITLE',"Modul installation"); +define('THEME',"Vælg tema"); +define('THEME_TITLE',"Vælg dit standard theme"); +define('INSTALLED_MODULES',"Følgende moduler blev installeret.<br />Klik <strong>næste</strong> for at gå til næste trin."); +define('NO_MODULES_FOUND',"Ingen moduler fundet.<br />Klik <strong>næste</strong> for at gå til næste trin."); +define('NO_INSTALLED_MODULES',"Ingen moduler installeret.<br />Klik <strong>næste</strong> for at gå til næste trin."); +define('THEME_NO_SCREENSHOT',"Ingen screenshot fundet"); +define('IS_VALOR'," => "); // password message -define("PASSWORD_LABEL","Password styrke : "); -define("PASSWORD_DESC","Password ikke indtastet"); -define("PASSWORD_GENERATOR","Password generering"); -define("PASSWORD_GENERATE","Generer"); -define("PASSWORD_COPY","Kopier"); - -define("PASSWORD_VERY_WEAK","Meget svagt"); -define("PASSWORD_WEAK","Svagt"); -define("PASSWORD_BETTER","Bedre"); -define("PASSWORD_MEDIUM","Middel"); -define("PASSWORD_STRONG","Stærkt"); -define("PASSWORD_STRONGEST","Stærkest"); - -?> \ No newline at end of file +define('PASSWORD_LABEL',"Password styrke : "); +define('PASSWORD_DESC',"Password ikke indtastet"); +define('PASSWORD_GENERATOR',"Password generering"); +define('PASSWORD_GENERATE',"Generer"); +define('PASSWORD_COPY',"Kopier"); +define('PASSWORD_VERY_WEAK',"Meget svagt"); +define('PASSWORD_WEAK',"Svagt"); +define('PASSWORD_BETTER',"Bedre"); +define('PASSWORD_MEDIUM',"Medium"); +define('PASSWORD_STRONG',"Stærkt"); +define('PASSWORD_STRONGEST',"Stærkest"); +//2.5.7 +define('WRITTEN_LICENSE',"Oprettet XOOPS %s Licens: <strong>%s</strong>"); Modified: XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/install2.php =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/install2.php 2015-03-31 01:30:00 UTC (rev 13030) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/install2.php 2015-03-31 01:46:35 UTC (rev 13031) @@ -1,20 +1,17 @@ <?php -// $Id: install2.php,v 1.7 2005/08/08 06:29:16 skalpa Exp $ - -// _LANGCODE: da +// $Id: install2.php 12041 2013-09-14 14:06:17Z beckmi $ +// _LANGCODE: en // _CHARSET : UTF-8 -// Translator: Anders Kristiansen (anderssk) www.xoopsnordic.org - -// License -define('LICENSE_NOT_WRITEABLE','Licens er %s . <br/><font style="colour:#ff0000">Gør ../include/license.php skrivbar</font>'); -define('LICENSE_IS_WRITEABLE','Licens er %s'); - -define("_INSTALL_WEBMASTER","Webmasters"); -define("_INSTALL_WEBMASTERD","Webmastere af dette websted"); -define("_INSTALL_REGUSERS","Registrede brugere"); -define("_INSTALL_REGUSERSD","Registrede bruger grupper"); -define("_INSTALL_ANONUSERS","Anonyme brugere"); -define("_INSTALL_ANONUSERSD","Anonyme bruger grupper"); +// Translator: XOOPS Translation Team +// License +define('LICENSE_NOT_WRITEABLE','Licens er %s . <br/><span style="colour:#ff0000">gør ../include/license.php skrivbar</span>'); +define('LICENSE_IS_WRITEABLE','Licens er %s'); +define('_INSTALL_WEBMASTER','Webmasters'); +define('_INSTALL_WEBMASTERD','Webmastere af dette websted'); +define('_INSTALL_REGUSERS','Registrede brugere'); +define('_INSTALL_REGUSERSD','Registrede bruger grupper'); +define('_INSTALL_ANONUSERS','Anonyme brugere'); +define('_INSTALL_ANONUSERSD','Anonyme bruger grupper'); /** * New Group types */ @@ -26,36 +23,32 @@ define('_INSTALL_SUBMITTERUSERSD','Denne gruppe kan indsende artikler på din side'); define('_INSTALL_DEVELOPEUSERS','Udvikler'); define('_INSTALL_DEVELOPEUSERSD','Denne bruger har udvikler rettigheder og kan se specielle fejlkoder.'); - - -define("_INSTALL_L165","Webstedet er i øjeblikket lukket for vedligeholdelse. venligst igen senere."); -define("_INSTALL_ANON","Anonym"); - -define("_INSTALL_DISCLMR","Administratorerne af denne side vil forsøge at fjerne -eller tilrette alt generelt relevant materiale så hurtigt som muligt. Det er -umuligt at gennemse alle besked. Derfor bør du være opmærksom på at alle indlæg -der er lavet til denne side tilkendegiver meninger og holdninger af de forskellige forfattere og ikke -administratorer, moderatorer eller webmastere (bortset fra indlæg skrevet af disse personer) -og dermed ikke vil blive holdt ansvarlig. - -Du accepterer ikke at opstille nogen grov, sjofel, vulgære, løgnagtige, hadefulde, -truende, sex-relaterede eller andet materiale, der kan krænke nogen -gældende lovgivning. Dette kan føre til, at du øjeblikkeligt og permanent -udelukket (og din udbyder får besked herom). IP-adresse på alle -hændelser er lagret for at håndhæve disse betingelser. Oprettelse af flere -konti for en enkelt bruger er ikke tilladt. Du accepterer hermed at webmaster, -administratorerne af denne site har ret til at fjerne, redigere, -flytte eller lukke ethvert emne til enhver tid, hvis de finder det bedst. Som bruger accepterer du -at eventuelle oplysninger, du har angivet ovenfor, opbevares i en database. Disse oplysninger vil ikke blive videregivet til nogen tredjepart uden din -samtykke. Webmasteren, administrator og moderatorer kan ikke holdes -ansvarlig for enhver hacking forsøg, som kan føre til de data, der blev -kompromitteret. - -Dette websted benytter cookies til at gemme informationer på din lokale computer. -Disse cookies ikke indeholder nogen af de oplysninger, du har angivet ovenfor, -de tjener kun det formål at forbedre kvaliteten. Den e-mail-adresse der er brugt benyttes -kun til at bekræfter din registrering, detaljer og password (og til at sende -nye passwords, hvis du skulle glemme dit nuværende). - +define('_INSTALL_L165',"Webstedet er i øjeblikket lukket for vedligeholdelse. venligst igen senere."); +define('_INSTALL_ANON',"Anonym"); +define('_INSTALL_DISCLMR',"Administratorerne af denne side vil forsøge at fjerne +eller tilrette alt generelt relevant materiale så hurtigt som muligt. Det er +umuligt at gennemse alle besked. Derfor bør du være opmærksom på at alle indlæg +der er lavet til denne side tilkendegiver meninger og holdninger af de forskellige forfattere og ikke +administratorer, moderatorer eller webmastere (bortset fra indlæg skrevet af disse personer) +og dermed ikke vil blive holdt ansvarlig. + +Du accepterer ikke at opstille nogen grov, sjofel, vulgære, løgnagtige, hadefulde, +truende, sex-relaterede eller andet materiale, der kan krænke nogen +gældende lovgivning. Dette kan føre til, at du øjeblikkeligt og permanent +udelukket (og din udbyder får besked herom). IP-adresse på alle +hændelser er lagret for at håndhæve disse betingelser. Oprettelse af flere +konti for en enkelt bruger er ikke tilladt. Du accepterer hermed at webmaster, +administratorerne af denne site har ret til at fjerne, redigere, +flytte eller lukke ethvert emne til enhver tid, hvis de finder det bedst. Som bruger accepterer du +at eventuelle oplysninger, du har angivet ovenfor, opbevares i en database. Disse oplysninger vil ikke blive videregivet til nogen tredjepart uden din +samtykke. Webmasteren, administrator og moderatorer kan ikke holdes +ansvarlig for enhver hacking forsøg, som kan føre til de data, der blev +kompromitteret. + +Dette websted benytter cookies til at gemme informationer på din lokale computer. +Disse cookies ikke indeholder nogen af de oplysninger, du har angivet ovenfor, +de tjener kun det formål at forbedre kvaliteten. Den e-mail-adresse der er brugt benyttes +kun til at bekræfter din registrering, detaljer og password (og til at sende +nye passwords, hvis du skulle glemme dit nuværende). + Ved at klikke Register nedenfor accepterer du at være bundet af disse betingelser. "); -?> Modified: XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/mysql.lang.data.sql =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/mysql.lang.data.sql 2015-03-31 01:30:00 UTC (rev 13030) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/mysql.lang.data.sql 2015-03-31 01:46:35 UTC (rev 13031) @@ -1,36 +1,33 @@ -/** - * Dansk oversættelse Anders Kristiansen <An...@xo...> - */ # # Dumping data for table `ranks` # -INSERT INTO ranks VALUES (1, 'Kom bare forbi', 0, 20, 0, 'rank3e632f95e81ca.gif'); -INSERT INTO ranks VALUES (2, 'Ikke genert for at skrive', 21, 40, 0, 'rank3dbf8e94a6f72.gif'); -INSERT INTO ranks VALUES (3, 'En fast bruger', 41, 70, 0, 'rank3dbf8e9e7d88d.gif'); -INSERT INTO ranks VALUES (4, 'Kan ikke holde mig væk', 71, 150, 0, 'rank3dbf8ea81e642.gif'); -INSERT INTO ranks VALUES (5, 'Hjem kære hjem', 151, 10000, 0, 'rank3dbf8eb1a72e7.gif'); -INSERT INTO ranks VALUES (6, 'Redaktør ', 0, 0, 1, 'rank3dbf8edf15093.gif'); -INSERT INTO ranks VALUES (7, 'Webmaster', 0, 0, 1, 'rank3dbf8ee8681cd.gif'); +INSERT INTO ranks VALUES (1, 'Kom lige forbi', 0, 20, 0, 'ranks/rank3e632f95e81ca.gif'); +INSERT INTO ranks VALUES (2, 'Ikke for genert til at skrive', 21, 40, 0, 'ranks/rank3dbf8e94a6f72.gif'); +INSERT INTO ranks VALUES (3, 'Stamgæst', 41, 70, 0, 'ranks/rank3dbf8e9e7d88d.gif'); +INSERT INTO ranks VALUES (4, 'Kan ikke holde mig væk', 71, 150, 0, 'ranks/rank3dbf8ea81e642.gif'); +INSERT INTO ranks VALUES (5, 'Hjem kære hjem', 151, 10000, 0, 'ranks/rank3dbf8eb1a72e7.gif'); +INSERT INTO ranks VALUES (6, 'Redaktør ', 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', 'smil3dbd4d4e4c4f2.gif', 'Meget glad', 1); -INSERT INTO smiles VALUES (2, ':-)', 'smil3dbd4d6422f04.gif', 'Smiler', 1); -INSERT INTO smiles VALUES (3, ':-(', 'smil3dbd4d75edb5e.gif', 'Trist ', 1); -INSERT INTO smiles VALUES (4, ':-o', 'smil3dbd4d8676346.gif', 'Overrasket', 1); -INSERT INTO smiles VALUES (5, ':-?', 'smil3dbd4d99c6eaa.gif', 'Forvirret', 1); -INSERT INTO smiles VALUES (6, '8-)', 'smil3dbd4daabd491.gif', 'Kølig ', 1); -INSERT INTO smiles VALUES (7, ':lol:', 'smil3dbd4dbc14f3f.gif', 'Griner', 1); -INSERT INTO smiles VALUES (8, ':-x', 'smil3dbd4dcd7b9f4.gif', 'Vred', 1); -INSERT INTO smiles VALUES (9, ':-P', 'smil3dbd4ddd6835f.gif', 'Driller', 1); -INSERT INTO smiles VALUES (10, ':oops:', 'smil3dbd4df1944ee.gif', 'Flov', 0); -INSERT INTO smiles VALUES (11, ':cry:', 'smil3dbd4e02c5440.gif', 'Græder (meget trist)', 0); -INSERT INTO smiles VALUES (12, ':evil:', 'smil3dbd4e1748cc9.gif', 'Ond eller meget vred', 0); -INSERT INTO smiles VALUES (13, ':roll:', 'smil3dbd4e29bbcc7.gif', 'Ruller med øjnene', 0); -INSERT INTO smiles VALUES (14, ';-)', 'smil3dbd4e398ff7b.gif', 'Blinker', 0); -INSERT INTO smiles VALUES (15, ':pint:', 'smil3dbd4e4c2e742.gif', 'En øl mere', 0); -INSERT INTO smiles VALUES (16, ':hammer:', 'smil3dbd4e5e7563a.gif', 'Bliver nødt til at arbejde', 0); -INSERT INTO smiles VALUES (17, ':idea:', 'smil3dbd4e7853679.gif', 'Jeg har en idé', 0); +INSERT INTO smiles VALUES (1, ':-D', 'smilies/smil3dbd4d4e4c4f2.gif', 'Meget glad', 1); +INSERT INTO smiles VALUES (2, ':-)', 'smilies/smil3dbd4d6422f04.gif', 'Smil', 1); +INSERT INTO smiles VALUES (3, ':-(', 'smilies/smil3dbd4d75edb5e.gif', 'Trist', 1); +INSERT INTO smiles VALUES (4, ':-o', ''smilies/smil3dbd4d8676346.gif', 'Overrasket', 1); +INSERT INTO smiles VALUES (5, ':-?', 'smilies/smil3dbd4d99c6eaa.gif', 'Forvirret', 1); +INSERT INTO smiles VALUES (6, '8-)', 'smilies/smil3dbd4daabd491.gif', 'Cool', 1); +INSERT INTO smiles VALUES (7, ':lol:', 'smilies/smil3dbd4dbc14f3f.gif', 'Griner', 1); +INSERT INTO smiles VALUES (8, ':-x', 'smilies/smil3dbd4dcd7b9f4.gif', 'Vred', 1); +INSERT INTO smiles VALUES (9, ':-P', 'smilies/smil3dbd4ddd6835f.gif', 'Driller', 1); +INSERT INTO smiles VALUES (10, ':oops:', 'smilies/smil3dbd4df1944ee.gif', 'Flov', 0); +INSERT INTO smiles VALUES (11, ':cry:', 'smilies/smil3dbd4e02c5440.gif', 'græderg (meget ked)', 0); +INSERT INTO smiles VALUES (12, ':evil:', 'smilies/smil3dbd4e1748cc9.gif', 'Ond / meget vred', 0); +INSERT INTO smiles VALUES (13, ':roll:', 'smilies/smil3dbd4e29bbcc7.gif', 'Ruller med øjnene', 0); +INSERT INTO smiles VALUES (14, ';-)', 'smilies/smil3dbd4e398ff7b.gif', 'Blinker', 0); +INSERT INTO smiles VALUES (15, ':pint:', 'smilies/smil3dbd4e4c2e742.gif... [truncated message content] |
From: <be...@us...> - 2015-03-31 01:30:08
|
Revision: 13030 http://sourceforge.net/p/xoops/svn/13030 Author: beckmi Date: 2015-03-31 01:30:00 +0000 (Tue, 31 Mar 2015) Log Message: ----------- branch for 2.5.7.1 Added Paths: ----------- XoopsLanguages/danish/core/2.5.7.1/ |
From: <be...@us...> - 2015-03-31 01:29:38
|
Revision: 13029 http://sourceforge.net/p/xoops/svn/13029 Author: beckmi Date: 2015-03-31 01:29:36 +0000 (Tue, 31 Mar 2015) Log Message: ----------- revert changes Removed Paths: ------------- XoopsLanguages/danish/core/2.5.7.1/ |
From: <be...@us...> - 2015-03-31 01:18:52
|
Revision: 13028 http://sourceforge.net/p/xoops/svn/13028 Author: beckmi Date: 2015-03-31 01:18:35 +0000 (Tue, 31 Mar 2015) Log Message: ----------- files for 2.5.7.1 (culex) Added Paths: ----------- XoopsLanguages/danish/core/2.5.7.1/ XoopsLanguages/danish/core/2.5.7.1/htdocs/ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/0.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/1.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/1day.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/ASC.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/DESC.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/add.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/add_off.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/attach.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/back.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/blank.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/close12.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/delete.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/down.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/down.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/down_off.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/download.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/edit.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/editcopy.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/editcut.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/editpaste.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/empty.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/error.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/film.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/folder.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/folder_add.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/folder_delete.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/forum.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/forward.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/green.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/green_off.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/inserttable.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/link_break.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/mail_delete.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/mail_forward.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/mail_generic.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/mail_new.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/mail_notread.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/mail_read.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/mail_replay.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/off.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/on.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/open12.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/pdf.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/pixel.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/printer.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/red.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/red_off.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/rss.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/search.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/topic.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/up.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/up.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/up_off.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/view.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/warning.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/about.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/add.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/addlink.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/administration.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/album.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/alert.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/attach.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/bg_button.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/blank.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/block.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/brokenlink.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/button_ok.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/calculator.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/cart_add.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/cash_stack.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/category.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/categoryadd.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/compfile.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/content.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/dashboard.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/database_go.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/delete.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/delivery.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/digest.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/discount.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/download.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/event.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/exec.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/export.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/extention.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/face-smile.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/faq.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/fileshare.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/firewall.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/folder1_html.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/folder_txt.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/forums.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/globe.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/groupmod.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/help.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/highlight.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/home.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/identity.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/index.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/insert_table_row.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/languages.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/link_break.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/list.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/mail_country.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/mail_foward.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/manage.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/marquee.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/metagen.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/modifiedlink.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/newsletter.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/penguin.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/permissions.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/photo.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/playlist.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/poll.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/prune.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/search.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/security.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/slideshow.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/stats.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/submittedlink.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/synchronized.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/translations.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/type.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/update.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/upload.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/user-icon.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/users.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/view_detailed.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/view_text.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/watermark.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/wizard.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/32/xoopsmicrobutton.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/bookmarks/ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/bookmarks/balatarin.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/bookmarks/blinklist.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/bookmarks/delicious.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/bookmarks/designfloat.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/bookmarks/diggman.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/bookmarks/facebook_share_icon.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/bookmarks/fark.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/bookmarks/furl.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/bookmarks/google-icon.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/bookmarks/google-reader-icon.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/bookmarks/google_buzz_icon.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/bookmarks/google_plus.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/bookmarks/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/bookmarks/mixx.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/bookmarks/myspace.jpg XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/bookmarks/newsvine.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/bookmarks/reddit.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/bookmarks/scriptandstyle.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/bookmarks/sel.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/bookmarks/simpy.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/bookmarks/spurl.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/bookmarks/stumbleupon.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/bookmarks/technorati.png XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/bookmarks/twitter_share_icon.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/bookmarks/xnewsvine.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/bookmarks/yahoomyweb.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/moduleadmin/ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/moduleadmin/language/ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/moduleadmin/language/danish/ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/moduleadmin/language/danish/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/moduleadmin/language/danish/main.php XoopsLanguages/danish/core/2.5.7.1/htdocs/class/ XoopsLanguages/danish/core/2.5.7.1/htdocs/class/mail/ XoopsLanguages/danish/core/2.5.7.1/htdocs/class/mail/phpmailer/ XoopsLanguages/danish/core/2.5.7.1/htdocs/class/mail/phpmailer/language/ XoopsLanguages/danish/core/2.5.7.1/htdocs/class/mail/phpmailer/language/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/class/mail/phpmailer/language/phpmailer.lang-dk.php XoopsLanguages/danish/core/2.5.7.1/htdocs/class/xoopseditor/ XoopsLanguages/danish/core/2.5.7.1/htdocs/class/xoopseditor/dhtmltextarea/ XoopsLanguages/danish/core/2.5.7.1/htdocs/class/xoopseditor/dhtmltextarea/language/ XoopsLanguages/danish/core/2.5.7.1/htdocs/class/xoopseditor/dhtmltextarea/language/danish.php XoopsLanguages/danish/core/2.5.7.1/htdocs/class/xoopseditor/dhtmltextarea/language/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/class/xoopseditor/textarea/ XoopsLanguages/danish/core/2.5.7.1/htdocs/class/xoopseditor/textarea/language/ XoopsLanguages/danish/core/2.5.7.1/htdocs/class/xoopseditor/textarea/language/danish.php XoopsLanguages/danish/core/2.5.7.1/htdocs/class/xoopseditor/textarea/language/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/class/xoopseditor/tinymce/ XoopsLanguages/danish/core/2.5.7.1/htdocs/class/xoopseditor/tinymce/language/ XoopsLanguages/danish/core/2.5.7.1/htdocs/class/xoopseditor/tinymce/language/danish.php XoopsLanguages/danish/core/2.5.7.1/htdocs/class/xoopseditor/tinymce/language/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/install/ XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/ XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/ XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/finish.php XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/install.php XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/install2.php XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/mysql.lang.data.sql XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/style.css XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/support.php XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/support.png XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/danish/welcome.php XoopsLanguages/danish/core/2.5.7.1/htdocs/install/language/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/language/ XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/ XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/admin.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/auth.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/backend.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/banners.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/calendar.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/captcha.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/comment.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/countries.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/errors.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/findusers.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/formdhtmltextarea.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/global.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/locale.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/logger.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/mail.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/mail_template/ XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/mail_template/activated.tpl XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/mail_template/adminactivate.tpl XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/mail_template/comment_notify.tpl XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/mail_template/commentsubmit_notify.tpl XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/mail_template/default_notify.tpl XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/mail_template/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/mail_template/lostpass1.tpl XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/mail_template/lostpass2.tpl XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/mail_template/register.tpl XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/mail_template/tellfriend.tpl XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/mail_template/welcome.tpl XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/misc.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/notification.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/pmsg.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/search.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/style.css XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/timezone.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/uploader.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/user.php XoopsLanguages/danish/core/2.5.7.1/htdocs/language/danish/xoopsmailerlocal.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/pm/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/pm/language/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/pm/language/danish/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/pm/language/danish/admin.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/pm/language/danish/help/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/pm/language/danish/help/help.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/pm/language/danish/help/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/pm/language/danish/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/pm/language/danish/main.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/pm/language/danish/modinfo.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/profile/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/profile/language/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/profile/language/danish/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/profile/language/danish/admin.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/profile/language/danish/help/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/profile/language/danish/help/help.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/profile/language/danish/help/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/profile/language/danish/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/profile/language/danish/mail_template/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/profile/language/danish/mail_template/emailchanged.tpl XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/profile/language/danish/mail_template/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/profile/language/danish/main.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/profile/language/danish/modinfo.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/profile/language/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/protector/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/protector/language/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/protector/language/help/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/protector/language/help/help.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/avatars.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/banners.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/blocksadmin.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/comments.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/groups.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/images.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/mailusers.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/maintenance.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/modulesadmin.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/preferences.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/smilies.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/tplsets.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/userrank.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin/users.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/admin.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/blocks.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/cpanel.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/avatars.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/banners.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/blocksadmin.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/comments.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/groups.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/help_center.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/images.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/mailusers.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/maintenance.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/module_index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/modulesadmin.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/preferences.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/smilies.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/tplsets.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/userrank.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/help/users.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/images/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/images/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/images/lightbox-blank.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/images/lightbox-btn-close.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/images/lightbox-btn-next.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/images/lightbox-btn-prev.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/images/lightbox-ico-loading.gif XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/language/danish/modinfo.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/themes/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/themes/default/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/themes/default/language/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/themes/default/language/danish/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/themes/default/language/danish/admin.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/themes/default/language/danish/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/themes/default/language/danish/localsupport.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/themes/default/language/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/themes/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/themes/zetadigme/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/themes/zetadigme/language/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/themes/zetadigme/language/danish/ XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/themes/zetadigme/language/danish/admin.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/themes/zetadigme/language/danish/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/themes/zetadigme/language/danish/localsupport.php XoopsLanguages/danish/core/2.5.7.1/htdocs/modules/system/themes/zetadigme/language/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/themes/ XoopsLanguages/danish/core/2.5.7.1/htdocs/themes/suico/ XoopsLanguages/danish/core/2.5.7.1/htdocs/themes/suico/language/ XoopsLanguages/danish/core/2.5.7.1/htdocs/themes/suico/language/danish/ XoopsLanguages/danish/core/2.5.7.1/htdocs/themes/suico/language/danish/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/themes/suico/language/danish/main.php XoopsLanguages/danish/core/2.5.7.1/htdocs/themes/suico/language/danish/script.js XoopsLanguages/danish/core/2.5.7.1/htdocs/themes/suico/language/danish/style.css XoopsLanguages/danish/core/2.5.7.1/htdocs/themes/suico/language/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/themes/xbootstrap/ XoopsLanguages/danish/core/2.5.7.1/htdocs/themes/xbootstrap/language/ XoopsLanguages/danish/core/2.5.7.1/htdocs/themes/xbootstrap/language/danish/ XoopsLanguages/danish/core/2.5.7.1/htdocs/themes/xbootstrap/language/danish/main.php XoopsLanguages/danish/core/2.5.7.1/htdocs/themes/zetagenesis/ XoopsLanguages/danish/core/2.5.7.1/htdocs/themes/zetagenesis/language/ XoopsLanguages/danish/core/2.5.7.1/htdocs/themes/zetagenesis/language/danish/ XoopsLanguages/danish/core/2.5.7.1/htdocs/themes/zetagenesis/language/danish/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/themes/zetagenesis/language/danish/main.php XoopsLanguages/danish/core/2.5.7.1/htdocs/themes/zetagenesis/language/danish/script.js XoopsLanguages/danish/core/2.5.7.1/htdocs/themes/zetagenesis/language/danish/style.css XoopsLanguages/danish/core/2.5.7.1/htdocs/xoops_lib/ XoopsLanguages/danish/core/2.5.7.1/htdocs/xoops_lib/modules/ XoopsLanguages/danish/core/2.5.7.1/htdocs/xoops_lib/modules/index.html XoopsLanguages/danish/core/2.5.7.1/htdocs/xoops_lib/modules/protector/ XoopsLanguages/danish/core/2.5.7.1/htdocs/xoops_lib/modules/protector/language/ XoopsLanguages/danish/core/2.5.7.1/htdocs/xoops_lib/modules/protector/language/danish/ XoopsLanguages/danish/core/2.5.7.1/htdocs/xoops_lib/modules/protector/language/danish/admin.php XoopsLanguages/danish/core/2.5.7.1/htdocs/xoops_lib/modules/protector/language/danish/main.php XoopsLanguages/danish/core/2.5.7.1/htdocs/xoops_lib/modules/protector/language/danish/modinfo.php Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/0.png =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/0.png =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/0.png 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/0.png 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/0.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/1.png =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/1.png =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/1.png 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/1.png 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/1.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/1day.png =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/1day.png =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/1day.png 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/1day.png 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/1day.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/ASC.png =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/ASC.png =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/ASC.png 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/ASC.png 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/ASC.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/DESC.png =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/DESC.png =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/DESC.png 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/DESC.png 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/DESC.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/add.png =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/add.png =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/add.png 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/add.png 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/add.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/add_off.png =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/add_off.png =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/add_off.png 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/add_off.png 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/add_off.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/attach.png =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/attach.png =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/attach.png 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/attach.png 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/attach.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/back.png =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/back.png =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/back.png 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/back.png 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/back.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/blank.gif =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/blank.gif =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/blank.gif 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/blank.gif 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/blank.gif ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/close12.gif =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/close12.gif =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/close12.gif 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/close12.gif 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/close12.gif ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/delete.png =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/delete.png =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/delete.png 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/delete.png 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/delete.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/down.gif =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/down.gif =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/down.gif 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/down.gif 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/down.gif ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/down.png =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/down.png =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/down.png 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/down.png 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/down.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/down_off.png =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/down_off.png =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/down_off.png 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/down_off.png 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/down_off.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/download.png =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/download.png =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/download.png 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/download.png 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/download.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/edit.png =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/edit.png =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/edit.png 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/edit.png 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/edit.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/editcopy.png =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/editcopy.png =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/editcopy.png 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/editcopy.png 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/editcopy.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/editcut.png =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/editcut.png =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/editcut.png 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/editcut.png 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/editcut.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/editpaste.png =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/editpaste.png =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/editpaste.png 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/editpaste.png 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/editpaste.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/empty.png =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/empty.png =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/empty.png 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/empty.png 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/empty.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/error.png =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/error.png =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/error.png 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/error.png 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/error.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/film.png =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/film.png =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/film.png 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/film.png 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/film.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/folder.png =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/folder.png =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/folder.png 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/folder.png 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/folder.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/folder_add.png =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/folder_add.png =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/folder_add.png 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/folder_add.png 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/folder_add.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/folder_delete.png =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/folder_delete.png =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/folder_delete.png 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/folder_delete.png 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/folder_delete.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/forum.png =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/forum.png =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/forum.png 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/forum.png 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/forum.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/forward.png =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/forward.png =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/forward.png 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/forward.png 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/forward.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/green.gif =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/green.gif =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/green.gif 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/green.gif 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/green.gif ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/green_off.gif =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/green_off.gif =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/green_off.gif 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/green_off.gif 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/green_off.gif ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/index.html =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/index.html (rev 0) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/index.html 2015-03-31 01:18:35 UTC (rev 13028) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/inserttable.png =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/inserttable.png =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/inserttable.png 2015-03-27 12:21:24 UTC (rev 13027) +++ XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/inserttable.png 2015-03-31 01:18:35 UTC (rev 13028) Property changes on: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/inserttable.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/link_break.png =================================================================== (Binary files differ) Index: XoopsLanguages/danish/core/2.5.7.1/htdocs/Frameworks/moduleclasses/icons/16/link_break.png =================================================================== --- XoopsLanguages/danish/core/2.5.7.1/htdo... [truncated message content] |