├── _TODO.txt ├── assets ├── js │ ├── debug.log │ ├── index.php │ └── sortable.js ├── fonts │ ├── xcvLogo.txt │ ├── index.php │ ├── red.png │ ├── VeraBd.ttf │ ├── green.png │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── css │ ├── index.php │ ├── admin │ │ └── index.php │ └── style.css ├── index.php └── images │ ├── index.php │ ├── icons │ ├── 16 │ │ ├── index.php │ │ ├── 0.png │ │ ├── 1.png │ │ ├── ok.png │ │ ├── drag.png │ │ ├── rss.gif │ │ ├── arrow.gif │ │ ├── blocks.png │ │ ├── error.png │ │ ├── fields.png │ │ ├── spinner.gif │ │ ├── submenu.png │ │ ├── tables.png │ │ ├── toggle.png │ │ ├── warning.png │ │ ├── nb_fields.png │ │ ├── editfields.png │ │ └── left_right.png │ ├── 24 │ │ ├── index.php │ │ ├── next.png │ │ └── previous.png │ ├── 32 │ │ ├── index.php │ │ ├── builder.png │ │ ├── fields.png │ │ ├── files.png │ │ ├── loading.gif │ │ ├── addmodule.png │ │ ├── addtable.png │ │ ├── dashboard.png │ │ ├── devtools.png │ │ ├── edittable.png │ │ ├── mymodule.png │ │ ├── page_copy.png │ │ └── settings.png │ ├── index.php │ └── blank.gif │ ├── logos │ ├── index.php │ ├── empty.png │ ├── tdmxoops_logo.gif │ ├── tdmxoops_logo.png │ ├── txmodxoops_logo.gif │ ├── txmodxoops_logo.png │ ├── xoopsdevelopmentteam_logo.gif │ └── xoopsdevelopmentteam_logo.png │ ├── modules │ ├── index.php │ └── empty.png │ ├── blank.gif │ ├── blank.png │ └── logoModule.png ├── docs ├── manual.txt ├── index.php ├── install.txt ├── lang_diff.txt ├── lang.diff ├── credits.txt ├── readme.txt └── license.txt ├── config ├── admin.yml ├── index.php ├── paths.php └── icons.php ├── testdata ├── english │ ├── group_permission.yml │ ├── modulebuilder_languages.yml │ ├── index.php │ ├── modulebuilder_fieldnull.yml │ ├── modulebuilder_morefiles.yml │ ├── modulebuilder_fieldkey.yml │ ├── modulebuilder_fieldattributes.yml │ ├── modulebuilder_fieldtype.yml │ ├── modulebuilder_modules.yml │ └── modulebuilder_settings.yml ├── .gitignore └── images │ ├── index.php │ ├── modules │ ├── index.php │ ├── blank.gif │ ├── blank.png │ ├── empty.png │ ├── logoModule.png │ ├── wedega_logo.png │ ├── MyModule_logo.png │ ├── tdmxoops_logo.png │ └── xoopsdevelopmentteam_logo.png │ ├── tables │ ├── index.php │ ├── blank.gif │ ├── blank.png │ └── empty.png │ ├── repository │ ├── index.php │ ├── blank.gif │ └── empty.png │ ├── blank.gif │ ├── blank.png │ └── empty.png ├── preloads ├── index.html ├── core.php └── autoloader.php ├── .coveralls.yml ├── .gitignore ├── index.php ├── class ├── index.php ├── Form │ ├── index.php │ ├── FormRaw.php │ ├── SimpleForm.php │ ├── ThemeForm.php │ ├── FormTab.php │ └── FormRadio.php ├── Html │ ├── index.php │ └── FormLabel.php ├── Common │ ├── index.php │ ├── ModuleStats.php │ ├── Configurator.php │ └── Breadcrumb.php ├── Files │ ├── Sql │ │ └── index.php │ ├── index.php │ ├── Admin │ │ └── index.php │ ├── Assets │ │ ├── index.php │ │ ├── Css │ │ │ ├── index.php │ │ │ ├── Admin │ │ │ │ ├── index.php │ │ │ │ └── CssAdminStyles.php │ │ │ ├── CssSelectors.php │ │ │ └── CssStyles.php │ │ └── Js │ │ │ ├── index.php │ │ │ └── JsJquery.php │ ├── Blocks │ │ └── index.php │ ├── Classes │ │ └── index.php │ ├── Config │ │ └── index.php │ ├── Docs │ │ ├── index.php │ │ ├── license.txt │ │ └── DocsChangelog.php │ ├── Includes │ │ ├── index.php │ │ └── IncludeJquery.php │ ├── Language │ │ ├── index.php │ │ └── LanguageDefines.php │ ├── User │ │ ├── index.php │ │ ├── UserNotificationUpdate.php │ │ ├── UserListTag.php │ │ └── UserViewTag.php │ ├── Templates │ │ ├── index.php │ │ ├── Admin │ │ │ ├── index.php │ │ │ └── TemplatesAdminHeader.php │ │ ├── Blocks │ │ │ ├── index.php │ │ │ └── Defstyle │ │ │ │ └── index.php │ │ └── User │ │ │ ├── index.php │ │ │ └── Defstyle │ │ │ └── MoreFiles.php │ ├── CreateCodeIndents.php │ ├── CreateClone.php │ └── admin │ │ └── AdminFooter.php ├── FieldkeyHandler.php ├── FieldnullHandler.php ├── FieldtypeHandler.php ├── FieldattributesHandler.php ├── Fieldkey.php ├── Fieldnull.php ├── Fieldtype.php ├── Fieldattributes.php ├── Helper.php ├── Constants.php ├── Session.php └── autoload.php ├── sql └── index.php ├── include ├── index.php └── common.php ├── language ├── index.php ├── english │ ├── index.php │ ├── help │ │ └── index.php │ ├── mail_template │ │ └── index.php │ ├── directorychecker.php │ ├── filechecker.php │ └── feedback.php ├── lang.diff ├── update language 1.0 to 1.1.txt ├── update language 1.1 to 1.15.txt ├── update language 1.1 to 1.37.txt └── update language 1.15 to 1.37.txt ├── templates ├── index.php └── admin │ ├── index.php │ ├── modulebuilder_about.tpl │ ├── modulebuilder_index.tpl │ ├── modulebuilder_header.tpl │ ├── modulebuilder_footer.tpl │ ├── modulebuilder_morefiles.tpl │ └── modulebuilder_building.tpl ├── files ├── commonfiles │ ├── .gitignore │ ├── assets │ │ └── icons │ │ │ ├── 16 │ │ │ ├── status0.png │ │ │ ├── status1.png │ │ │ ├── status2.png │ │ │ ├── status3.png │ │ │ └── status4.png │ │ │ └── 32 │ │ │ └── broken.png │ ├── testdata │ │ └── images │ │ │ ├── blank.gif │ │ │ └── blank.png │ ├── .gitattributes │ ├── templates │ │ └── admin │ │ │ └── modulebuilder_admin_clone.tpl │ ├── .scrutinizer.yml │ ├── preloads │ │ ├── core.php │ │ └── autoloader.php │ ├── include │ │ ├── xoops_version.inc.php │ │ ├── uninstall.php │ │ └── install.php │ ├── class │ │ ├── Common │ │ │ ├── ModuleStats.php │ │ │ ├── Configurator.php │ │ │ └── Breadcrumb.php │ │ └── Helper.php │ └── language │ │ └── english │ │ └── feedback.php └── ratingfiles │ ├── assets │ ├── icons │ │ ├── 16 │ │ │ ├── like.png │ │ │ ├── rate.png │ │ │ ├── votes.png │ │ │ └── dislike.png │ │ └── 32 │ │ │ ├── like.png │ │ │ └── dislike.png │ └── images │ │ └── starrating.png │ └── class │ └── Ratings.php ├── History.md ├── .atoum.php ├── .gitattributes ├── .scrutinizer.yml ├── .travis.yml └── admin ├── footer.php ├── about.php ├── logo.php ├── header.php ├── migrate.php └── import_module.php /_TODO.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/js/debug.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/manual.txt: -------------------------------------------------------------------------------- 1 | Under Construction -------------------------------------------------------------------------------- /config/admin.yml: -------------------------------------------------------------------------------- 1 | displaySampleButton: 1 2 | -------------------------------------------------------------------------------- /testdata/english/group_permission.yml: -------------------------------------------------------------------------------- 1 | { } -------------------------------------------------------------------------------- /testdata/english/modulebuilder_languages.yml: -------------------------------------------------------------------------------- 1 | { } -------------------------------------------------------------------------------- /preloads/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.coveralls.yml: -------------------------------------------------------------------------------- 1 | repo_token: x3U0mpkL7A9PgaGSUa3tDl3qU9D6wo67y 2 | -------------------------------------------------------------------------------- /assets/fonts/xcvLogo.txt: -------------------------------------------------------------------------------- 1 | display:table-cell; vertical-align:middle; -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # no backup files, editor temp 2 | *~ 3 | \#* 4 | *.bak 5 | .idea/ 6 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | 2 | <{include file="db:modulebuilder_header.tpl"}> 3 | 4 |
| This is a cell in a table | ' . nl(4) . '
This is some text in a paragraph
' . nl(1) . '' . nl() . ''; 30 | ?> 31 | 32 | 33 | 34 || This is a cell in a table | 41 |
This is some text in a paragraph
45 | 46 | 47 | -------------------------------------------------------------------------------- /class/FieldkeyHandler.php: -------------------------------------------------------------------------------- 1 | 25 | */ 26 | 27 | /** 28 | * Class FieldkeyHandler. 29 | */ 30 | class FieldkeyHandler extends \XoopsPersistableObjectHandler 31 | { 32 | /** 33 | * @param null|\XoopsDatabase|\XoopsMySQLDatabase $db 34 | */ 35 | public function __construct(\XoopsDatabase $db) 36 | { 37 | parent::__construct($db, 'modulebuilder_fieldkey', Fieldkey::class, 'fieldkey_id', 'fieldkey_name'); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /class/FieldnullHandler.php: -------------------------------------------------------------------------------- 1 | 25 | */ 26 | 27 | /** 28 | * Class FieldnullHandler. 29 | */ 30 | class FieldnullHandler extends \XoopsPersistableObjectHandler 31 | { 32 | /** 33 | * @param null|\XoopsDatabase|\XoopsMySQLDatabase $db 34 | */ 35 | public function __construct(\XoopsDatabase $db) 36 | { 37 | parent::__construct($db, 'modulebuilder_fieldnull', Fieldnull::class, 'fieldnull_id', 'fieldnull_name'); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /class/FieldtypeHandler.php: -------------------------------------------------------------------------------- 1 | 25 | */ 26 | 27 | /** 28 | * Class FieldtypeHandler. 29 | */ 30 | class FieldtypeHandler extends \XoopsPersistableObjectHandler 31 | { 32 | /** 33 | * @param null|\XoopsDatabase|\XoopsMySQLDatabase $db 34 | */ 35 | public function __construct(\XoopsDatabase $db) 36 | { 37 | parent::__construct($db, 'modulebuilder_fieldtype', Fieldtype::class, 'fieldtype_id', 'fieldtype_name'); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /config/icons.php: -------------------------------------------------------------------------------- 1 | \mb_strtoupper($moduleDirName) . ' IconConfigurator', 10 | 'icons' => [ 11 | 'edit' => "| <{$smarty.const._AM_MODULEBUILDER_FILE_ID}> | 8 |<{$smarty.const._AM_MODULEBUILDER_FILE_MID_LIST}> | 9 |<{$smarty.const._AM_MODULEBUILDER_FILE_TYPE_LIST}> | 10 |<{$smarty.const._AM_MODULEBUILDER_FILE_INFOLDER_LIST}> | 11 |<{$smarty.const._AM_MODULEBUILDER_FILE_NAME_LIST}> | 12 |<{$smarty.const._AM_MODULEBUILDER_FILE_EXTENSION_LIST}> | 13 |<{$smarty.const._AM_MODULEBUILDER_FILE_UPLOAD_LIST}> | 14 |<{$smarty.const._AM_MODULEBUILDER_FORM_ACTION}> | 15 |
|---|---|---|---|---|---|---|---|
| <{$file.id}> | 19 |<{$file.mid}> | 20 |<{$file.type}> | 21 |<{$file.infolder}> | 22 |<{$file.name}> | 23 |<{$file.extension}> | 24 |<{$file.upload}> | 25 |
26 |
27 | |
33 |
\n";
64 | foreach ($queue as $line) {
65 | echo $line . ";\n";
66 | }
67 | echo "\n";
68 | }
69 | break;
70 | case 'migrate':
71 | $migrator->synchronizeSchema();
72 | $message = 'Database migrated to current schema.';
73 | break;
74 | case 'schema':
75 | xoops_confirm(['op' => 'confirmwrite'], 'migrate.php', 'Warning! This is intended for developers only. Confirm write schema file from current database.', 'Confirm');
76 | break;
77 | case 'confirmwrite':
78 | if ($GLOBALS['xoopsSecurity']->check()) {
79 | $migrator->saveCurrentSchema();
80 | $message = 'Current schema file written';
81 | }
82 | break;
83 | }
84 |
85 | echo "| '; 57 | } 58 | $ret .= '' . "' . $ele_delimeter; 63 | if (!empty($this->columns)) { 64 | $ret .= ' | '; 65 | if (0 == ++$i % $this->columns) { 66 | $ret .= ''; 74 | } 75 | $ret .= ' |
| <{$smarty.const._AM_MODULEBUILDER_BUILDING_FILES}> | 10 |<{$smarty.const._AM_MODULEBUILDER_BUILDING_SUCCESS}> | 11 |<{$smarty.const._AM_MODULEBUILDER_BUILDING_FAILED}> | 12 ||||
|---|---|---|---|---|---|
| <{$smarty.const._AM_MODULEBUILDER_OK_ARCHITECTURE}> | 18 |20 | <{else}> 21 | | <{$smarty.const._AM_MODULEBUILDER_NOTOK_ARCHITECTURE}> | 22 |23 | | ||
| <{$build.list}> | 30 |32 | <{else}> 33 | | <{$build.list}> | 34 |35 | | ||
| <{$building_directory}> | 41 ||||||
<{$smarty.const._AM_MODULEBUILDER_BUILDING_CHECK_FOUND}>
49 | <{foreach item=check from=$checkResults}> 50 |
<{$check.info}>
<{$smarty.const._AM_MODULEBUILDER_BUILDING_CHECK_SOLVE}>
53 |
------------------------------------------------------------------------------------------------------------------
54 |
<{$smarty.const._AM_MODULEBUILDER_BUILDING_CHECK_ERROR_DESC}>
<{$smarty.const._AM_MODULEBUILDER_BUILDING_CHECK_WARNING_DESC}>
55 |
<{$smarty.const._AM_MODULEBUILDER_BUILDING_CHECK_NOERRORS}>