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: <rgr...@us...> - 2014-06-18 17:16:54
|
Revision: 12617
http://sourceforge.net/p/xoops/svn/12617
Author: rgriffith
Date: 2014-06-18 17:16:51 +0000 (Wed, 18 Jun 2014)
Log Message:
-----------
Fix path specified for include
Modified Paths:
--------------
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/admin/about.php
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/admin/about.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/admin/about.php 2014-06-18 09:21:52 UTC (rev 12616)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/admin/about.php 2014-06-18 17:16:51 UTC (rev 12617)
@@ -17,7 +17,7 @@
* @version $Id $
**/
-include_once dirname(__FILE__) . '../../../include/cp_header.php';
+include_once dirname(__FILE__) . '/../../../include/cp_header.php';
include '../../../class/xoopsformloader.php';
include_once dirname(__FILE__) . '/admin_header.php';
xoops_cp_header();
|
|
From: <txm...@us...> - 2014-06-18 09:22:00
|
Revision: 12616
http://sourceforge.net/p/xoops/svn/12616
Author: txmodxoops
Date: 2014-06-18 09:21:52 +0000 (Wed, 18 Jun 2014)
Log Message:
-----------
- Fixed bugs
- Updated
- Deleted files and Cleared code unused or duplicated
- Work in progress
Modified Paths:
--------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/abstract.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/user/pages.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/common.php
Added Paths:
-----------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/blocks/blocks.php
Removed Paths:
-------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks/templates.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/footer.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/header.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/index.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/pages.php
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php 2014-06-17 15:00:33 UTC (rev 12615)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php 2014-06-18 09:21:52 UTC (rev 12616)
@@ -22,7 +22,6 @@
// Recovered value of arguments op in the URL $
$op = XoopsRequest::getString('op', 'list');
// Get fields Variables
-$table_name = TDMCreate_CleanVars($_REQUEST, 'table_name', '', 'string');
$field_mid = TDMCreate_CleanVars($_REQUEST, 'field_mid');
$field_tid = TDMCreate_CleanVars($_REQUEST, 'field_tid');
$field_numb = TDMCreate_CleanVars($_REQUEST, 'field_numb');
@@ -131,11 +130,6 @@
} else {
$GLOBALS['xoopsTpl']->assign('error', _AM_TDMCREATE_THEREARENT_FIELDS);
}
- var_dump($table_name);
- var_dump($field_mid);
- var_dump($field_tid);
- var_dump($field_numb);
- var_dump($field_name);
break;
case 'new':
@@ -152,7 +146,6 @@
$form = $fieldsObj->getForm($field_mid, $field_tid, $field_numb, $field_name);
$GLOBALS['xoopsTpl']->assign('form', $form->render());
- var_dump($table_name);
var_dump($field_mid);
var_dump($field_tid);
var_dump($field_numb);
@@ -166,7 +159,7 @@
}
$field_id = TDMCreate_CleanVars($_REQUEST, 'field_id');
// Fields Handler
- $fields = $tdmcreate->getHandler('fields');
+ $fields = $tdmcreate->getHandler('fields');
// Set Variables
foreach($_POST['field_id'] as $key => $value)
{
@@ -177,7 +170,7 @@
case 'edit':
$fieldsObj =& $fields->get($value);
break;
- }
+ }
if (isset($field_mid) && isset($field_tid) && !empty($_POST['field_name'][$key])) {
// Set Data
$fieldsObj->setVar( 'field_mid', $field_mid );
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php 2014-06-17 15:00:33 UTC (rev 12615)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php 2014-06-18 09:21:52 UTC (rev 12616)
@@ -126,10 +126,12 @@
$form->addElement(new TDMCreateFormLabel('<td>'._AM_TDMCREATE_FIELD_PARAMETERS.'</th>'));
$form->addElement(new TDMCreateFormLabel('</tr></thead>'));
$form->addElement(new TDMCreateFormLabel('<tbody>'));
- //
+ //
+ $class = 'even';
if($isNew) {
for($i = 1; $i <= $f_numb; $i++) {
- $this->getFormElements($form, $isNew, 'new', $i, $f_name, $field_mid, $field_tid, $this);
+ $class = ($class == 'even') ? 'odd' : 'even';
+ $this->getFormElements($form, $isNew, 'new', $i, $f_name, $field_mid, $field_tid, $this, $class);
}
} else {
// Get the list of fields
@@ -138,8 +140,9 @@
$fields = $this->tdmcreate->getHandler('fields')->getObjects($criteria);
unset($criteria);
$i = 1;
- foreach($fields as $field) {
- $this->getFormElements($form, $isNew, 'edit', $i, null, $field_mid, $field_tid, $field);
+ foreach($fields as $field) {
+ $class = ($class == 'even') ? 'odd' : 'even';
+ $this->getFormElements($form, $isNew, 'edit', $i, null, $field_mid, $field_tid, $field, $class);
$i++;
}
unset($i);
@@ -173,8 +176,7 @@
$form->addElement(new XoopsFormHidden('field_id['.$id.']', $type));
$form->addElement(new XoopsFormHidden('field_mid', $field_mid));
$form->addElement(new XoopsFormHidden('field_tid', $field_tid));
-
- $class = ($class == 'even') ? 'odd' : 'even';
+
$form->addElement(new TDMCreateFormLabel('<tr class="'.$class.'">'));
// Index ID
$form->addElement(new TDMCreateFormLabel('<td class="center">'.$id.'</td>'));
@@ -251,9 +253,13 @@
$check_field_block = new XoopsFormCheckBox('', 'field_block['.$id.']', $field_block);
$check_field_block->addOption(1, _AM_TDMCREATE_FIELD_BLOCK);
$parameters_tray->addElement($check_field_block);
- //$main = 1;
- $field_main = $isNew ? $id : $field->getVar('field_main');
- $check_field_main = new XoopsFormRadio('', 'field_main['.$id.']');
+ $main = $field->getVar('field_main');
+ $field_main = $isNew ? $id : $main;
+ if($main == 1) {
+ $check_field_main = new XoopsFormRadio('', 'field_main['.$id.']', $field_main);
+ } else {
+ $check_field_main = new XoopsFormRadio('', 'field_main['.$id.']');
+ }
$check_field_main->addOption($field_main, _AM_TDMCREATE_FIELD_MAINFIELD );
$parameters_tray->addElement($check_field_main);
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/abstract.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/abstract.php 2014-06-17 15:00:33 UTC (rev 12615)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/abstract.php 2014-06-18 09:21:52 UTC (rev 12616)
@@ -59,7 +59,9 @@
* @param mixed $module
*/
public function setModule($module) {
- $this->module = $module;
+ if (is_object($module) && ($module instanceof TDMCreateModules)) {
+ $this->module = $module;
+ }
}
/*
@@ -75,9 +77,9 @@
* @param mixed $table
*/
public function setTable($table) {
- //if (is_object($table) && is_a($table, 'TDMCreateTables')) {
+ if (is_object($table) && ($table instanceof TDMCreateTables)) {
$this->table = $table;
- //}
+ }
}
/*
@@ -93,7 +95,7 @@
* @param mixed $tables
*/
public function setTables($tables) {
- //if (is_object($tables) && is_a($tables, 'TDMCreateTables')) {
+ //if (is_object($tables) && ($tables instanceof TDMCreateTables)) {
$this->tables = $tables;
//}
}
@@ -111,9 +113,9 @@
* @param mixed $fields
*/
public function setFields($fields) {
- //if (is_object($fields) && is_a($fields, 'TDMCreateFields')) {
+ if (is_object($fields) && ($fields instanceof TDMCreateFields)) {
$this->fields = $fields;
- //}
+ }
}
/*
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php 2014-06-17 15:00:33 UTC (rev 12615)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php 2014-06-18 09:21:52 UTC (rev 12616)
@@ -222,11 +222,15 @@
$ret[] = $adminTemplatesPages->renderFile($table_name.'.tpl');
}
// Creation of blocks
- if ( $table_blocks == 1) {
+ if ( $table_blocks == 1) {
// Blocks Files
$blocksFiles = BlocksFiles::getInstance();
$blocksFiles->write($module, $table);
$ret[] = $blocksFiles->renderFile($table_name.'.php');
+ // Templates Blocks Files
+ $templatesFiles = TemplatesBlocks::getInstance();
+ $templatesFiles->write($module, $table);
+ $ret[] = $templatesFiles->renderFile($table_name.'.tpl');
}
// Blocks Templates File
/*$blocksTemplates = BlocksTemplates::getInstance();
Deleted: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks/templates.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks/templates.php 2014-06-17 15:00:33 UTC (rev 12615)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks/templates.php 2014-06-18 09:21:52 UTC (rev 12616)
@@ -1,98 +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: blocks.php 12258 2014-01-02 09:33:29Z timgno $
- */
-defined('XOOPS_ROOT_PATH') or die('Restricted access');
-
-class BlocksTemplates extends HtmlSmartyCodes
-{
- /*
- * @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 $table
- */
- public function write($module, $table) {
- $this->setModule($module);
- $this->setTable($table);
- }
- /*
- * @public function render
- * @param null
- */
- public function renderFile($filename) {
- $module = $this->getModule();
- $table = $this->getTable();
- $module_name = $module->getVar('mod_name');
- $table_name = $table->getVar('table_name');
- $table_fieldname = $table->getVar('table_fieldname');
- $language = $this->getLanguage($module_name, 'MB');
- $content = <<<EOT
-<table class="outer">
- <tr class="head">\n
-EOT;
- $fields = $this->getTableFields($table->getVar('table_id'));
- foreach(array_keys($fields) as $f)
- {
- $lng_field_name = $language.strtoupper($fields[$f]->getVar('field_name'));
- $content .= <<<EOT
- <th><{\$smarty.const.{$lng_field_name}}></th>\n
-EOT;
- }
- $content .= <<<EOT
- </tr>
- <{foreachq item={$table_fieldname} from=\${$table_name}}>
- <tr class = "<{cycle values = 'even,odd'}>">\n
-
-EOT;
- foreach(array_keys($fields) as $f)
- {
- $table_field_name = $table_fieldname.'.'.strip_tags($fields[$f]->getVar('field_name'));
- $content .= <<<EOT
- <td><{\${$table_field_name}}></td>\n
-EOT;
- }
- $content .= <<<EOT
- </tr>
- <{/foreach}>
-</table>
-EOT;
- $this->tdmcfile->create($module_name, 'templates/blocks', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
- return $this->tdmcfile->renderFile();
- }
-}
\ No newline at end of file
Added: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/blocks/blocks.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/blocks/blocks.php (rev 0)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/blocks/blocks.php 2014-06-18 09:21:52 UTC (rev 12616)
@@ -0,0 +1,118 @@
+<?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: blocks.php 12258 2014-01-02 09:33:29Z timgno $
+ */
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
+
+class TemplatesBlocks 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 string $table
+ * @param string $filename
+ */
+ public function write($module, $table) {
+ $this->setModule($module);
+ $this->setTable($table);
+ }
+ /*
+ * @public function renderFile
+ * @param string $filename
+ */
+ public function renderFile($filename) {
+ $module = $this->getModule();
+ $table = $this->getTable();
+ $module_name = $module->getVar('mod_name');
+ $table_name = $table->getVar('table_name');
+ $table_fieldname = $table->getVar('table_fieldname');
+ //$filename = $this->getFileName();
+ $language = $this->getLanguage($module_name, 'MA');
+ $content = <<<EOT
+<table class="{$table_name}" cellpadding="0" cellspacing="0" width="100%">
+ <tr class="head">\n
+EOT;
+ $fields = $this->getTableFields($table->getVar('table_id'));
+ foreach(array_keys($fields) as $f)
+ {
+ $field_name = $fields[$f]->getVar('field_name');
+ $lang_stu_field_name = $language.strtoupper($field_name);
+ $content .= <<<EOT
+ <th class="center"><{\$smarty.const.{$lang_stu_field_name}}></th>\n
+EOT;
+ }
+ $content .= <<<EOT
+ </tr>
+ <{foreach item={$table_fieldname} from=\${$table_name}}>
+ <tr class="<{cycle values=\'odd, even\'}>">\n
+EOT;
+ foreach(array_keys($fields) as $f)
+ {
+ $field_name = $fields[$f]->getVar('field_name');
+ $field_element = $fields[$f]->getVar('field_element');
+ $rp_field_name = $field_name;
+ if(strpos($field_name, '_')) {
+ $str = strpos($field_name, '_');
+ if($str !== false){
+ $rp_field_name = substr($field_name, $str + 1, strlen($field_name));
+ }
+ }
+ if( $field_element == 9 ) {
+ $content .= <<<EOT
+ <td class="center"><img src="<{\$xoops_url}>/uploads/{$module_name}/images/{$table_name}/<{\${$table_fieldname}.{$rp_field_name}}>" alt="{$table_name}"></td>\n
+EOT;
+ } elseif( $field_element == 8 ) {
+ $content .= <<<EOT
+ <td class="center"><span style="background-color: <{\${$table_fieldname}.{$rp_field_name}}>;"> </span></td>\n
+EOT;
+ } else {
+ $content .= <<<EOT
+ <td class="center"><{\${$table_fieldname}.{$rp_field_name}}></td>\n
+EOT;
+ }
+ }
+ $content .= <<<EOT
+ </tr>
+ <{/foreach}>
+</table>
+EOT;
+ $this->tdmcfile->create($module_name, 'templates/blocks', $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.91/TDMCreate/class/files/templates/footer.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/footer.php 2014-06-17 15:00:33 UTC (rev 12615)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/footer.php 2014-06-18 09:21:52 UTC (rev 12616)
@@ -1,109 +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: templates_footer.php 12258 2014-01-02 09:33:29Z timgno $
- */
-defined('XOOPS_ROOT_PATH') or die('Restricted access');
-
-class TemplatesFooter extends HtmlSmartyCodes
-{
- /*
- * @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 string $filename
- */
- public function write($module, $table, $filename) {
- $this->setModule($module);
- $this->setTable($table);
- $this->setFileName($filename);
- }
- /*
- * @public function render
- * @param null
- */
- public function render() {
- $module = $this->getModule();
- $table = $this->getTable();
- $filename = $this->getFileName();
- $module_name = $module->getVar('mod_name');
- $language = $this->getLanguage($module_name, 'MA');
- $content = <<<EOT
-<{if \$bookmarks != 0}>
-<{include file="db:system_bookmarks.html"}>
-<{/if}>
-\n<{if \$fbcomments != 0}>
-<{include file="db:system_fbcomments.html"}>
-<{/if}>
-\n<div class="left"><{\$copyright}></div>
-EOT;
- if( $table->getVar('table_name') != null ) {
- $content .= <<<EOT
-\n<{if \$pagenav != ''}>
- <div class="right"><{\$pagenav}></div>
-<{/if}>
-<br />
-EOT;
- }
- $content .= <<<EOT
-\n<{if \$xoops_isadmin}>
- <div class="center bold"><a href="<{\$admin}>"><{\$smarty.const.{$language}ADMIN}></a></div>
-<{/if}>
-EOT;
- if ( ($module->getVar('mod_comments') != 0) && ($table->getVar('table_comments') != 0) ) {
- $content .= <<<EOT
-\n<div class="pad2 marg2">
- <{if \$comment_mode == "flat"}>
- <{include file="db:system_comments_flat.html"}>
- <{elseif \$comment_mode == "thread"}>
- <{include file="db:system_comments_thread.html"}>
- <{elseif \$comment_mode == "nest"}>
- <{include file="db:system_comments_nest.html"}>
- <{/if}>
-</div>
-EOT;
- }
- if ( ($module->getVar('mod_notifications') != 0) && ($table->getVar('table_notifications') != 0) ) {
- $content .= <<<EOT
-\n<{include file='db:system_notification_select.html'}>
-EOT;
- }
- $this->tdmcfile->create($module_name, 'templates', $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.91/TDMCreate/class/files/templates/header.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/header.php 2014-06-17 15:00:33 UTC (rev 12615)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/header.php 2014-06-18 09:21:52 UTC (rev 12616)
@@ -1,112 +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: templates_header.php 12258 2014-01-02 09:33:29Z timgno $
- */
-defined('XOOPS_ROOT_PATH') or die('Restricted access');
-
-class TemplatesHeader extends HtmlSmartyCodes
-{
- /*
- * @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();
- $module_name = strtolower($module->getVar('mod_name'));
- $language = $this->getLanguage($module_name, 'MA');
- $content = <<<EOT
-<div class="header">
-<span class="left"><b><{\$smarty.const.{$language}TITLE}></b>: </span>
-<span class="left"><{\$smarty.const.{$language}DESC}></span><br />
-</div>
-<div class="head">
- <{if \$adv != ''}>
- <div class="center"><{\$adv}></div>
- <{/if}>
-</div>
-<table class="outer {$module_name}" cellspacing="2" cellpadding="2">
- <thead>
- <tr class="center" colspan="2">
- <th><{\$smarty.const.{$language}TITLE}> - <{\$smarty.const.{$language}DESC}></th>
- </tr>
- </thead>
- <tbody>
- <tr class="center">
- <td class="center bold pad5">
- <ul class="menu center fields">
- <li><a href="<{\${$module_name}_url}>"><{\$smarty.const.{$language}INDEX}></a></li>\n
-EOT;
- foreach (array_keys($tables) as $i)
- {
- $table_name = $tables[$i]->getVar('table_name');
- $stu_table_name = strtoupper($table_name);
- $content .= <<<EOT
- <li> | </li>
- <li><a href="<{\${$module_name}_url}>/{$table_name}.php"><{\$smarty.const.{$language}{$stu_table_name}}></a></li>\n
-EOT;
- }
- $content .= <<<EOT
- </ul>
- </td>
- </tr>
- <{if \$adv != ''}>
- <tr class="center"><td class="center bold pad5"><{\$adv}></td></tr>
- <{else}>
- <tr class="center"><td class="center bold pad5"> </td></tr>
- <{/if}>
- </tbody>
-</table>
-EOT;
- $this->tdmcfile->create($module_name, 'templates', $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.91/TDMCreate/class/files/templates/index.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/index.php 2014-06-17 15:00:33 UTC (rev 12615)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/index.php 2014-06-18 09:21:52 UTC (rev 12616)
@@ -1,77 +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: templates_index.php 12258 2014-01-02 09:33:29Z timgno $
- */
-defined('XOOPS_ROOT_PATH') or die('Restricted access');
-
-class TemplatesIndex extends HtmlSmartyCodes
-{
- /*
- * @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();
- $module_name = $module->getVar('mod_name');
- $language = $this->getLanguage($module_name, 'MA');
- $content = <<<EOT
-<{include file="db:header.tpl"}>
-<table class="outer {$module_name}">
- <tbody>
- <tr class="left">
- <td class="pad5"><{\$smarty.const.{$language}INDEX_DESC}></td>
- </tr>
- </tbody>
-</table>
-<{include file="db:footer.tpl"}>
-EOT;
- $this->tdmcfile->create($module_name, 'templates', $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.91/TDMCreate/class/files/templates/pages.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/pages.php 2014-06-17 15:00:33 UTC (rev 12615)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/pages.php 2014-06-18 09:21:52 UTC (rev 12616)
@@ -1,127 +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: templates_pages.php 12258 2014-01-02 09:33:29Z timgno $
- */
-defined('XOOPS_ROOT_PATH') or die('Restricted access');
-
-class TemplatesPages 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 string $table
- * @param string $filename
- */
- public function write($module, $table, $filename) {
- $this->setModule($module);
- $this->setTable($table);
- $this->setFileName($filename);
- }
- /*
- * @public function render
- * @param null
- */
- public function render() {
- $module = $this->getModule();
- $table = $this->getTable();
- $module_name = $module->getVar('mod_name');
- $table_name = $table->getVar('table_name');
- $table_fieldname = $table->getVar('table_fieldname');
- $filename = $this->getFileName();
- $language = $this->getLanguage($module_name, 'MA');
- $content = <<<EOT
-<div class="outer">
- <table class="{$table_name}" cellpadding="0" cellspacing="0" width="100%">
- <tr class="head">
-EOT;
- $fields = $this->getTableFields($table->getVar('table_id'));
- foreach(array_keys($fields) as $f)
- {
- $field_name = $fields[$f]->getVar('field_name');
- if(($f == 0) && ($table->getVar('table_autoincrement') == 1)) {
- $fpif = $field_name;
- }
- if($fields[$f]->getVar('field_main') == 1) {
- $fpmf = $field_name;
- }
- $content .= <<<EOT
- <th class="center"><{\$smarty.const.{$language.strtoupper($field_name)}}></th>
-EOT;
- }
- $content .= <<<EOT
- </tr>
- <{foreach item={$table_fieldname} from=${$table_name}}>
- <tr class="<{cycle values=\'odd, even\'}>">
-EOT;
- foreach(array_keys($fields) as $f)
- {
- $field_name = $fields[$f]->getVar('field_name');
- $field_element = $fields[$f]->getVar('field_element');
- if( $field_element == 9 ) {
- $content .= <<<EOT
- <td class="center"><img src="<{$xoops_url}>/uploads/{$mod_name}/images/{$table_name}/<{${$table_fieldname}.{$field_name}}>" alt="{$table_name}"></td>
-EOT;
- } elseif( $field_element == 8 ) {
- $content .= <<<EOT
- <td class="center"><span style="background-color: <{${$table_fieldname}.{$field_name}}>;"> </span></td>
-EOT;
- } else {
- $content .= <<<EOT
- <td class="center"><{${$table_fieldname}.{$field_name}}></td>
-EOT;
- }
- }
- $content .= <<<EOT
- </tr>
- <{/foreach}>
- </table>
-</div>
-<div class="outer">
- <div class="center">None</div>
- <br />
-</div>
-EOT;
- }
- $content .= <<<EOT
-<{include file="db:footer.tpl"}>
-EOT;
- $this->tdmcfile->create($module_name, 'templates', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
- return $this->tdmcfile->renderFile();
- }
-}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/user/pages.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/user/pages.php 2014-06-17 15:00:33 UTC (rev 12615)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/user/pages.php 2014-06-18 09:21:52 UTC (rev 12616)
@@ -65,6 +65,7 @@
//$filename = $this->getFileName();
$language = $this->getLanguage($module_name, 'MA');
$content = <<<EOT
+<{include file="db:header.tpl"}>
<div class="outer">
<table class="{$table_name}" cellpadding="0" cellspacing="0" width="100%">
<tr class="head">\n
@@ -72,13 +73,7 @@
$fields = $this->getTableFields($table->getVar('table_id'));
foreach(array_keys($fields) as $f)
{
- $field_name = $fields[$f]->getVar('field_name');
- if(($f == 0) && ($table->getVar('table_autoincrement') == 1)) {
- $fpif = $field_name;
- }
- if($fields[$f]->getVar('field_main') == 1) {
- $fpmf = $field_name;
- }
+ $field_name = $fields[$f]->getVar('field_name');
$lang_stu_field_name = $language.strtoupper($field_name);
$content .= <<<EOT
<th class="center"><{\$smarty.const.{$lang_stu_field_name}}></th>\n
@@ -102,7 +97,7 @@
}
if( $field_element == 9 ) {
$content .= <<<EOT
- <td class="center"><img src="<{\$xoops_url}>/uploads/{$mod_name}/images/{$table_name}/<{\${$table_fieldname}.{$rp_field_name}}>" alt="{$table_name}"></td>\n
+ <td class="center"><img src="<{\$xoops_url}>/uploads/{$module_name}/images/{$table_name}/<{\${$table_fieldname}.{$rp_field_name}}>" alt="{$table_name}"></td>\n
EOT;
} elseif( $field_element == 8 ) {
$content .= <<<EOT
@@ -110,7 +105,7 @@
EOT;
} else {
$content .= <<<EOT
- <td class="center"><{\${$table_fieldname}.{$field_name}}></td>\n
+ <td class="center"><{\${$table_fieldname}.{$rp_field_name}}></td>\n
EOT;
}
}
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/common.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/common.php 2014-06-17 15:00:33 UTC (rev 12615)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/common.php 2014-06-18 09:21:52 UTC (rev 12616)
@@ -48,7 +48,7 @@
$cfi = '/class/files/include/';
$cfl = '/class/files/language/';
$cfs = '/class/files/sql/';
-$cft = '/class/files/templates/user/';
+$cftu = '/class/files/templates/user/';
$cfta = '/class/files/templates/admin/';
$cftb = '/class/files/templates/blocks/';
$cfu = '/class/files/user/';
@@ -86,10 +86,11 @@
include_once TDMC_PATH . $cfta .'index.php';
include_once TDMC_PATH . $cfta .'footer.php';
include_once TDMC_PATH . $cfta .'pages.php';
-include_once TDMC_PATH . $cft .'header.php';
-include_once TDMC_PATH . $cft .'index.php';
-include_once TDMC_PATH . $cft .'footer.php';
-include_once TDMC_PATH . $cft .'pages.php';
+include_once TDMC_PATH . $cftb .'blocks.php';
+include_once TDMC_PATH . $cftu .'header.php';
+include_once TDMC_PATH . $cftu .'index.php';
+include_once TDMC_PATH . $cftu .'footer.php';
+include_once TDMC_PATH . $cftu .'pages.php';
include_once TDMC_PATH . $cfu .'footer.php';
include_once TDMC_PATH . $cfu .'header.php';
include_once TDMC_PATH . $cfu .'index.php';
|
|
From: <txm...@us...> - 2014-06-17 15:00:39
|
Revision: 12615
http://sourceforge.net/p/xoops/svn/12615
Author: txmodxoops
Date: 2014-06-17 15:00:33 +0000 (Tue, 17 Jun 2014)
Log Message:
-----------
- Updated
- Moved templates files in the appropriate subdirectory
- Work in progress
Modified Paths:
--------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/abstract.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/htmlsmartycodes.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/admin.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/blocks.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/common.php
Added Paths:
-----------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/about.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/footer.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/header.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/index.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/pages.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/user/footer.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/user/header.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/user/index.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/user/pages.php
Removed Paths:
-------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/templates.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/templates.php
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/abstract.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/abstract.php 2014-06-16 23:34:06 UTC (rev 12614)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/abstract.php 2014-06-17 15:00:33 UTC (rev 12615)
@@ -75,7 +75,9 @@
* @param mixed $table
*/
public function setTable($table) {
- $this->table = $table;
+ //if (is_object($table) && is_a($table, 'TDMCreateTables')) {
+ $this->table = $table;
+ //}
}
/*
@@ -90,8 +92,10 @@
* public function setTables
* @param mixed $tables
*/
- public function setTables($tables) {
- $this->tables = $tables;
+ public function setTables($tables) {
+ //if (is_object($tables) && is_a($tables, 'TDMCreateTables')) {
+ $this->tables = $tables;
+ //}
}
/*
@@ -107,7 +111,9 @@
* @param mixed $fields
*/
public function setFields($fields) {
- $this->fields = $fields;
+ //if (is_object($fields) && is_a($fields, 'TDMCreateFields')) {
+ $this->fields = $fields;
+ //}
}
/*
Deleted: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/templates.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/templates.php 2014-06-16 23:34:06 UTC (rev 12614)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/templates.php 2014-06-17 15:00:33 UTC (rev 12615)
@@ -1,65 +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_templates.php 12258 2014-01-02 09:33:29Z timgno $
- */
-defined('XOOPS_ROOT_PATH') or die('Restricted access');
-require_once TDMC_PATH . '/class/files/htmlsmartycodes.php';
-class AdminTemplates extends HtmlSmartyCodes
-{
- /*
- * @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
- */
- public function write($module) {
- $this->setModule($module);
- }
- /*
- * @public function render
- * @param null
- */
- public function renderFile($filename) {
- $module = $this->getModule();
- //$filename = $this->getFileName();
- $module_name = $module->getVar('mod_name');
- $language = $this->getLanguage($module_name, 'AM');
- $content = 'Under Construction';
- $this->tdmcfile->create($module_name, 'templates/admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
- return $this->tdmcfile->renderFile();
- }
-}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php 2014-06-16 23:34:06 UTC (rev 12614)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php 2014-06-17 15:00:33 UTC (rev 12615)
@@ -217,9 +217,9 @@
$adminPages->write($module, $table);
$ret[] = $adminPages->renderFile($table_name.'.php');
// Admin Templates File
- $adminTemplates = AdminTemplates::getInstance();
- $adminTemplates->write($module);
- $ret[] = $adminTemplates->renderFile($table_name.'.tpl');
+ $adminTemplatesPages = TemplatesAdminPages::getInstance();
+ $adminTemplatesPages->write($module, $table);
+ $ret[] = $adminTemplatesPages->renderFile($table_name.'.tpl');
}
// Creation of blocks
if ( $table_blocks == 1) {
@@ -229,9 +229,9 @@
$ret[] = $blocksFiles->renderFile($table_name.'.php');
}
// Blocks Templates File
- $blocksTemplates = BlocksTemplates::getInstance();
+ /*$blocksTemplates = BlocksTemplates::getInstance();
$blocksTemplates->write($module, $table);
- $ret[] = $blocksTemplates->renderFile($table_name.'.tpl');
+ $ret[] = $blocksTemplates->renderFile($table_name.'.tpl');*/
// Creation of classes
if ( $table_admin == 1 || $table_user == 1) {
// Class Files
@@ -246,9 +246,9 @@
$userPages->write($module, $table);
$ret[] = $userPages->renderFile($table_name.'.php');
// User Templates File
- $userTemplates = UserTemplates::getInstance();
- $userTemplates->write($module, $table);
- $ret[] = $userTemplates->renderFile($table_name.'.tpl');
+ $userTemplatesPages = TemplatesUserPages::getInstance();
+ $userTemplatesPages->write($module, $table);
+ $ret[] = $userTemplatesPages->renderFile($table_name.'.tpl');
}
/*var_dump($table_name); */
}
@@ -296,6 +296,22 @@
$languageAdmin = LanguageAdmin::getInstance();
$languageAdmin->write($module, $tables, 'admin.php');
$ret[] = $languageAdmin->render();
+ // Templates Index File
+ $adminTemplatesAbout = TemplatesAdminAbout::getInstance();
+ $adminTemplatesAbout->write($module, 'about.tpl');
+ $ret[] = $adminTemplatesAbout->render();
+ // Templates Index File
+ $adminTemplatesIndex = TemplatesAdminIndex::getInstance();
+ $adminTemplatesIndex->write($module, 'index.tpl');
+ $ret[] = $adminTemplatesIndex->render();
+ // Templates Footer File
+ $adminTemplatesFooter = TemplatesAdminFooter::getInstance();
+ $adminTemplatesFooter->write($module, 'footer.tpl');
+ $ret[] = $adminTemplatesFooter->render();
+ // Templates Header File
+ $adminTemplatesHeader = TemplatesAdminHeader::getInstance();
+ $adminTemplatesHeader->write($module, 'header.tpl');
+ $ret[] = $adminTemplatesHeader->render();
}
// Creation of notifications files
if ( $table_notifications == 1 ) {
@@ -348,9 +364,17 @@
// Creation of user files
if ( ($table_user == 1)){
// Templates Index File
- $templatesIndex = TemplatesIndex::getInstance();
- $templatesIndex->write($module, 'index.tpl');
- $ret[] = $templatesIndex->render();
+ $userTemplatesIndex = TemplatesUserIndex::getInstance();
+ $userTemplatesIndex->write($module, 'index.tpl');
+ $ret[] = $userTemplatesIndex->render();
+ // Templates Footer File
+ $userTemplatesFooter = TemplatesUserFooter::getInstance();
+ $userTemplatesFooter->write($module, $table, 'footer.tpl');
+ $ret[] = $userTemplatesFooter->render();
+ // Templates Header File
+ $userTemplatesHeader = TemplatesUserHeader::getInstance();
+ $userTemplatesHeader->write($module, $tables, 'header.tpl');
+ $ret[] = $userTemplatesHeader->render();
// User Footer File
$userFooter = UserFooter::getInstance();
$userFooter->write($module, 'footer.php');
@@ -364,15 +388,7 @@
$userNotificationUpdate = UserNotificationUpdate::getInstance();
$userNotificationUpdate->write($module, 'notification_update.php');
$ret[] = $userNotificationUpdate->render();
- }
- // Templates Footer File
- $templatesFooter = TemplatesFooter::getInstance();
- $templatesFooter->write($module, $table, 'footer.tpl');
- $ret[] = $templatesFooter->render();
- // Templates Header File
- $templatesHeader = TemplatesHeader::getInstance();
- $templatesHeader->write($module, $tables, 'header.tpl');
- $ret[] = $templatesHeader->render();
+ }
// User Index File
$userIndex = UserIndex::getInstance();
$userIndex->write($module, 'index.php');
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/htmlsmartycodes.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/htmlsmartycodes.php 2014-06-16 23:34:06 UTC (rev 12614)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/htmlsmartycodes.php 2014-06-17 15:00:33 UTC (rev 12615)
@@ -23,6 +23,13 @@
class HtmlSmartyCodes extends TDMCreateFile
{
/*
+ * @public function constructor
+ * @param null
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+ /*
* @static function &getInstance
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/admin.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/admin.php 2014-06-16 23:34:06 UTC (rev 12614)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/admin.php 2014-06-17 15:00:33 UTC (rev 12615)
@@ -16,17 +16,17 @@
* @package tdmcreate
* @since 2.5.0
* @author Txmod Xoops http://www.txmodxoops.org
- * @version $Id: language_admin.php 12258 2014-01-02 09:33:29Z timgno $
+ * @version $Id: admin.php 12258 2014-01-02 09:33:29Z timgno $
*/
defined('XOOPS_ROOT_PATH') or die('Restricted access');
-class LanguageAdmin extends TDMCreateFormElements
+class LanguageAdmin extends TDMCreateFile
{
/*
* @public function constructor
* @param null
*/
- public function __construct() {
+ public function __construct() {
parent::__construct();
$this->tdmcfile = TDMCreateFile::getInstance();
}
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/blocks.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/blocks.php 2014-06-16 23:34:06 UTC (rev 12614)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/blocks.php 2014-06-17 15:00:33 UTC (rev 12615)
@@ -16,7 +16,7 @@
* @package tdmcreate
* @since 2.5.0
* @author Txmod Xoops http://www.txmodxoops.org
- * @version $Id: language_blocks.php 12258 2014-01-02 09:33:29Z timgno $
+ * @version $Id: blocks.php 12258 2014-01-02 09:33:29Z timgno $
*/
defined('XOOPS_ROOT_PATH') or die('Restricted access');
Added: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/about.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/about.php (rev 0)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/about.php 2014-06-17 15:00:33 UTC (rev 12615)
@@ -0,0 +1,73 @@
+<?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 about.php 12258 2014-01-02 09:33:29Z timgno $
+ */
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
+
+class TemplatesAdminAbout 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();
+ $module_name = strtolower($module->getVar('mod_name'));
+ $content = <<<EOT
+<!-- Header -->
+<{includeq file="db:header.tpl"}>
+<!-- About Page -->
+<div class="top"><{\$about}></div>
+<!-- Footer -->
+<{includeq file="db:footer.tpl"}>
+EOT;
+ $this->tdmcfile->create($module_name, 'templates/admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ return $this->tdmcfile->renderFile();
+ }
+}
\ No newline at end of file
Added: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/footer.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/footer.php (rev 0)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/footer.php 2014-06-17 15:00:33 UTC (rev 12615)
@@ -0,0 +1,76 @@
+<?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 footer.php 12258 2014-01-02 09:33:29Z timgno $
+ */
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
+
+class TemplatesAdminFooter 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();
+ $module_name = strtolower($module->getVar('mod_name'));
+ $support_name = $module->getVar('mod_support_name');
+ $support_url = $module->getVar('mod_support_url');
+ $language = $this->getLanguage($module_name, 'AM');
+ $content = <<<EOT
+<div class='center'>
+ <a href='http://www.xoops.org' title='Visit XOOPS' target='_blank'><img src='<{xoModuleIcons32 xoopsmicrobutton.gif}>' alt='XOOPS' /></a>
+</div>
+<div class='center smallsmall italic pad5'><strong>{$module_name}</strong> <{{$language}MAINTAINEDBY}>
+ <a href='{$support_url}' title='Visit {$support_name}' class='tooltip' rel='external'>{$support_name}</a>
+</div>
+EOT;
+ $this->tdmcfile->create($module_name, 'templates/admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ return $this->tdmcfile->renderFile();
+ }
+}
\ No newline at end of file
Added: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/header.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/header.php (rev 0)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/header.php 2014-06-17 15:00:33 UTC (rev 12615)
@@ -0,0 +1,71 @@
+<?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 header.php 12258 2014-01-02 09:33:29Z timgno $
+ */
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
+
+class TemplatesAdminHeader 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();
+ $module_name = strtolower($module->getVar('mod_name'));
+ $content = <<<EOT
+<div class="top">
+<span class="left"><{\$navigation}></span>
+<{if \$buttons}><span class="right"><{\$buttons}> </span><{/if}>
+</div>
+EOT;
+ $this->tdmcfile->create($module_name, 'templates/admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ return $this->tdmcfile->renderFile();
+ }
+}
\ No newline at end of file
Added: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/index.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/index.php (rev 0)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/index.php 2014-06-17 15:00:33 UTC (rev 12615)
@@ -0,0 +1,73 @@
+<?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 index.php 12258 2014-01-02 09:33:29Z timgno $
+ */
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
+
+class TemplatesAdminIndex 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();
+ $module_name = strtolower($module->getVar('mod_name'));
+ $content = <<<EOT
+<!-- Header -->
+<{includeq file="db:header.tpl"}>
+<!-- Index Page -->
+<div class="top"><{\$index}></div>
+<!-- Footer -->
+<{includeq file="db:footer.tpl"}>
+EOT;
+ $this->tdmcfile->create($module_name, 'templates/admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ return $this->tdmcfile->renderFile();
+ }
+}
\ No newline at end of file
Added: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/pages.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/pages.php (rev 0)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/admin/pages.php 2014-06-17 15:00:33 UTC (rev 12615)
@@ -0,0 +1,130 @@
+<?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 TDMC_PATH . '/class/files/htmlsmartycodes.php';
+class TemplatesAdminPages extends HtmlSmartyCodes
+{
+ /*
+ * @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 string $table
+ */
+ public function write($module, $table) {
+ $this->setModule($module);
+ $this->setTable($table);
+ }
+ /*
+ * @public function render
+ * @param null
+ */
+ public function renderFile($filename) {
+ $module = $this->getModule();
+ $table = $this->getTable();
+ $module_name = $module->getVar('mod_name');
+ $table_name = $table->getVar('table_name');
+ $table_fieldname = $table->getVar('table_fieldname');
+ //
+ $stu_module_name = strtoupper($module_name);
+ $language = $this->getLanguage($module_name, 'MA');
+ $content = <<<EOT
+<{include file="db:header.tpl"}>
+<div class="outer">
+ <table class="{$table_name} width100">
+ <thead>
+ <tr class="head">\n
+EOT;
+ $fields = $this->getTableFields($table->getVar('table_id'));
+ foreach(array_keys($fields) as $f)
+ {
+ $field_name = $fields[$f]->getVar('field_name');
+ $lang_fn = $language.strtoupper($field_name);
+ $content .= <<<EOT
+ <th class="center"><{\$smarty.const.{$lang_fn}}></th>\n
+EOT;
+ }
+ $content .= <<<EOT
+ </tr>
+ </thead>
+ <tbody>
+ <{foreach item={$table_fieldname} from=\${$table_name}}>
+ <tr class="<{cycle values='odd, even'}>">\n
+EOT;
+ foreach(array_keys($fields) as $f)
+ {
+ $field_name = $fields[$f]->getVar('field_name');
+ $field_element = $fields[$f]->getVar('field_element');
+ $rp_field_name = $field_name;
+ if(strpos($field_name, '_')) {
+ $str = strpos($field_name, '_');
+ if($str !== false){
+ $rp_field_name = substr($field_name, $str + 1, strlen($field_name));
+ }
+ }
+ if( $field_element == 9 ) {
+ $content .= <<<EOT
+ <td class="center"><img src="<{\$xoops_url}>/uploads/{$module_name}/images/{$table_name}/<{\${$table_fieldname}.{$rp_field_name}}>" alt="{$table_name}"></td>\n
+EOT;
+ } elseif( $field_element == 8 ) {
+ $content .= <<<EOT
+ <td class="center"><span style="background-color: <{\${$table_fieldname}.{$rp_field_name}}>;"> </span></td>\n
+EOT;
+ } else {
+ $content .= <<<EOT
+ <td class="center"><{\${$table_fieldname}.{$rp_field_name}}></td>\n
+EOT;
+ }
+ }
+ $content .= <<<EOT
+ </tr>
+ <{/foreach}>
+ </tbody>
+ </table>
+</div>
+<div class="outer">
+ <div class="center">None</div>
+ <br />
+</div>
+<{include file="db:footer.tpl"}>
+EOT;
+ $this->tdmcfile->create($module_name, 'templates/admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ return $this->tdmcfile->renderFile();
+ }
+}
\ No newline at end of file
Added: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/user/footer.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/user/footer.php (rev 0)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/user/footer.php 2014-06-17 15:00:33 UTC (rev 12615)
@@ -0,0 +1,109 @@
+<?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: templates_footer.php 12258 2014-01-02 09:33:29Z timgno $
+ */
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
+
+class TemplatesUserFooter extends HtmlSmartyCodes
+{
+ /*
+ * @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 string $filename
+ */
+ public function write($module, $table, $filename) {
+ $this->setModule($module);
+ $this->setTable($table);
+ $this->setFileName($filename);
+ }
+ /*
+ * @public function render
+ * @param null
+ */
+ public function render() {
+ $module = $this->getModule();
+ $table = $this->getTable();
+ $filename = $this->getFileName();
+ $module_name = $module->getVar('mod_name');
+ $language = $this->getLanguage($module_name, 'MA');
+ $content = <<<EOT
+<{if \$bookmarks != 0}>
+<{include file="db:system_bookmarks.html"}>
+<{/if}>
+\n<{if \$fbcomments != 0}>
+<{include file="db:system_fbcomments.html"}>
+<{/if}>
+\n<div class="left"><{\$copyright}></div>
+EOT;
+ if( $table->getVar('table_name') != null ) {
+ $content .= <<<EOT
+\n<{if \$pagenav != ''}>
+ <div class="right"><{\$pagenav}></div>
+<{/if}>
+<br />
+EOT;
+ }
+ $content .= <<<EOT
+\n<{if \$xoops_isadmin}>
+ <div class="center bold"><a href="<{\$admin}>"><{\$smarty.const.{$language}ADMIN}></a></div>
+<{/if}>
+EOT;
+ if ( ($module->getVar('mod_comments') != 0) && ($table->getVar('table_comments') != 0) ) {
+ $content .= <<<EOT
+\n<div class="pad2 marg2">
+ <{if \$comment_mode == "flat"}>
+ <{include file="db:system_comments_flat.html"}>
+ <{elseif \$comment_mode == "thread"}>
+ <{include file="db:system_comments_thread.html"}>
+ <{elseif \$comment_mode == "nest"}>
+ <{include file="db:system_comments_nest.html"}>
+ <{/if}>
+</div>
+EOT;
+ }
+ if ( ($module->getVar('mod_notifications') != 0) && ($table->getVar('table_notifications') != 0) ) {
+ $content .= <<<EOT
+\n<{include file='db:system_notification_select.html'}>
+EOT;
+ }
+ $this->tdmcfile->create($module_name, 'templates', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ return $this->tdmcfile->renderFile();
+ }
+}
\ No newline at end of file
Added: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/user/header.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/user/header.php (rev 0)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/user/header.php 2014-06-17 15:00:33 UTC (rev 12615)
@@ -0,0 +1,112 @@
+<?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: templates_header.php 12258 2014-01-02 09:33:29Z timgno $
+ */
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
+
+class TemplatesUserHeader extends HtmlSmartyCodes
+{
+ /*
+ * @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();
+ $module_name = strtolower($module->getVar('mod_name'));
+ $language = $this->getLanguage($module_name, 'MA');
+ $content = <<<EOT
+<div class="header">
+<span class="left"><b><{\$smarty.const.{$language}TITLE}></b>: </span>
+<span class="left"><{\$smarty.const.{$language}DESC}></span><br />
+</div>
+<div class="head">
+ <{if \$adv != ''}>
+ <div class="center"><{\$adv}></div>
+ <{/if}>
+</div>
+<table class="outer {$module_name}" cellspacing="2" cellpadding="2">
+ <thead>
+ <tr class="center" colspan="2">
+ <th><{\$smarty.const.{$language}TITLE}> - <{\$smarty.const.{$language}DESC}></th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr class="center">
+ <td class="center bold pad5">
+ <ul class="menu center fields">
+ <li><a href="<{\${$module_name}_url}>"><{\$smarty.const.{$language}INDEX}></a></li>\n
+EOT;
+ foreach (array_keys($tables) as $i)
+ {
+ $table_name = $tables[$i]->getVar('table_name');
+ $stu_table_name = strtoupper($table_name);
+ $content .= <<<EOT
+ <li> | </li>
+ <li><a href="<{\${$module_name}_url}>/{$table_name}.php"><{\$smarty.const.{$language}{$stu_table_name}}></a></li>\n
+EOT;
+ }
+ $content .= <<<EOT
+ </ul>
+ </td>
+ </tr>
+ <{if \$adv != ''}>
+ <tr class="center"><td class="center bold pad5"><{\$adv}></td></tr>
+ <{else}>
+ <tr class="center"><td class="center bold pad5"> </td></tr>
+ <{/if}>
+ </tbody>
+</table>
+EOT;
+ $this->tdmcfile->create($module_name, 'templates', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ return $this->tdmcfile->renderFile();
+ }
+}
\ No newline at end of file
Added: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/user/index.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/user/index.php (rev 0)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/user/index.php 2014-06-17 15:00:33 UTC (rev 12615)
@@ -0,0 +1,77 @@
+<?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: templates_index.php 12258 2014-01-02 09:33:29Z timgno $
+ */
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
+
+class TemplatesUserIndex extends HtmlSmartyCodes
+{
+ /*
+ * @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();
+ $module_name = $module->getVar('mod_name');
+ $language = $this->getLanguage($module_name, 'MA');
+ $content = <<<EOT
+<{include file="db:header.tpl"}>
+<table class="outer {$module_name}">
+ <tbody>
+ <tr class="left">
+ <td class="pad5"><{\$smarty.const.{$language}INDEX_DESC}></td>
+ </tr>
+ </tbody>
+</table>
+<{include file="db:footer.tpl"}>
+EOT;
+ $this->tdmcfile->create($module_name, 'templates', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
+ return $this->tdmcfile->renderFile();
+ }
+}
\ No newline at end of file
Added: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/user/pages.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/user/pages.php (rev 0)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates/user/pages.php 2014-06-17 15:00:33 UTC (rev 12615)
@@ -0,0 +1,133 @@
+<?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');
+
+class TemplatesUserPages 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 string $table
+ * @param string $filename
+ */
+ public function write($module, $table) {
+ $this->setModule($module);
+ $this->setTable($table);
+ }
+ /*
+ * @public function renderFile
+ * @param string $filename
+ */
+ public function renderFile($filename) {
+ $module = $this->getModule();
+ $table = $this->getTable();
+ $module_name = $module->getVar('mod_name');
+ $table_name = $table->getVar('table_name');
+ $table_fieldname = $table->getVar('table_fieldname');
+ //$filename = $this->getFileName();
+ $language = $this->getLanguage($module_name, 'MA');
+ $content = <<<EOT
+<div class="outer">
+ <table class="{$table_name}" cellpadding="0" cellspacing="0" width="100%">
+ <tr class="head">\n
+EOT;
+ $fields = $this->getTableFields($table->getVar('table_id'));
+ foreach(array_keys($fields) as $f)
+ {
+ $field_name = $fields[$f]->getVar('field_name');
+ if(($f == 0) && ($table->getVar('table_autoincrement') == 1)) {
+ $fpif = $field_name;
+ }
+ if($fields[$f]->getVar('field_main') == 1) {
+ $fpmf = $field_name;
+ }
+ $lang_stu_field_name = $language.strtoupper($field_name);
+ $content .= <<<EOT
+ <th class="center"><{\$smarty.const.{$lang_stu_field_name}}></th>\n
+EOT;
+ }
+ $content .= <<<EOT
+ </tr>
+ <{foreach item={$table_fieldname} from=\${$table_name}}>
+ <tr class="<{cycle values=\'odd, even\'}>">\n
+EOT;
+ foreach(array_keys($fields) as $f)
+ {
+ $field_name = $fields[$f]->getVar('field_name');
+ $field_element = $fields[$f]->getVar('field_element');
+ $rp_field_name = $field_name;
+ if(strpos($field_name, '_')) {
+ $str = strpos($field_name, '_');
+ if($str !== false){
+ $rp_field_name = substr($field_name, $str + 1, strlen($field_name));
+ }
+ }
+ if( $field_element == 9 ) {
+ $content .= <<<EOT
+ <td class="center"><img src="<{\$xoops_url}>/uploads/{$mod_name}/images/{$table_name}/<{\${$table_fieldname}.{$rp_field_name}}>" alt="{$table_name}"></td>\n
+EOT;
+ } elseif( $field_element == 8 ) {
+ $content .= <<<EOT
+ <td class="center"><span style="background-color: <{\${$table_fieldname}.{$rp_field_name}}>;"> </span></td>\n
+EOT;
+ } else {
+ $content .= <<<EOT
+ <td class="center"><{\${$table_fieldname}.{$field_name}}></td>\n
+EOT;
+ }
+ }
+ $content .= <<<EOT
+ </tr>
+ <{/foreach}>
+ </table>
+</div>
+<div class="outer">
+ <div class="center">None</div>
+ <br />
+</div>
+EOT;
+ $content .= <<<EOT
+<{include file="db:footer.tpl"}>
+EOT;
+ $this->tdmcfile->create($module_name, 'templates', $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.91/TDMCreate/class/files/user/templates.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/templates.php 2014-06-16 23:34:06 UTC (rev 12614)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/templates.php 2014-06-17 15:00:33 UTC (rev 12615)
@@ -1,123 +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: user_templates.php 12258 2014-01-02 09:33:29Z timgno $
- */
-defined('XOOPS_ROOT_PATH') or die('Restricted access');
-
-class UserTemplates extends HtmlSmartyCodes
-{
- /*
- * @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 string $table
- */
- public function write($module, $table) {
- $this->setModule($module);
- $this->setTable($table);
- }
- /*
- * @public function render
- * @param null
- */
- public function renderFile($filename) {
- $module = $this->getModule();
- $table = $this->getTable();
- $module_name = $module->getVar('mod_name');
- $table_name = $table->getVar('table_name');
- $table_fieldname = $table->getVar('table_fieldname');
- //
- $stu_module_name = strtoupper($module_name);
- $language = $this->getLanguage($module_name, 'MA');
- $content = <<<EOT
-<{include file="db:header.tpl"}>
-<div class="outer">
- <table class="{$table_name} width100">
- <thead>
- <tr class="head">\n
-EOT;
- $fields = $this->getTableFields($table->getVar('table_id'));
- foreach(array_keys($fields) as $f)
- {
- $field_name = $fields[$f]->getVar('field_name');
- $lang_fn = $language.strtoupper($field_name);
- $content .= <<<EOT
- <th class="center"><{\$smarty.const.{$lang_fn}}></th>\n
-EOT;
- }
- $content .= <<<EOT
- </tr>
- </thead>
- <tbody>
- <{foreach item={$table_fieldname} from=\${$table_name}}>
- <tr class="<{cycle values='odd, even'}>">\n
-EOT;
- foreach(array_keys($fields) as $f)
- {
- $field_name = $fields[$f]->getVar('field_name');
- $field_element = $fields[$f]->getVar('field_element');
- if( $field_element == 9 ) {
- $content .= <<<EOT
- <td class="center"><img src="<{\$xoops_url}>/uploads/{$module_name}/images/{$table_name}/<{\${$table_fieldname}.{$field_name}}>" alt="{$table_name}"></td>\n
-EOT;
- } elseif( $field_element == 8 ) {
- $content .= <<<EOT
- <td class="center"><span style="background-color: <{\${$table_fieldname}.{$field_name}}>;"> </span></td>\n
-EOT;
- } else {
- $content .= <<<EOT
- <td class="center"><{\${$table_fieldname}.{$field_name}}></td>\n
-EOT;
- }
- }
- $content .= <<<EOT
- </tr>
- <{/foreach}>
- </tbody>
- </table>
-</div>
-<div class="outer">
- <div class="center">None</div>
- <br />
-</div>
-<{include file="db:footer.tpl"}>
-EOT;
- $this->tdmcfile->create($module_name, 'templates', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
- return $this->tdmcfile->renderFile();
- }
-}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/common.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/common.php 2014-06-16 23:34:06 UTC (rev 12614)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/common.php 2014-06-17 15:00:33 UTC (rev 12615)
@@ -48,7 +48,9 @@
$cfi = '/class/files/include/';
$cfl = '/class/files/language/';
$cfs = '/class/files/sql/';
-$cft = '/class/files/templates/';
+$cft = '/class/files/templates/user/';
+$cfta = '/class/files/templates/admin/';
+$cftb = '/class/files/templates/blocks/';
$cfu = '/class/files/user/';
include_once TDMC_PATH . '/class/helper.php';
include_once TDMC_PATH . '/class/session.php';
@@ -60,9 +62,7 @@
include_once TDMC_PATH . $cfa .'menu.php';
include_once TDMC_PATH . $cfa .'pages.php';
include_once TDMC_PATH . $cfa .'permissions.php';
-include_once TDMC_PATH . $cfa .'templates.php';
include_once TDMC_PATH . $cfb .'blocks.php';
-include_once TDMC_PATH . $cfb .'templates.php';
include_once TDMC_PATH . $cfcl .'classes.php';
include_once TDMC_PATH . $cfcl .'helper.php';
include_once TDMC_PATH . $cfcs .'styles.php';
@@ -81,13 +81,18 @@
include_once TDMC_PATH . $cfl .'main.php';
include_once TDMC_PATH . $cfl .'modinfo.php';
include_once TDMC_PATH . $cfs .'mysql.php';
+include_once TDMC_PATH . $cfta .'about.php';
+include_once TDMC_PATH . $cfta .'header.php';
+include_once TDMC_PATH . $cfta .'index.php';
+include_once TDMC_PATH . $cfta .'footer.php';
+include_once TDMC_PATH . $cfta .'pages.php';
include_once TDMC_PATH . $cft .'header.php';
include_once TDMC_PATH . $cft .'index.php';
include_once TDMC_PATH . $cft .'footer.php';
+include_once TDMC_PATH . $cft .'pages.php';
include_once TDMC_PATH . $cfu .'footer.php';
include_once TDMC_PATH . $cfu .'header.php';
include_once TDMC_PATH . $cfu .'index.php';
include_once TDMC_PATH . $cfu .'pages.php';
include_once TDMC_PATH . $cfu .'notification_update.php';
-include_once TDMC_PATH . $cfu .'templates.php';
include_once TDMC_PATH . $cfu .'xoopsversion.php';
\ No newline at end of file
|
|
From: <txm...@us...> - 2014-06-16 23:34:11
|
Revision: 12614
http://sourceforge.net/p/xoops/svn/12614
Author: txmodxoops
Date: 2014-06-16 23:34:06 +0000 (Mon, 16 Jun 2014)
Log Message:
-----------
- Updated
- Work in progress
Modified Paths:
--------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/footer.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/classes/classes.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/docs/changelog.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/admin.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/blocks.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/main.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/xoopsversion.php
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php 2014-06-16 14:33:04 UTC (rev 12613)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php 2014-06-16 23:34:06 UTC (rev 12614)
@@ -30,9 +30,7 @@
/*$field_mid = XoopsRequest::getInt('field_mid');
$field_tid = XoopsRequest::getInt('field_tid');
$field_numb = XoopsRequest::getInt('field_numb');
-$field_name = XoopsRequest::getString('field_name', '');
-$session_table = TDMCreateSession::getInstance();
-$table_name = $session_table->getSession('session_table_name');*/
+$field_name = XoopsRequest::getString('field_name', ''); */
//
switch ($op)
{
@@ -166,11 +164,11 @@
if ( !$GLOBALS['xoopsSecurity']->check() ) {
redirect_header('fields.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors()));
}
- $field_id = TDMCreate_CleanVars($_POST, 'field_id');
+ $field_id = TDMCreate_CleanVars($_REQUEST, 'field_id');
// Fields Handler
$fields = $tdmcreate->getHandler('fields');
// Set Variables
- foreach ($_POST['field_id'] as $key => $value)
+ foreach($_POST['field_id'] as $key => $value)
{
switch($value){
case 'new':
@@ -179,40 +177,44 @@
case 'edit':
$fieldsObj =& $fields->get($value);
break;
- }
- // Set Data
- $fieldsObj->setVar( 'field_mid', $field_mid );
- $fieldsObj->setVar( 'field_tid', $field_tid );
- $fieldsObj->setVar( 'field_numb', $field_numb );
- $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', (($key == isset($_REQUEST['field_parent'][$key])) ? 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);
- }
-
- //
+ }
+ if (isset($field_mid) && isset($field_tid) && !empty($_POST['field_name'][$key])) {
+ // Set Data
+ $fieldsObj->setVar( 'field_mid', $field_mid );
+ $fieldsObj->setVar( 'field_tid', $field_tid );
+ $fieldsObj->setVar( 'field_numb', $field_numb );
+ $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($field_tid);
+ $table_name = $tables->getVar('table_name');
+ // Set field elements
if ($fieldsObj->isNew()) {
// Fields Elements Handler
$fieldelementObj =& $tdmcreate->getHandler('fieldelements')->create();
$fieldelementObj->setVar( 'fieldelement_mid', $field_mid );
$fieldelementObj->setVar( 'fieldelement_tid', $field_tid );
- $fieldelementObj->setVar( 'fieldelement_name', 'Table : '.ucfirst($_SESSION['session_table_name']) );
- $fieldelementObj->setVar( 'fieldelement_value', 'XoopsFormTables-'.ucfirst($_SESSION['session_table_name']) );
+ $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');
@@ -223,10 +225,8 @@
}
//
$GLOBALS['xoopsTpl']->assign('error', $fieldsObj->getHtmlErrors());
- $form = $fieldsObj->getForm($field_mid, $field_tid, $field_numb);
- $GLOBALS['xoopsTpl']->assign('form', $form->render());
-
- unset($_SESSION['session_table_name']);
+ $form = $fieldsObj->getForm(null, $field_tid);
+ $GLOBALS['xoopsTpl']->assign('form', $form->render());
break;
case 'edit':
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php 2014-06-16 14:33:04 UTC (rev 12613)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php 2014-06-16 23:34:06 UTC (rev 12614)
@@ -159,6 +159,7 @@
* @private function getFormElements
*
* @param object $form
+ * @param boolean $isNew
* @param string $type
* @param integer $id
* @param string $f_name
@@ -207,7 +208,7 @@
$table_autoincrement = $this->tdmcreate->getHandler('tables')->get($field_tid);
if( ($id == 1) && ($table_autoincrement->getVar('table_autoincrement') == 1)) {
$form->addElement(new TDMCreateFormLabel('<td> </td></tr>'));
- } else {
+ } else {
// Box header row
$parameters_tray = new XoopsFormElementTray('', '<br />');
// Field Elements
@@ -221,9 +222,9 @@
unset($criteria_element); unset($criteria_table);
$parameters_tray->addElement($field_elements_select);
- $field_parent = $isNew ? ( $id == 1 ? 1 : 0 ) : $field->getVar('field_parent');
- $check_field_parent = new XoopsFormCheckBox(' ', 'field_parent', $field_parent);
- $check_field_parent->addOption($id, _AM_TDMCREATE_FIELD_PARENT );
+ $field_parent = $isNew ? 0 : $field->getVar('field_parent');
+ $check_field_parent = new XoopsFormCheckBox(' ', 'field_parent['.$id.']');
+ $check_field_parent->addOption($field_parent, _AM_TDMCREATE_FIELD_PARENT );
$parameters_tray->addElement($check_field_parent);
$field_inlist = $isNew ? 0 : $field->getVar('field_inlist');
@@ -249,13 +250,13 @@
$field_block = $isNew ? 0 : $field->getVar('field_block');
$check_field_block = new XoopsFormCheckBox('', 'field_block['.$id.']', $field_block);
$check_field_block->addOption(1, _AM_TDMCREATE_FIELD_BLOCK);
- $parameters_tray->addElement($check_field_block);
-
- $field_main = $isNew ? ( $id == 1 ? 1 : 0 ) : $field->getVar('field_main');
- $check_field_main = new XoopsFormRadio('', 'field_main', $field_main);
- $check_field_main->addOption('', _AM_TDMCREATE_FIELD_MAINFIELD );
- $parameters_tray->addElement($check_field_main);
-
+ $parameters_tray->addElement($check_field_block);
+ //$main = 1;
+ $field_main = $isNew ? $id : $field->getVar('field_main');
+ $check_field_main = new XoopsFormRadio('', 'field_main['.$id.']');
+ $check_field_main->addOption($field_main, _AM_TDMCREATE_FIELD_MAINFIELD );
+ $parameters_tray->addElement($check_field_main);
+
$field_search = $isNew ? 0 : $field->getVar('field_search');
$check_field_search = new XoopsFormCheckBox(' ', 'field_search['.$id.']', $field_search);
$check_field_search->addOption(1, _AM_TDMCREATE_FIELD_SEARCH);
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/footer.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/footer.php 2014-06-16 14:33:04 UTC (rev 12613)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin/footer.php 2014-06-16 23:34:06 UTC (rev 12614)
@@ -58,18 +58,14 @@
public function render() {
$module = $this->getModule();
$filename = $this->getFileName();
- $module_name = strtolower($module->getVar('mod_name'));
- $support_name = $module->getVar('mod_support_name');
- $support_url = $module->getVar('mod_support_url');
- $language = $this->getLanguage($module_name, 'AM');
+ $module_name = strtolower($module->getVar('mod_name'));
$content = $this->getHeaderFilesComments($module, $filename);
$content .= <<<EOT
-\necho "<div class='center'><a href='http://www.xoops.org' title='Visit XOOPS' target='_blank'>
- <img src='".\$sysPathIcon32."/xoopsmicrobutton.gif' alt='XOOPS' /></a></div>";
-echo "<div class='center smallsmall italic pad5'>
- <strong>" . \$xoopsModule->getVar('name') . "</strong> ".{$language}MAINTAINEDBY."
- <a href='{$support_url}' title='Visit {$support_name}' class='tooltip' rel='external'>{$support_name}</a></div>";
-xoops_cp_footer();
+if ( isset(\$template_main) ) {
+ \$GLOBALS['xoopsTpl']->display("db:{\$template_main}");
+}
+xoops_cp_footer();
+?>
EOT;
$this->tdmcfile->create($module_name, 'admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
return $this->tdmcfile->renderFile();
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php 2014-06-16 14:33:04 UTC (rev 12613)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php 2014-06-16 23:34:06 UTC (rev 12614)
@@ -99,8 +99,10 @@
//
$indexFile = $this->path.'/index.html';
$docs_folder = $this->path.'/docs';
+ $stl_module_name = str_replace(' ', '', strtolower($module->getVar('mod_name')));
+ $stl_module_author = str_replace(' ', '', strtolower($module->getVar('mod_author')));
// Creation of the Directory in repository
- $targetDirectory = $this->upload_path.'/repository/'. str_replace(' ', '', strtolower($module->getVar('mod_name')));
+ $targetDirectory = $this->upload_path.'/repository/'. $stl_module_name;
$upload_images_folder = $this->upload_path.'/images/repository';
// Creation of "module" folder
@@ -137,7 +139,7 @@
// Creation of "images/icons/32" folder and index.html file
$this->structure->makeDirAndCopyFile('assets/images/icons/32', $indexFile, 'index.html');
// Creation of 'txmodxoops_logo.png' file
- $this->structure->copyFile('assets/images', $upload_images_folder.'/txmodxoops_logo.png', 'txmodxoops_logo.png');
+ $this->structure->copyFile('assets/images', $upload_images_folder.'/'.$stl_module_author.'_logo.png', $stl_module_author.'_logo.png');
// Creation of "images" folder and index.html file
$this->structure->makeDirAndCopyFile('assets/js', $indexFile, 'index.html');
// Creation of 'docs' folder and index.html file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/classes/classes.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/classes/classes.php 2014-06-16 14:33:04 UTC (rev 12613)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/classes/classes.php 2014-06-16 23:34:06 UTC (rev 12614)
@@ -135,7 +135,7 @@
$ucf_module_name = ucfirst($module_name);
$ucf_table_name = ucfirst($table_name);
$ret = <<<EOT
-\ndefined('XOOPS_ROOT_PATH') or die("Restricted access");
+defined('XOOPS_ROOT_PATH') or die("Restricted access");
/*
* Class Object {$ucf_module_name}{$ucf_table_name}
*/
@@ -174,8 +174,8 @@
public function getHeadFunctionForm($module, $table)
{
$module_name = strtolower($module->getVar('mod_name'));
- $lang_add = $this->getLanguage($module_name, 'AM', 'ADD');
- $lang_edit = $this->getLanguage($module_name, 'AM', 'EDIT');
+ $language = $this->getLanguage($module_name, 'AM');
+ $stu_table_name = strtoupper($table->getVar('table_name'));
$this->formelements->initForm($module, $table);
$ret = <<<EOT
/*
@@ -189,7 +189,7 @@
\$action = filter_input(INPUT_SERVER, 'REQUEST_URI', FILTER_SANITIZE_ENCODED);
}
- \$title = \$this->isNew() ? sprintf({$lang_add}) : sprintf({$lang_edit});
+ \$title = \$this->isNew() ? sprintf({$language}{$stu_table_name}_ADD) : sprintf({$language}{$stu_table_name}_EDIT);
xoops_load('XoopsFormLoader');
\$form = new XoopsThemeForm(\$title, 'form', \$action, 'post', true);
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/docs/changelog.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/docs/changelog.php 2014-06-16 14:33:04 UTC (rev 12613)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/docs/changelog.php 2014-06-16 23:34:06 UTC (rev 12614)
@@ -63,9 +63,9 @@
$module_name = strtolower($module->getVar('mod_name'));
$date = date('Y/m/d G:i:s');
$content = <<<EOT
-====================================
- {$date} Version {$module->getVar('mod_version')}
-====================================
+==============================================================
+Change Log for {$module_name} - {$date} Version {$module->getVar('mod_version')}
+==============================================================
- Original release {$module_name} ({$module->getVar('mod_author')})
EOT;
$this->tdmcfile->create($module_name, 'docs', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/admin.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/admin.php 2014-06-16 14:33:04 UTC (rev 12613)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/admin.php 2014-06-16 23:34:06 UTC (rev 12614)
@@ -20,13 +20,14 @@
*/
defined('XOOPS_ROOT_PATH') or die('Restricted access');
-class LanguageAdmin extends TDMCreateFile
+class LanguageAdmin extends TDMCreateFormElements
{
/*
* @public function constructor
* @param null
*/
public function __construct() {
+ parent::__construct();
$this->tdmcfile = TDMCreateFile::getInstance();
}
/*
@@ -51,8 +52,107 @@
$this->setModule($module);
$this->setTables($tables);
$this->setFileName($filename);
- }
+ }
+ /*
+ * @public function getLanguageAdminIndex
+ * @param string $language
+ * @param string $tables
+ */
+ public function getLanguageAdminIndex($language, $tables)
+ {
+ $ret = <<<EOT
+// ---------------- Index ----------------
+define('{$language}STATISTICS', "Statistics");
+// There are\n
+EOT;
+ foreach (array_keys($tables) as $t)
+ {
+ $table_name = $tables[$t]->getVar('table_name');
+ $stu_table_name = strtoupper($table_name);
+ $stl_table_name = strtolower($table_name);
+ $ret .= <<<EOT
+define('{$language}THEREARE_{$stu_table_name}', "There are <span class='bold'>%s</span> {$stl_table_name} in the database");\n
+EOT;
+ }
+ return $ret;
+ }
+ /*
+ * @public function getLanguageAdminClass
+ * @param string $language
+ * @param string $tables
+ */
+ public function getLanguageAdminClass($language, $tables)
+ {
+ $ret = <<<EOT
+// ---------------- Class ----------------\n
+EOT;
+ foreach (array_keys($tables) as $t)
+ {
+ $table_id = $tables[$t]->getVar('table_id');
+ $table_name = $tables[$t]->getVar('table_name');
+ $stu_table_name = strtoupper($table_name);
+ $ucf_table_name = ucfirst($table_name);
+ $ret .= <<<EOT
+// {$ucf_table_name}
+define('{$language}{$stu_table_name}_ADD', "Add {$table_name}");
+define('{$language}{$stu_table_name}_EDIT', "Edit {$table_name}");
+// Elements of {$ucf_table_name}\n
+EOT;
+ $fields = $this->getTableFields($table_id);
+ foreach(array_keys($fields) as $f)
+ {
+ $field_name = $fields[$f]->getVar('field_name');
+ $stu_field_name = strtoupper($field_name);
+ $field_name_desc = ucfirst(str_replace('_', ' ', $field_name));
+ $ret .= <<<EOT
+define('{$language}{$stu_field_name}', "{$field_name_desc}");\n
+EOT;
+ }
+ }
+ $ret .= <<<EOT
+// Permissions
+define('{$language}PERMISSIONS_APPROVE', "Permissions to approve");
+define('{$language}PERMISSIONS_SUBMIT', "Permissions to submit");
+define('{$language}PERMISSIONS_VIEW', "Permissions to view");\n
+EOT;
+ return $ret;
+ }
/*
+ * @public function getLanguageAdminPermissions
+ * @param string $language
+ */
+ public function getLanguageAdminPermissions($language)
+ {
+ $ret = <<<EOT
+// ---------------- Admin ----------------
+// Permissions
+define('{$language}GLOBAL', "Permissions global");
+define('{$language}GLOBAL_DESC', "Permissions global");
+define('{$language}GLOBAL_4', "Permissions global");
+define('{$language}GLOBAL_8', "Permissions global");
+define('{$language}GLOBAL_16', "Permissions global");
+define('{$language}APPROVE', "Permissions to approve");
+define('{$language}APPROVE_DESC', "Permissions to approve");
+define('{$language}SUBMIT', "Permissions to submit");
+define('{$language}SUBMIT_DESC', "Permissions to submit");
+define('{$language}VIEW', "Permissions to view");
+define('{$language}VIEW_DESC', "Permissions to view");
+define('{$language}NOPERMSSET', "No permission set");\n
+EOT;
+ return $ret;
+ }
+ /*
+ * @public function getLanguageAdminFoot
+ * @param null
+ */
+ public function getLanguageAdminFoot()
+ {
+ $ret = <<<EOT
+// ---------------- ----------------
+EOT;
+ return $ret;
+ }
+ /*
* @public function render
* @param null
*/
@@ -63,19 +163,11 @@
$module_name = $module->getVar('mod_name');
$language = $this->getLanguage($module_name, 'AM');
$content = $this->getHeaderFilesComments($module, $filename);
- $content .= <<<EOT
-\n//Admin
-EOT;
- foreach (array_keys($tables) as $i)
- {
- $table_name = $tables[$i]->getVar('table_name');
- $stu_table_name = strtoupper($table_name);
- $table_name_nohs = strtolower($table_name);
- $content .= <<<EOT
-\n//count "total {$table_name}"
-\ndefine('{$language}{$stu_table_name}', "There are <span class='bold'>%s</span> {$table_name_nohs} in the database");
-EOT;
- }
+ $content .= $this->getLanguageAdminIndex($language, $tables);
+ $content .= $this->getLanguageAdminClass($language, $tables);
+ $content .= $this->getLanguageAdminPermissions($language);
+ $content .= $this->getLanguageAdminFoot();
+ //
$this->tdmcfile->create($module_name, 'language/'.$GLOBALS['xoopsConfig']['language'], $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
return $this->tdmcfile->renderFile();
}
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/blocks.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/blocks.php 2014-06-16 14:33:04 UTC (rev 12613)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/blocks.php 2014-06-16 23:34:06 UTC (rev 12614)
@@ -65,32 +65,29 @@
$language = $this->getLanguage($module_name, 'MB');
$content = $this->getHeaderFilesComments($module, $filename);
$content .= <<<EOT
-\n// Main
+// Main
define('{$language}DISPLAY', "How Many Tables to Display");
define('{$language}TITLELENGTH', "Title Length");
define('{$language}CATTODISPLAY', "Categories to Display");
define('{$language}ALLCAT', "All Categories");\n
EOT;
- foreach (array_keys($tables) as $i)
+ foreach (array_keys($tables) as $t)
{
- $table_id = $tables[$i]->getVar('table_id');
- $table_name = $tables[$i]->getVar('table_name');
- $table_fieldname = $tables[$i]->getVar('table_fieldname');
- $nb_caracteres = strlen($table_fieldname);
- $table_blocks = $tables[$i]->getVar('table_blocks');
- $language1 = $language.strtoupper($table_fieldname);
- $fields = $this->getTableFields($table_id);
+ $table_name = $tables[$t]->getVar('table_name');
+ //$table_fieldname = $tables[$t]->getVar('table_fieldname');
+ //$language1 = $language.strtoupper($table_fieldname);
+ $ucf_table_name = ucfirst($table_name);
+ $content .= <<<EOT
+// {$ucf_table_name}\n
+EOT;
+ $fields = $this->getTableFields($tables[$t]->getVar('table_id'));
foreach (array_keys($fields) as $f)
{
- $field_name = $fields[$f]->getVar('field_name');
- if($f == 0) {
- $fpif = $field_name;
- }
- $fields_final[$f] = substr($fpif, $nb_caracteres);
- $lng_fileds = $language1.'_'.strtoupper($fields_final[$f]);
- $ucf_table_field = $table_name.str_replace('_', ' ', ucfirst($fields_final[$f]));
+ $field_name = $fields[$f]->getVar('field_name');
+ $lng_fields = $language.strtoupper($field_name);
+ $ucf_table_field = ucfirst($table_name.' '.str_replace('_', ' ', $field_name));
$content .= <<<EOT
-define('{$lng_fileds}', "{$ucf_table_field}");\n
+define('{$lng_fields}', "{$ucf_table_field}");\n
EOT;
}
}
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/main.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/main.php 2014-06-16 14:33:04 UTC (rev 12613)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/main.php 2014-06-16 23:34:06 UTC (rev 12614)
@@ -69,7 +69,7 @@
$language = $this->getLanguage($module_name, 'MA');
$content = $this->getHeaderFilesComments($module, $filename);
$content .= <<<EOT
-\n// Main
+// ---------------- Main ----------------
define('{$language}INDEX', "Home");
define('{$language}TITLE', "{$ucf_mod_name}");
define('{$language}DESC', "{$module_description}");
@@ -79,31 +79,29 @@
{
$table_name = $tables[$i]->getVar('table_name');
$table_fieldname = $tables[$i]->getVar('table_fieldname');
- $nb_caracteres = strlen($table_fieldname);
- $table_blocks = $tables[$i]->getVar('table_blocks');
$lng_stu_table_name = $language.strtoupper($table_name);
$ucf_table_name = UcFirstAndToLower($table_name);
$content .= <<<EOT
+// {$ucf_table_name}
define('{$lng_stu_table_name}', "{$ucf_table_name}");
-define('{$lng_stu_table_name}_DESC', "{$ucf_table_name} description");\n
+define('{$lng_stu_table_name}_DESC', "{$ucf_table_name} description");
+// Caption of {$ucf_table_name}\n
EOT;
$fields = $this->getTableFields($tables[$i]->getVar('table_id'));
foreach (array_keys($fields) as $f)
{
- $field_name = $fields[$f]->getVar('field_name');
- if($f == 0) {
- $fpif = $field_name;
- }
- $fields_final[$f] = substr($fpif, $nb_caracteres);
- $lng_stu_fields = $language.'_'.strtoupper($table_fieldname).strtoupper($fields_final[$f]);
- $ucf_fields = ucfirst($table_fieldname.str_replace("_", " ", $fields_final[$f]));
+ $field_name = $fields[$f]->getVar('field_name');
+ $lng_stu_fields = $language.strtoupper($field_name);
+ $ucf_field_name = ucfirst(str_replace('_', ' ', $field_name));
$content .= <<<EOT
-define('{$lng_stu_fields}', "{$ucf_fields}");\n
+define('{$lng_stu_fields}', "{$ucf_field_name}");\n
EOT;
}
}
$content .= <<<EOT
+// Admin link
define('{$language}ADMIN', "Admin");
+// ---------------- ----------------
EOT;
$this->tdmcfile->create($module_name, 'language/'.$GLOBALS['xoopsConfig']['language'], $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
return $this->tdmcfile->renderFile();
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/xoopsversion.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/xoopsversion.php 2014-06-16 14:33:04 UTC (rev 12613)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/xoopsversion.php 2014-06-16 23:34:06 UTC (rev 12614)
@@ -58,6 +58,11 @@
$this->setTable($table);
$this->setTables($tables);
$this->setFileName($filename);
+ foreach (array_keys($tables) as $t)
+ {
+ $table_name = $tables[$t]->getVar('table_name');
+ $this->setKeywords($table_name);
+ }
}
/*
* @public function setKeywords
@@ -166,13 +171,13 @@
// Scripts to run upon installation or update
'onInstall' => "include/install.php",
'onUpdate' => "include/update.php"
-);
+);\n
EOT;
} else {
$ret .= <<<EOT
// Menu
'hasMain' => 0
-);
+);\n
EOT;
}
return $ret;
@@ -185,23 +190,23 @@
{
$table_name = $table->getVar('table_name');
$stl_mod_name = strtolower($module_name);
- $j = 1;
+ $n = 1;
$ret = '';
if ( !empty($table_name) ) {
$ret .= <<<EOT
-\n\n// Mysql file
+\n// Mysql file
\$modversion['sqlfile']['mysql'] = "sql/mysql.sql";
-// Tables
+// Tables\n
EOT;
$tables = $this->getTables();
- foreach (array_keys($tables) as $i)
+ foreach (array_keys($tables) as $t)
{
$ret .= <<<EOT
-\n\$modversion['tables'][{$j}] = "mod_{$stl_mod_name}_{$tables[$i]->getVar('table_name')}";
+\$modversion['tables'][{$n}] = "mod_{$stl_mod_name}_{$tables[$t]->getVar('table_name')}";\n
EOT;
- $j++;
+ $n++;
}
- unset($j);
+ unset($n);
}
return $ret;
}
@@ -216,10 +221,10 @@
$ret = '';
if ( $module->getVar('mod_search') == 1 ) {
$ret .= <<<EOT
-\n//Search
+//Search
\$modversion['hasSearch'] = 1;
\$modversion['search']['file'] = "include/search.inc.php";
-\$modversion['search']['func'] = "{$stl_mod_name}_search";
+\$modversion['search']['func'] = "{$stl_mod_name}_search";\n
EOT;
}
return $ret;
@@ -235,40 +240,62 @@
$ret = '';
if ( $module->getVar('mod_comments') == 1 ) {
$ret .= <<<EOT
-\n// Comments
+// Comments
\$modversion['comments']['pageName'] = "comments.php";
\$modversion['comments']['itemName'] = "com_id";
// Comment callback functions
\$modversion['comments']['callbackFile'] = "include/comment_functions.php";
\$modversion['comments']['callback']['approve'] = "{$stl_mod_name}_com_approve";
-\$modversion['comments']['callback']['update'] = "{$stl_mod_name}_com_update";
+\$modversion['comments']['callback']['update'] = "{$stl_mod_name}_com_update";\n
EOT;
}
return $ret;
}
/*
- * @private function getXoopsVersionTemplates
+ * @private function getXoopsVersionTemplatesAdmin
* @param string $module_name
*/
- private function getXoopsVersionTemplates($module_name)
+ private function getXoopsVersionTemplatesAdmin($module_name)
{
$stl_mod_name = strtolower($module_name);
$tables = $this->getTables();
$ret = <<<EOT
-\n// Templates
+// Templates Admin
+\$modversion['templates'][] = array('file' => 'header.tpl', 'description' => '', 'type' => 'admin');
+\$modversion['templates'][] = array('file' => 'index.tpl', 'description' => '', 'type' => 'admin');\n
+EOT;
+ foreach (array_keys($tables) as $t)
+ {
+ $ret .= <<<EOT
+\$modversion['templates'][] = array('file' => '{$tables[$t]->getVar('table_name')}.tpl', 'description' => '', 'type' => 'admin');\n
+EOT;
+ }
+ $ret .= <<<EOT
+\$modversion['templates'][] = array('file' => 'footer.tpl', 'description' => '', 'type' => 'admin');\n
+EOT;
+ return $ret;
+ }
+ /*
+ * @private function getXoopsVersionTemplatesUser
+ * @param string $module_name
+ */
+ private function getXoopsVersionTemplatesUser($module_name)
+ {
+ $stl_mod_name = strtolower($module_name);
+ $tables = $this->getTables();
+ $ret = <<<EOT
+// Templates User
\$modversion['templates'][] = array('file' => 'header.tpl', 'description' => '');
-\$modversion['templates'][] = array('file' => 'index.tpl', 'description' => '');
+\$modversion['templates'][] = array('file' => 'index.tpl', 'description' => '');\n
EOT;
- foreach (array_keys($tables) as $i)
+ foreach (array_keys($tables) as $t)
{
- $table_name = $tables[$i]->getVar('table_name');
$ret .= <<<EOT
-\n\$modversion['templates'][] = array('file' => '{$table_name}.tpl', 'description' => '');
+\$modversion['templates'][] = array('file' => '{$tables[$t]->getVar('table_name')}.tpl', 'description' => '');\n
EOT;
- $this->setKeywords($table_name);
}
$ret .= <<<EOT
-\n\$modversion['templates'][] = array('file' => 'footer.tpl', 'description' => '');
+\$modversion['templates'][] = array('file' => 'footer.tpl', 'description' => '');\n
EOT;
return $ret;
}
@@ -277,26 +304,26 @@
* @param string $module_name
* @param string $language
*/
- private function getXoopsVersionBlocks($module_name, $table, $language)
+ private function getXoopsVersionBlocks($module_name, $language)
{
$stl_mod_name = strtolower($module_name);
- $ret = '';
- $ret .= <<<EOT
-\n//Blocks
+ $tables = $this->getTables();
+ $ret = <<<EOT
+//Blocks\n
EOT;
foreach (array_keys($tables) as $i) {
$table_name = $tables[$i]->getVar('table_name');
if ($tables[$i]->getVar('table_blocks') == 1) {
$language1 = $language . strtoupper($table_name);
$ret .= <<<EOT
-\n\$modversion['blocks'][] = array(
+\$modversion['blocks'][] = array(
'file' => "{$table_name}.php",
'name' => {$language1}_BLOCK,
'description' => "",
'show_func' => "b_{$stl_mod_name}_{$table_name}_show",
'edit_func' => "b_{$stl_mod_name}_{$table_name}_edit",
'options' => "{$tables[$i]->getVar('table_fieldname')}|5|25|0",
- 'template' => "{$table_name}_block.html");\n
+ 'template' => "{$table_name}.tpl");\n\n
EOT;
$this->setKeywords($table_name);
}
@@ -313,7 +340,7 @@
$module_name = $module->getVar('mod_name');
$stl_mod_name = strtolower($module_name);
$ret = <<<EOT
-\n// Config
+// Config
xoops_load('xoopseditorhandler');
\$editor_handler = XoopsEditorHandler::getInstance();
\$modversion['config'][] = array(
@@ -323,11 +350,11 @@
'formtype' => "select",
'valuetype' => "text",
'options' => array_flip(\$editor_handler->getList()),
- 'default' => "dhtml");\n
+ 'default' => "dhtml");\n\n
EOT;
if ( $module->getVar('mod_permissions') == 1 ) {
- $ret .= <<<EOT
-\n// Get groups
+ $ret .= <<<EOT
+// Get groups
\$member_handler =& xoops_gethandler('member');
\$xoopsgroups = \$member_handler->getGroupList();
foreach (\$xoopsgroups as \$key => \$group) {
@@ -357,22 +384,19 @@
'formtype' => "select_multi",
'valuetype' => "array",
'options' => \$admin_groups,
- 'default' => \$admin_groups);\n
+ 'default' => \$admin_groups);\n\n
EOT;
-}
+ }
+ $key = implode(', ', $this->getKeywords());
$ret .= <<<EOT
-\n\$modversion['config'][] = array(
+\$modversion['config'][] = array(
'name' => "keywords",
'title' => "{$language}KEYWORDS",
'description' => "{$language}KEYWORDS_DESC",
'formtype' => "textbox",
'valuetype' => "text",
- 'default' => "{$stl_mod_name},\n
+ 'default' => "{$stl_mod_name}, {$key}");\n
EOT;
- $ret .= implode(', ', $this->getKeywords());
- $ret .= <<<EOT
-");\n
-EOT;
unset($this->keywords);
if ($table->getVar('table_name') != '')
{
@@ -603,9 +627,14 @@
if ($table->getVar('table_comments') == 1) {
$content .= $this->getXoopsVersionComments($module);
}
- $content .= $this->getXoopsVersionTemplates($module_name);
+ if($table->getVar('table_admin') == 1) {
+ $content .= $this->getXoopsVersionTemplatesAdmin($module_name);
+ }
+ if($table->getVar('table_user') == 1) {
+ $content .= $this->getXoopsVersionTemplatesUser($module_name);
+ }
if ($table->getVar('table_blocks') == 1) {
- $content .= $this->getXoopsVersionBlocks($module_name, $table, $language);
+ $content .= $this->getXoopsVersionBlocks($module_name, $language);
}
$content .= $this->getXoopsVersionConfig($module, $table, $language);
if ($table->getVar('table_notifications') == 1) {
|
|
From: <be...@us...> - 2014-06-16 14:33:11
|
Revision: 12613
http://sourceforge.net/p/xoops/svn/12613
Author: beckmi
Date: 2014-06-16 14:33:04 +0000 (Mon, 16 Jun 2014)
Log Message:
-----------
German Update for 2.5.7
Modified Paths:
--------------
XoopsLanguages/german/core/2.5.7/htdocs/install/language/german/install.php
Modified: XoopsLanguages/german/core/2.5.7/htdocs/install/language/german/install.php
===================================================================
--- XoopsLanguages/german/core/2.5.7/htdocs/install/language/german/install.php 2014-06-16 11:27:58 UTC (rev 12612)
+++ XoopsLanguages/german/core/2.5.7/htdocs/install/language/german/install.php 2014-06-16 14:33:04 UTC (rev 12613)
@@ -204,4 +204,5 @@
define( "PASSWORD_STRONGEST", "sehr gut");
define("FILTER_FUNCTIONS","Filterfunction");
-?>
\ No newline at end of file
+//2.5.7
+define('WRITTEN_LICENSE',"XOOPS Lizenz %s geschriben. Lizenzschlüssel: <strong>%s</strong>");
|
|
From: <be...@us...> - 2014-06-16 11:28:02
|
Revision: 12612
http://sourceforge.net/p/xoops/svn/12612
Author: beckmi
Date: 2014-06-16 11:27:58 +0000 (Mon, 16 Jun 2014)
Log Message:
-----------
Setting up 2.5.8
Modified Paths:
--------------
XoopsCore/branches/2.5.x/2.5.8/docs/changelog.250.txt
XoopsCore/branches/2.5.x/2.5.8/htdocs/include/version.php
Modified: XoopsCore/branches/2.5.x/2.5.8/docs/changelog.250.txt
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/docs/changelog.250.txt 2014-06-16 11:21:43 UTC (rev 12611)
+++ XoopsCore/branches/2.5.x/2.5.8/docs/changelog.250.txt 2014-06-16 11:27:58 UTC (rev 12612)
@@ -1,6 +1,11 @@
XOOPS 2.5.x Changelog (Language changes: see: /docs/lang_diff.txt)
===============================
+NOT RELEASED: Version 2.5.8 Beta 1
+===============================
+Bugfixes:
+
+===============================
2014/06/14: Version 2.5.7 Final
===============================
- updated XoopsMediaUploader to use system memory values from php.ini, and to offer random file names (mamba/luciorota/zyspec)
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/include/version.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/include/version.php 2014-06-16 11:21:43 UTC (rev 12611)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/include/version.php 2014-06-16 11:27:58 UTC (rev 12612)
@@ -30,4 +30,4 @@
/**
* Define XOOPS version
*/
-define('XOOPS_VERSION', 'XOOPS 2.5.7');
+define('XOOPS_VERSION', 'XOOPS 2.5.8_Beta1');
|
|
From: <be...@us...> - 2014-06-16 11:21:46
|
Revision: 12611
http://sourceforge.net/p/xoops/svn/12611
Author: beckmi
Date: 2014-06-16 11:21:43 +0000 (Mon, 16 Jun 2014)
Log Message:
-----------
Setting up XOOPS 2.5.8 branch, just in case, we need it...
Added Paths:
-----------
XoopsCore/branches/2.5.x/2.5.8/
|
|
From: <be...@us...> - 2014-06-16 06:55:07
|
Revision: 12610
http://sourceforge.net/p/xoops/svn/12610
Author: beckmi
Date: 2014-06-16 06:55:01 +0000 (Mon, 16 Jun 2014)
Log Message:
-----------
Creating a 2.5.7 Release
Added Paths:
-----------
XoopsCore/releases/2.5.7/
|
|
From: <be...@us...> - 2014-06-16 06:30:03
|
Revision: 12609
http://sourceforge.net/p/xoops/svn/12609
Author: beckmi
Date: 2014-06-16 06:30:00 +0000 (Mon, 16 Jun 2014)
Log Message:
-----------
Updating help text
Modified Paths:
--------------
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/themes/default/language/english/admin.php
Removed Paths:
-------------
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xbootstrap/modules/extgallery/extgallery_public-photo.html.bak
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/themes/default/language/english/admin.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/themes/default/language/english/admin.php 2014-06-16 05:16:47 UTC (rev 12608)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/themes/default/language/english/admin.php 2014-06-16 06:30:00 UTC (rev 12609)
@@ -46,8 +46,8 @@
define('_OXYGEN_ADMINISTRATION',"XOOPS Administration");
define('_OXYGEN_UPTOP',"Up Top");
//Add help
-define('_OXYGEN_HELP_1',"How can I make content?");
-define('_OXYGEN_HELP_DESC_1','To make content you must first install some module, like the <a href="http://xoops.svn.sourceforge.net/viewvc/xoops/XoopsModules/fmcontent/trunk/?view=tar" rel="external">fmContent</a> or the <a href="https://sourceforge.net/projects/xoops/files/XOOPS%20Module%20Repository/XOOPS2/Content/XOOPS2.5_mod_content_1.4_kerkyra.zip/download" rel="external">Content</a> module. To learn more about modules <a href="modules/system/help.php?mid=1&page=modulesadmin">click here</a>' );
+define('_OXYGEN_HELP_1',"How can I create content with XOOPS?");
+define('_OXYGEN_HELP_DESC_1','To create content, you must first install a content module, like the <a href="https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/publisher/trunk/" rel="external">Publisher</a> or the <a href="https://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/news/trunk/" rel="external">News</a> module. To learn more about XOOPS modules <a href="modules/system/help.php?mid=1&page=modulesadmin">click here</a>' );
define('_OXYGEN_HELP_2',"What is the Block?");
define('_OXYGEN_HELP_DESC_2','Blocks can provide additional/specific content from the installed modules. There can be and custom blocks which can contain text, JS Code, HTML formatted text, pictures, etc. The content in these blocks may be formatted individually or can inherit formatting from the Website. (<a href="modules/system/help.php?mid=1&page=blocksadmin">more ...</a>)');
define('_OXYGEN_HELP_3',"How I can find more help?");
Deleted: XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xbootstrap/modules/extgallery/extgallery_public-photo.html.bak
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xbootstrap/modules/extgallery/extgallery_public-photo.html.bak 2014-06-16 05:16:47 UTC (rev 12608)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xbootstrap/modules/extgallery/extgallery_public-photo.html.bak 2014-06-16 06:30:00 UTC (rev 12609)
@@ -1,163 +0,0 @@
-<div class="row extGalleryAlbum">
-<div class="col-md-12">
- <ul class="breadcrumb">
- <li><a title="<{$extgalleryName}>" href="<{xoAppUrl modules/extgallery/}>"><{$extgalleryName}></a></li>
-
- <{foreachq item=node from=$catPath name=breadcrumb}>
- <li><a href="<{xoAppUrl modules/extgallery/}>public-<{if $node.cat_isalbum}><{$display_type}><{else}>categories<{/if}>.php?id=<{$node.cat_id}>" title="<{$node.cat_name}>"><{$node.cat_name}></a></li>
- <{/foreach}>
- <li><{$photo.photo_title}></li>
- </ul>
-</div>
-
-<div class="col-md-12 aligncenter gallery-single-photo">
- <!-- Start Admin link -->
- <div class="row photo-nav-controls">
- <div class="col-xs-6 col-sm-6 col-md-6">
- <{if $xoops_isadmin}>
- <div class="pull-left">
- <a title="edit" class="btn btn-success btn-xs" href="<{xoAppUrl modules/extgallery/}>public-modify.php?op=edit&id=<{$photo.photo_id}>"><span class="glyphicon glyphicon-edit"></span></a>
- <a title="delete" class="btn btn-danger btn-xs" href="<{xoAppUrl modules/extgallery/}>public-modify.php?op=delete&id=<{$photo.photo_id}>"><span class="glyphicon glyphicon-trash"></span></a>
- </div>
- <{/if}>
- </div>
-
- <div class="col-xs-6 col-sm-6 col-md-6">
- <ul class="pull-right list-unstyled">
- <{if $prevId != 0}><li class="nav-btn"><a href="<{xoAppUrl modules/extgallery/}>public-photo.php?photoId=<{$prevId}>"><span class="glyphicon glyphicon-circle-arrow-left"></span></a><{else}></li><{/if}>
- <li class="small"><{$currentPhoto}></li>
- <li class="small"><{$lang.of}></li>
- <li class="small"><{$totalPhoto}></li>
- <{if $nextId != 0}><li class="nav-btn"><a href="<{xoAppUrl modules/extgallery/}>public-photo.php?photoId=<{$nextId}>"><span class="glyphicon glyphicon-circle-arrow-right"></span></a><{else}></li><{/if}>
- </ul>
- </div>
- </div><!-- .row || .photo-nav-controls -->
-
- <{if $photo.photo_serveur}>
- <img src="<{$photo.photo_serveur}><{$photo.photo_name}>" alt="<{$photo.photo_desc}>" class="img-thumbnail">
- <{else}>
- <img src="<{$xoops_url}>/uploads/extgallery/public-photo/medium/<{$photo.photo_name}>" alt="<{$photo.photo_title}>" class="img-thumbnail">
- <{/if}>
-</div><!-- .gallery-single-photo -->
-
-<div class="row gallery-image-details">
- <{if $disp_ph_title == 1 }>
- <!-- Start Photo Title -->
- <div class="col-md-12">
- <h3 class="gallerytitle"><{$photo.photo_title}></h3>
- </div>
- <{/if}>
-
- <!-- Start Photo desc -->
- <div class="col-md-12">
- <{$photo.photo_desc}>
- </div>
-
- <{if $enableExtra}>
- <!-- Start extra field -->
- <div class="col-md-12">
- <{$photo.photo_extra}>
- </div>
- <{/if}>
-
- <{foreachq item=pluginLink from=$pluginPhotoAlbumLink}>
- <a href="<{$pluginLink.link}><{$photo.photo_id}>" title="<{$pluginLink.name}>"><{$pluginLink.name}></a>
- <{/foreach}>
- <{foreachq item=pluginLink from=$photo.link}>
- <a href="<{$pluginLink.link}><{$photo.photo_id}>" title="<{$pluginLink.name}>"><{$pluginLink.name}></a>
- <{/foreach}>
-
- <!-- Start XOOPS Tag -->
- <{if $tags}>
- <div class="col-md-12">
- <{include file="db:tag_bar.html"}>
- </div>
- <{/if}>
-
- <!-- Start social network and bookmarks -->
- <div class="col-md-12 aligncenter">
- <div class='shareaholic-canvas' data-app='share_buttons' data-app-id='482507'></div>
- </div>
-</div><!-- .gallery-image-details -->
-
-<!-- Start Rating part -->
-<{if $canRate}>
- <div class="col-md-12">
- <h3 class="gallerytitle"><{$lang.voteFor}></h3>
- <div class="aligncenter">
- <a title="<{$lang.voteFor}> : 1" href="<{xoAppUrl modules/extgallery/}>public-rating.php?id=<{$photo.photo_id}>&rate=1"><img src="images/rating_1.gif" alt="<{$lang.voteFor}> : 1"></a>
- <a title="<{$lang.voteFor}> : 2" href="<{xoAppUrl modules/extgallery/}>public-rating.php?id=<{$photo.photo_id}>&rate=2"><img src="images/rating_2.gif" alt="<{$lang.voteFor}> : 2"></a>
- <a title="<{$lang.voteFor}> : 3" href="<{xoAppUrl modules/extgallery/}>public-rating.php?id=<{$photo.photo_id}>&rate=3"><img src="images/rating_3.gif" alt="<{$lang.voteFor}> : 3"></a>
- <a title="<{$lang.voteFor}> : 4" href="<{xoAppUrl modules/extgallery/}>public-rating.php?id=<{$photo.photo_id}>&rate=4"><img src="images/rating_4.gif" alt="<{$lang.voteFor}> : 4"></a>
- <a title="<{$lang.voteFor}> : 5" href="<{xoAppUrl modules/extgallery/}>public-rating.php?id=<{$photo.photo_id}>&rate=5"><img src="images/rating_5.gif" alt="<{$lang.voteFor}> : 5"></a>
- </div>
- </div>
-<{/if}>
-
-<!-- Start Photo Information -->
-<{if $enable_info }>
-
-<a href="#gallery-info" data-toggle="collapse" class="gallery-info-collapse" title="Info"><span class="glyphicon glyphicon-info-sign"></span></a>
-
-<div class="panel-collapse collapse" id="gallery-info">
-
- <h3 class="gallerytitle aligncenter"><{$lang.photoInfo}></h3>
- <ul class="list-unstyled photo-info">
- <{if $enable_submitter_lnk}>
- <li><{$lang.submitter}> : <a title="<{$photo.user.uname}>" href="<{$xoops_url}>/userinfo.php?uid=<{$photo.user.uid}>"><{$photo.user.uname}></a>
- <a title="<{$lang.allPhotoBy}> <{$photo.user.uname}>" href="<{xoAppUrl modules/extgallery/}>public-useralbum.php?id=<{$photo.user.uid}>">
- <{$lang.allPhotoBy}> <{$photo.user.uname}>
- </a>
- </li>
- <{/if}>
-
- <{if $enable_photo_hits}>
- <li><{$lang.view}> : <{$photo.photo_hits}> <{$lang.hits}></li>
- <{/if}>
-
- <{if $enable_resolution}>
- <li><{$lang.resolution}> : <{$photo.photo_res_x}> x <{$photo.photo_res_y}> <{$lang.pixels}> | <{$lang.fileSize}> : <{$photo.photo_size}> Kb</li>
- <{/if}>
-
- <{if $enable_date}>
- <li><{$lang.added}> : <{$photo.photo_date}></li>
- <{/if}>
-
- <{if $canRate}>
- <li><{$lang.score}> : <img src="images/rating_<{$rating}>.gif" alt="rating"> | <{$photo.photo_nbrating}> <{$lang.votes}></li>
- <{/if}>
-
- <{if $canDownload && $enable_download}>
- <li><a title="<{$lang.downloadOrig}>" href="<{xoAppUrl modules/extgallery/}>public-download.php?id=<{$photo.photo_id}>"><{$lang.downloadOrig}><img src="images/download.gif" alt="<{$lang.downloadOrig}>"></a> | <{$photo.photo_download}> <{$lang.donwloads}></li>
- <{/if}>
-
- <{if $canSendEcard && $enable_ecards}>
- <li><a title="<{$lang.sendEcard}>" href="<{xoAppUrl modules/extgallery/}>public-sendecard.php?id=<{$photo.photo_id}>"><{$lang.sendEcard}> <img src="images/ecard.gif" alt="<{$lang.sendEcard}>"></a> | <{$photo.photo_ecard}> <{$lang.sends}></li>
- <{/if}>
- </ul>
-</div>
-<{/if}>
-
- <{if $show_rss}>
- <div id="rss">
- <a href="<{xoAppUrl modules/extgallery/public-rss.php}>" title="<{$smarty.const._MD_EXTGALLERY_RSS}>">
- <img src="<{xoAppUrl modules/extgallery/images/feed.png}>" alt="<{$smarty.const._MD_EXTGALLERY_RSS}>" />
- </a>
- </div>
- <{/if}>
-
-</div><!-- .row || .extGalleryAlbum -->
-
-<{$commentsnav}>
-
-<{$lang_notice}>
-
-<{if $comment_mode == "flat"}>
- <{include file="db:system_comments_flat.html"}>
-<{elseif $comment_mode == "thread"}>
- <{include file="db:system_comments_thread.html"}>
-<{elseif $comment_mode == "nest"}>
- <{include file="db:system_comments_nest.html"}>
-<{/if}>
-
-<{include file='db:system_notification_select.html'}>
\ No newline at end of file
|
|
From: <be...@us...> - 2014-06-16 05:16:55
|
Revision: 12608
http://sourceforge.net/p/xoops/svn/12608
Author: beckmi
Date: 2014-06-16 05:16:47 +0000 (Mon, 16 Jun 2014)
Log Message:
-----------
Adding xNewsletter to 2.5.7 Basic Pack
Added Paths:
-----------
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/xnewsletter/
|
|
From: <be...@us...> - 2014-06-16 05:10:47
|
Revision: 12607
http://sourceforge.net/p/xoops/svn/12607
Author: beckmi
Date: 2014-06-16 05:10:37 +0000 (Mon, 16 Jun 2014)
Log Message:
-----------
removing modules that will be renamed using small letters
Removed Paths:
-------------
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/TDMDownloads/
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/xNewsletter/
|
|
From: <be...@us...> - 2014-06-16 05:06:42
|
Revision: 12606
http://sourceforge.net/p/xoops/svn/12606
Author: beckmi
Date: 2014-06-16 05:06:36 +0000 (Mon, 16 Jun 2014)
Log Message:
-----------
Adding WideImage
Added Paths:
-----------
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Canvas.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Coordinate.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Exception.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Font/
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Font/GDF.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Font/PS.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Font/TTF.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Font/index.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Image.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/BMP.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/GD.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/GD2.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/GIF.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/JPEG.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/PNG.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/TGA.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/index.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/MapperFactory.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/AddNoise.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/ApplyConvolution.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/ApplyFilter.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/ApplyMask.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/AsGrayscale.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/AsNegative.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/AutoCrop.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/CopyChannelsPalette.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/CopyChannelsTrueColor.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/CorrectGamma.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/Crop.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/Flip.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/GetMask.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/Merge.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/Mirror.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/Resize.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/ResizeCanvas.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/Rotate.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/RoundCorners.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/Unsharp.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/index.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/OperationFactory.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/PaletteImage.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/TrueColorImage.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/WideImage.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/docs/
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/docs/index.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/docs/readme.txt
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/index.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/vendor/
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/vendor/de77/
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/vendor/de77/BMP.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/vendor/de77/TGA.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/vendor/de77/index.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/vendor/index.html
Added: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Canvas.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Canvas.php (rev 0)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Canvas.php 2014-06-16 05:06:36 UTC (rev 12606)
@@ -0,0 +1,61 @@
+<?php
+/*
+ WideImage_for_xoops
+ By CHG-WEB
+ 2012/04/08
+ Cédric MONTUY (montuy337513 / black_beard)
+ Original author : Gaspar Kozak
+*/
+if (!defined('XOOPS_ROOT_PATH')) {
+ die("XOOPS root path not defined");
+}
+class WideImage_NoFontException extends WideImage_Exception {}
+class WideImage_InvalidFontFileException extends WideImage_Exception {}
+class WideImage_InvalidCanvasMethodException extends WideImage_Exception {}
+class WideImage_Canvas{
+ protected $handle = 0;
+ protected $image = NULL;
+ protected $font = NULL;
+ function __construct($img){
+ $this->handle = $img->getHandle();
+ $this->image = $img;
+ }
+ function setFont($font){
+ $this->font = $font;
+ }
+ function useFont($file, $size = 12, $color = 0, $bgcolor = NULL){
+ $p = strrpos($file, '.');
+ if ($p === false || $p < strlen($file) - 4)
+ $ext = 'ttf';
+ else
+ $ext = strtolower(substr($file, $p + 1));
+ if ($ext == 'ttf' || $ext == 'otf')
+ $font = new WideImage_Font_TTF($file, $size, $color);
+ elseif ($ext == 'ps')
+ $font = new WideImage_Font_PS($file, $size, $color, $bgcolor);
+ elseif ($ext == 'gdf')
+ $font = new WideImage_Font_GDF($file, $color);
+ else
+ throw new WideImage_InvalidFontFileException('"'.$file.' appears to be an invalid font file.');
+ $this->setFont($font);
+ return $font;
+ }
+ function writeText($x, $y, $text, $angle = 0){
+ if ($this->font === NULL)
+ throw new WideImage_NoFontException("Can't write text without a font.");
+ $angle = - floatval($angle);
+ if ($angle < 0)
+ $angle = 360 + $angle;
+ $angle = $angle % 360;
+ $this->font->writeText($this->image, $x, $y, $text, $angle);
+ }
+ function __call($method, $params){
+ if (function_exists('image' . $method)) {
+ array_unshift($params, $this->handle);
+ call_user_func_array('image' . $method, $params);
+ }else{
+ throw new WideImage_InvalidCanvasMethodException("Function doesn't exist: image{$method}.");
+ }
+ }
+}
+?>
\ No newline at end of file
Property changes on: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Canvas.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Coordinate.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Coordinate.php (rev 0)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Coordinate.php 2014-06-16 05:06:36 UTC (rev 12606)
@@ -0,0 +1,128 @@
+<?php
+/*
+ WideImage_for_xoops
+ By CHG-WEB
+ 2012/04/08
+ Cédric MONTUY (montuy337513 / black_beard)
+ Original author : Gaspar Kozak
+*/
+if (!defined('XOOPS_ROOT_PATH')) {
+ die("XOOPS root path not defined");
+}
+class WideImage_InvalidCoordinateException extends WideImage_Exception {}
+class WideImage_Coordinate{
+ static protected $coord_align = array("left", "center", "right", "top", "middle", "bottom");
+ static protected $coord_numeric = array("[0-9]+", "[0-9]+\.[0-9]+", "[0-9]+%", "[0-9]+\.[0-9]+%");
+ static function parse($c){
+ $tokens = array();
+ $operators = array('+', '-');
+ $flush_operand = false;
+ $flush_operator = false;
+ $current_operand = '';
+ $current_operator = '';
+ $coordinate = strval($c);
+ $expr_len = strlen($coordinate);
+ for ($i = 0; $i < $expr_len; $i++){
+ $char = $coordinate[$i];
+ if (in_array($char, $operators)){
+ $flush_operand = true;
+ $flush_operator = true;
+ $current_operator = $char;
+ }else{
+ $current_operand .= $char;
+ if ($i == $expr_len - 1)
+ $flush_operand = true;
+ }
+ if ($flush_operand) {
+ if (trim($current_operand) != '')
+ $tokens[] = array('type' => 'operand', 'value' => trim($current_operand));
+ $current_operand = '';
+ $flush_operand = false;
+ }
+ if ($flush_operator){
+ $tokens[] = array('type' => 'operator', 'value' => $char);
+ $flush_operator = false;
+ }
+ }
+ return $tokens;
+ }
+ static function evaluate($coord, $dim, $sec_dim = NULL) {
+ $comp_regex = implode('|', self::$coord_align) . '|' . implode('|', self::$coord_numeric);
+ if (preg_match("/^([+-])?({$comp_regex})$/", $coord, $matches)) {
+ $sign = intval($matches[1] . "1");
+ $val = $matches[2];
+ if (in_array($val, self::$coord_align)){
+ if ($sec_dim === NULL){
+ switch ($val){
+ case 'left':
+ case 'top':
+ return 0;
+ break;
+ case 'center':
+ case 'middle':
+ return $sign * intval($dim / 2);
+ break;
+ case 'right':
+ case 'bottom':
+ return $sign * $dim;
+ break;
+ default:
+ return NULL;
+ }
+ }else{
+ switch ($val){
+ case 'left':
+ case 'top':
+ return 0;
+ break;
+ case 'center':
+ case 'middle':
+ return $sign * intval($dim / 2 - $sec_dim / 2);
+ break;
+ case 'right':
+ case 'bottom':
+ return $sign * ($dim - $sec_dim);
+ break;
+ default:
+ return NULL;
+ }
+ }
+ }elseif (substr($val, -1) === '%'){
+ return intval(round($sign * $dim * floatval(str_replace('%', '', $val)) / 100));
+ }else{
+ return $sign * intval(round($val));
+ }
+ }
+ }
+ static function fix($value, $dim, $sec_dim = NULL){
+ $coord_tokens = self::parse($value);
+ if (count($coord_tokens) == 0 || $coord_tokens[count($coord_tokens) - 1]['type'] != 'operand')
+ throw new WideImage_InvalidCoordinateException("Couldn't parse coordinate '$value' properly.");
+ $value = 0;
+ $operation = 1;
+ foreach ($coord_tokens as $token){
+ if ($token['type'] == 'operand'){
+ $operand_value = self::evaluate($token['value'], $dim, $sec_dim);
+ if ($operation == 1)
+ $value = $value + $operand_value;
+ elseif ($operation == -1)
+ $value = $value - $operand_value;
+ else
+ throw new WideImage_InvalidCoordinateException("Invalid coordinate syntax.");
+ $operation = 0;
+ }elseif ($token['type'] == 'operator'){
+ if ($token['value'] == '-') {
+ if ($operation == 0)
+ $operation = -1;
+ else
+ $operation = $operation * -1;
+ }elseif ($token['value'] == '+'){
+ if ($operation == 0)
+ $operation = '1';
+ }
+ }
+ }
+ return $value;
+ }
+}
+?>
\ No newline at end of file
Property changes on: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Coordinate.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Exception.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Exception.php (rev 0)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Exception.php 2014-06-16 05:06:36 UTC (rev 12606)
@@ -0,0 +1,13 @@
+<?php
+/*
+ WideImage_for_xoops
+ By CHG-WEB
+ 2012/04/08
+ Cédric MONTUY (montuy337513 / black_beard)
+ Original author : Gaspar Kozak
+*/
+if (!defined('XOOPS_ROOT_PATH')) {
+ die("XOOPS root path not defined");
+}
+ class WideImage_Exception extends RuntimeException {}
+?>
\ No newline at end of file
Property changes on: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Exception.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Font/GDF.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Font/GDF.php (rev 0)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Font/GDF.php 2014-06-16 05:06:36 UTC (rev 12606)
@@ -0,0 +1,26 @@
+<?php
+/*
+ WideImage_for_xoops
+ By CHG-WEB
+ 2012/04/08
+ Cédric MONTUY (montuy337513 / black_beard)
+ Original author : Gaspar Kozak
+*/
+if (!defined('XOOPS_ROOT_PATH')) {
+ die("XOOPS root path not defined");
+}
+class WideImage_Font_GDF{
+ protected $font;
+ protected $color;
+ function __construct($face, $color) {
+ if (is_int($face) && $face >= 1 && $face <= 5)
+ $this->font = $face;
+ else
+ $this->font = imageloadfont($face);
+ $this->color = $color;
+ }
+ function writeText($image, $x, $y, $text){
+ imagestring($image->getHandle(), $this->font, $x, $y, $text, $this->color);
+ }
+}
+?>
\ No newline at end of file
Property changes on: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Font/GDF.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Font/PS.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Font/PS.php (rev 0)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Font/PS.php 2014-06-16 05:06:36 UTC (rev 12606)
@@ -0,0 +1,35 @@
+<?php
+/*
+ WideImage_for_xoops
+ By CHG-WEB
+ 2012/04/08
+ Cédric MONTUY (montuy337513 / black_beard)
+ Original author : Gaspar Kozak
+*/
+if (!defined('XOOPS_ROOT_PATH')) {
+ die("XOOPS root path not defined");
+}
+class WideImage_Font_PS{
+ public $size;
+ public $color;
+ public $handle;
+ function __construct($file, $size, $color, $bgcolor = NULL) {
+ $this->handle = imagepsloadfont($file);
+ $this->size = $size;
+ $this->color = $color;
+ if ($bgcolor === NULL)
+ $this->bgcolor = $color;
+ else
+ $this->color = $color;
+ }
+ function writeText($image, $x, $y, $text, $angle = 0){
+ if ($image->isTrueColor())
+ $image->alphaBlending(true);
+ imagepstext($image->getHandle(), $text, $this->handle, $this->size, $this->color, $this->bgcolor, $x, $y, 0, 0, $angle, 4);
+ }
+ function __destruct(){
+ imagepsfreefont($this->handle);
+ $this->handle = NULL;
+ }
+}
+?>
\ No newline at end of file
Property changes on: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Font/PS.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Font/TTF.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Font/TTF.php (rev 0)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Font/TTF.php 2014-06-16 05:06:36 UTC (rev 12606)
@@ -0,0 +1,40 @@
+<?php
+/*
+ WideImage_for_xoops
+ By CHG-WEB
+ 2012/04/08
+ Cédric MONTUY (montuy337513 / black_beard)
+ Original author : Gaspar Kozak
+*/
+if (!defined('XOOPS_ROOT_PATH')) {
+ die("XOOPS root path not defined");
+}
+class WideImage_Font_TTF{
+ public $face;
+ public $size;
+ public $color;
+ function __construct($face, $size, $color){
+ $this->face = $face;
+ $this->size = $size;
+ $this->color = $color;
+ }
+ function writeText($image, $x, $y, $text, $angle = 0){
+ if ($image->isTrueColor())
+ $image->alphaBlending(true);
+ $box = imageftbbox($this->size, $angle, $this->face, $text);
+ $obox = array(
+ 'left' => min($box[0], $box[2], $box[4], $box[6]),
+ 'top' => min($box[1], $box[3], $box[5], $box[7]),
+ 'right' => max($box[0], $box[2], $box[4], $box[6]) - 1,
+ 'bottom' => max($box[1], $box[3], $box[5], $box[7]) - 1
+ );
+ $obox['width'] = abs($obox['left']) + abs($obox['right']);
+ $obox['height'] = abs($obox['top']) + abs($obox['bottom']);
+ $x = WideImage_Coordinate::fix($x, $image->getWidth(), $obox['width']);
+ $y = WideImage_Coordinate::fix($y, $image->getHeight(), $obox['height']);
+ $fixed_x = $x - $obox['left'];
+ $fixed_y = $y - $obox['top'];
+ imagettftext($image->getHandle(), $this->size, $angle, $fixed_x, $fixed_y, $this->color, $this->face, $text);
+ }
+}
+?>
\ No newline at end of file
Property changes on: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Font/TTF.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Font/index.html
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Font/index.html (rev 0)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Font/index.html 2014-06-16 05:06:36 UTC (rev 12606)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Image.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Image.php (rev 0)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Image.php 2014-06-16 05:06:36 UTC (rev 12606)
@@ -0,0 +1,250 @@
+<?php
+/*
+ WideImage_for_xoops
+ By CHG-WEB
+ 2012/04/08
+ Cédric MONTUY (montuy337513 / black_beard)
+ Original author : Gaspar Kozak
+*/
+if (!defined('XOOPS_ROOT_PATH')) {
+ die("XOOPS root path not defined");
+}
+class WideImage_InvalidImageDimensionException extends WideImage_Exception {}
+class WideImage_UnknownErrorWhileMappingException extends WideImage_Exception {}
+abstract class WideImage_Image{
+ protected $handle = NULL;
+ protected $handleReleased = false;
+ protected $canvas = NULL;
+ protected $sdata = NULL;
+ function __construct($handle){
+ WideImage::assertValidImageHandle($handle);
+ $this->handle = $handle;
+ }
+ function __destruct(){
+ $this->destroy();
+ }
+ function destroy(){
+ if ($this->isValid() && !$this->handleReleased)
+ imagedestroy($this->handle);
+ $this->handle = NULL;
+ }
+ function getHandle(){
+ return $this->handle;
+ }
+ function isValid(){
+ return WideImage::isValidImageHandle($this->handle);
+ }
+ function releaseHandle(){
+ $this->handleReleased = true;
+ }
+ function saveToFile($uri){
+ $mapper = WideImage_MapperFactory::selectMapper($uri, NULL);
+ $args = func_get_args();
+ array_unshift($args, $this->getHandle());
+ $res = call_user_func_array(array($mapper, 'save'), $args);
+ if (!$res)
+ throw new WideImage_UnknownErrorWhileMappingException(get_class($mapper) . ' returned an invalid result while saving to '.$uri);
+ }
+ function asString($format){
+ ob_start();
+ $args = func_get_args();
+ $args[0] = NULL;
+ array_unshift($args, $this->getHandle());
+ $mapper = WideImage_MapperFactory::selectMapper(null, $format);
+ $res = call_user_func_array(array($mapper, 'save'), $args);
+ if (!$res)
+ throw new WideImage_UnknownErrorWhileMappingException(get_class($mapper) . ' returned an invalid result while writing the image data');
+ return ob_get_clean();
+ }
+ protected function writeHeader($name, $data){
+ header($name . ': ' . $data);
+ }
+ function output($format){
+ $args = func_get_args();
+ $data = call_user_func_array(array($this, 'asString'), $args);
+ $this->writeHeader('Content-length', strlen($data));
+ $this->writeHeader('Content-type', WideImage_MapperFactory::mimeType($format));
+ echo $data;
+ }
+ function getWidth(){
+ return imagesx($this->handle);
+ }
+ function getHeight(){
+ return imagesy($this->handle);
+ }
+ function allocateColor($R, $G = NULL, $B = NULL){
+ if (is_array($R))
+ return imageColorAllocate($this->handle, $R['red'], $R['green'], $R['blue']);
+ else
+ return imageColorAllocate($this->handle, $R, $G, $B);
+ }
+ function isTransparent(){
+ return $this->getTransparentColor() >= 0;
+ }
+ function getTransparentColor(){
+ return imagecolortransparent($this->handle);
+ }
+ function setTransparentColor($color){
+ return imagecolortransparent($this->handle, $color);
+ }
+ function getTransparentColorRGB(){
+ $total = imagecolorstotal($this->handle);
+ $tc = $this->getTransparentColor();
+ if ($tc >= $total && $total > 0)
+ return NULL;
+ else
+ return $this->getColorRGB($tc);
+ }
+ function getRGBAt($x, $y){
+ return $this->getColorRGB($this->getColorAt($x, $y));
+ }
+ function setRGBAt($x, $y, $color){
+ $this->setColorAt($x, $y, $this->getExactColor($color));
+ }
+ function getColorRGB($colorIndex){
+ return imageColorsForIndex($this->handle, $colorIndex);
+ }
+ function getColorAt($x, $y) {
+ return imagecolorat($this->handle, $x, $y);
+ }
+ function setColorAt($x, $y, $color) {
+ return imagesetpixel($this->handle, $x, $y, $color);
+ }
+ function getClosestColor($R, $G = NULL, $B = NULL){
+ if (is_array($R))
+ return imagecolorclosest($this->handle, $R['red'], $R['green'], $R['blue']);
+ else
+ return imagecolorclosest($this->handle, $R, $G, $B);
+ }
+ function getExactColor($R, $G = NULL, $B = NULL){
+ if (is_array($R))
+ return imagecolorexact($this->handle, $R['red'], $R['green'], $R['blue']);
+ else
+ return imagecolorexact($this->handle, $R, $G, $B);
+ }
+ function copyTransparencyFrom($sourceImage, $fill = true){
+ if ($sourceImage->isTransparent()){
+ $rgba = $sourceImage->getTransparentColorRGB();
+ if ($rgba === NULL)
+ return;
+ if ($this->isTrueColor()){
+ $rgba['alpha'] = 127;
+ $color = $this->allocateColorAlpha($rgba);
+ }else{
+ $color = $this->allocateColor($rgba);
+ }
+ $this->setTransparentColor($color);
+ if ($fill)
+ $this->fill(0, 0, $color);
+ }
+ }
+ function fill($x, $y, $color){
+ return imagefill($this->handle, $x, $y, $color);
+ }
+ protected function getOperation($name){
+ return WideImage_OperationFactory::get($name);
+ }
+ function getMask(){
+ return $this->getOperation('GetMask')->execute($this);
+ }
+ function resize($width = NULL, $height = NULL, $fit = 'inside', $scale = 'any') {
+ return $this->getOperation('Resize')->execute($this, $width, $height, $fit, $scale);
+ }
+ function resizeDown($width = NULL, $height = NULL, $fit = 'inside') {
+ return $this->resize($width, $height, $fit, 'down');
+ }
+ function resizeUp($width = NULL, $height = NULL, $fit = 'inside'){
+ return $this->resize($width, $height, $fit, 'up');
+ }
+ function rotate($angle, $bgColor = NULL, $ignoreTransparent = true) {
+ return $this->getOperation('Rotate')->execute($this, $angle, $bgColor, $ignoreTransparent);
+ }
+ function merge($overlay, $left = 0, $top = 0, $pct = 100){
+ return $this->getOperation('Merge')->execute($this, $overlay, $left, $top, $pct);
+ }
+ function resizeCanvas($width, $height, $pos_x, $pos_y, $bg_color = NULL, $scale = 'any', $merge = false){
+ return $this->getOperation('ResizeCanvas')->execute($this, $width, $height, $pos_x, $pos_y, $bg_color, $scale, $merge);
+ }
+ function roundCorners($radius, $color = NULL, $smoothness = 2, $corners = 255){
+ return $this->getOperation('RoundCorners')->execute($this, $radius, $color, $smoothness, $corners);
+ }
+ function applyMask($mask, $left = 0, $top = 0){
+ return $this->getOperation('ApplyMask')->execute($this, $mask, $left, $top);
+ }
+ function applyFilter($filter, $arg1 = NULL, $arg2 = NULL, $arg3 = NULL, $arg4 = NULL){
+ return $this->getOperation('ApplyFilter')->execute($this, $filter, $arg1, $arg2, $arg3, $arg4);
+ }
+ function applyConvolution($matrix, $div, $offset){
+ return $this->getOperation('ApplyConvolution')->execute($this, $matrix, $div, $offset);
+ }
+ function crop($left = 0, $top = 0, $width = '100%', $height = '100%'){
+ return $this->getOperation('Crop')->execute($this, $left, $top, $width, $height);
+ }
+ function autoCrop($margin = 0, $rgb_threshold = 0, $pixel_cutoff = 1, $base_color = NULL){
+ return $this->getOperation('AutoCrop')->execute($this, $margin, $rgb_threshold, $pixel_cutoff, $base_color);
+ }
+ function asNegative(){
+ return $this->getOperation('AsNegative')->execute($this);
+ }
+ function asGrayscale(){
+ return $this->getOperation('AsGrayscale')->execute($this);
+ }
+ function mirror(){
+ return $this->getOperation('Mirror')->execute($this);
+ }
+ function unsharp($amount, $radius, $threshold){
+ return $this->getOperation('Unsharp')->execute($this, $amount, $radius, $threshold);
+ }
+ function flip() {
+ return $this->getOperation('Flip')->execute($this);
+ }
+ function correctGamma($inputGamma, $outputGamma){
+ return $this->getOperation('CorrectGamma')->execute($this, $inputGamma, $outputGamma);
+ }
+ function addNoise($amount, $type){
+ return $this->getOperation('AddNoise')->execute($this, $amount, $type);
+ }
+ function __call($name, $args){
+ $op = $this->getOperation($name);
+ array_unshift($args, $this);
+ return call_user_func_array(array($op, 'execute'), $args);
+ }
+ function __toString(){
+ if ($this->isTransparent())
+ return $this->asString('gif');
+ else
+ return $this->asString('png');
+ }
+ function copy() {
+ $dest = $this->doCreate($this->getWidth(), $this->getHeight());
+ $dest->copyTransparencyFrom($this, true);
+ $this->copyTo($dest, 0, 0);
+ return $dest;
+ }
+ function copyTo($dest, $left = 0, $top = 0) {
+ if (!imagecopy($dest->getHandle(), $this->handle, $left, $top, 0, 0, $this->getWidth(), $this->getHeight()))
+ throw new WideImage_GDFunctionResultException("imagecopy() returned false");
+ }
+ function getCanvas(){
+ if ($this->canvas == NULL)
+ $this->canvas = new WideImage_Canvas($this);
+ return $this->canvas;
+ }
+ abstract function isTrueColor();
+ abstract function asTrueColor();
+ abstract function asPalette($nColors = 255, $dither = NULL, $matchPalette = true);
+ abstract function getChannels();
+ abstract function copyNoAlpha();
+ function __sleep() {
+ $this->sdata = $this->asString('png');
+ return array('sdata', 'handleReleased');
+ }
+ function __wakeup() {
+ $temp_image = WideImage::loadFromString($this->sdata);
+ $temp_image->releaseHandle();
+ $this->handle = $temp_image->handle;
+ $temp_image = NULL;
+ $this->sdata = NULL;
+ }
+ }
+?>
\ No newline at end of file
Property changes on: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Image.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/BMP.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/BMP.php (rev 0)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/BMP.php 2014-06-16 05:06:36 UTC (rev 12606)
@@ -0,0 +1,27 @@
+<?php
+/*
+ WideImage_for_xoops
+ By CHG-WEB
+ 2012/04/08
+ Cédric MONTUY (montuy337513 / black_beard)
+ Original author : Gaspar Kozak
+*/
+if (!defined('XOOPS_ROOT_PATH')) {
+ die("XOOPS root path not defined");
+}
+include_once WideImage::path() . '/vendor/de77/BMP.php';
+class WideImage_Mapper_BMP{
+ function load($uri){
+ return WideImage_vendor_de77_BMP::imagecreatefrombmp($uri);
+ }
+ function loadFromString($data){
+ return WideImage_vendor_de77_BMP::imagecreatefromstring($data);
+ }
+ function save($handle, $uri = NULL){
+ if ($uri == NULL)
+ return WideImage_vendor_de77_BMP::imagebmp($handle);
+ else
+ return WideImage_vendor_de77_BMP::imagebmp($handle, $uri);
+ }
+}
+?>
\ No newline at end of file
Property changes on: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/BMP.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/GD.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/GD.php (rev 0)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/GD.php 2014-06-16 05:06:36 UTC (rev 12606)
@@ -0,0 +1,23 @@
+<?php
+/*
+ WideImage_for_xoops
+ By CHG-WEB
+ 2012/04/08
+ Cédric MONTUY (montuy337513 / black_beard)
+ Original author : Gaspar Kozak
+*/
+if (!defined('XOOPS_ROOT_PATH')) {
+ die("XOOPS root path not defined");
+}
+class WideImage_Mapper_GD{
+ function load($uri) {
+ return @imagecreatefromgd($uri);
+ }
+ function save($handle, $uri = NULL){
+ if ($uri == NULL)
+ return imagegd($handle);
+ else
+ return imagegd($handle, $uri);
+ }
+}
+?>
\ No newline at end of file
Property changes on: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/GD.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/GD2.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/GD2.php (rev 0)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/GD2.php 2014-06-16 05:06:36 UTC (rev 12606)
@@ -0,0 +1,20 @@
+<?php
+/*
+ WideImage_for_xoops
+ By CHG-WEB
+ 2012/04/08
+ Cédric MONTUY (montuy337513 / black_beard)
+ Original author : Gaspar Kozak
+*/
+if (!defined('XOOPS_ROOT_PATH')) {
+ die("XOOPS root path not defined");
+}
+class WideImage_Mapper_GD2{
+ function load($uri){
+ return @imagecreatefromgd2($uri);
+ }
+ function save($handle, $uri = NULL, $chunk_size = NULL, $type = NULL){
+ return imagegd2($handle, $uri, $chunk_size, $type);
+ }
+}
+?>
\ No newline at end of file
Property changes on: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/GD2.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/GIF.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/GIF.php (rev 0)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/GIF.php 2014-06-16 05:06:36 UTC (rev 12606)
@@ -0,0 +1,23 @@
+<?php
+/*
+ WideImage_for_xoops
+ By CHG-WEB
+ 2012/04/08
+ Cédric MONTUY (montuy337513 / black_beard)
+ Original author : Gaspar Kozak
+*/
+if (!defined('XOOPS_ROOT_PATH')) {
+ die("XOOPS root path not defined");
+}
+class WideImage_Mapper_GIF{
+ function load($uri) {
+ return @imagecreatefromgif($uri);
+ }
+ function save($handle, $uri = NULL) {
+ if ($uri)
+ return imagegif($handle, $uri);
+ else
+ return imagegif($handle);
+ }
+}
+?>
\ No newline at end of file
Property changes on: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/GIF.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/JPEG.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/JPEG.php (rev 0)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/JPEG.php 2014-06-16 05:06:36 UTC (rev 12606)
@@ -0,0 +1,20 @@
+<?php
+/*
+ WideImage_for_xoops
+ By CHG-WEB
+ 2012/04/08
+ Cédric MONTUY (montuy337513 / black_beard)
+ Original author : Gaspar Kozak
+*/
+if (!defined('XOOPS_ROOT_PATH')) {
+ die("XOOPS root path not defined");
+}
+class WideImage_Mapper_JPEG{
+ function load($uri){
+ return @imagecreatefromjpeg($uri);
+ }
+ function save($handle, $uri = NULL, $quality = 100){
+ return imagejpeg($handle, $uri, $quality);
+ }
+}
+?>
\ No newline at end of file
Property changes on: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/JPEG.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/PNG.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/PNG.php (rev 0)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/PNG.php 2014-06-16 05:06:36 UTC (rev 12606)
@@ -0,0 +1,20 @@
+<?php
+/*
+ WideImage_for_xoops
+ By CHG-WEB
+ 2012/04/08
+ Cédric MONTUY (montuy337513 / black_beard)
+ Original author : Gaspar Kozak
+*/
+if (!defined('XOOPS_ROOT_PATH')) {
+ die("XOOPS root path not defined");
+}
+class WideImage_Mapper_PNG{
+ function load($uri){
+ return @imagecreatefrompng($uri);
+ }
+ function save($handle, $uri = NULL, $compression = 9, $filters = PNG_ALL_FILTERS){
+ return imagepng($handle, $uri, $compression, $filters);
+ }
+}
+?>
\ No newline at end of file
Property changes on: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/PNG.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/TGA.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/TGA.php (rev 0)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/TGA.php 2014-06-16 05:06:36 UTC (rev 12606)
@@ -0,0 +1,24 @@
+<?php
+/*
+ WideImage_for_xoops
+ By CHG-WEB
+ 2012/04/08
+ Cédric MONTUY (montuy337513 / black_beard)
+ Original author : Gaspar Kozak
+*/
+if (!defined('XOOPS_ROOT_PATH')) {
+ die("XOOPS root path not defined");
+}
+include_once WideImage::path() . '/vendor/de77/TGA.php';
+class WideImage_Mapper_TGA{
+ function load($uri){
+ return WideImage_vendor_de77_TGA::imagecreatefromtga($uri);
+ }
+ function loadFromString($data){
+ return WideImage_vendor_de77_TGA::imagecreatefromstring($data);
+ }
+ function save($handle, $uri = NULL){
+ throw new WideImage_Exception("Saving to TGA isn't supported.");
+ }
+}
+?>
\ No newline at end of file
Property changes on: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/TGA.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/index.html
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/index.html (rev 0)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Mapper/index.html 2014-06-16 05:06:36 UTC (rev 12606)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/MapperFactory.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/MapperFactory.php (rev 0)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/MapperFactory.php 2014-06-16 05:06:36 UTC (rev 12606)
@@ -0,0 +1,69 @@
+<?php
+/*
+ WideImage_for_xoops
+ By CHG-WEB
+ 2012/04/08
+ Cédric MONTUY (montuy337513 / black_beard)
+ Original author : Gaspar Kozak
+*/
+if (!defined('XOOPS_ROOT_PATH')) {
+ die("XOOPS root path not defined");
+}
+class WideImage_UnsupportedFormatException extends WideImage_Exception {}
+ abstract class WideImage_MapperFactory{
+ static protected $mappers = array();
+ static protected $customMappers = array();
+ static protected $mimeTable = array(
+ 'image/jpg' => 'JPEG',
+ 'image/jpeg' => 'JPEG',
+ 'image/pjpeg' => 'JPEG',
+ 'image/gif' => 'GIF',
+ 'image/png' => 'PNG'
+ );
+ static function selectMapper($uri, $format = NULL){
+ $format = self::determineFormat($uri, $format);
+ if (array_key_exists($format, self::$mappers))
+ return self::$mappers[$format];
+ $mapperClassName = 'WideImage_Mapper_' . $format;
+ if (!class_exists($mapperClassName, false)) {
+ $mapperFileName = WideImage::path() . 'Mapper/' . $format . '.php';
+ if (file_exists($mapperFileName))
+ require_once $mapperFileName;
+ }
+ if (class_exists($mapperClassName)){
+ self::$mappers[$format] = new $mapperClassName();
+ return self::$mappers[$format];
+ }
+ throw new WideImage_UnsupportedFormatException("Format '{$format}' is not supported.");
+ }
+ static function registerMapper($mapper_class_name, $mime_type, $extension){
+ self::$customMappers[$mime_type] = $mapper_class_name;
+ self::$mimeTable[$mime_type] = $extension;
+ }
+ static function getCustomMappers(){
+ return self::$customMappers;
+ }
+ static function determineFormat($uri, $format = NULL){
+ if ($format == NULL)
+ $format = self::extractExtension($uri);
+ if (preg_match('~[a-z]*/[a-z-]*~i', $format))
+ if (isset(self::$mimeTable[strtolower($format)])){
+ return self::$mimeTable[strtolower($format)];
+ }
+ $format = strtoupper(preg_replace('/[^a-z0-9_-]/i', '', $format));
+ if ($format == 'JPG')
+ $format = 'JPEG';
+ return $format;
+ }
+ static function mimeType($format){
+ return array_search(strtoupper($format), self::$mimeTable);
+ }
+ static function extractExtension($uri){
+ $p = strrpos($uri, '.');
+ if ($p === false)
+ return '';
+ else
+ return substr($uri, $p + 1);
+ }
+}
+?>
\ No newline at end of file
Property changes on: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/MapperFactory.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/AddNoise.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/AddNoise.php (rev 0)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/AddNoise.php 2014-06-16 05:06:36 UTC (rev 12606)
@@ -0,0 +1,70 @@
+<?php
+/*
+ WideImage_for_xoops
+ By CHG-WEB
+ 2012/04/08
+ Cédric MONTUY (montuy337513 / black_beard)
+ Original author : Gaspar Kozak
+*/
+if (!defined('XOOPS_ROOT_PATH')) {
+ die("XOOPS root path not defined");
+}
+class WideImage_Operation_AddNoise {
+ function execute($image, $amount, $type) {
+ switch ($type){
+ case 'salt&pepper':
+ $fun = 'saltPepperNoise_fun';
+ break;
+ case 'color':
+ $fun = 'colorNoise_fun';
+ break;
+ default :
+ $fun = 'monoNoise_fun';
+ }
+ return self::filter($image->asTrueColor(), $fun, $amount);
+ }
+ function filter($image, $function, $value){
+ for ($y = 0; $y < $image->getHeight(); $y++){
+ for ($x = 0; $x< $image->getWidth(); $x++){
+ $rgb = imagecolorat($image->getHandle(), $x, $y);
+ $a = ($rgb >> 24) & 0xFF;
+ $r = ($rgb >> 16) & 0xFF;
+ $g = ($rgb >> 8) & 0xFF;
+ $b = $rgb & 0xFF;
+ self::$function($r, $g, $b, $value);
+ $color = imagecolorallocatealpha($image->getHandle(), $r, $g, $b, $a);
+ imagesetpixel($image->getHandle(), $x, $y, $color);
+ }
+ }
+ return $image;
+ }
+ function colorNoise_fun(&$r, &$g, &$b, $amount) {
+ $r = self::byte($r + mt_rand(0, $amount) - ($amount >> 1) );
+ $g = self::byte($g + mt_rand(0, $amount) - ($amount >> 1) );
+ $b = self::byte($b + mt_rand(0, $amount) - ($amount >> 1) );
+ }
+ function monoNoise_fun(&$r, &$g, &$b, $amount){
+ $rand = mt_rand(0, $amount) - ($amount >> 1);
+ $r = self::byte($r + $rand);
+ $g = self::byte($g + $rand);
+ $b = self::byte($b + $rand);
+ }
+ function saltPepperNoise_fun(&$r, &$g, &$b, $amount){
+ if (mt_rand(0, 255 - $amount) != 0) return;
+ $rand = mt_rand(0, 1);
+ switch ($rand){
+ case 0 :
+ $r = $g = $b = 0;
+ break;
+ case 1 :
+ $r = $g = $b = 255;
+ break;
+ }
+ }
+ function byte($b){
+ if ($b > 255) return 255;
+ if ($b < 0) return 0;
+ return (int) $b;
+ }
+}
+?>
\ No newline at end of file
Property changes on: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/AddNoise.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/ApplyConvolution.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/ApplyConvolution.php (rev 0)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/ApplyConvolution.php 2014-06-16 05:06:36 UTC (rev 12606)
@@ -0,0 +1,20 @@
+<?php
+/*
+ WideImage_for_xoops
+ By CHG-WEB
+ 2012/04/08
+ Cédric MONTUY (montuy337513 / black_beard)
+ Original author : Gaspar Kozak
+*/
+if (!defined('XOOPS_ROOT_PATH')) {
+ die("XOOPS root path not defined");
+}
+class WideImage_Operation_ApplyConvolution{
+ function execute($image, $matrix, $div, $offset){
+ $new = $image->asTrueColor();
+ if (!imageconvolution($new->getHandle(), $matrix, $div, $offset))
+ throw new WideImage_GDFunctionResultException('imageconvolution() returned false');
+ return $new;
+ }
+}
+?>
\ No newline at end of file
Property changes on: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/ApplyConvolution.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/ApplyFilter.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/ApplyFilter.php (rev 0)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/ApplyFilter.php 2014-06-16 05:06:36 UTC (rev 12606)
@@ -0,0 +1,29 @@
+<?php
+/*
+ WideImage_for_xoops
+ By CHG-WEB
+ 2012/04/08
+ Cédric MONTUY (montuy337513 / black_beard)
+ Original author : Gaspar Kozak
+*/
+if (!defined('XOOPS_ROOT_PATH')) {
+ die("XOOPS root path not defined");
+}
+class WideImage_Operation_ApplyFilter{
+ static protected $one_arg_filters = array(IMG_FILTER_SMOOTH, IMG_FILTER_CONTRAST, IMG_FILTER_BRIGHTNESS);
+ function execute($image, $filter, $arg1 = NULL, $arg2 = NULL, $arg3 = NULL, $arg4 = NULL){
+ $new = $image->asTrueColor();
+ if (in_array($filter, self::$one_arg_filters))
+ $res = imagefilter($new->getHandle(), $filter, $arg1);
+ elseif (defined('IMG_FILTER_PIXELATE') && $filter == IMG_FILTER_PIXELATE)
+ $res = imagefilter($new->getHandle(), $filter, $arg1, $arg2);
+ elseif ($filter == IMG_FILTER_COLORIZE)
+ $res = imagefilter($new->getHandle(), $filter, $arg1, $arg2, $arg3, $arg4);
+ else
+ $res = imagefilter($new->getHandle(), $filter);
+ if (!$res)
+ throw new WideImage_GDFunctionResultException("imagefilter() returned false");
+ return $new;
+ }
+}
+?>
\ No newline at end of file
Property changes on: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/ApplyFilter.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/ApplyMask.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/ApplyMask.php (rev 0)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/ApplyMask.php 2014-06-16 05:06:36 UTC (rev 12606)
@@ -0,0 +1,59 @@
+<?php
+/*
+ WideImage_for_xoops
+ By CHG-WEB
+ 2012/04/08
+ Cédric MONTUY (montuy337513 / black_beard)
+ Original author : Gaspar Kozak
+*/
+if (!defined('XOOPS_ROOT_PATH')) {
+ die("XOOPS root path not defined");
+}
+class WideImage_Operation_ApplyMask{
+ function execute($image, $mask, $left = 0, $top = 0){
+ $left = WideImage_Coordinate::fix($left, $image->getWidth(), $mask->getWidth());
+ $top = WideImage_Coordinate::fix($top, $image->getHeight(), $mask->getHeight());
+ $width = $image->getWidth();
+ $mask_width = $mask->getWidth();
+ $height = $image->getHeight();
+ $mask_height = $mask->getHeight();
+ $result = $image->asTrueColor();
+ $result->alphaBlending(false);
+ $result->saveAlpha(true);
+ $srcTransparentColor = $result->getTransparentColor();
+ if ($srcTransparentColor >= 0){
+ $destTransparentColor = $srcTransparentColor;
+ }else{
+ $destTransparentColor = $result->allocateColorAlpha(255, 255, 255, 127);
+ }
+ for ($x = 0; $x < $width; $x++)
+ for ($y = 0; $y < $height; $y++){
+ $mx = $x - $left;
+ $my = $y - $top;
+ if ($mx >= 0 && $mx < $mask_width && $my >= 0 && $my < $mask_height){
+ $srcColor = $image->getColorAt($x, $y);
+ if ($srcColor == $srcTransparentColor){
+ $destColor = $destTransparentColor;
+ }else{
+ $maskRGB = $mask->getRGBAt($mx, $my);
+ if ($maskRGB['red'] == 0) {
+ $destColor = $destTransparentColor;
+ } elseif ($srcColor >= 0){
+ $imageRGB = $image->getRGBAt($x, $y);
+ $level = ($maskRGB['red'] / 255) * (1 - $imageRGB['alpha'] / 127);
+ $imageRGB['alpha'] = 127 - round($level * 127);
+ if ($imageRGB['alpha'] == 127)
+ $destColor = $destTransparentColor;
+ else
+ $destColor = $result->allocateColorAlpha($imageRGB);
+ }else{
+ $destColor = $destTransparentColor;
+ }
+ }
+ $result->setColorAt($x, $y, $destColor);
+ }
+ }
+ return $result;
+ }
+}
+?>
\ No newline at end of file
Property changes on: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/ApplyMask.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/AsGrayscale.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/AsGrayscale.php (rev 0)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/AsGrayscale.php 2014-06-16 05:06:36 UTC (rev 12606)
@@ -0,0 +1,22 @@
+<?php
+/*
+ WideImage_for_xoops
+ By CHG-WEB
+ 2012/04/08
+ Cédric MONTUY (montuy337513 / black_beard)
+ Original author : Gaspar Kozak
+*/
+if (!defined('XOOPS_ROOT_PATH')) {
+ die("XOOPS root path not defined");
+}
+class WideImage_Operation_AsGrayscale{
+ function execute($image){
+ $new = $image->asTrueColor();
+ if (!imagefilter($new->getHandle(), IMG_FILTER_GRAYSCALE))
+ throw new WideImage_GDFunctionResultException('imagefilter() returned false');
+ if (!$image->isTrueColor())
+ $new = $new->asPalette();
+ return $new;
+ }
+}
+?>
\ No newline at end of file
Property changes on: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/AsGrayscale.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/AsNegative.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/AsNegative.php (rev 0)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/AsNegative.php 2014-06-16 05:06:36 UTC (rev 12606)
@@ -0,0 +1,32 @@
+<?php
+/*
+ WideImage_for_xoops
+ By CHG-WEB
+ 2012/04/08
+ Cédric MONTUY (montuy337513 / black_beard)
+ Original author : Gaspar Kozak
+*/
+if (!defined('XOOPS_ROOT_PATH')) {
+ die("XOOPS root path not defined");
+}
+class WideImage_Operation_AsNegative{
+ function execute($image){
+ $palette = !$image->isTrueColor();
+ $transparent = $image->isTransparent();
+ if ($palette && $transparent)
+ $tcrgb = $image->getTransparentColorRGB();
+ $new = $image->asTrueColor();
+ if (!imagefilter($new->getHandle(), IMG_FILTER_NEGATE))
+ throw new WideImage_GDFunctionResultException("imagefilter() returned false");
+ if ($palette){
+ $new = $new->asPalette();
+ if ($transparent){
+ $irgb = array('red' => 255 - $tcrgb['red'], 'green' => 255 - $tcrgb['green'], 'blue' => 255 - $tcrgb['blue'], 'alpha' => 127);
+ $new_tci = imagecolorexactalpha($new->getHandle(), $irgb['red'], $irgb['green'], $irgb['blue'], 127);
+ $new->setTransparentColor($new_tci);
+ }
+ }
+ return $new;
+ }
+}
+?>
\ No newline at end of file
Property changes on: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/AsNegative.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/AutoCrop.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/AutoCrop.php (rev 0)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/AutoCrop.php 2014-06-16 05:06:36 UTC (rev 12606)
@@ -0,0 +1,102 @@
+<?php
+/*
+ WideImage_for_xoops
+ By CHG-WEB
+ 2012/04/08
+ Cédric MONTUY (montuy337513 / black_beard)
+ Original author : Gaspar Kozak
+*/
+if (!defined('XOOPS_ROOT_PATH')) {
+ die("XOOPS root path not defined");
+}
+class WideImage_Operation_AutoCrop{
+ function execute($img, $margin, $rgb_threshold, $pixel_cutoff, $base_color) {
+ $margin = intval($margin);
+ $rgb_threshold = intval($rgb_threshold);
+ if ($rgb_threshold < 0)
+ $rgb_threshold = 0;
+ $pixel_cutoff = intval($pixel_cutoff);
+ if ($pixel_cutoff <= 1)
+ $pixel_cutoff = 1;
+ if ($base_color === NULL){
+ $rgb_base = $img->getRGBAt(0, 0);
+ }else{
+ if ($base_color < 0)
+ return $img->copy();
+ $rgb_base = $img->getColorRGB($base_color);
+ }
+ $cut_rect = array('left' => 0, 'top' => 0, 'right' => $img->getWidth() - 1, 'bottom' => $img->getHeight() - 1);
+ for ($y = 0; $y <= $cut_rect['bottom']; $y++){
+ $count = 0;
+ for ($x = 0; $x <= $cut_rect['right']; $x++){
+ $rgb = $img->getRGBAt($x, $y);
+ $diff = abs($rgb['red'] - $rgb_base['red']) + abs($rgb['green'] - $rgb_base['green']) + abs($rgb['blue'] - $rgb_base['blue']);
+ if ($diff > $rgb_threshold) {
+ $count++;
+ if ($count >= $pixel_cutoff){
+ $cut_rect['top'] = $y;
+ break 2;
+ }
+ }
+ }
+ }
+ for ($y = $img->getHeight() - 1; $y >= $cut_rect['top']; $y--){
+ $count = 0;
+ for ($x = 0; $x <= $cut_rect['right']; $x++){
+ $rgb = $img->getRGBAt($x, $y);
+ $diff = abs($rgb['red'] - $rgb_base['red']) + abs($rgb['green'] - $rgb_base['green']) + abs($rgb['blue'] - $rgb_base['blue']);
+ if ($diff > $rgb_threshold){
+ $count++;
+ if ($count >= $pixel_cutoff){
+ $cut_rect['bottom'] = $y;
+ break 2;
+ }
+ }
+ }
+ }
+ for ($x = 0; $x <= $cut_rect['right']; $x++){
+ $count = 0;
+ for ($y = $cut_rect['top']; $y <= $cut_rect['bottom']; $y++){
+ $rgb = $img->getRGBAt($x, $y);
+ $diff = abs($rgb['red'] - $rgb_base['red']) + abs($rgb['green'] - $rgb_base['green']) + abs($rgb['blue'] - $rgb_base['blue']);
+ if ($diff > $rgb_threshold) {
+ $count++;
+ if ($count >= $pixel_cutoff){
+ $cut_rect['left'] = $x;
+ break 2;
+ }
+ }
+ }
+ }
+ for ($x = $cut_rect['right']; $x >= $cut_rect['left']; $x--){
+ $count = 0;
+ for ($y = $cut_rect['top']; $y <= $cut_rect['bottom']; $y++){
+ $rgb = $img->getRGBAt($x, $y);
+ $diff = abs($rgb['red'] - $rgb_base['red']) + abs($rgb['green'] - $rgb_base['green']) + abs($rgb['blue'] - $rgb_base['blue']);
+ if ($diff > $rgb_threshold) {
+ $count++;
+ if ($count >= $pixel_cutoff){
+ $cut_rect['right'] = $x;
+ break 2;
+ }
+ }
+ }
+ }
+ $cut_rect = array(
+ 'left' => $cut_rect['left'] - $margin,
+ 'top' => $cut_rect['top'] - $margin,
+ 'right' => $cut_rect['right'] + $margin,
+ 'bottom' => $cut_rect['bottom'] + $margin
+ );
+ if ($cut_rect['left'] < 0)
+ $cut_rect['left'] = 0;
+ if ($cut_rect['top'] < 0)
+ $cut_rect['top'] = 0;
+ if ($cut_rect['right'] >= $img->getWidth())
+ $cut_rect['right'] = $img->getWidth() - 1;
+ if ($cut_rect['bottom'] >= $img->getHeight())
+ $cut_rect['bottom'] = $img->getHeight() - 1;
+ return $img->crop($cut_rect['left'], $cut_rect['top'], $cut_rect['right'] - $cut_rect['left'] + 1, $cut_rect['bottom'] - $cut_rect['top'] + 1);
+ }
+}
+?>
\ No newline at end of file
Property changes on: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/AutoCrop.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/CopyChannelsPalette.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/CopyChannelsPalette.php (rev 0)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/wideimage/Operation/CopyChannelsPalette.php 2014-06-16 05:06:36 UTC (rev 12606)
@@ -0,0 +1,49 @@
+<?php
+/*
+ WideImage_for_xoops
+ By CHG-WEB
+ 2012/04/08
+ Cédric MONTUY (montuy337513 / black_beard)
+ Original author : Gaspar Kozak
+*/
+if (!defined('XOOPS_ROOT_PATH')) {
+ die("XOOPS root path not defined");
+}
+class WideImage_Operation_CopyChannelsPalette{
+ function execute($img, $channels){
+ $blank = array('red' => 0, 'green' => 0, 'blue' => 0);
+ if (isset($channels['alpha']))
+ unset($channels['alpha']);
+ $width = $img->getWidth();
+ $height = $img->getHeight();
+ $copy = WideImage_PaletteImage::create($width, $height);
+ if ($img->isTransparent()){
+ $otci = $img->getTransparentColor();
+ $TRGB = $img->getColorRGB($otci);
+ $tci = $copy->allocateColor($TRGB);
+ }else{
+ $otci = NULL;
+ $tci = NULL;
+ }
+ for ($x = 0; $x < $width; $x++)
+ for ($y = 0; $y < $height; $y++){
+ $ci = $img->getColorAt($x, $y);
+ if ($ci === $otci){
+ $copy->setColorAt($x, $y, $tci);
+ continue;
+ }
+ $RGB = $img->getColorRGB($ci);
+ $newRGB = $blank;
+ foreach ($channels as $channel)
+ $newRGB[$channel] = $RGB[$channel];
+ $color = $copy->getExactColor($newRGB);
+ if ($color == -1)
+ ...
[truncated message content] |
|
From: <be...@us...> - 2014-06-16 00:31:12
|
Revision: 12605
http://sourceforge.net/p/xoops/svn/12605
Author: beckmi
Date: 2014-06-16 00:31:04 +0000 (Mon, 16 Jun 2014)
Log Message:
-----------
removing backup files
Removed Paths:
-------------
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/tcpdf_config 0.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/tcpdf_config.php.bak
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/tcpdf_config_6_0_082.php
Deleted: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/tcpdf_config 0.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/tcpdf_config 0.php 2014-06-16 00:28:33 UTC (rev 12604)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/tcpdf_config 0.php 2014-06-16 00:31:04 UTC (rev 12605)
@@ -1,99 +0,0 @@
-<?php
-/*******************************************************************************
- * Software: TCPDF for Xoops *
- * Version: 1.06 *
- * Date: 2012-10-04 *
- * Author: montuy337513 (frxoops.org) alias Black_beard (xoops.org) *
- * License: Freeware *
- * *
- * You may use and modify this software as you wish. *
- *******************************************************************************/
-// Original version :
-//============================================================+
-// File name : tcpdf.php
-// Version : 5.9.193
-// Begin : 2002-08-03
-// Last Update : 2012-09-25
-// Author : Nicola Asuni - Tecnick.com LTD - Manor Coach House, Church Hill, Aldershot, Hants, GU12 4RQ, UK - www.tecnick.com - in...@te...
-// License : http://www.tecnick.com/pagefiles/tcpdf/LICENSE.TXT GNU-LGPLv3
-// -------------------------------------------------------------------
-if (!defined('XOOPS_ROOT_PATH')) {
- die("XOOPS root path not defined");
-}
-define ('FONT_DEFAULT', 'dejavusans'); // Font a utiliser par défaut
-$la_font = '';
-$tableau_font = array(
- 'chinese' => 'cid0cs',
- 'schinese' => 'cid0cs',
- 'tchinese' => 'cid0ct',
- 'japanese' => 'cid0jp',
- 'korean' => 'cid0kr'
- );
-if (!defined('K_TCPDF_EXTERNAL_CONFIG')) {
- define ('K_PATH_MAIN', XOOPS_ROOT_PATH.'/Frameworks/tcpdf/'); //panwac
- define ('K_PATH_URL', XOOPS_URL.'/Frameworks/tcpdf/');
- if (!array_key_exists($xoopsConfig['language'],$tableau_font)) {
- define ('K_PATH_FONTS', K_PATH_MAIN.'fonts/');
- $la_font = FONT_DEFAULT;
- } else {
- if (is_file(XOOPS_ROOT_PATH.'/language/'.$xoopsConfig['language'].'/fonts/'. $tableau_font[$xoopsConfig['language']].'.php')) {
- define ('K_PATH_FONTS', XOOPS_ROOT_PATH.'/language/'.$xoopsConfig['language'].'/fonts/');
- $la_font = $tableau_font[$xoopsConfig['language']];
- } elseif(is_file(K_PATH_MAIN.'fonts/'.$tableau_font[$xoopsConfig['language']].'.php')) {
- define ('K_PATH_FONTS', K_PATH_MAIN.'fonts/');
- $la_font = $tableau_font[$xoopsConfig['language']];
- } else {
- define ('K_PATH_FONTS', K_PATH_MAIN.'fonts/');
- $la_font = FONT_DEFAULT;
- }
- }
- define ('K_PATH_CACHE', K_PATH_MAIN.'cache/');
- define ('K_PATH_URL_CACHE', K_PATH_URL.'cache/');
- define ('K_PATH_IMAGES', K_PATH_MAIN.'images/');
- define ('K_BLANK_IMAGE', K_PATH_IMAGES.'_blank.png');
- define ('PDF_PAGE_FORMAT', 'A4');
- define ('PDF_PAGE_ORIENTATION', 'P'); // P -> portrait ; L -> Landscape
- define ('PDF_CREATOR', 'TCPDF for Xoops - Version 1.05');
- define ('PDF_AUTHOR', $pdf_data['author'].'<br />');
- define ('PDF_HEADER_TITLE', $pdf_data['title'].'<br />');
- define ('PDF_HEADER_STRING', '');
- define ('PDF_HEADER_LOGO', 'logo.png');
- define ('PDF_HEADER_LOGO_WIDTH', 30); // header logo image width [mm]
- define ('PDF_UNIT', 'mm'); //document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch]
- define ('PDF_MARGIN_HEADER', 5);
- define ('PDF_MARGIN_FOOTER', 10);
- define ('PDF_MARGIN_TOP', 27);
- define ('PDF_MARGIN_BOTTOM', 25);
- define ('PDF_MARGIN_LEFT', 15);
- define ('PDF_MARGIN_RIGHT', 15);
- define ('PDF_FONT_NAME_SLOGAN', $la_font);
- define ('PDF_FONT_STYLE_SLOGAN', 'B');
- define ('PDF_FONT_SIZE_SLOGAN', '8');
- define ('PDF_FONT_NAME_TITLE', $la_font);
- define ('PDF_FONT_STYLE_TITLE', 'B');
- define ('PDF_FONT_SIZE_TITLE', '12');
- define ('PDF_FONT_NAME_SUB', $la_font);
- define ('PDF_FONT_STYLE_SUB', 'I');
- define ('PDF_FONT_SIZE_SUB', '8');
- define ('PDF_FONT_NAME_SUBSUB', $la_font);
- define ('PDF_FONT_STYLE_SUBSUB', '');
- define ('PDF_FONT_SIZE_SUBSUB', '6');
- define ('PDF_FONT_NAME_MAIN', $la_font);
- define ('PDF_FONT_SIZE_MAIN', 10);
- define ('PDF_FONT_STYLE_MAIN','');
- define ('PDF_FONT_NAME_DATA', $la_font);
- define ('PDF_FONT_STYLE_DATA','I');
- define ('PDF_FONT_SIZE_DATA', 8);
- define ('PDF_FONT_MONOSPACED', $la_font);
- define ('PDF_IMAGE_SCALE_RATIO', 1.25);
- define('HEAD_MAGNIFICATION', 1.1);
- define('K_CELL_HEIGHT_RATIO', 1.25);
- define('K_TITLE_MAGNIFICATION', 1.3);
- define('K_SMALL_RATIO', 0.66);
- define('K_XSMALL_RATIO', 0.5);
- define('K_THAI_TOPCHARS', true);
- define('K_TCPDF_CALLS_IN_HTML', true);
- define('NEWS_PDF_AUTHOR', _POSTEDBY);
- define('NEWS_PDF_DATE', _MD_POSTEDON);
-}
-
Deleted: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/tcpdf_config.php.bak
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/tcpdf_config.php.bak 2014-06-16 00:28:33 UTC (rev 12604)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/tcpdf_config.php.bak 2014-06-16 00:31:04 UTC (rev 12605)
@@ -1,270 +0,0 @@
-<?php
-/*******************************************************************************
- * Software: TCPDF for Xoops *
- * Version: 1.07 *
- * Date: 2014-6-15 *
- * Author: montuy337513 (frxoops.org) alias Black_beard (xoops.org) *
- * License: Freeware *
- * *
- * You may use and modify this software as you wish. *
- *******************************************************************************/
-// Original version :
-//============================================================+
-// File name : tcpdf_config.php
-// Version : 6.0.084
-// Begin : 2004-06-13
-// Last Update : 2014-06-15
-//
-// Description : Configuration file for TCPDF.
-// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - in...@te...
-// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
-// -------------------------------------------------------------------
-// Copyright (C) 2004-2014 Nicola Asuni - Tecnick.com LTD
-//
-// This file is part of TCPDF software library.
-//
-// TCPDF is free software: you can redistribute it and/or modify it
-// under the terms of the GNU Lesser General Public License as
-// published by the Free Software Foundation, either version 3 of the
-// License, or (at your option) any later version.
-//
-// TCPDF is distributed in the hope that it will be useful, but
-// WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-// See the GNU Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public License
-// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
-//
-// See LICENSE.TXT file for more information.
-//============================================================+
-
-if (!defined('XOOPS_ROOT_PATH')) {
- die("XOOPS root path not defined");
-}
-
-define ('FONT_DEFAULT', 'dejavusans'); // Font a utiliser par défaut
-$la_font = '';
-$tableau_font = array(
- 'chinese' => 'cid0cs',
- 'schinese' => 'cid0cs',
- 'tchinese' => 'cid0ct',
- 'japanese' => 'cid0jp',
- 'korean' => 'cid0kr'
- );
-
-
-// IMPORTANT:
-// If you define the constant K_TCPDF_EXTERNAL_CONFIG, all the following settings will be ignored.
-// If you use the tcpdf_autoconfig.php, then you can overwrite some values here.
-if (!defined('K_TCPDF_EXTERNAL_CONFIG')) {
- define ('K_PATH_MAIN', XOOPS_PATH.'/vendor/tcpdf/'); //panwac
-// define ('K_PATH_URL', XOOPS_URL.'/Frameworks/tcpdf/');
- if (!array_key_exists($xoopsConfig['language'],$tableau_font)) {
- define ('K_PATH_FONTS', K_PATH_MAIN.'fonts/');
- $la_font = FONT_DEFAULT;
- } else {
- if (is_file(XOOPS_ROOT_PATH.'/language/'.$xoopsConfig['language'].'/fonts/'. $tableau_font[$xoopsConfig['language']].'.php')) {
- define ('K_PATH_FONTS', XOOPS_ROOT_PATH.'/language/'.$xoopsConfig['language'].'/fonts/');
- $la_font = $tableau_font[$xoopsConfig['language']];
- } elseif(is_file(K_PATH_MAIN.'fonts/'.$tableau_font[$xoopsConfig['language']].'.php')) {
- define ('K_PATH_FONTS', K_PATH_MAIN.'fonts/');
- $la_font = $tableau_font[$xoopsConfig['language']];
- } else {
- define ('K_PATH_FONTS', K_PATH_MAIN.'fonts/');
- $la_font = FONT_DEFAULT;
- }
- }
-
-/**
- * URL path to tcpdf installation folder (http://localhost/tcpdf/).
- * By default it is automatically set but you can also set it as a fixed string to improve performances.
- */
-//define ('K_PATH_URL', '');
-
-/**
- * Path for PDF fonts.
- * By default it is automatically set but you can also set it as a fixed string to improve performances.
- */
-//define ('K_PATH_FONTS', K_PATH_MAIN.'fonts/');
-
-/**
- * Default images directory.
- * By default it is automatically set but you can also set it as a fixed string to improve performances.
- */
-//define ('K_PATH_IMAGES', '');
-
-/**
- * Deafult image logo used be the default Header() method.
- * Please set here your own logo or an empty string to disable it.
- */
-//define ('PDF_HEADER_LOGO', '');
-
-/**
- * Header logo image width in user units.
- */
-//define ('PDF_HEADER_LOGO_WIDTH', 0);
-
-/**
- * Cache directory for temporary files (full path).
- */
-define ('K_PATH_CACHE', XOOPS_VAR_PATH .'/caches/xoops_cache/');
-/**
- * Generic name for a blank image.
- */
-define ('K_BLANK_IMAGE', '_blank.png');
-
-/**
- * Page format.
- */
- define ('PDF_PAGE_FORMAT', 'A4');
-
-/**
- * Page orientation (P=portrait, L=landscape).
- */
- define ('PDF_PAGE_ORIENTATION', 'P'); // P -> portrait ; L -> Landscape
-
-/**
- * Document creator.
- */
- define ('PDF_CREATOR', 'TCPDF for Xoops - Version 1.07');
-
-/**
- * Document author.
- */
- define ('PDF_AUTHOR', $pdf_data['author'].'<br />');
-
-/**
- * Header title.
- */
- define ('PDF_HEADER_TITLE', $pdf_data['title'].'<br />');
-
-/**
- * Header description string.
- */
- define ('PDF_HEADER_STRING', '');
- /**
- * image logo
- */
- define ('PDF_HEADER_LOGO', 'logo.png');
-
- /**
- * header logo image width [mm]
- */
-// define ('PDF_HEADER_LOGO_WIDTH', 30); // header logo image width [mm]
-/**
- * Document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch].
- */
- define ('PDF_UNIT', 'mm'); //document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch]
-/**
- * Header margin.
- */
-define ('PDF_MARGIN_HEADER', 5);
-
-/**
- * Footer margin.
- */
-define ('PDF_MARGIN_FOOTER', 10);
-
-/**
- * Top margin.
- */
-define ('PDF_MARGIN_TOP', 27);
-
-/**
- * Bottom margin.
- */
-define ('PDF_MARGIN_BOTTOM', 25);
-
-/**
- * Left margin.
- */
-define ('PDF_MARGIN_LEFT', 15);
-
-/**
- * Right margin.
- */
-define ('PDF_MARGIN_RIGHT', 15);
- define ('PDF_FONT_NAME_SLOGAN', $la_font);
- define ('PDF_FONT_STYLE_SLOGAN', 'B');
- define ('PDF_FONT_SIZE_SLOGAN', '8');
- define ('PDF_FONT_NAME_TITLE', $la_font);
- define ('PDF_FONT_STYLE_TITLE', 'B');
- define ('PDF_FONT_SIZE_TITLE', '12');
- define ('PDF_FONT_NAME_SUB', $la_font);
- define ('PDF_FONT_STYLE_SUB', 'I');
- define ('PDF_FONT_SIZE_SUB', '8');
- define ('PDF_FONT_NAME_SUBSUB', $la_font);
- define ('PDF_FONT_STYLE_SUBSUB', '');
- define ('PDF_FONT_SIZE_SUBSUB', '6');
-/**
- * Default main font name.
- */
- define ('PDF_FONT_NAME_MAIN', $la_font);
-
-/**
- * Default main font size.
- */
- define ('PDF_FONT_SIZE_MAIN', 10);
- define ('PDF_FONT_STYLE_MAIN','');
-
-/**
- * Default data font name.
- */
- define ('PDF_FONT_NAME_DATA', $la_font);
- define ('PDF_FONT_STYLE_DATA','I');
-
-/**
- * Ratio used to adjust the conversion of pixels to user units.
- */
- define ('PDF_FONT_SIZE_DATA', 8);
-
-/**
- * Default monospaced font name.
- */
- define ('PDF_FONT_MONOSPACED', $la_font);
-
-/**
- * Ratio used to adjust the conversion of pixels to user units.
- */
- define ('PDF_IMAGE_SCALE_RATIO', 1.25);
-
-/**
- * Magnification factor for titles.
- */
- define('HEAD_MAGNIFICATION', 1.1);
-
-/**
- * Height of cell respect font height.
- */
- define('K_CELL_HEIGHT_RATIO', 1.25);
-
-/**
- * Title magnification respect main font size.
- */
- define('K_TITLE_MAGNIFICATION', 1.3);
-
-/**
- * Reduction factor for small font.
- */
- define('K_SMALL_RATIO', 0.66);
- define('K_XSMALL_RATIO', 0.5);
-
-/**
- * Set to true to enable the special procedure used to avoid the overlappind of symbols on Thai language.
- */
- define('K_THAI_TOPCHARS', true);
-
-/**
- * If true allows to call TCPDF methods using HTML syntax
- * IMPORTANT: For security reason, disable this feature if you are printing user HTML content.
- */
- define('K_TCPDF_CALLS_IN_HTML', true);
-
-/**
- * If true and PHP version is greater than 5, then the Error() method throw new exception instead of terminating the execution.
- */
- define('K_TCPDF_THROW_EXCEPTION_ERROR', false);
- define('NEWS_PDF_AUTHOR', _POSTEDBY);
- define('NEWS_PDF_DATE', _MD_POSTEDON);
-}
Deleted: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/tcpdf_config_6_0_082.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/tcpdf_config_6_0_082.php 2014-06-16 00:28:33 UTC (rev 12604)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/tcpdf_config_6_0_082.php 2014-06-16 00:31:04 UTC (rev 12605)
@@ -1,222 +0,0 @@
-<?php
-//============================================================+
-// File name : tcpdf_config.php
-// Begin : 2004-06-11
-// Last Update : 2014-01-25
-//
-// Description : Configuration file for TCPDF.
-// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - in...@te...
-// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
-// -------------------------------------------------------------------
-// Copyright (C) 2004-2014 Nicola Asuni - Tecnick.com LTD
-//
-// This file is part of TCPDF software library.
-//
-// TCPDF is free software: you can redistribute it and/or modify it
-// under the terms of the GNU Lesser General Public License as
-// published by the Free Software Foundation, either version 3 of the
-// License, or (at your option) any later version.
-//
-// TCPDF is distributed in the hope that it will be useful, but
-// WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-// See the GNU Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public License
-// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
-//
-// See LICENSE.TXT file for more information.
-//============================================================+
-
-/**
- * Configuration file for TCPDF.
- * @author Nicola Asuni
- * @package com.tecnick.tcpdf
- * @version 4.9.005
- * @since 2004-10-27
- */
-
-// IMPORTANT:
-// If you define the constant K_TCPDF_EXTERNAL_CONFIG, all the following settings will be ignored.
-// If you use the tcpdf_autoconfig.php, then you can overwrite some values here.
-
-
-/**
- * Installation path (/var/www/tcpdf/).
- * By default it is automatically calculated but you can also set it as a fixed string to improve performances.
- */
-//define ('K_PATH_MAIN', '');
-
-/**
- * URL path to tcpdf installation folder (http://localhost/tcpdf/).
- * By default it is automatically set but you can also set it as a fixed string to improve performances.
- */
-//define ('K_PATH_URL', '');
-
-/**
- * Path for PDF fonts.
- * By default it is automatically set but you can also set it as a fixed string to improve performances.
- */
-//define ('K_PATH_FONTS', K_PATH_MAIN.'fonts/');
-
-/**
- * Default images directory.
- * By default it is automatically set but you can also set it as a fixed string to improve performances.
- */
-//define ('K_PATH_IMAGES', '');
-
-/**
- * Deafult image logo used be the default Header() method.
- * Please set here your own logo or an empty string to disable it.
- */
-//define ('PDF_HEADER_LOGO', '');
-
-/**
- * Header logo image width in user units.
- */
-//define ('PDF_HEADER_LOGO_WIDTH', 0);
-
-/**
- * Cache directory for temporary files (full path).
- */
-//define ('K_PATH_CACHE', '/tmp/');
-
-/**
- * Generic name for a blank image.
- */
-define ('K_BLANK_IMAGE', '_blank.png');
-
-/**
- * Page format.
- */
-define ('PDF_PAGE_FORMAT', 'A4');
-
-/**
- * Page orientation (P=portrait, L=landscape).
- */
-define ('PDF_PAGE_ORIENTATION', 'P');
-
-/**
- * Document creator.
- */
-define ('PDF_CREATOR', 'TCPDF');
-
-/**
- * Document author.
- */
-define ('PDF_AUTHOR', 'TCPDF');
-
-/**
- * Header title.
- */
-define ('PDF_HEADER_TITLE', 'TCPDF Example');
-
-/**
- * Header description string.
- */
-define ('PDF_HEADER_STRING', "by Nicola Asuni - Tecnick.com\nwww.tcpdf.org");
-
-/**
- * Document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch].
- */
-define ('PDF_UNIT', 'mm');
-
-/**
- * Header margin.
- */
-define ('PDF_MARGIN_HEADER', 5);
-
-/**
- * Footer margin.
- */
-define ('PDF_MARGIN_FOOTER', 10);
-
-/**
- * Top margin.
- */
-define ('PDF_MARGIN_TOP', 27);
-
-/**
- * Bottom margin.
- */
-define ('PDF_MARGIN_BOTTOM', 25);
-
-/**
- * Left margin.
- */
-define ('PDF_MARGIN_LEFT', 15);
-
-/**
- * Right margin.
- */
-define ('PDF_MARGIN_RIGHT', 15);
-
-/**
- * Default main font name.
- */
-define ('PDF_FONT_NAME_MAIN', 'helvetica');
-
-/**
- * Default main font size.
- */
-define ('PDF_FONT_SIZE_MAIN', 10);
-
-/**
- * Default data font name.
- */
-define ('PDF_FONT_NAME_DATA', 'helvetica');
-
-/**
- * Default data font size.
- */
-define ('PDF_FONT_SIZE_DATA', 8);
-
-/**
- * Default monospaced font name.
- */
-define ('PDF_FONT_MONOSPACED', 'courier');
-
-/**
- * Ratio used to adjust the conversion of pixels to user units.
- */
-define ('PDF_IMAGE_SCALE_RATIO', 1.25);
-
-/**
- * Magnification factor for titles.
- */
-define('HEAD_MAGNIFICATION', 1.1);
-
-/**
- * Height of cell respect font height.
- */
-define('K_CELL_HEIGHT_RATIO', 1.25);
-
-/**
- * Title magnification respect main font size.
- */
-define('K_TITLE_MAGNIFICATION', 1.3);
-
-/**
- * Reduction factor for small font.
- */
-define('K_SMALL_RATIO', 2/3);
-
-/**
- * Set to true to enable the special procedure used to avoid the overlappind of symbols on Thai language.
- */
-define('K_THAI_TOPCHARS', true);
-
-/**
- * If true allows to call TCPDF methods using HTML syntax
- * IMPORTANT: For security reason, disable this feature if you are printing user HTML content.
- */
-define('K_TCPDF_CALLS_IN_HTML', true);
-
-/**
- * If true and PHP version is greater than 5, then the Error() method throw new exception instead of terminating the execution.
- */
-define('K_TCPDF_THROW_EXCEPTION_ERROR', false);
-
-//============================================================+
-// END OF FILE
-//============================================================+
|
|
From: <be...@us...> - 2014-06-16 00:28:50
|
Revision: 12604
http://sourceforge.net/p/xoops/svn/12604
Author: beckmi
Date: 2014-06-16 00:28:33 +0000 (Mon, 16 Jun 2014)
Log Message:
-----------
Adding TCPDF 6.0.084 library
Added Paths:
-----------
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/CHANGELOG.TXT
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/LICENSE.TXT
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/README.TXT
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/cache/
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/cache/index.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/composer.json
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/index.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/arabic.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/armenian.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/brazilian.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/bulgarian.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/chinese.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/croatian.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/czech.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/danish.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/english.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/estonian.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/euskara.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/french.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/galician.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/geogian.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/german.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/hebrew.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/hungarian.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/index.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/indonesian.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/italian.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/japanese.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/korean.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/macedonian.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/malaysian.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/maltese.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/nederlands.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/norwegian.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/persian.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/polish.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/portuguese.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/romanian.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/russian.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/schinese.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/serbian.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/slovenian.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/spanish.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/swahili.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/swedish.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/tchinese.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/ukrainian.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/lang/urdu.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/tcpdf_config 0.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/tcpdf_config.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/tcpdf_config.php.bak
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/config/tcpdf_config_6_0_082.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/docs/
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/docs/README.txt
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/docs/changelog.txt
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/docs/index.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/fonts/
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/fonts/courier.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/fonts/courierb.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/fonts/courierbi.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/fonts/courieri.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/fonts/dejavusans.ctg.z
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/fonts/dejavusans.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/fonts/dejavusans.z
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/fonts/helvetica.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/fonts/helveticab.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/fonts/helveticabi.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/fonts/helveticai.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/fonts/index.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/fonts/symbol.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/fonts/times.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/fonts/timesb.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/fonts/timesbi.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/fonts/timesi.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/fonts/zapfdingbats.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/images/
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/images/_blank.png
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/images/index.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/images/logo.png
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/images/tcpdf_logo.jpg
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/images/tcpdf_signature.png
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/include/
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/include/barcodes/
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/include/barcodes/datamatrix.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/include/barcodes/pdf417.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/include/barcodes/qrcode.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/include/sRGB.icc
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/include/tcpdf_colors.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/include/tcpdf_filters.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/include/tcpdf_font_data.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/include/tcpdf_fonts.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/include/tcpdf_images.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/include/tcpdf_static.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/tcpdf.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/tcpdf_autoconfig.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/tcpdf_barcodes_1d.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/tcpdf_barcodes_2d.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/tcpdf_import.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/tcpdf_parser.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/tools/
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/tools/.htaccess
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/tools/convert_fonts_examples.txt
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/tools/tcpdf_addfont.php
Added: XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/CHANGELOG.TXT
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/CHANGELOG.TXT (rev 0)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/tcpdf/CHANGELOG.TXT 2014-06-16 00:28:33 UTC (rev 12604)
@@ -0,0 +1,2823 @@
+6.0.084 (2014-06-13)
+ - A bug related to MultiCell fitcell feature was fixed.
+ - Bug item #931 "Documentation error for setPageFormat()" was fixed.
+
+6.0.083 (2014-05-29)
+ - Bug item #928 "setHtmlVSpace with HR element" was fixed.
+
+6.0.082 (2014-05-23)
+ - Bug item #926 "test statement instead of assignment used in tcpdf_fonts.php" was fixed.
+ - Bug item #925 "924 transparent images bug" was fixed.
+
+6.0.081 (2014-05-22)
+ - Bug item #922 "writehtml tables thead repeating" was fixed.
+ - Patch #71 "External and internal links, local and remote" wa applied.
+
+6.0.080 (2014-05-20)
+ - Bug item #921 "Fatal error in hyphenateText() function" was fixed.
+ - Bug item #923 "Automatic Hyphenation error" was fixed.
+ - Patch #70 "Augument TCPDFBarcode classes with ability to return raw png image data" was applied.
+
+6.0.079 (2014-05-19)
+ - Patch item #69 "Named destinations, HTML internal and external links" was merged.
+ - Bug item #920 "hyphenateText() should not hyphenate the content of style-tags in HTML mode" was fixed.
+ - Image method now trigs an error in case the cache is now writeable.
+ - Fixed issue with layer default status.
+
+6.0.078 (2014-05-12)
+ - A warning issue in addTTFfont() method was fixed.
+ - Fonts were updated to include cbbox metrics.
+
+6.0.077 (2014-05-06)
+ - A Datamatrix barcode bug was fixed.
+
+6.0.076 (2014-05-06)
+ - A bug in Datamatrix Base256 encoding was fixed.
+ - Merged fix for SVG use/clip-gradient.
+ - Now it is possible to prefix a page number in Link methods with the * character to avoid been changed when adding/deleting/moving pages (see example_045.php).
+
+6.0.075 (2014-05-05)
+ - Bug #917 "Using realtive Units like ex or em for images distort output in HTML mode" was fixed.
+
+6.0.074 (2014-05-03)
+ - Part of Bug #917 "Using realtive Units like ex or em for images distort output in HTML mode" was fixed.
+ - Bug #915 "Problem with SVG Image using Radial Gradients" was fixed.
+
+6.0.073 (2014-04-29)
+ - Bug #913 "Possible bug with line-height" was fixed.
+ - Bug #914 "MultiCell and FitCell" was fixed.
+ - Bug #915 "Problem with SVG Image using Radial Gradients" was fixed.
+
+6.0.072 (2014-04-27)
+ - Deprecated curly braces substring syntax was replaced with square braces.
+
+6.0.071 (2014-04-25)
+ - Bug #911 "error with buffered png pics" was fixed.
+
+6.0.070 (2014-04-24)
+ - Bug #910 "An SVG image is being cut off (with clipping mask) when you use align options" was fixed.
+
+6.0.069 (2014-04-24)
+ - Datamatrix Base256 encoding was fixed.
+
+6.0.068 (2014-04-22)
+ - Some Datamatrix barcode bugs were fixed.
+
+6.0.067 (2014-04-21)
+ - startLayer() method signature was changed to include a new "lock" parameter.
+
+6.0.066 (2014-04-20)
+ - Bug #908 "Linebreak is not considered when getting length of the next string" was fixed.
+
+6.0.065 (2014-04-10)
+ - Bug #905 "RGB percentage color bug in convertHTMLColorToDec()" was fixed.
+
+6.0.064 (2014-04-07)
+ - Header and Footer fonts are now set by default.
+ - Bug #904 "PDF corrupted" was fixed.
+
+6.0.063 (2014-04-03)
+ - Method TCPDF_IMAGES::_parsepng() was fixed to support transparency in Indexed images.
+
+6.0.062 (2014-03-02)
+ - The method startLayer() now accepts the NULL value for the $print parameter to not set the print layer option.
+
+6.0.061 (2014-02-18)
+ - Bug #893 "Parsing error on streamed xref for secured pdf" was fixed.
+
+6.0.060 (2014-02-16)
+ - Bug #891 "Error on parsing hexa fields" was fixed.
+ - Bug #892 "Parsing pdf with trailing space at start" was fixed.
+
+6.0.059 (2014-02-03)
+ - SVG 'use' support was imporved.
+
+6.0.058 (2014-01-31)
+ - Bug #886 "Bugs with SVG using <defs> and <use>" was fixed.
+
+6.0.057 (2014-01-26)
+ - Bug #883 "Parsing error" was fixed.
+
+6.0.056 (2014-01-25)
+ - The automatic cache folder selection now works also with some restricted hosting environments.
+ - CSS text-transform property is now supported (requires the multibyte string library for php) - see examle n. 061 (Thanks to Walter Ferraz).
+ - Bug #884 "Parsing error prev tag looking for" was fixed.
+
+6.0.055 (2014-01-15)
+ - Bug #880 "Error detecting hX tags (h1,h2..)" was fixed
+ - Bug #879 "Thead on the second page inherits style of previous tr" was fixed
+
+6.0.054 (2014-01-13)
+ - Bug #877 "Parenteses causing corrupt text" was fixed.
+
+6.0.053 (2014-01-03)
+ - Bug #876 "Cell padding should not be multiplied with number of lines in getStringHeight" was fixed.
+ - Patch #68 "Empty img src attribute leads to access of uninitialized string offset" was applied.
+
+6.0.052 (2013-12-12)
+ - Bug #871 "Datamatrix coding" was fixed.
+
+6.0.051 (2013-12-02)
+ - cbbox array values in addTTFfont() were converted to integers.
+
+6.0.050 (2013-12-01)
+ - The method getNumLines() was extended to support hyphenation.
+ - The CSS property line-height now supports non percentage values.
+
+6.0.050 (2013-11-27)
+ - A bug related to PNG images was fixed.
+
+6.0.048 (2013-11-24)
+ - SVG vars are now reset in ImageSVG() method.
+
+6.0.047 (2013-11-19)
+ - SVG support was extended to support some nested defs.
+
+6.0.046 (2013-11-17)
+ - preg_replace_callback functions were replaced to improve memory performances.
+
+6.0.045 (2013-11-17)
+ - Bug #862 "Parsing error on flate filter" was fixed.
+
+6.0.044 (2013-11-10)
+ - Bug #857 "Undefined offset error" was fixed.
+ - The uniord method now uses a static cache to improve performances (thanks to Mathieu Masseboeuf for the sugegstion).
+ - Two bugs in the TCPDF_FONTS class were fixed.
+
+6.0.043 (2013-10-29)
+ - Bug #854 "CSS instruction display" was fixed.
+
+6.0.042 (2013-10-25)
+ - Bug #852 "CMYK Colors Bug" was fixed.
+
+6.0.041 (2013-10-21)
+ - Bug #851 "Problem with images in PDF. PHP timing out" was fixed.
+
+6.0.040 (2013-10-20)
+ - Bug #849 "SVG import bug" was fixed.
+
+6.0.039 (2013-10-13)
+ - Bug #843 "Wrong call in parser" was fixed.
+ - Bug #844 "Wrong object type named" was fixed.
+ - Bug #845 "Parsing error on obj ref prefixed by '000000'" was fixed.
+
+6.0.038 (2013-10-06)
+ - Bug #841 "Division by zero warning at writeHTML a <li> tag" was fixed.
+
+6.0.037 (2013-09-30)
+ - Method getAllSpotColors() was added to return all spot colors.
+ - Method colorRegistrationBar() was extended to automatically print all spot colors and support individual spot colors.
+ - The method registrationMarkCMYK() was added to print a registration mark for CMYK colors.
+ - A bug related to page groups was fixed.
+ - Gradient() method now supports CMYK equivalents of spot colors.
+ - Example n. 56 was updated.
+
+6.0.036 (2013-09-29)
+ - Methods for registration bars and crop marks were extended to support registration color (see example n. 56).
+ - New default spot colors were added to tcpdf_colors.php, including the 'All' and 'None' special registration colors.
+
+6.0.035 (2013-09-25)
+ - TCPDF_PARSER class was improved.
+
+6.0.034 (2013-09-24)
+ - Bug #839 "Error in xref parsing in mixed newline chars" was fixed.
+
+6.0.033 (2013-09-23)
+ - Bug fix related to PNG image transparency using GD library.
+
+6.0.032 (2013-09-23)
+ - Bug #838 "Fatal error when imagick cannot handle the image, even though GD is available and can" was fixed.
+
+6.0.031 (2013-09-18)
+ - Bug #836 "Optional EOL marker before endstream" was fixed.
+ - Some additional controls were added to avoid "division by zero" error with badly formatted input.
+
+6.0.030 (2013-09-17)
+ - Bug #835 "PDF417 and Cyrilic simbols" was fixed.
+
+6.0.029 (2013-09-15)
+ - Constants K_TCPDF_PARSER_THROW_EXCEPTION_ERROR and K_TCPDF_PARSER_IGNORE_DECODING_ERRORS where removed in favor of a new configuration array in the TCPDF_PARSER class.
+ - The TCPDF_PARSER class can now be configured using the new $cfg parameter.
+
+6.0.028 (2013-09-15)
+ - A debug print_r was removed form tcpdf_parser.php.
+ - TCPDF_FILTERS class now throws an exception in case of error.
+ - TCPDF_PARSER class now throws an exception in case of error unless you define the constant K_TCPDF_PARSER_THROW_EXCEPTION_ERROR to false.
+ - The constant K_TCPDF_PARSER_IGNORE_DECODING_ERRORS can be set to tru eto ignore decoding errors on TCPDF_PARSER.
+
+6.0.027 (2013-09-14)
+ - A bug in tcpdf_parser wen parsing hexadecimal strings was fixed.
+ - A bug in tcpdf_parser wen looking for statxref was fixed.
+ - A bug on RC4 encryption was fixed.
+
+6.0.026 (2013-09-14)
+ - A bug in tcpdf_parser wen decoding streams was fixed.
+
+6.0.025 (2013-09-04)
+ - A pregSplit() bug was fixed.
+ - Improved content loading from URLs.
+ - Improved font path loading.
+
+6.0.024 (2013-09-02)
+ - Bug #826 "addEmptySignatureAppearance issue" was fixed.
+
+6.0.023 (2013-08-05)
+ - GNU Freefont fonts were updated.
+ - Licensing and copyright information about fonts were improved.
+ - PNG image support was improved.
+
+6.0.022 (2013-08-02)
+ - fixing initialization problem for signature_appearance property.
+
+6.0.021 (2013-07-18)
+ - The bug caused by the preg_split function on some PHP 5.2.x versions was fixed.
+
+6.0.020 (2013-06-04)
+ - The method addTTFfont() was fixed (Bug item #813 Undefined offset).
+
+6.0.019 (2013-06-04)
+ - The magic constant __DIR__ was replaced with dirname(__FILE__) for php 5.2 compatibility.
+ - The exceptions raised by file_exists() function were suppressed.
+
+6.0.018 (2013-05-19)
+ - The barcode examples were changed to automatically search for the barcode class path (in case the examples directory is not installed under the TCPDF root).
+
+6.0.017 (2013-05-16)
+ - The command line tool tcpdf_addfont.php was improved.
+ - The php logic was removed from configuration files that now contains only constant defines.
+ - The tcpdf_autoconfig.php file was added to automatically set missing configuration values.
+
+6.0.016 (2013-05-15)
+ - The tcpdf_addfont.php tool was improved (thanks to Remi Collet).
+ - Constant K_PATH_IMAGES is now automatically set in configuration file.
+
+6.0.015 (2013-05-14)
+ - Some unused vars were removed from AddFont() method.
+ - Some directories were moved inside the examples directory.
+ - All examples were updated to reflect the new default structure.
+ - Source code were clean-up up to be more compatible with system packaging.
+ - Files encodings and permissions were reset.
+ - The command line tool tcpdf_addfont.php was added on the tools directory.
+
+6.0.014 (2013-04-13)
+ - The signature of addTTFfont() method includes a new parameter to link existing fonts instead of copying and compressing them.
+
+6.0.013 (2013-04-10)
+ - Add support for SVG dx and dy text/tspan attributes.
+ - replace require() with require_once().
+ - fix some minor typos on documentation.
+ - fix a problem when deleting all pages.
+
+6.0.012 (2013-04-24)
+ - An error condition in addHtmlLink() method was fixed (bug #799).
+
+6.0.011 (2013-04-22)
+ - Minor documentation changes.
+
+6.0.010 (2013-04-03)
+ - The method Rect() was fixed to print borders correctly.
+
+6.0.009 (2013-04-02)
+ - Adding back some files that were not properly committed on the latest release.
+
+6.0.008 (2013-04-01)
+ - Duplicated encoding maps was removed from tcpdf_font_data.php.
+ - Fixing bug on AddTTFFont().
+
+6.0.007 (2013-03-29)
+ - HTML/CSS font size conversion were improved.
+
+6.0.006 (2013-03-27)
+ - Bug related to SVG and EPS files on xobjects were fixed.
+
+6.0.005 (2013-03-26)
+ - Default font path was fixed.
+
+6.0.004 (2013-03-21)
+ - Return value of addTTFfont() method was fixed.
+
+6.0.003 (2013-03-20)
+ - A bug related to non-unicode mode was fixed.
+
+6.0.002 (2013-03-18)
+ - _getFIXED call on tcpdf_fonts.php was fixed.
+
+6.0.001 (2013-03-18)
+ - Fixed $uni_type call on tcpdf.php.
+
+6.0.000 (2013-03-17)
+ - IMPORTANT: PHP4 support has been removed starting from this version.
+ - Several TCPDF methods and vars were moved to new class files: tcpdf_static.php, tcpdf_colors.php, tcpdf_images.php, tcpdf_font_data.php, tcpdf_fonts.php.
+ - Files htmlcolors.php, spotcolors.php, unicode_data.php and ecodings_maps.php were removed.
+ - Barcode classes were renamed and new barcode examples were added.
+ - Class TCPDF_PARSER was improved.
+
+********************************************************************************
+
+5.9.209 (2013-03-15)
+ - Image method was improved.
+
+5.9.208 (2013-03-15)
+ - objclone fuction was patched to support old imagick extensions.
+ - tcpdf_parser was improved to support Cross-Reference Streams and large streams.
+
+5.9.207 (2013-03-04)
+ - Datamatrix class was fixed (a debug echo was removed).
+
+5.9.206 (2013-02-22)
+ - Bug item #754 "PNG with alpha channel becomes gray scale" was fixed.
+ - Minor documentation fixes.
+
+5.9.205 (2013-02-06)
+ - The constant K_TCPDF_THROW_EXCEPTION_ERROR was added on configuration file to change the behavior of Error() method.
+ - PDF417 barcode bug was fixed.
+
+5.9.204 (2013-01-23)
+ - The method Bookmark() was extended to include named destinations, URLs, internal links or embedded files (see example n. 15).
+ - automatic path calculation on configuration file was fixed.
+ - Error() method was extended to throw new Exception if PHP > 5.
+
+5.9.203 (2013-01-22)
+ - Horizontal position of radiobuttons and checkboxes was adjusted.
+
+5.9.202 (2012-12-16)
+ - Vertical space problem after table was fixed.
+
+5.9.201 (2012-12-10)
+ - First 256 chars are now always included on font subset to overcome a problem reported on the forum.
+
+5.9.200 (2012-12-05)
+ - Bug item #768 "Rowspan with Pagebreak error" was fixed.
+ - Page regions now works also with limited MultiCell() cells.
+
+5.9.199 (2012-11-29)
+ - Internal setImageBuffer() method was improved.
+
+5.9.198 (2012-11-19)
+ - Datamatrix EDIFACT mode was fixed.
+
+5.9.197 (2012-11-06)
+ - Bug item #756 "TCPDF 5.9.196 shows line on top of all PDFs" was fixed.
+
+5.9.196 (2012-11-02)
+ - Several methods were improved to avoid output when the context is out of page.
+ - Bug item #755 "remove cached files before unsetting" was fixed.
+
+5.9.195 (2012-10-24)
+ - Method _putfonts() was improved.
+
+5.9.194 (2012-10-23)
+ - Text alignment on TextField() method was fixed.
+
+5.9.193 (2012-09-25)
+ - Support for named destinations on HTML links was added (i.e.: <a href="#destinationname">link to named destination</a>).
+
+5.9.192 (2012-09-24)
+ - A problem on the releasing process was fixed.
+
+5.9.191 (2012-09-24)
+ - SVG image naow support svg and eps images.
+
+5.9.190 (2012-09-23)
+ - "page" word translation is now set to empty if not defined.
+ - Tooltip feature was added on the radiobutton annotation.
+
+5.9.189 (2012-09-18)
+ - Bug item #3568969 "ini_get safe_mode error" was fixed.
+
+5.9.188 (2012-09-15)
+ - A datamatrix barcode bug was fixed.
+
+5.9.187 (2012-09-14)
+ - Subset feature was extended to include the first 256 characters.
+
+5.9.186 (2012-09-13)
+ - barcodes.php file was resynced.
+ - Methods SetAbsX, SetAbsY, SetAbsXY where added to set the absolute pointer coordinates.
+ - Method getCharBBox were added to get single character bounding box.
+ - Signature of addTTFfont method was changed ($addcbbox paramter was added).
+
+5.9.185 (2012-09-12)
+ - Method _putfontwidths() was fixed.
+
+5.9.184 (2012-09-11)
+ - A problem with EAN barcodes was fixed.
+
+5.9.183 (2012-09-07)
+ - A problem with font names normalization was fixed.
+
+5.9.182 (2012-09-05)
+ - Bug item #3564982 "Infinite loop in Write() method" was fixed.
+
+5.9.181 (2012-08-31)
+ - composer.json file was added.
+ - Bug item #3563369 "Cached images are not unlinked some time" was fixed.
+
+5.9.180 (2012-08-22)
+ - Bug item #3560493 "Problems with nested cells in HTML" was fixed.
+
+5.9.179 (2012-08-04)
+ - SVG 'use' tag was fixed for 'circle' and 'ellipse' shift problem.
+ - Alpha status is now correctly stored and restored by getGraphicVars() and SetGraphicVars() methods.
+
+5.9.178 (2012-08-02)
+ - SVG 'use' tag was fixed for 'circle' and 'ellipse'.
+
+5.9.177 (2012-08-02)
+ - An additional control on annotations was fixed.
+
+5.9.176 (2012-07-25)
+ - A bug related to stroke width was fixed.
+ - A problem related to font spacing in HTML was fixed.
+
+5.9.175 (2012-07-25)
+ - The problem of missing letter on hyphen break was fixed.
+
+5.9.174 (2012-07-25)
+ - The problem of wrong filename when downloading PDF from an Android device was fixed.
+ - The method setHeaderData() was extended to set text and line color for header (see example n. 1).
+ - The method setFooterData() was added to set text and line color for footer (see example n. 1).
+ - The methods setTextShadow() and getTextShadow() were added to set text shadows (see example n. 1).
+ - The GetCharWidth() method was fixed for negative character spacing.
+ - A 'none' border mode is now correctly recognized.
+ - Break on hyphen problem was fixed.
+
+5.9.173 (2012-07-23)
+ - Some additional control wher added on barcode methods.
+ - The option CURLOPT_FOLLOWLOCATION on Image method is now disabled if PHP safe_mode is on or open_basedir is set.
+ - Method Bookmark() was extended to include X parameter.
+ - Method setDestination() was extended to include X parameter.
+ - A problem with Thai language was fixed.
+
+5.9.172 (2012-07-02)
+ - A PNG color profile issue was fixed.
+
+5.9.171 (2012-07-01)
+ - Some SVG rendering problems were fixed.
+
+5.9.170 (2012-06-27)
+ - Bug #3538227 "Numerous errors inserting shared images" was fixed.
+
+5.9.169 (2012-06-25)
+ - Some SVG rendering problems were fixed.
+
+5.9.168 (2012-06-22)
+ - Thai language rendering was fixed.
+
+5.9.167 (2012-06-22)
+ - Thai language rendering was fixed and improved.
+ - Method isCharDefined() was improved.
+ - Protected method replaceChar() was added.
+ - Font "kerning" word was corrected to "tracking".
+
+5.9.166 (2012-06-21)
+ - Array to string conversion on file_id creation was fixed.
+ - Thai language rendering was fixed (thanks to Atsawin Chaowanakritsanakul).
+
+5.9.165 (2012-06-07)
+ - Some HTML form related bugs were fixed.
+
+5.9.164 (2012-06-06)
+ - A bug introduced on the latest release was fixed.
+
+5.9.163 (2012-06-05)
+ - Method getGDgamma() was changed.
+ - Rendering performances of PNG images with alpha channel were improved.
+
+5.9.162 (2012-05-11)
+ - A bug related to long text on TD cells was fixed.
+
+5.9.161 (2012-05-09)
+ - A bug on XREF table was fixed (Bug ID: 3525051).
+ - Deprecated Imagick:clone was replaced.
+ - Method objclone() was fixed for PHP4.
+
+5.9.160 (2012-05-03)
+ - A bug on tcpdf_parser.php was fixed.
+
+5.9.159 (2012-04-30)
+ - Barcode classes were updated to fix PNG export Bug (ID: 3522291).
+
+5.9.158 (2012-04-22)
+ - Some SVG-related bugs were fixed.
+
+5.9.157 (2012-04-16)
+ - Some SVG-related bugs were fixed.
+
+5.9.156 (2012-04-10)
+ - Bug item #3515885 "TOC and booklet: left and right page exchanged".
+ - SetAutoPageBreak(false) now works also in multicolumn mode.
+
+5.9.155 (2012-04-02)
+ - Bug item #3512596 "font import problems" was fixed.
+ - Method addTTFfont() was modified to extract only specified Platform ID and Encoding ID (check the source code documentation).
+ - All fonts were updated.
+ - Bug item #3513867 "booklet and setHeaderTemplateAutoreset: header shifted left" was fixed.
+ - Bug item #3513749 "TCPDF Superscript/Subscript" was fixed.
+
+5.9.154 (2012-03-29)
+ - A debug echo was removed.
+
+5.9.153 (2012-03-28)
+ - A bug on font conversion was fixed.
+ - All fonts were updated.
+ - Method isCharDefined() was added to find if a character is defined on the selected font.
+ - Method replaceMissingChars() was added to automatically replace missing chars on selected font.
+ - SetFont() method was fixed.
+
+5.9.152 (2012-03-23)
+ - The following overprint methods were added: setOverprint(), getOverprint().
+ - Signature of setAlpha() method was changed and method getAlpha() was added.
+ - stroke-opacity support was added on SVG.
+ - The following date methods were added: setDocCreationTimestamp(), setDocModificationTimestamp(), getDocCreationTimestamp(), getDocModificationTimestamp(), getFormattedDate(), getTimestamp().
+ - Signature of _datestring() method was changed.
+ - Method getFontBBox() was added.
+ - Method setPageBoxTypes() was aded.
+
+5.9.151 (2012-03-22)
+ - Bug item #3509889 "Transform() distorts PDF" was fixed.
+ - Precision of real number were extended.
+ - ComboBox and ListBox methods were fixed.
+ - Bulgarian language file was added.
+ - addTOC() method was improved to include bookmark color and font style.
+
+5.9.150 (2012-03-16)
+ - A bug related to form fields in PDF/A mode was fixed.
+
+5.9.149 (2012-02-21)
+ - Bug item #3489933 "SVG Parser treats tspan like text" was fixed.
+
+5.9.148 (2012-02-17)
+ - Bug item #3488600 "Multiple radiobutton sets get first set value" was fixed.
+
+5.9.147 (2012-02-14)
+ - A problem with SVG gradients has been fixed.
+
+5.9.146 (2012-02-12)
+ - Bug item #3486880 "$filehash undefine error" was fixed.
+ - The default font is now the one specified at PDF_FONT_NAME_MAIN constant.
+
+5.9.145 (2012-01-28)
+ - Japanese language file was added.
+ - TCPDF license and README.TXT files were updated.
+
+5.9.144 (2012-01-12)
+ - HTML output on barcode classes was improved.
+
+5.9.143 (2012-01-08)
+ - Bug item #3471057 "setCreator() has no effect" was fixed.
+
+5.9.142 (2011-12-23)
+ - Source code documentation was updated.
+
+5.9.141 (2011-12-14)
+ - Some minor bugs were fixed.
+
+5.9.140 (2011-12-13)
+ - SVG now supports embedded images encoded as base64.
+
+5.9.139 (2011-12-11)
+ - Spot color methods were fixed.
+
+5.9.138 (2011-12-10)
+ - cropMark() method was improved (check source code documentation).
+ - Example n. 56 was updated.
+ - Bug item #3452390 "Check Box still not ticked when set to true" was fixed.
+
+5.9.137 (2011-12-01)
+ - Bug item #3447005 "Background color and border of Form Elements is printed" was fixed.
+ - Color support for Form elements was improved.
+
+5.9.136 (2011-11-27)
+ - Bug item #3443387 "SetMargins with keep option does not work for top margin" was fixed.
+
+5.9.135 (2011-11-04)
+ - Bug item #3433406 "Double keywords in description" was fixed.
+
+5.9.134 (2011-10-29)
+ - The default value for $defcol parameter on convertHTMLColorToDec() method was fixed.
+ - Deafult HTTP headers were changed to avoid browser caching.
+ - Some deprecated syntax were replaced.
+
+5.9.133 (2011-10-26)
+ - Bug item #3428446 "copyPage method not working when diskcache enabled" was fixed.
+
+5.9.132 (2011-10-20)
+ - Bug item #3426167 "bug in function convertHTMLColorToDec()" was fixed.
+
+5.9.131 (2011-10-13)
+ - An error message was added to ImagePngAlpha() method.
+
+5.9.130 (2011-10-12)
+ - Now you can set image data strings on HTML img tag by encoding the image binary data in this way: $imgsrc = '@'.base64_encode($imgdata);
+
+5.9.129 (2011-10-07)
+ - Core fonts metrics was fixed (replace all helvetica and times php files on fonts folder).
+ - Form fields support was improved and some problems were fixed (check the example n. 14).
+ - Bug item #3420249 "Issue with booklet and MultiCell" was fixed.
+
+5.9.128 (2011-10-06)
+ - Method addTTFfont() was improved (check the source code documentation).
+ - Method setExtraXMP() to set custom XMP data was added.
+
+5.9.127 (2011-10-04)
+ - Readonly mode option was activated for radiobuttons.
+
+5.9.126 (2011-10-03)
+ - Bug item #3417989 "Graphics State operator in form XObject fails to render" was fixed.
+ - Xobjects problems with transparency, gradients and spot colors were fixed.
+
+5.9.125 (2011-10-03)
+ - Support for 8-digit CMYK hexadecimal color representation was added (to be used with XHTML and SVG).
+ - Spot colors support was improved (check example n. 37).
+ - Color methods were improved.
+
+5.9.124 (2011-10-02)
+ - Core fonts were updated.
+
+5.9.123 (2011-10-02)
+ - The method addTTFfont() wad added to automatically convert TTF fonts (check the new fonts guide at http://www.tcpdf.org).
+ - Old font utils were removed.
+ - All fonts were updated and new arabic fonts were added (almohanad were removed and replaced by aefurat and aealarabiya).
+ - The file unicode_data.php was updated.
+ - The file encodings_maps.php was added.
+ - PDF/A files are now compressed to save space.
+ - XHTML input form fields now support text-alignment attribute.
+
+5.9.122 (2011-09-29)
+ - PDF/A-1b compliance was improved to pass some online testing.
+
+5.9.121 (2011-09-28)
+ - This version includes support for PDF/A-1b format (the class constructor signature was changed - see example n. 65).
+ - Method setSRGBmode() was added to force sRGB_IEC61966-2.1 black scaled ICC color profile for the whole document (file sRGB.icc was added).
+ - 14 new fonts were added to allow embedding core fonts (for PDF/A compliance).
+ - Font utils were fixed.
+
+5.9.120 (2011-09-22)
+ - This version includes a fix for _getTrueTypeFontSubset() method.
+
+5.9.119 (2011-09-19)
+ - This version includes a fix for extra page numbering on TOC.
+
+5.9.118 (2011-09-17)
+ - This version includes some changes that allows you to add a bookmark for a page that do not exist.
+
+5.9.117 (2011-09-15)
+ - TCPDFBarcode and TCPDF2DBarcode classes were extended to include a method for exporting barcodes as PNG images.
+
+5.9.116 (2011-09-14)
+ - Datamatrix class was improved and documentation was fixed.
+
+5.9.115 (2011-09-13)
+ - Datamatrix ECC200 barcode support was added (a new datamatrix.php file was added) - check example n. 50.
+ - getBarcodeHTML() method was added on TCPDFBarcode and TCPDF2DBarcode classes to return an HTML representation of the barcode.
+ - cURL options on Image() method were improved.
+ - A bug on write2DBarcode() was fixed.
+
+5.9.114 (2011-09-04)
+ - A bug related to column position was fixed.
+
+5.9.113 (2011-08-24)
+ - This release include two new experimental files for parsing an existing PDF document (the integration with TCPDF is under development).
+
+5.9.112 (2011-08-18)
+ - A newline character was added after the 'trailer' keyword for compatibility with some parsers.
+ - Support for layers was improved.
+
+5.9.111 (2011-08-17)
+ - Barcode CODE 39 default gap was restored at 1.
+
+5.9.110 (2011-08-17)
+ - Barcode CODE 39 was fixed.
+
+5.9.109 (2011-08-12)
+ - Method getNumLines() was fixed.
+ - A bug related to page break in multi-column mode was fixed.
+
+5.9.108 (2011-08-09)
+ - A bug on PHP4 version was fixed.
+
+5.9.107 (2011-08-08)
+ - This version includes a minor bugfix.
+
+5.9.106 (2011-08-04)
+ - This version includes transparency groups: check the new parameter on startTemplate() method and example 62.
+
+5.9.105 (2011-08-04)
+ - Bug item #3386153 "Check Box not ticked when set to true" was fixed.
+
+5.9.104 (2011-08-01)
+ - Bug item #3383698 "imagemagick, resize and dpi" was fixed.
+
+5.9.103 (2011-07-16)
+ - Alignment of XHTML lines was improved.
+ - Spell of the "length" word was fixed.
+
+5.9.102 (2011-07-13)
+ - Methods startLayer() and endLayer() were added to support arbitrary PDF layers.
+ - Some improvements/fixes for images were added (thanks to Brendan Abbott).
+
+5.9.101 (2011-07-07)
+ - Support for JPEG and PNG ICC Color Profiles was added.
+ - Method addEmptySignatureAppearance() was added to add empty signature fields (see example n. 52).
+ - Bug item #3354332 "Strange line spacing with reduced font-size in writeHTML" was fixed.
+
+5.9.100 (2011-06-29)
+ - An SVG bug has been fixed.
+
+5.9.099 (2011-06-27)
+ - Bug item #3335045 "Font freesans seems somehow corrupted in footer" was fixed.
+
+5.9.098 (2011-06-23)
+ - The Named Destination feature was fixed.
+
+5.9.097 (2011-06-23)
+ - The method setHtmlVSpace() now can be used also for tags: div, li, br, dt and dd.
+ - The Named Destination feature was added (check the example n. 15) - thanks to Christian Deligant.
+
+5.9.096 (2011-06-19)
+ - Bug item #3322234 "Surrogate pairs codes in arrUTF8ToUTF16BE" was fixed.
+
+5.9.095 (2011-06-18)
+ - Numbers alignment for Table-Of-Content methods was improved and fixed.
+ - Font subsetting was fixed to include all parts of composite fonts.
+
+5.9.094 (2011-06-17)
+ - Bug item #3317898 "Page Group numbering broken in 5.9.093" was fixed.
+
+5.9.093 (2011-06-16)
+ - Method setStartingPageNumber() was added to set starting page number (for automatic page numbering).
+
+5.9.092 (2011-06-15)
+ - Method _putpages() was improved.
+ - Bug item #3316678 "Memory overflow when use Rotate and SetAutoPageBreak" was fixed.
+ - Right alignment of page numbers was improved.
+
+5.9.090 (2011-06-14)
+ - Methods AliasNbPages() and AliasNumPage() were re-added as deprecated for backward compatibility.
+
+5.9.089 (2011-06-13)
+ - Example n. 8 was updated.
+ - Method sendOutputData() was changed to remove default compression (it was incompatible with some server settings).
+ - Bugs related to page group numbers were fixed.
+ - Method copyPage() was fixed.
+ - Method Image() was improved to include support for alternative and external images.
+
+5.9.088 (2011-06-01)
+ - Method getAutoPageBreak() was added (see example n. 51).
+ - Example n. 51 (full page background) was updated.
+
+5.9.087 (2011-06-01)
+ - Method sendOutputData() was improved to include deflate encoding.
+ - Barcode classes on PHP 4 version were fixed.
+
+5.9.086 (2011-05-31)
+ - Font files were updated (the ones on the previous release were broken).
+ - The script fonts/utils/makeallttffonts.php was updated and fixed.
+ - Output() method was improved to use compression when available.
+
+5.9.085 (2011-05-31)
+ - TCPDFBarcode class (barcodes.php) now includes getBarcodeSVG() and getBarcodeSVGcode() methods to get SVG image representation of the barcode.
+ - TCPDF2DBarcode class (2dbarcodes.php) now includes getBarcodeSVG() and getBarcodeSVGcode() methods to get SVG image representation of the barcode.
+
+5.9.084 (2011-05-29)
+ - Font files were updated.
+ - The file fonts/utils/makeallttffonts.php was updated.
+ - Bug item# 3308774 "Problems with font subsetting" was fixed.
+
+5.9.083 (2011-05-24)
+ - Bug item #3308387 "line height & SetCellHeightRatio" was fixed.
+
+5.9.082 (2011-05-22)
+ - Bug item #3305592 "Setting fill color <> text color breaks text clipping" was fixed.
+
+5.9.081 (2011-05-18)
+ - Method resetHeaderTemplate() was added to reset the xobject template used by Header() method.
+ - Method setHeaderTemplateAutoreset() was added to automatically reset the xobject template used by Header() method at each page.
+
+5.9.080 (2011-05-17)
+ - A problem related to file path calculation for images was fixed.
+ - A problem related to unsupressed getimagesize() error was fixed.
+
+5.9.079 (2011-05-16)
+ - Footer() method was changed to use C128 barcode as default (instead of the previous C128B).
+
+5.9.078 (2011-05-12)
+ - Bug item #3300878 "wrong rendering for html bullet list in some case" was fixed.
+ - Bug item #3301017 "Emphasized vs. font-weight" was fixed.
+ - Barcode Code 128 was improved to include AUTO mode (automatically switch between A, B and C modes).
+ - Examples n. 27 and 49 were updated.
+
+5.9.077 (2011-05-07)
+ - Bug item #3298591 "error code93" was fixed.
+ - SetLineStyle() function was improved.
+
+5.9.076 (2011-05-06)
+ - Bug item #3298264 "codebar 93 error" was fixed.
+
+5.9.075 (2011-05-02)
+ - Table header alignment when using WriteHTMLCell() or MultiCell() was fixed.
+
+5.9.074 (2011-04-28)
+ - Bug item #3294306 "CSS classes not work in <thead> table section" was fixed.
+
+5.9.073 (2011-04-27)
+ - A bug related to character entities on HTML cells was fixed.
+
+5.9.072 (2011-04-26)
+ - Method resetColumns() was added to remove multiple columns and reset page margins (example n. 10 was updated).
+
+5.9.071 (2011-04-19)
+ - Bug #3288574 "<br/> trouble" was fixed.
+
+5.9.069 (2011-04-19)
+ - Bug #3288763 "HTML-Table: non-breaking table rows: Bug" was fixed.
+
+5.9.068 (2011-04-15)
+ - Bookmark, addTOC and addHTMLTOC methods were improved to include font style and color (Examples 15, 49 and 59 were updated).
+ - Default $_SERVER['DOCUMENT_ROOT'] value on tcpdf_config.php file was changed.
+
+5.9.067 (2011-04-10)
+ - Performances were drastically improved (PDF documents are now created more quickly).
+
+5.9.066 (2011-04-09)
+ - A bug related to digital signature + encryption was fixed.
+ - A bug related to encryption + xobject templates was fixed.
+
+5.9.065 (2011-04-08)
+ - Bug item #3280512 "Text encoding iso-8859-2 crashes" was fixed.
+
+5.9.064 (2011-04-05)
+ - A bug related to character entities on HTML cells was fixed.
+
+5.9.063 (2011-04-01)
+ - Bug item #3267235 "WriteHTML() and image that doesn't fit on the page" was fixed.
+
+5.9.062 (2011-03-23)
+ - Bug item #3232650 "Using Write if there are pageRegions active creates error" was fixed.
+ - Bug item #3221891 "text input borders" was fixed.
+ - Bug item #3228958 "Adobe Reader 9.4.2 crash" was fixed.
+
+5.9.061 (2011-03-15)
+ - Bug item #3213488 "wrong function call in function Write" was fixed.
+ - Bug item #3203007 "list element with black background" was fixed.
+
+5.9.060 (2011-03-08)
+ - addTOC() method was fixed for text alignment problems.
+
+5.9.059 (2011-02-27)
+ - Default Header() method was improved to reduce document size.
+
+5.9.058 (2011-02-25)
+ - Image() method was improved to cache images with transparency layers (thanks to Korneliusz Jarzębski for reporting this problem).
+
+5.9.057 (2011-02-24)
+ - A problem with image caching system was fixed (thanks to Korneliusz Jarzębski for reporting this problem).
+
+5.9.056 (2011-02-22)
+ - A bug on fixHTMLCode() method was fixed.
+ - Automatic line break for HTML was fixed.
+
+5.9.055 (2011-02-17)
+ - Another bug related to HTML table page break was fixed.
+
+5.9.054 (2011-02-16)
+ - A bug related to HTML table page break was fixed.
+
+5.9.053 (2011-02-16)
+ - Support for HTML attribute display="none" was added.
+
+5.9.052 (2011-02-15)
+ - A bug related to HTML automatic newlines was fixed.
+
+5.9.051 (2011-02-12)
+ - "Commas at beginning of new lines" problem was fixed.
+
+5.9.050 (2011-02-11)
+ - Bug #3177606 "SVG Bar chart error" was fixed.
+
+5.9.049 (2011-02-03)
+ - Bug #3170777 "TCPDF creates a new page after a single line in writeHTML" was fixed.
+
+5.9.048 (2011-02-02)
+ - No changes. Just released to override previous release that was not uploaded correctly.
+
+5.9.047 (2011-01-28)
+ - Bug #3167115 "PDF error in <table> (example 48)" was fixed (was introduced in 5.8.046).
+
+5.9.046 (2011-01-18)
+ - PDF view/print layers are now automatically turned off if not used (see setVisibility() method).
+
+5.9.045 (2011-01-17)
+ - HTML list support were improved.
+
+5.9.044 (2011-01-15)
+ - Bug #3158422 "writeHTMLCell Loop" was fixed.
+ - Some HTML image alignment problems were fixed.
+
+5.9.043 (2011-01-14)
+ - Bug #3158178 "PHP Notice" was fixed.
+ - Bug #3158193 "Endless loop in writeHTML" was fixed.
+ - Bug #3157764 "SVG Pie chart incorrectly rendered2".
+
+5.9.042 (2011-01-14)
+ - Some problems of the PHP4 version were fixed.
+
+5.9.041 (2011-01-13)
+ - A problem with SVG elliptical arc path was fixed (ref. bug #3156574).
+ - A problem related to font weight on HTML table headers was fixed.
+
+5.9.040 (2011-01-12)
+ - A bug related to empty pages after table was fixed.
+
+5.9.039 (2011-01-12)
+ - Bug item #3155759 "openssl_random_pseudo_bytes() slow under Windows" was fixed.
+
+5.9.038 (2011-01-11)
+ - Minor bugs were fixed.
+
+5.9.037 (2011-01-09)
+ - An alignment problem for HTML texts was fixed.
+
+5.9.036 (2011-01-07)
+ - A bug related to HTML tables on header was fixed.
+
+5.9.035 (2011-01-03)
+ - A problem related to HTML table border alignment was fixed.
+ - Bug #2996366 "FastCGI and Header Problems" was fixed.
+
+5.9.034 (2010-12-19)
+ - DejaVu and GNU Free fonts were updated.
+
+5.9.033 (2010-12-18)
+ - Source code documetnation was improved.
+
+5.9.032 (2010-12-18)
+ - Default font stretching and spacing values are now inherited by HTML methods.
+
+5.9.031 (2010-12-16)
+ - Source code documentation errors were fixed.
+
+5.9.030 (2010-12-16)
+ - Several source code documentation errors were fixed.
+ - Source code style was changed for Doxygen.
+ - Source code documentation was moved online to http://www.tcpdf.org
+
+5.9.029 (2010-12-04)
+ - The $fitbox parameter on Image() method was extended to specify image alignment inside the box (check the example n. 9).
+
+5.9.028 (2010-12-03)
+ - Font utils makefont.php and makeallttffonts.php were updated.
+
+5.9.027 (2010-12-01)
+ - Spot Colors are now better integrated with HTML mode.
+ - Method SetDocInfoUnicode() was added to turn on/off Unicode mode for document information dictionary (meta tags) - check the example n. 19.
+
+5.9.026 (2010-12-01)
+ - A problem with mixed text directions on HTML was fixed.
+
+5.9.025 (2010-12-01)
+ - The AddSpotColor() now automatically fills the spotcolor array (defined on spotcolors.php file).
+
+5.9.024 (2010-11-30)
+ - Bug item #3123612 "SVG not use gradientTransform in percentage mode" was fixed.
+
+5.9.023 (2010-11-25)
+ - A potential bug on SVG transcoder was fixed.
+
+5.9.022 (2010-11-21)
+ - Method ImageEPS includes support for EPS/AI Spot colors.
+ - Method ImageEPS includes a new parameter $fixoutvals to remove values outside the bounding box.
+
+5.9.021 (2010-11-20)
+ - Support for custom bullet points images was added (check the example n.6)
+ - Examples n. 6 and 61 were update (check the comments inside).
+
+5.9.020 (2010-11-19)
+ - A problem related to additional page when using multicolumn mode was fixed.
+
+5.9.019 (2010-11-19)
+ - An SVG bug was fixed.
+ - ImageSVG() and ImageEPS() methods now accepts image data streams (put the string on the $file parameter preceded by '@' character).
+ - Option 'E' was added to the $dest parameter of Output() method to return the document as base64 mime multi-part email attachment (RFC 2045).
+
+5.9.018 (2010-11-19)
+ - An SVG bug was fixed.
+
+5.9.017 (2010-11-16)
+ - Tagline color was set to transparent.
+ - The method fixHTMLCode() was added to automatically clean up HTML code (requires HTML Tidy).
+
+5.9.016 (2010-11-16)
+ - Bug item #3109705 "list item page break hanging bullet" was fixed.
+
+5.9.015 (2010-11-16)
+ - Bug item affecting QRCode was fixed.
+ - Some bugs affecting HTML lists were fixed.
+ - ImageSVG() and fitBlock() methods were improved to handle some SVG problems.
+ - Some problems with PHP4 compatibility were fixed.
+
+5.9.014 (2010-11-15)
+ - Bug item #3109464 "QRCode error" was fixed.
+
+5.9.013 (2010-11-15)
+ - Bug item #3109257 "Problem with interlaced GIFs and PNGs" was fixed.
+ - Image function now accepts image data streams (check example n. 9).
+
+5.9.012 (2010-11-12)
+ - Method getTCPDFVersion() was added.
+ - PDF_PRODUCER constant was removed.
+ - Method convertHTMLColorToDec() was improved.
+ - HTML colors now support spot color names defined on the new spotcolors.php file.
+ - The default method Header() was improved to support SVG and EPS/AI images.
+ - A bug on SVG importer was fixed.
+
+5.9.011 (2010-11-02)
+ - Bug item #3101486 "Bug Fix for image loading" was fixed.
+
+5.9.010 (2010-10-27)
+ - Support for CSS properties 'border-spacing' and 'padding' for tables were added.
+ - Several language files were added.
+
+5.9.009 (2010-10-21)
+ - HTML text alignment was improved to include the case of RTL text on LTR direction and LTR text on RTL direction.
+
+5.9.008 (2010-10-21)
+ - Bug item #3091502 "Bookmark oddity" was fixed.
+ - HTML internal links now accepts page number and Y position.
+ - The method write1DBarcode() was improved to accept separate horizontal and vertical padding (see example n. 27).
+
+5.9.007 (2010-10-20)
+ - Method adjustCellPadding() was fixed to handle bad input.
+
+5.9.006 (2010-10-19)
+ - Support for AES 256 bit encryption was added (see example n. 16).
+ - Method getNumLines() was fixed for the empty string case.
+
+5.9.005 (2010-10-18)
+ - Method addPageRegion() was changed to accept regions starting exactly from the top of the page.
+
+5.9.004 (2010-10-18)
+ - A bug related to annotations was fixed.
+ - The file unicode_data.php was canged to encapsulate all data in a class.
+ - The file htmlcolors.php was changed to remove the global variable.
+
+5.9.003 (2010-10-15)
+ - Support for no-write page regions was added. Check the example n. 64 and new methods setPageRegions(), addPageRegion(), getPageRegions(), removePageRegion().
+ - A bug on Right-To-Left alignment was fixed.
+
+5.9.002 (2010-10-08)
+ - Cell method was improved to preserve the font stretching and spacing values when using the $stretch parameter (see example n. 4).
+
+5.9.001 (2010-10-07)
+ - The problem of blank page for nobr table higher than a single page was fixed.
+
+5.9.000 (2010-10-06)
+ - Support for text stretching and spacing (tracking) was added, see example n. 63 and methods setFontStretching(), getFontStretching(), setFontSpacing(), getFontSpacing().
+ - Support for CSS properties 'font-stretch' and 'letter-spacing' was added (see example n. 63).
+ - The cMargin state was replaced by cell_padding array that can be set/get using setCellPadding() and getCellPadding() methods.
+ - Methods getCellPaddings() and setCellPaddings() were added to fine tune cell paddings (see example n. 5).
+ - Methods getCellMargins() and setCellMargins() were added to fine tune cell margins (see example n. 5).
+ - Method write1DBarcode() was improved to permit custom labels (see example n. 27).
+ - Method ImagePngAlpha() now includes support for ImageMagick to improve performances.
+ - XObject Template support was extended to support Multicell(), writeHTML() and writeHTMLCell() methods.
+ - The signature of getNumLines() and getStringHeight() methods is changed.
+ - Example n. 57 was updated.
+
+// -------------------------------------------------------------------
+
+5.8.034 (2010-09-27)
+ - A bug related to SetFont on XObject templates was fixed.
+
+5.8.033 (2010-09-25)
+ - A problem with Footer() and multiple columns was fixed.
+
+5.8.032 (2010-09-22)
+ - Bug #3073165 "Issues with changes to addHTMLVertSpace()" was fixed.
+
+5.8.031 (2010-09-20)
+ - Bug #3071961 "Spaces in HTML" was fixed.
+
+5.8.030 (2010-09-17)
+ - SVG support was improved and some bugs were fixed.
+
+5.8.029 (2010-09-16)
+ - A problem with HTML borders was fixed.
+
+5.8.028 (2010-09-13)
+ - Bug #3065224 "mcrypt_create_iv error on TCPDF 5.8.027 on PHP 5.3.2" was fixed.
+
+5.8.027 (2010-09-13)
+ - Bug #3065118 "mcrypt_decrypt error on TCPDF 5.8.026 on PHP 5.3.2" was fixed.
+
+5.8.026 (2010-09-13)
+ - A bug on addHTMLTOC() method was fixed. Note: be sure that the #TOC_PAGE_NUMBER# template has enough width to be printed correctly.
+
+5.8.025 (2010-09-09)
+ - Bug #3062692 "Textarea inside a table" was fixed.
+
+5.8.024 (2010-09-08)
+ - Bug #3062005 "Undefined variable: ann_obj_id" was fixed.
+
+5.8.023 (2010-08-31)
+ - Forms bug added on version 5.8.019 was fixed.
+
+5.8.022 (2010-08-31)
+ - Bug #3056632 "SVG rendered vertically flipped" was fixed.
+
+5.8.021 (2010-08-30)
+ - A new CID-0 'chinese' font was added for traditional Chinese.
+ - Bug #3054287 'Inner tags are ignored due to "align" attribute' was fixed.
+
+5.8.020 (2010-08-26)
+ - CSS "catch-all" class selector is now supported.
+
+5.8.019 (2010-08-26)
+ - XObject Templates now includes support for links and annotations.
+ - A problem related to link alignment on cell was fixed.
+ - A problem related to SVG styles was fixed.
+
+5.8.018 (2010-08-25)
+ - Method getNumberOfColumns() was added.
+ - A problem related to table header was fixed.
+ - Method getSVGTransformMatrix() was fixed to apply SVG transformations in the correct order.
+ - SVG support was improved and several bugs were fixed.
+
+5.8.017 (2010-08-25)
+ - This version includes support for XObject Templates (see the new example n. 62).
+ - Methods starttemplate(), endTemplate() and printTemplate() were added (see the new example n. 62).
+
+5.8.016 (2010-08-24)
+ - Alignment problem on write2DBarcode was fixed.
+
+5.8.015 (2010-08-24)
+ - A problem arised with the latest bugfix was fixed.
+
+5.8.014 (2010-08-23)
+ - Method _getxobjectdict() was added for better compatibility with external extensions.
+ - A bug related to radiobuttons was fixed.
+ - Bug #3051509 "new line after punctuation marks" was fixed (partially).
+
+5.8.013 (2010-08-23)
+ - SVG support for 'direction' property was added.
+ - A problem on default width calculation for linear barcodes was fixed.
+ - New option was added to write1DBarcode() method to improve alignments (see example n. 27).
+ - Bug #3050896 "Nested HTML tables: styles are not applied" was fixed.
+ - Method _putresourcedict() was improved to include external XObject templates.
+
+5.8.012 (2010-08-22)
+ - Support for SVG 'text-anchor' property was added.
+
+5.8.011 (2010-08-21)
+ - Method write1DBarcode() was improved to be backward compatible (check the new example n. 27).
+ - Support for CSS width and height properties on images were added.
+
+5.8.010 (2010-08-20)
+ - Documentation of unhtmlentities() was fixed.
+ - The 'fitwidth' option was added and border color problem was fixed on write1DBarcode() method (check the example n. 27).
+
+5.8.009 (2010-08-20)
+ - Internal object numbering was improved.
+ - Some errors in object encryption were fixed.
+
+5.8.008 (2010-08-19)
+ - Method write1DBarcode() was changed, check the example n. 27.
+ - Method Footer() was changed to account for barcode changes.
+ - Automatic calculation of K_PATH_URL constant was fixed on configuration file.
+ - Method setEqualColumns() was fixed for $width=0 case.
+ - Method AddTOC() was fixed for multipage and multicolumn modes.
+ - Better support for SVG "font-family" property.
+ - A problem on default Page Zoom mode was fixed.
+ - Several Annotation bugs were fixed.
+
+5.8.007 (2010-08-18)
+ - A bug affecting HTML tables was fixed.
+ - Bug #3047500 "SVG not rendering paths properly" was fixed.
+
+5.8.006 (2010-08-17)
+ - A bug affecting HTML table nesting was fixed.
+
+5.8.005 (2010-08-17)
+ - A bug affecting the HTML 'select' tag in certain conditions was fixed.
+
+5.8.004 (2010-08-17)
+ - Better support for HTML "font-family" property.
+ - A bug related to HTML multicolumn was fixed.
+
+5.8.003 (2010-08-16)
+ - Better support for HTML "font-family" property.
+
+5.8.002 (2010-08-14)
+ - HTML alignments were improved
+ - IMPORTANT: Default regular expression to find spaces has been changed to exclude the non-breaking-space (160 DEC- A0 HEX). If you are using setSpacesRE() method, please read the new documentation.
+ - Example n. 1 was updated.
+
+5.8.001 (2010-08-12)
+ - Bug #3043650 "subsetchars incorrectly cached" was fixed.
+
+5.8.000 (2010-08-11)
+ - A control to avoid bookmarking page 0 was added.
+ - addTOC() method now includes support for multicolumn mode.
+ - Support for tables in multicolumn mode was improved.
+ - Example n.10 was updated.
+ - All trimming functions were replaced with stringLeftTrim(), stringRightTrim() and stringTrim().
+ - HTML alignments were improved.
+
+------------------------------------------------------------
+
+5.7.003 (2010-08-08)
+ - Bug #3041263 "php source ending is bad" was fixed (all PHP files were updated, including fonts).
+
+5.7.002 (2010-08-06)
+ - Methods copyPage(), movePage() and deletePage() were changed to account for internal markings.
+
+5.7.001 (2010-08-05)
+ - Bug #3040105 "Broken PDF when using TOC (example 45)" was fixed.
+
+5.7.000 (2010-08-03)
+ - CSS borders are now supported for HTML tables and other block tags (see example n. 61);
+ - Cell borders were improved (see example n. 57);
+ - Minor bugs were fixed.
+
+------------------------------------------------------------
+
+5.6.000 (2010-07-31)
+ - A bug with object IDs was fixes.
+ - Performances were improved.
+
+------------------------------------------------------------
+
+5.5.015 (2010-07-29)
+ - Automatic fix for unclosed self-closing tag.
+ - Support for deprecated 's' and 'strike' tags was added.
+ - Empty list items problem was fixed.
+
+5.5.014 (2010-07-15)
+ - Support for external images was improved.
+
+5.5.013 (2010-07-14)
+ - Bug #3029338 "FI and FO output destination filename bug" was fixed (previous fix was wrong).
+
+5.5.012 (2010-07-14)
+ - Bug #3029310 "Font baseline inconsistencies with line-height and font-size" was fixed.
+ - Bug #3029338 "FI and FO output destination filename bug" was fixed.
+
+5.5.011 (2010-07-09)
+ - Support for multiple CSS classes was added.
+ - The method getColumn() was added to return the current column number.
+ - Some regular Expressions were fixed to be more compatible with UTF-8.
+
+5.5.010 (2010-07-06)
+ - Bug item #3025772 "Borders in all image functions are still flawed" was fixed.
+
+5.5.009 (2010-07-05)
+ - A problem related to last page footer was fixed.
+ - Image alignments and fit-on-page features were improved.
+
+5.5.008 (2010-07-02)
+ - A problem on table header alignment in booklet mode was fixed.
+ - Default graphic vars are now applied for setHeader();
+
+5.5.007 (2010-07-02)
+ - Attribute "readonly" was added to input and textarea form fields.
+ - Vertical alignment feature was added on MultiCell() method only for simple text mode (see example n. 5).
+ - Text-Fit feature was added on MultiCell() method only for simple text mode (see example n. 5).
+
+5.5.006 (2010-06-29)
+ - getStringHeight() and getNumLines() methods were fixed.
+
+5.5.005 (2010-06-28)
+ - Bug #3022170 "getFontDescent() does not return correct descent value" was fixed.
+ - Some problems with multicolumn mode were fixed.
+
+5.5.004 (2010-06-27)
+ - Bug #3021803 "SVG Border" was fixed.
+
+5.5.003 (2010-06-26)
+ - ...
[truncated message content] |
|
From: <be...@us...> - 2014-06-16 00:24:48
|
Revision: 12603
http://sourceforge.net/p/xoops/svn/12603
Author: beckmi
Date: 2014-06-16 00:24:40 +0000 (Mon, 16 Jun 2014)
Log Message:
-----------
Renaming folder
Added Paths:
-----------
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendor/
Removed Paths:
-------------
XoopsModules/modulepacks/x257basicmodulepack/trunk/xoops_lib/vendors/
|
|
From: <txm...@us...> - 2014-06-15 17:31:41
|
Revision: 12602
http://sourceforge.net/p/xoops/svn/12602
Author: txmodxoops
Date: 2014-06-15 17:31:37 +0000 (Sun, 15 Jun 2014)
Log Message:
-----------
- Solved issues for mysql.php file, now the mysql.sql file then created from building
- Fixed bugs
- Even small problems fields for new/edit when save or update,
I hope will be resolved soon, if time is.
- Work in progress
Modified Paths:
--------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/tables.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks/blocks.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include/install.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/modinfo.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/sql/mysql.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/xoopsversion.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/session.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/fields.tpl
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tables.tpl
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php 2014-06-15 13:43:07 UTC (rev 12601)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/fields.php 2014-06-15 17:31:37 UTC (rev 12602)
@@ -22,6 +22,7 @@
// Recovered value of arguments op in the URL $
$op = XoopsRequest::getString('op', 'list');
// Get fields Variables
+$table_name = TDMCreate_CleanVars($_REQUEST, 'table_name', '', 'string');
$field_mid = TDMCreate_CleanVars($_REQUEST, 'field_mid');
$field_tid = TDMCreate_CleanVars($_REQUEST, 'field_tid');
$field_numb = TDMCreate_CleanVars($_REQUEST, 'field_numb');
@@ -29,18 +30,9 @@
/*$field_mid = XoopsRequest::getInt('field_mid');
$field_tid = XoopsRequest::getInt('field_tid');
$field_numb = XoopsRequest::getInt('field_numb');
-$field_name = XoopsRequest::getString('field_name', '');*/
-/*$session_field = TDMCreateSession::getInstance();
-$table_name = $session_field->getSession('table_name');
-$field_tid = $session_field->getSession('table_id');
-$field_mid = $session_field->getSession('table_mid');
-$field_name = $session_field->getSession('table_fieldname');
-$field_numb = $session_field->getSession('table_nbfields');*/
-if(isset($_SESSION['session_table_name']) && !empty($_SESSION['session_table_name'])) {
- $table_name = $_SESSION['session_table_name'];
-} else {
- $table_name = TDMCreate_CleanVars($_REQUEST, 'table_name', '', 'string');
-}
+$field_name = XoopsRequest::getString('field_name', '');
+$session_table = TDMCreateSession::getInstance();
+$table_name = $session_table->getSession('session_table_name');*/
//
switch ($op)
{
@@ -48,7 +40,6 @@
default:
$start = XoopsRequest::getInt('start', 0);
$limit = XoopsRequest::getInt('limit', $tdmcreate->getConfig('tables_adminpager'));
- //$limit = XoopsRequest::getInt('limit', $tdmcreate->getConfig('fields_adminpager'));
// Define main template
$template_main = 'fields.tpl';
$GLOBALS['xoTheme']->addStylesheet( 'modules/TDMCreate/assets/css/admin/style.css' );
@@ -78,8 +69,6 @@
unset($nb_tables);
// Get the list of tables
$criteria = new CriteriaCompo();
- $criteria->add(new Criteria('table_mid', $field_mid));
- $criteria->add(new Criteria('table_id', $field_tid));
$criteria->setSort('table_id ASC, table_name');
$criteria->setOrder('ASC');
$nb_tables = $tdmcreate->getHandler('tables')->getCount($criteria);
@@ -87,22 +76,21 @@
unset($criteria);
if ($nb_tables > 0)
{
- foreach (array_keys($tables_arr) as $t)
+ foreach (array_keys($tables_arr) as $tid)
{
// Display tables list
- $table['id'] = $t;
- $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['blocks'] = $tables_arr[$t]->getVar('table_blocks');
- $table['admin'] = $tables_arr[$t]->getVar('table_admin');
- $table['user'] = $tables_arr[$t]->getVar('table_user');
- $table['search'] = $tables_arr[$t]->getVar('table_search');
+ $table['id'] = $tid;
+ $table['mid'] = $tables_arr[$tid]->getVar('table_mid');
+ $table['name'] = ucfirst($tables_arr[$tid]->getVar('table_name'));
+ $table['image'] = $tables_arr[$tid]->getVar('table_image');
+ $table['nbfields'] = $tables_arr[$tid]->getVar('table_nbfields');
+ $table['blocks'] = $tables_arr[$tid]->getVar('table_blocks');
+ $table['admin'] = $tables_arr[$tid]->getVar('table_admin');
+ $table['user'] = $tables_arr[$tid]->getVar('table_user');
+ $table['search'] = $tables_arr[$tid]->getVar('table_search');
// Get the list of fields
$criteria = new CriteriaCompo();
- $criteria->add(new Criteria('field_mid', $field_mid));
- $criteria->add(new Criteria('field_tid', $t));
+ $criteria->add(new Criteria('field_tid', $tid));
$criteria->setSort('field_id ASC, field_name');
$criteria->setOrder('ASC');
$nb_fields = $tdmcreate->getHandler('fields')->getCount($criteria);
@@ -113,20 +101,20 @@
$lid = 1;
if ( $nb_fields > 0 )
{
- foreach (array_keys($fields_arr) as $f)
+ foreach (array_keys($fields_arr) as $fid)
{
- $field['id'] = $f;
+ $field['id'] = $fid;
$field['lid'] = $lid;
- $field['name'] = str_replace('_', ' ', ucfirst($fields_arr[$f]->getVar('field_name')));
- $field['parent'] = $fields_arr[$f]->getVar('field_parent');
- $field['inlist'] = $fields_arr[$f]->getVar('field_inlist');
- $field['inform'] = $fields_arr[$f]->getVar('field_inform');
- $field['admin'] = $fields_arr[$f]->getVar('field_admin');
- $field['user'] = $fields_arr[$f]->getVar('field_user');
- $field['block'] = $fields_arr[$f]->getVar('field_block');
- $field['main'] = $fields_arr[$f]->getVar('field_main');
- $field['search'] = $fields_arr[$f]->getVar('field_search');
- $field['required'] = $fields_arr[$f]->getVar('field_required');
+ $field['name'] = str_replace('_', ' ', ucfirst($fields_arr[$fid]->getVar('field_name')));
+ $field['parent'] = $fields_arr[$fid]->getVar('field_parent');
+ $field['inlist'] = $fields_arr[$fid]->getVar('field_inlist');
+ $field['inform'] = $fields_arr[$fid]->getVar('field_inform');
+ $field['admin'] = $fields_arr[$fid]->getVar('field_admin');
+ $field['user'] = $fields_arr[$fid]->getVar('field_user');
+ $field['block'] = $fields_arr[$fid]->getVar('field_block');
+ $field['main'] = $fields_arr[$fid]->getVar('field_main');
+ $field['search'] = $fields_arr[$fid]->getVar('field_search');
+ $field['required'] = $fields_arr[$fid]->getVar('field_required');
$fields[] = $field;
unset($field);
$lid++;
@@ -177,23 +165,19 @@
//
if ( !$GLOBALS['xoopsSecurity']->check() ) {
redirect_header('fields.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors()));
- }
- $fieldelement_fid = XoopsRequest::getInt('fieldelement_fid');
+ }
+ $field_id = TDMCreate_CleanVars($_POST, 'field_id');
// Fields Handler
$fields = $tdmcreate->getHandler('fields');
- // Fields Elements Handler
- $fieldelements = $tdmcreate->getHandler('fieldelements');
// Set Variables
foreach ($_POST['field_id'] as $key => $value)
{
switch($value){
case 'new':
- $fieldsObj =& $fields->create();
- $fieldelementObj =& $fieldelements->create();
+ $fieldsObj =& $fields->create();
break;
case 'edit':
- $fieldsObj =& $fields->get($value);
- $fieldelementObj =& $fieldelements->get($fieldelement_fid);
+ $fieldsObj =& $fields->get($value);
break;
}
// Set Data
@@ -208,29 +192,32 @@
$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', (($key == isset($_REQUEST['field_parent'])) ? 1 : 0) );
- $fieldsObj->setVar( 'field_inlist', ((isset($_REQUEST['field_inlist'][$key]) == 1) ? 0 : 1) );
- $fieldsObj->setVar( 'field_inform', ((isset($_REQUEST['field_inform'][$key]) == 1) ? 0 : 1) );
- $fieldsObj->setVar( 'field_admin', ((isset($_REQUEST['field_admin'][$key]) == 1) ? 0 : 1) );
- $fieldsObj->setVar( 'field_user', ((isset($_REQUEST['field_user'][$key]) == 1) ? 0 : 1) );
- $fieldsObj->setVar( 'field_block', ((isset($_REQUEST['field_block'][$key]) == 1) ? 0 : 1) );
- $fieldsObj->setVar( 'field_main', (($key == isset($_REQUEST['field_main'])) ? 1 : 0) );
- $fieldsObj->setVar( 'field_search', ((isset($_REQUEST['field_search'][$key]) == 1) ? 0 : 1) );
- $fieldsObj->setVar( 'field_required', ((isset($_REQUEST['field_required'][$key]) == 1) ? 0 : 1) );
+ $fieldsObj->setVar( 'field_parent', (($key == isset($_REQUEST['field_parent'][$key])) ? 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);
- }
- $fieldelementObj->setVar( 'fieldelement_mid', $field_mid );
- $fieldelementObj->setVar( 'fieldelement_tid', $field_tid );
- $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');
- }
+ }
+
//
if ($fieldsObj->isNew()) {
- redirect_header('fields.php', 2, sprintf(_AM_TDMCREATE_FIELD_FORM_SAVED_OK, $table_name));
+ // Fields Elements Handler
+ $fieldelementObj =& $tdmcreate->getHandler('fieldelements')->create();
+ $fieldelementObj->setVar( 'fieldelement_mid', $field_mid );
+ $fieldelementObj->setVar( 'fieldelement_tid', $field_tid );
+ $fieldelementObj->setVar( 'fieldelement_name', 'Table : '.ucfirst($_SESSION['session_table_name']) );
+ $fieldelementObj->setVar( 'fieldelement_value', 'XoopsFormTables-'.ucfirst($_SESSION['session_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_FIELD_FORM_SAVED_OK, $table_name));
} else {
redirect_header('fields.php', 2, sprintf(_AM_TDMCREATE_FIELD_FORM_UPDATED_OK, $table_name));
}
@@ -252,7 +239,7 @@
$GLOBALS['xoopsTpl']->assign('buttons', $adminMenu->renderButton());
$fieldsObj = $tdmcreate->getHandler('fields')->get( $field_tid );
- $form = $fieldsObj->getForm(null, $field_tid, $field_numb);
+ $form = $fieldsObj->getForm(null, $field_tid);
$GLOBALS['xoopsTpl']->assign('form', $form->render());
var_dump($field_tid);
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/tables.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/tables.php 2014-06-15 13:43:07 UTC (rev 12601)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/tables.php 2014-06-15 17:31:37 UTC (rev 12602)
@@ -24,10 +24,14 @@
//
$mod_id = XoopsRequest::getInt('mod_id');
//
-$table_id = XoopsRequest::getInt('table_id');
+$table_id = TDMCreate_CleanVars($_REQUEST, 'table_id');
+$table_mid = TDMCreate_CleanVars($_REQUEST, 'table_mid');
+$table_nbfields = TDMCreate_CleanVars($_REQUEST, 'table_nbfields');
+$table_fieldname = TDMCreate_CleanVars($_REQUEST, 'table_fieldname', '', 'string');
+/*$table_id = XoopsRequest::getInt('table_id');
$table_mid = XoopsRequest::getInt('table_mid');
$table_nbfields = XoopsRequest::getInt('table_nbfields');
-$table_fieldname = XoopsRequest::getString('table_fieldname', '');
+$table_fieldname = XoopsRequest::getString('table_fieldname', '');*/
//
switch ($op)
{
@@ -35,7 +39,6 @@
default:
$start = XoopsRequest::getInt('start', 0);
$limit = XoopsRequest::getInt('limit', $tdmcreate->getConfig('modules_adminpager'));
- //$limit = XoopsRequest::getInt('limit', $tdmcreate->getConfig('tables_adminpager'));
// Define main template
$template_main = 'tables.tpl';
$GLOBALS['xoTheme']->addStylesheet( 'modules/TDMCreate/assets/css/admin/style.css' );
@@ -139,7 +142,7 @@
$obj =& $tdmcreate->getHandler('tables')->create();
$form = $obj->getForm();
$GLOBALS['xoopsTpl']->assign('form', $form->render());
- break;
+ break;
case 'save':
if ( !$GLOBALS['xoopsSecurity']->check() ) {
@@ -192,24 +195,18 @@
'table_comments' => (($_REQUEST['table_comments'] == 1) ? '1' : '0'),
'table_notifications' => (($_REQUEST['table_notifications'] == 1) ? '1' : '0'),
'table_permissions' => (($_REQUEST['table_permissions'] == 1) ? '1' : '0')));
-
+ //$session_table = TDMCreateSession::getInstance();
+ //$session_table->setSession('session_table_name', $_POST['table_name']);
if( $tdmcreate->getHandler('tables')->insert($obj) ) {
if( $obj->isNew() ) {
$table_iid = $GLOBALS['xoopsDB']->getInsertId();
- /*$_SESSION['table_id'] = $GLOBALS['xoopsDB']->getInsertId();
- $_SESSION['table_mid'] = $table_mid;
- $_SESSION['table_name'] = $_POST['table_name'];
- $_SESSION['table_fieldname'] = $table_fieldname;
- $_SESSION['table_nbfields'] = $table_nbfields;*/
- $table_action = '&field_mid='.$table_mid.'&field_tid='.$table_iid.'&field_numb='.$table_nbfields.'&field_name='.$table_fieldname;
+ $table_action='&field_mid='.$table_mid.'&field_tid='.$table_iid.'&field_numb='.$table_nbfields.'&field_name='.$table_fieldname;
redirect_header('fields.php?op=new'.$table_action, 5, sprintf(_AM_TDMCREATE_TABLE_FORM_SAVED_OK, $_POST['table_name']));
} else {
redirect_header('tables.php', 5, sprintf(_AM_TDMCREATE_TABLE_FORM_UPDATED_OK, $_POST['table_name']));
}
}
-
- $_SESSION['session_table_name'] = $_POST['table_name'];
-
+
$GLOBALS['xoopsTpl']->assign('error', $obj->getHtmlErrors());
$form = $obj->getForm();
$GLOBALS['xoopsTpl']->assign('form', $form->render());
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php 2014-06-15 13:43:07 UTC (rev 12601)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/fields.php 2014-06-15 17:31:37 UTC (rev 12602)
@@ -41,7 +41,7 @@
$this->tdmcreate = TDMCreate::getInstance();
$this->initVar('field_id', XOBJ_DTYPE_INT);
$this->initVar('field_mid', XOBJ_DTYPE_INT);
- $this->initVar('field_tid', XOBJ_DTYPE_INT);
+ $this->initVar('field_tid', XOBJ_DTYPE_INT);
$this->initVar('field_numb', XOBJ_DTYPE_INT);
$this->initVar('field_name', XOBJ_DTYPE_TXTBOX);
$this->initVar('field_type', XOBJ_DTYPE_TXTBOX);
@@ -106,7 +106,6 @@
$field_mid = $isNew ? $f_mid : $this->getVar('field_mid');
$field_tid = $isNew ? $f_tid : $this->getVar('field_tid');
- $field_numb = $isNew ? $f_numb : $this->getVar('field_numb');
$form = new TDMCreateThemeForm(null, 'form', $action, 'post', true);
$form->setExtra('enctype="multipart/form-data"');
@@ -139,7 +138,7 @@
$fields = $this->tdmcreate->getHandler('fields')->getObjects($criteria);
unset($criteria);
$i = 1;
- foreach ($fields as $field) {
+ foreach($fields as $field) {
$this->getFormElements($form, $isNew, 'edit', $i, null, $field_mid, $field_tid, $field);
$i++;
}
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php 2014-06-15 13:43:07 UTC (rev 12601)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php 2014-06-15 17:31:37 UTC (rev 12602)
@@ -109,20 +109,18 @@
$this->structure->makeDir($targetDirectory);
// Copied of index.html file in "root module" folder
$this->structure->copyFile('', $indexFile, 'index.html');
- if(is_object($tables)) {
- if ( $table_admin == 1) {
- // Creation of "admin" folder and index.html file
- $this->structure->makeDirAndCopyFile('admin', $indexFile, 'index.html');
- }
- if ( $table_blocks == 1) {
- // Creation of "blocks" folder and index.html file
- $this->structure->makeDirAndCopyFile('blocks', $indexFile, 'index.html');
- }
- if ( $table_name != null) {
- // Creation of "class" folder and index.html file
- $this->structure->makeDirAndCopyFile('class', $indexFile, 'index.html');
- }
+ if ( $table_admin == 1) {
+ // Creation of "admin" folder and index.html file
+ $this->structure->makeDirAndCopyFile('admin', $indexFile, 'index.html');
}
+ if ( $table_blocks == 1) {
+ // Creation of "blocks" folder and index.html file
+ $this->structure->makeDirAndCopyFile('blocks', $indexFile, 'index.html');
+ }
+ if ( $table_name != null) {
+ // Creation of "class" folder and index.html file
+ $this->structure->makeDirAndCopyFile('class', $indexFile, 'index.html');
+ }
// Creation of "assets" folder and index.html file
$this->structure->makeDirAndCopyFile('assets', $indexFile, 'index.html');
// Creation of "css" folder and index.html file
@@ -162,24 +160,22 @@
$this->structure->makeDirAndCopyFile('language/'.$GLOBALS['xoopsConfig']['language'], $indexFile, 'index.html');
// Creation of "language/local_language/help" folder and index.html file
$this->structure->makeDirAndCopyFile('language/'.$GLOBALS['xoopsConfig']['language']. '/help', $indexFile, 'index.html');
- if(is_object($tables)) {
- if (( $table_user == 1) || ( $table_admin == 1 )) {
- // Creation of "templates" folder and index.html file
- $this->structure->makeDirAndCopyFile('templates', $indexFile, 'index.html');
- }
- if ( $table_admin == 1 ) {
- // Creation of "templates/admin" folder and index.html file
- $this->structure->makeDirAndCopyFile('templates/admin', $indexFile, 'index.html');
- }
- if ( $table_blocks == 1 ) {
- // Creation of "templates/blocks" folder and index.html file
- $this->structure->makeDirAndCopyFile('templates/blocks', $indexFile, 'index.html');
- }
- if ( $table_name != null ) {
- // Creation of "sql" folder and index.html file
- $this->structure->makeDirAndCopyFile('sql', $indexFile, 'index.html');
- }
+ if (( $table_user == 1) || ( $table_admin == 1 )) {
+ // Creation of "templates" folder and index.html file
+ $this->structure->makeDirAndCopyFile('templates', $indexFile, 'index.html');
}
+ if ( $table_admin == 1 ) {
+ // Creation of "templates/admin" folder and index.html file
+ $this->structure->makeDirAndCopyFile('templates/admin', $indexFile, 'index.html');
+ }
+ if ( $table_blocks == 1 ) {
+ // Creation of "templates/blocks" folder and index.html file
+ $this->structure->makeDirAndCopyFile('templates/blocks', $indexFile, 'index.html');
+ }
+ if ( $table_name != null ) {
+ // Creation of "sql" folder and index.html file
+ $this->structure->makeDirAndCopyFile('sql', $indexFile, 'index.html');
+ }
}
/*
@@ -196,7 +192,7 @@
$tables = $this->tdmcreate->getHandler('tables')->getObjects($criteria_tables);
unset($criteria_tables);
$ret = array();
- //
+ //
foreach (array_keys($tables) as $t)
{
$table_mid = $tables[$t]->getVar('table_mid');
@@ -254,156 +250,136 @@
}
/*var_dump($table_name); */
}
- if(is_object($tables)) {
- // Creation of blocks language file
- if ( $table_blocks == 1) {
- // Language Blocks File
- $languageBlocks = LanguageBlocks::getInstance();
- $languageBlocks->write($module, $tables, 'blocks.php');
- $ret[] = $languageBlocks->render();
- }
- }
- if(is_object($tables)) {
- // Language Modinfo File
- $languageModinfo = LanguageModinfo::getInstance();
- $languageModinfo->write($module, $table, $tables, 'modinfo.php');
- $ret[] = $languageModinfo->render();
- } else {
- $table = null; $tables = array();
- // Language Modinfo File
- $languageModinfo = LanguageModinfo::getInstance();
- $languageModinfo->write($module, $table, $tables, 'modinfo.php');
- $ret[] = $languageModinfo->render();
- }
+ // Creation of blocks language file
+ if ( $table_blocks == 1) {
+ // Language Blocks File
+ $languageBlocks = LanguageBlocks::getInstance();
+ $languageBlocks->write($module, $tables, 'blocks.php');
+ $ret[] = $languageBlocks->render();
+ }
// Language Modinfo File
$languageModinfo = LanguageModinfo::getInstance();
$languageModinfo->write($module, $table, $tables, 'modinfo.php');
- $ret[] = $languageModinfo->render();
- if(is_object($tables)) {
- // Creation of admin files
- if ( $table_admin == 1) {
- // Admin Header File
- $adminHeader = AdminHeader::getInstance();
- $adminHeader->write($module, $table, $tables, 'header.php');
- $ret[] = $adminHeader->render();
- // Admin Index File
- $adminIndex = AdminIndex::getInstance();
- $adminIndex->write($module, $tables, 'index.php');
- $ret[] = $adminIndex->render();
- // Admin Menu File
- $adminMenu = AdminMenu::getInstance();
- $adminMenu->write($module, $tables, 'menu.php');
- $ret[] = $adminMenu->render();
- // Creation of admin permission file
- if (( $table_permissions == 1)) {
- // Admin Permissions File
- $adminPermissions = AdminPermissions::getInstance();
- $adminPermissions->write($module, $tables, 'permissions.php');
- $ret[] = $adminPermissions->render();
- }
- // Admin Aboutr File
- $adminAbout = AdminAbout::getInstance();
- $adminAbout->write($module, 'about.php');
- $ret[] = $adminAbout->render();
- // Admin Footer File
- $adminFooter = AdminFooter::getInstance();
- $adminFooter->write($module, 'footer.php');
- $ret[] = $adminFooter->render();
- // Language Admin File
- $languageAdmin = LanguageAdmin::getInstance();
- $languageAdmin->write($module, $tables, 'admin.php');
- $ret[] = $languageAdmin->render();
- }
- // Creation of notifications files
- if ( $table_notifications == 1 ) {
- // Include Notifications File
- $includeNotifications = IncludeNotifications::getInstance();
- $includeNotifications->write($module, $table, 'notifications.php');
- $ret[] = $includeNotifications->render();
+ $ret[] = $languageModinfo->render();
+ // Creation of admin files
+ if ( $table_admin == 1) {
+ // Admin Header File
+ $adminHeader = AdminHeader::getInstance();
+ $adminHeader->write($module, $table, $tables, 'header.php');
+ $ret[] = $adminHeader->render();
+ // Admin Index File
+ $adminIndex = AdminIndex::getInstance();
+ $adminIndex->write($module, $tables, 'index.php');
+ $ret[] = $adminIndex->render();
+ // Admin Menu File
+ $adminMenu = AdminMenu::getInstance();
+ $adminMenu->write($module, $tables, 'menu.php');
+ $ret[] = $adminMenu->render();
+ // Creation of admin permission file
+ if (( $table_permissions == 1)) {
+ // Admin Permissions File
+ $adminPermissions = AdminPermissions::getInstance();
+ $adminPermissions->write($module, $tables, 'permissions.php');
+ $ret[] = $adminPermissions->render();
}
+ // Admin Aboutr File
+ $adminAbout = AdminAbout::getInstance();
+ $adminAbout->write($module, 'about.php');
+ $ret[] = $adminAbout->render();
+ // Admin Footer File
+ $adminFooter = AdminFooter::getInstance();
+ $adminFooter->write($module, 'footer.php');
+ $ret[] = $adminFooter->render();
+ // Language Admin File
+ $languageAdmin = LanguageAdmin::getInstance();
+ $languageAdmin->write($module, $tables, 'admin.php');
+ $ret[] = $languageAdmin->render();
+ }
+ // Creation of notifications files
+ if ( $table_notifications == 1 ) {
+ // Include Notifications File
+ $includeNotifications = IncludeNotifications::getInstance();
+ $includeNotifications->write($module, $table, 'notifications.php');
+ $ret[] = $includeNotifications->render();
}
// Include Install File
$includeInstall = IncludeInstall::getInstance();
$includeInstall->write($module, $tables, 'install.php');
$ret[] = $includeInstall->render();
- if(is_object($tables)) {
- // Creation of sql file
- if ( $table_name != null) {
- // Sql File
- $sqlFile = SqlFile::getInstance();
- $sqlFile->write($module, $tables, 'mysql.sql');
- $ret[] = $sqlFile->render();
- }
- // Creation of search file
- if ( $table_search == 1) {
- // Include Search File
- $includeSearch = IncludeSearch::getInstance();
- $includeSearch->write($module, $table, 'search.php');
- $ret[] = $includeSearch->render();
- }
+ // Creation of sql file
+ if ( $table_name != null) {
+ // Sql File
+ $sqlFile = SqlFile::getInstance();
+ $sqlFile->write($module, $tables, 'mysql.sql');
+ $ret[] = $sqlFile->render();
}
+ // Creation of search file
+ if ( $table_search == 1) {
+ // Include Search File
+ $includeSearch = IncludeSearch::getInstance();
+ $includeSearch->write($module, $table, 'search.php');
+ $ret[] = $includeSearch->render();
+ }
// Creation of comments files
- if(is_object($tables)) {
- if ( $table->getVar('table_comments') == 1) {
- // Include Comments File
- $includeComments = IncludeComments::getInstance();
- $includeComments->write($module, $table);
- $ret[] = $includeComments->renderCommentsIncludes($module, 'comment_edit');
- // Include Comments File
- $includeComments = IncludeComments::getInstance();
- $includeComments->write($module, $table);
- $ret[] = $includeComments->renderCommentsIncludes($module, 'comment_delete');
- // Include Comments File
- $includeComments = IncludeComments::getInstance();
- $includeComments->write($module, $table);
- $ret[] = $includeComments->renderCommentsIncludes($module, 'comment_post');
- // Include Comments File
- $includeComments = IncludeComments::getInstance();
- $includeComments->write($module, $table);
- $ret[] = $includeComments->renderCommentsIncludes($module, 'comment_reply');
- // Include Comments File
- $includeComments = IncludeComments::getInstance();
- $includeComments->write($module, $table);
- $ret[] = $includeComments->renderCommentsNew($module, 'comment_new');
- }
- // Creation of user files
- if ( ($table_user == 1)){
- // Templates Index File
- $templatesIndex = TemplatesIndex::getInstance();
- $templatesIndex->write($module, 'index.tpl');
- $ret[] = $templatesIndex->render();
- // User Footer File
- $userFooter = UserFooter::getInstance();
- $userFooter->write($module, 'footer.php');
- $ret[] = $userFooter->render();
- // User Header File
- $userHeader = UserHeader::getInstance();
- $userHeader->write($module, 'header.php');
- $ret[] = $userHeader->render();
- // User Notification Update File
- if ( ($table_notifications == 1 )){
- $userNotificationUpdate = UserNotificationUpdate::getInstance();
- $userNotificationUpdate->write($module, 'notification_update.php');
- $ret[] = $userNotificationUpdate->render();
- }
- // Templates Footer File
- $templatesFooter = TemplatesFooter::getInstance();
- $templatesFooter->write($module, $table, 'footer.tpl');
- $ret[] = $templatesFooter->render();
- // Templates Header File
- $templatesHeader = TemplatesHeader::getInstance();
- $templatesHeader->write($module, $tables, 'header.tpl');
- $ret[] = $templatesHeader->render();
- // User Index File
- $userIndex = UserIndex::getInstance();
- $userIndex->write($module, 'index.php');
- $ret[] = $userIndex->render();
- // Language Main File
- $languageMain = LanguageMain::getInstance();
- $languageMain->write($module, $table, $tables, 'main.php');
- $ret[] = $languageMain->render();
- }
+ if ( $table->getVar('table_comments') == 1) {
+ // Include Comments File
+ $includeComments = IncludeComments::getInstance();
+ $includeComments->write($module, $table);
+ $ret[] = $includeComments->renderCommentsIncludes($module, 'comment_edit');
+ // Include Comments File
+ $includeComments = IncludeComments::getInstance();
+ $includeComments->write($module, $table);
+ $ret[] = $includeComments->renderCommentsIncludes($module, 'comment_delete');
+ // Include Comments File
+ $includeComments = IncludeComments::getInstance();
+ $includeComments->write($module, $table);
+ $ret[] = $includeComments->renderCommentsIncludes($module, 'comment_post');
+ // Include Comments File
+ $includeComments = IncludeComments::getInstance();
+ $includeComments->write($module, $table);
+ $ret[] = $includeComments->renderCommentsIncludes($module, 'comment_reply');
+ // Include Comments File
+ $includeComments = IncludeComments::getInstance();
+ $includeComments->write($module, $table);
+ $ret[] = $includeComments->renderCommentsNew($module, 'comment_new');
}
+ // Creation of user files
+ if ( ($table_user == 1)){
+ // Templates Index File
+ $templatesIndex = TemplatesIndex::getInstance();
+ $templatesIndex->write($module, 'index.tpl');
+ $ret[] = $templatesIndex->render();
+ // User Footer File
+ $userFooter = UserFooter::getInstance();
+ $userFooter->write($module, 'footer.php');
+ $ret[] = $userFooter->render();
+ // User Header File
+ $userHeader = UserHeader::getInstance();
+ $userHeader->write($module, 'header.php');
+ $ret[] = $userHeader->render();
+ // User Notification Update File
+ if ( ($table_notifications == 1 )){
+ $userNotificationUpdate = UserNotificationUpdate::getInstance();
+ $userNotificationUpdate->write($module, 'notification_update.php');
+ $ret[] = $userNotificationUpdate->render();
+ }
+ // Templates Footer File
+ $templatesFooter = TemplatesFooter::getInstance();
+ $templatesFooter->write($module, $table, 'footer.tpl');
+ $ret[] = $templatesFooter->render();
+ // Templates Header File
+ $templatesHeader = TemplatesHeader::getInstance();
+ $templatesHeader->write($module, $tables, 'header.tpl');
+ $ret[] = $templatesHeader->render();
+ // User Index File
+ $userIndex = UserIndex::getInstance();
+ $userIndex->write($module, 'index.php');
+ $ret[] = $userIndex->render();
+ // Language Main File
+ $languageMain = LanguageMain::getInstance();
+ $languageMain->write($module, $table, $tables, 'main.php');
+ $ret[] = $languageMain->render();
+ }
// Class Helper File
$classHelper = ClassHelper::getInstance();
$classHelper->write($module, 'helper.php');
@@ -432,18 +408,10 @@
$includeJquery = IncludeJquery::getInstance();
$includeJquery->write($module, 'functions.js');
$ret[] = $includeJquery->render();
- if(is_object($tables)) {
- // User Xoops Version File
- $userXoopsVersion = UserXoopsVersion::getInstance();
- $userXoopsVersion->write($module, $table, $tables, 'xoops_version.php');
- $ret[] = $userXoopsVersion->render();
- } else {
- $table = null; $tables = array();
- // User Xoops Version File
- $userXoopsVersion = UserXoopsVersion::getInstance();
- $userXoopsVersion->write($module, $table, $tables, 'xoops_version.php');
- $ret[] = $userXoopsVersion->render();
- }
+ // User Xoops Version File
+ $userXoopsVersion = UserXoopsVersion::getInstance();
+ $userXoopsVersion->write($module, $table, $tables, 'xoops_version.php');
+ $ret[] = $userXoopsVersion->render();
// Return Array
return $ret;
}
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks/blocks.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks/blocks.php 2014-06-15 13:43:07 UTC (rev 12601)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks/blocks.php 2014-06-15 17:31:37 UTC (rev 12602)
@@ -73,7 +73,7 @@
\$criteria = new CriteriaCompo();
array_shift(\$options);
array_shift(\$options);
- array_shift(\$options);\n
+ array_shift(\$options);\n
EOT;
if ( $table_category == 1 ) {
$ret .= <<<EOT
@@ -81,8 +81,7 @@
\$criteria->add(new Criteria('{$table_fieldname}_category', {$mod_name_lowercase}_block_addCatSelect(\$options), 'IN'));
}\n
EOT;
- }
-
+ }
$ret .= <<<EOT
if (\$type_block)
{
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include/install.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include/install.php 2014-06-15 13:43:07 UTC (rev 12601)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include/install.php 2014-06-15 17:31:37 UTC (rev 12602)
@@ -65,10 +65,11 @@
$filename = $this->getFileName();
$content = $this->getHeaderFilesComments($module, $filename);
$content .= <<<EOT
-\n\$indexFile = XOOPS_UPLOAD_PATH.'/index.html';
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
+\$indexFile = XOOPS_UPLOAD_PATH.'/index.html';
\$blankFile = XOOPS_UPLOAD_PATH.'/blank.gif';
-// Making of "uploads" folder
+// Making of "uploads/{$module_name}" folder
\${$module_name} = XOOPS_UPLOAD_PATH.'/{$module_name}';
if(!is_dir(\${$module_name}))
mkdir(\${$module_name}, 0777);
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/modinfo.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/modinfo.php 2014-06-15 13:43:07 UTC (rev 12601)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language/modinfo.php 2014-06-15 17:31:37 UTC (rev 12602)
@@ -56,14 +56,14 @@
$this->setTables($tables);
}
/*
- * @public function getHead
+ * @public function getMain
* @param string $language
* @param string $module
*/
- public function getHead($language, $module) {
+ public function getMain($language, $module) {
$ret = <<<EOT
-// Head
-define('{$language}NAME', "{$module->getVar('module_name')}");
+// Main
+define('{$language}NAME', "{$module->getVar('mod_name')}");
define('{$language}DESC', "{$module->getVar('mod_description')}");\n
EOT;
return $ret;
@@ -76,7 +76,7 @@
public function getMenu($language, $tables) {
$menu = 1;
$ret = <<<EOT
-//Menu
+// Menu
define('{$language}ADMENU{$menu}', "Dashboard");\n
EOT;
@@ -85,18 +85,18 @@
$menu++;
$ucf_table_name = ucfirst(str_replace('_', ' ', $tables[$i]->getVar('table_name')));
$table_permissions = $tables[$i]->getVar('table_permissions');
- $content .= <<<EOT
+ $ret .= <<<EOT
define('{$language}ADMENU{$menu}', "{$ucf_table_name}");\n
EOT;
}
if ( $table_permissions != 0 ) {
$menu++;
- $content .= <<<EOT
+ $ret .= <<<EOT
define('{$language}ADMENU{$menu}', "Permissions");\n
EOT;
}
$menu++;
- $content .= <<<EOT
+ $ret .= <<<EOT
define('{$language}ADMENU{$menu}', "About");\n
EOT;
unset( $menu );
@@ -121,16 +121,16 @@
*/
public function getBlocks($language, $tables) {
$ret = <<<EOT
-//Blocks\n
+// Blocks\n
EOT;
foreach (array_keys($tables) as $i)
{
$table_name = $tables[$i]->getVar('table_name');
- $language1 = $language.'_'.strtoupper($table_name);
+ $language1 = $language.strtoupper($table_name);
$table_name = str_replace("_", " ", ucfirst($table_name));
if ( $tables[$i]->getVar('table_blocks') == 1 ) {
$ret .= <<<EOT
-define('{$language1}BLOCK', "{$table_name} block");\n
+define('{$language1}_BLOCK', "{$table_name} block");\n
EOT;
}
}
@@ -155,7 +155,7 @@
*/
public function getConfig($language, $table) {
$ret = <<<EOT
-//Config
+// Config
define('{$language}EDITOR', "Editor");
define('{$language}EDITOR_DESC', "Select the Editor to use");
define('{$language}KEYWORDS', "Keywords");
@@ -257,13 +257,13 @@
$module_name = $module->getVar('mod_name');
$language = $this->getLanguage($module_name, 'MI');
$content = $this->getHeaderFilesComments($module, $filename);
- $content .= $this->getHead($language, $module);
+ $content .= $this->getMain($language, $module);
$content .= $this->getAdmin($language);
$content .= $this->getUser($language);
- if(is_object($tables)) {
+ //if(is_object($tables)) {
$content .= $this->getMenu($language, $tables);
$content .= $this->getBlocks($language, $tables);
- }
+ //}
if(is_object($table)) {
$content .= $this->getConfig($language, $table);
if ( $table->getVar('table_notifications') == 1 )
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/sql/mysql.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/sql/mysql.php 2014-06-15 13:43:07 UTC (rev 12601)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/sql/mysql.php 2014-06-15 17:31:37 UTC (rev 12602)
@@ -129,7 +129,7 @@
*/
public function getDatabaseFields($module_name, $table_id, $table_name, $table_autoincrement, $nb_fields)
{
- $ret = null; $j = 1; $comma = array();
+ $ret = null; $j = 0; $comma = array(); $row = array();
$fields = $this->getTableFields($table_id);
foreach(array_keys($fields) as $f)
{
@@ -159,53 +159,64 @@
$type = $field_type.'('.$field_value.')';
$default = "DEFAULT '{$field_default}'";
break;
- }
- switch( $field_key ) {
- case 'PRIMARY':
- if ( ($f == 1) && ($table_autoincrement == 1) ) {
- $ret .= $this->getFieldRow($field_name, $type, $field_attribute, $field_null, null, 'auto_increment');
- $comma[$j] = $this->getKey(1, $field_name);
- } else {
- $ret .= $this->getFieldRow($field_name, $type, $field_attribute, $field_null, $default);
- $comma[$j] = $this->getKey(1, $field_name);
- }
- break;
- case 'UNIQUE':
- $ret .= $this->getFieldRow($field_name, $type, $field_attribute, $field_null, $default);
- $comma[$j] = $this->getKey(2, $field_name);
- break;
- case 'INDEX':
- $ret .= $this->getFieldRow($field_name, $type, $field_attribute, $field_null, $default);
- $comma[$j] = $this->getKey(3, $field_name);
- break;
- case 'FULLTEXT':
- $ret .= $this->getFieldRow($field_name, $type, $field_attribute, $field_null, $default);
- $comma[$j] = $this->getKey(4, $field_name);
- break;
- default:
- $ret .= $this->getFieldRow($field_name, $type, $field_attribute, $field_null, $default);
- break;
- }
- $j++;
+ }
+ if ( ($f == 0) && ($table_autoincrement == 1) ) {
+ $row[] = $this->getFieldRow($field_name, $type, $field_attribute, $field_null, null, 'AUTO_INCREMENT');
+ $comma[$j] = ' PRIMARY KEY (`'.$field_name.'`)';//$this->getKey(1, $field_name);
+ $j++;
+ } else {
+ if ( $field_key == 'UNIQUE' || $field_key == 'INDEX' || $field_key == 'FULLTEXT')
+ {
+ switch( $field_key ) {
+ case 'UNIQUE':
+ $row[] = $this->getFieldRow($field_name, $type, $field_attribute, $field_null, $default);
+ $comma[$j] = ' KEY `'.$field_name.'` (`'.$field_name.'`)';//$this->getKey(2, $field_name);
+ $j++;
+ break;
+ case 'INDEX':
+ $row[] = $this->getFieldRow($field_name, $type, $field_attribute, $field_null, $default);
+ $comma[$j] = ' INDEX (`'.$field_name.'`)';//$this->getKey(3, $field_name);
+ $j++;
+ break;
+ case 'FULLTEXT':
+ $row[] = $this->getFieldRow($field_name, $type, $field_attribute, $field_null, $default);
+ $comma[$j] = ' FULLTEXT KEY `'.$field_name.'` (`'.$field_name.'`)';//$this->getKey(4, $field_name);
+ $j++;
+ break;
+ }
+ } else {
+ $row[] = $this->getFieldRow($field_name, $type, $field_attribute, $field_null, $default);
+ }
+ }
}
- }
- $ret .= $this->getCommaCicle($j, $comma);
+ }
+ for ($i=0; $i < $j; $i++) {
+ if ( $i != $j - 1 ) {
+ $row[] = $comma[$i].',';
+ } else {
+ $row[] = $comma[$i];
+ }
+ }
+ // echo $key."================= KEY ========================= </br>";
+ $ret .= implode("\n", $row);
+ //$ret .= $key;
+ //$row[] = $this->getCommaCicle($j, $comma);
unset($j);
$ret .= $this->getFootDatabaseTable();
return $ret;
}
/*
- * @public function getFootDatabaseTable
+ * @private function getFootDatabaseTable
* @param null
*/
- public function getFootDatabaseTable() {
+ private function getFootDatabaseTable() {
$ret = <<<SQL
\n) ENGINE=MyISAM;\n
SQL;
return $ret;
}
/*
- * @public function getFieldRow
+ * @private function getFieldRow
* @param string $field_name
* @param string $field_type_value
* @param string $field_attribute
@@ -213,20 +224,20 @@
* @param string $field_default
* @param string $autoincrement
*/
- public function getFieldRow($field_name, $field_type_value, $field_attribute = null, $field_null = null, $field_default = null, $autoincrement = null) {
+ private function getFieldRow($field_name, $field_type_value, $field_attribute = null, $field_null = null, $field_default = null, $autoincrement = null) {
$ret_autoincrement = <<<SQL
- `{$field_name}` {$field_type_value} {$field_attribute} {$field_null} {$autoincrement}
+ `{$field_name}` {$field_type_value} {$field_attribute} {$field_null} {$autoincrement},
SQL;
$ret_field_attribute = <<<SQL
- `{$field_name}` {$field_type_value} {$field_attribute} {$field_null} {$field_default}
+ `{$field_name}` {$field_type_value} {$field_attribute} {$field_null} {$field_default},
SQL;
$ret_no_field_attribute = <<<SQL
- `{$field_name}` {$field_type_value} {$field_null} {$field_default}
+ `{$field_name}` {$field_type_value} {$field_null} {$field_default},
SQL;
$ret_short = <<<SQL
- `{$field_name}` {$field_type_value}
+ `{$field_name}` {$field_type_value},
SQL;
- if(!empty($autoincrement)) {
+ if($autoincrement != null) {
$ret = $ret_autoincrement;
} elseif($field_attribute != null) {
$ret = $ret_field_attribute;
@@ -238,30 +249,30 @@
return $ret;
}
/*
- * @public function getKey
+ * @private function getKey
* @param integer $key
* @param array $field_name
*/
- public function getKey($key, $field_name) {
+ private function getKey($key, $field_name) {
switch( $key ) {
case 1:
$ret = <<<SQL
-PRIMARY KEY (`$field_name`)
+ PRIMARY KEY (`$field_name`)
SQL;
break;
case 2: // UNIQUE KEY
$ret = <<<SQL
-KEY `$field_name` (`$field_name`)
+ KEY `$field_name` (`$field_name`)
SQL;
break;
case 3:
$ret = <<<SQL
-INDEX (`$field_name`)
+ INDEX (`$field_name`)
SQL;
break;
case 4:
$ret = <<<SQL
-FULLTEXT KEY `$field_name` (`$field_name`)
+ FULLTEXT KEY `$field_name` (`$field_name`)
SQL;
break;
}
@@ -269,21 +280,21 @@
}
/*
- * @public function getComma
+ * @private function getComma
* @param array $array
* @param string $comma
*/
- public function getComma($array = array(), $comma = null) {
+ private function getComma($array = array(), $comma = null) {
$ret = <<<SQL
{$array}{$comma}
SQL;
return $ret;
}
/*
- * @public function getCommaCicle
+ * @private function getCommaCicle
* @param integer $index
*/
- public function getCommaCicle($index, $comma = array()) {
+ private function getCommaCicle($index, $comma = array()) {
// Comma issue
$ret = '';
for ($i = 1; $i <= $index; $i++)
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/xoopsversion.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/xoopsversion.php 2014-06-15 13:43:07 UTC (rev 12601)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user/xoopsversion.php 2014-06-15 17:31:37 UTC (rev 12602)
@@ -89,10 +89,10 @@
{
$date = date('D Y/m/d G:i:s');
$ret = <<<EOT
-\nif (!defined('XOOPS_ROOT_PATH')){ exit(); }
-
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
+//
\$dirname = basename( dirname( __FILE__ ) ) ;
-
+//
\$modversion = array(
'name' => {$language}NAME,
'version' => {$module->getVar('mod_version')},
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/session.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/session.php 2014-06-15 13:43:07 UTC (rev 12601)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/session.php 2014-06-15 17:31:37 UTC (rev 12602)
@@ -31,7 +31,9 @@
*/
protected function __construct()
{
- @session_start();
+ if(!isset($_SESSION)) {
+ session_start();
+ }
}
/*
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/fields.tpl
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/fields.tpl 2014-06-15 13:43:07 UTC (rev 12601)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/fields.tpl 2014-06-15 17:31:37 UTC (rev 12602)
@@ -47,7 +47,7 @@
<a href="tables.php?op=edit&table_id=<{$table.id}>" title="<{$smarty.const._AM_TDMCREATE_EDIT_TABLE}>">
<img src="<{xoModuleIcons16 edit.png}>" alt="<{$smarty.const._AM_TDMCREATE_EDIT_TABLE}>" />
</a> <!-- &field_mid=<{$table.mid}>&field_tid=<{$table.id}>&field_numb=<{$table.nbfields}> -->
- <a href="fields.php?op=edit&field_tid=<{$table.id}>&field_numb=<{$table.nbfields}>" title="<{$smarty.const._AM_TDMCREATE_EDIT_FIELDS}>">
+ <a href="fields.php?op=edit&field_tid=<{$table.id}>" title="<{$smarty.const._AM_TDMCREATE_EDIT_FIELDS}>">
<img src="<{xoModuleIcons16 inserttable.png}>" alt="<{$smarty.const._AM_TDMCREATE_EDIT_FIELDS}>" />
</a>
<a href="tables.php?op=delete&table_id=<{$table.id}>" title="<{$smarty.const._DELETE}>">
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tables.tpl
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tables.tpl 2014-06-15 13:43:07 UTC (rev 12601)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tables.tpl 2014-06-15 17:31:37 UTC (rev 12602)
@@ -82,7 +82,7 @@
<a href="tables.php?op=edit&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}>&field_numb=<{$table.nbfields}>" title="<{$smarty.const._EDIT}>">
+ <a href="fields.php?op=edit&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}>">
|
|
From: <luc...@us...> - 2014-06-15 13:43:14
|
Revision: 12601
http://sourceforge.net/p/xoops/svn/12601
Author: luciorota
Date: 2014-06-15 13:43:07 +0000 (Sun, 15 Jun 2014)
Log Message:
-----------
xoops 2.5.7 italian language pack - beta1
Added Paths:
-----------
XoopsLanguages/italian/core/2.5.7/Changelog_Traduzione.txt
XoopsLanguages/italian/core/2.5.7/Istruzioni.txt
XoopsLanguages/italian/core/2.5.7/Note di rilascio.txt
XoopsLanguages/italian/core/2.5.7/extras/
XoopsLanguages/italian/core/2.5.7/extras/Icone_italiane/
XoopsLanguages/italian/core/2.5.7/extras/Icone_italiane/Installazione_icone.txt
XoopsLanguages/italian/core/2.5.7/extras/Icone_italiane/images/
XoopsLanguages/italian/core/2.5.7/extras/Icone_italiane/images/icons/
XoopsLanguages/italian/core/2.5.7/extras/Icone_italiane/images/icons/delete.gif
XoopsLanguages/italian/core/2.5.7/extras/Icone_italiane/images/icons/edit.gif
XoopsLanguages/italian/core/2.5.7/extras/Icone_italiane/images/icons/profile.gif
XoopsLanguages/italian/core/2.5.7/extras/Icone_italiane/images/icons/reply.gif
XoopsLanguages/italian/core/2.5.7/extras/modules/
XoopsLanguages/italian/core/2.5.7/extras/modules/system/
XoopsLanguages/italian/core/2.5.7/extras/modules/system/language/
XoopsLanguages/italian/core/2.5.7/extras/modules/system/language/italian/
XoopsLanguages/italian/core/2.5.7/extras/modules/system/language/italian/admin/
XoopsLanguages/italian/core/2.5.7/extras/modules/system/language/italian/admin/filemanager.php
XoopsLanguages/italian/core/2.5.7/htdocs/
XoopsLanguages/italian/core/2.5.7/htdocs/Frameworks/
XoopsLanguages/italian/core/2.5.7/htdocs/Frameworks/moduleclasses/
XoopsLanguages/italian/core/2.5.7/htdocs/Frameworks/moduleclasses/moduleadmin/
XoopsLanguages/italian/core/2.5.7/htdocs/Frameworks/moduleclasses/moduleadmin/language/
XoopsLanguages/italian/core/2.5.7/htdocs/Frameworks/moduleclasses/moduleadmin/language/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/Frameworks/moduleclasses/moduleadmin/language/italian/
XoopsLanguages/italian/core/2.5.7/htdocs/Frameworks/moduleclasses/moduleadmin/language/italian/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/Frameworks/moduleclasses/moduleadmin/language/italian/main.php
XoopsLanguages/italian/core/2.5.7/htdocs/class/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/dhtmltextarea/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/dhtmltextarea/language/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/dhtmltextarea/language/italian.php
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/textarea/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/textarea/language/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/textarea/language/italian.php
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/language/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/language/italian.php
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/it.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/it.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/it.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/langs/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/langs/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/langs/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/langs/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/langs/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/langs/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/langs/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/langs/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/langs/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/langs/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/langs/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/langs/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/langs/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/langs/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/langs/it.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/it.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/langs/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/langs/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/langs/it.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/langs/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/langs/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/langs/it.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/langs/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/langs/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/langs/it.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/it.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/langs/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/langs/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/langs/it.js
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/utils/
XoopsLanguages/italian/core/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/utils/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/install/
XoopsLanguages/italian/core/2.5.7/htdocs/install/language/
XoopsLanguages/italian/core/2.5.7/htdocs/install/language/italian/
XoopsLanguages/italian/core/2.5.7/htdocs/install/language/italian/finish.php
XoopsLanguages/italian/core/2.5.7/htdocs/install/language/italian/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/install/language/italian/install.php
XoopsLanguages/italian/core/2.5.7/htdocs/install/language/italian/install2.php
XoopsLanguages/italian/core/2.5.7/htdocs/install/language/italian/mysql.lang.data.sql
XoopsLanguages/italian/core/2.5.7/htdocs/install/language/italian/style.css
XoopsLanguages/italian/core/2.5.7/htdocs/install/language/italian/support.php
XoopsLanguages/italian/core/2.5.7/htdocs/install/language/italian/support.png
XoopsLanguages/italian/core/2.5.7/htdocs/install/language/italian/welcome.php
XoopsLanguages/italian/core/2.5.7/htdocs/language/
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/admin.php
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/auth.php
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/backend.php
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/banners.php
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/calendar.php
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/captcha.php
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/comment.php
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/countries.php
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/errors.php
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/findusers.php
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/formdhtmltextarea.php
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/global.php
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/locale.php
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/logger.php
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/mail.php
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/mail_template/
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/mail_template/activated.tpl
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/mail_template/adminactivate.tpl
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/mail_template/comment_notify.tpl
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/mail_template/commentsubmit_notify.tpl
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/mail_template/default_notify.tpl
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/mail_template/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/mail_template/lostpass1.tpl
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/mail_template/lostpass2.tpl
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/mail_template/register.tpl
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/mail_template/tellfriend.tpl
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/mail_template/welcome.tpl
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/misc.php
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/modules.php
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/notification.php
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/pmsg.php
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/search.php
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/style.css
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/timezone.php
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/uploader.php
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/user.php
XoopsLanguages/italian/core/2.5.7/htdocs/language/italian/xoopsmailerlocal.php
XoopsLanguages/italian/core/2.5.7/htdocs/modules/
XoopsLanguages/italian/core/2.5.7/htdocs/modules/pm/
XoopsLanguages/italian/core/2.5.7/htdocs/modules/pm/language/
XoopsLanguages/italian/core/2.5.7/htdocs/modules/pm/language/italian/
XoopsLanguages/italian/core/2.5.7/htdocs/modules/pm/language/italian/admin.php
XoopsLanguages/italian/core/2.5.7/htdocs/modules/pm/language/italian/help/
XoopsLanguages/italian/core/2.5.7/htdocs/modules/pm/language/italian/help/help.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/pm/language/italian/help/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/pm/language/italian/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/pm/language/italian/main.php
XoopsLanguages/italian/core/2.5.7/htdocs/modules/pm/language/italian/modinfo.php
XoopsLanguages/italian/core/2.5.7/htdocs/modules/profile/
XoopsLanguages/italian/core/2.5.7/htdocs/modules/profile/language/
XoopsLanguages/italian/core/2.5.7/htdocs/modules/profile/language/italian/
XoopsLanguages/italian/core/2.5.7/htdocs/modules/profile/language/italian/admin.php
XoopsLanguages/italian/core/2.5.7/htdocs/modules/profile/language/italian/help/
XoopsLanguages/italian/core/2.5.7/htdocs/modules/profile/language/italian/help/help.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/profile/language/italian/help/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/profile/language/italian/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/profile/language/italian/mail_template/
XoopsLanguages/italian/core/2.5.7/htdocs/modules/profile/language/italian/mail_template/emailchanged.tpl
XoopsLanguages/italian/core/2.5.7/htdocs/modules/profile/language/italian/mail_template/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/profile/language/italian/main.php
XoopsLanguages/italian/core/2.5.7/htdocs/modules/profile/language/italian/modinfo.php
XoopsLanguages/italian/core/2.5.7/htdocs/modules/protector/
XoopsLanguages/italian/core/2.5.7/htdocs/modules/protector/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/protector/language/
XoopsLanguages/italian/core/2.5.7/htdocs/modules/protector/language/italian/
XoopsLanguages/italian/core/2.5.7/htdocs/modules/protector/language/italian/help/
XoopsLanguages/italian/core/2.5.7/htdocs/modules/protector/language/italian/help/help.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/protector/language/italian/help/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/admin/
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/admin/avatars.php
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/admin/banners.php
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/admin/blocksadmin.php
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/admin/comments.php
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/admin/groups.php
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/admin/images.php
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/admin/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/admin/mailusers.php
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/admin/maintenance.php
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/admin/modulesadmin.php
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/admin/preferences.php
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/admin/smilies.php
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/admin/tplsets.php
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/admin/userrank.php
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/admin/users.php
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/admin.php
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/blocks.php
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/cpanel.php
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/help/
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/help/avatars.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/help/banners.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/help/blocksadmin.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/help/comments.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/help/groups.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/help/help_center.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/help/images.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/help/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/help/mailusers.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/help/maintenance.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/help/module_index.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/help/modulesadmin.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/help/preferences.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/help/smilies.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/help/tplsets.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/help/userrank.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/help/users.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/images/
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/images/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/images/lightbox-blank.gif
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/images/lightbox-btn-close.gif
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/images/lightbox-btn-next.gif
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/images/lightbox-btn-prev.gif
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/images/lightbox-ico-loading.gif
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/language/italian/modinfo.php
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/themes/
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/themes/default/
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/themes/default/language/
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/themes/default/language/italian/
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/themes/default/language/italian/admin.php
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/themes/default/language/italian/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/themes/default/language/italian/localsupport.php
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/themes/zetadigme/
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/themes/zetadigme/css/
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/themes/zetadigme/css/it.css
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/themes/zetadigme/language/
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/themes/zetadigme/language/italian/
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/themes/zetadigme/language/italian/admin.php
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/themes/zetadigme/language/italian/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/modules/system/themes/zetadigme/language/italian/localsupport.php
XoopsLanguages/italian/core/2.5.7/htdocs/themes/
XoopsLanguages/italian/core/2.5.7/htdocs/themes/suico/
XoopsLanguages/italian/core/2.5.7/htdocs/themes/suico/language/
XoopsLanguages/italian/core/2.5.7/htdocs/themes/suico/language/italian/
XoopsLanguages/italian/core/2.5.7/htdocs/themes/suico/language/italian/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/themes/suico/language/italian/main.php
XoopsLanguages/italian/core/2.5.7/htdocs/themes/suico/language/italian/script.js
XoopsLanguages/italian/core/2.5.7/htdocs/themes/suico/language/italian/style.css
XoopsLanguages/italian/core/2.5.7/htdocs/themes/zetagenesis/
XoopsLanguages/italian/core/2.5.7/htdocs/themes/zetagenesis/language/
XoopsLanguages/italian/core/2.5.7/htdocs/themes/zetagenesis/language/italian/
XoopsLanguages/italian/core/2.5.7/htdocs/themes/zetagenesis/language/italian/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/themes/zetagenesis/language/italian/main.php
XoopsLanguages/italian/core/2.5.7/htdocs/themes/zetagenesis/language/italian/script.js
XoopsLanguages/italian/core/2.5.7/htdocs/themes/zetagenesis/language/italian/style.css
XoopsLanguages/italian/core/2.5.7/htdocs/themes/zetagenesis/language/leggimi.txt
XoopsLanguages/italian/core/2.5.7/htdocs/xoops_lib/
XoopsLanguages/italian/core/2.5.7/htdocs/xoops_lib/modules/
XoopsLanguages/italian/core/2.5.7/htdocs/xoops_lib/modules/protector/
XoopsLanguages/italian/core/2.5.7/htdocs/xoops_lib/modules/protector/language/
XoopsLanguages/italian/core/2.5.7/htdocs/xoops_lib/modules/protector/language/italian/
XoopsLanguages/italian/core/2.5.7/htdocs/xoops_lib/modules/protector/language/italian/admin.php
XoopsLanguages/italian/core/2.5.7/htdocs/xoops_lib/modules/protector/language/italian/index.html
XoopsLanguages/italian/core/2.5.7/htdocs/xoops_lib/modules/protector/language/italian/main.php
XoopsLanguages/italian/core/2.5.7/htdocs/xoops_lib/modules/protector/language/italian/modinfo.php
XoopsLanguages/italian/core/2.5.7/upgrade/
XoopsLanguages/italian/core/2.5.7/upgrade/cnt-2.2.x-to-2.3.0/
XoopsLanguages/italian/core/2.5.7/upgrade/cnt-2.2.x-to-2.3.0/language/
XoopsLanguages/italian/core/2.5.7/upgrade/cnt-2.2.x-to-2.3.0/language/italian.php
XoopsLanguages/italian/core/2.5.7/upgrade/language/
XoopsLanguages/italian/core/2.5.7/upgrade/language/italian/
XoopsLanguages/italian/core/2.5.7/upgrade/language/italian/index.html
XoopsLanguages/italian/core/2.5.7/upgrade/language/italian/style.css
XoopsLanguages/italian/core/2.5.7/upgrade/language/italian/upgrade.php
XoopsLanguages/italian/core/2.5.7/upgrade/leggimi.txt
XoopsLanguages/italian/core/2.5.7/upgrade/upd-2.0.18-to-2.3.0/
XoopsLanguages/italian/core/2.5.7/upgrade/upd-2.0.18-to-2.3.0/language/
XoopsLanguages/italian/core/2.5.7/upgrade/upd-2.0.18-to-2.3.0/language/italian.php
Added: XoopsLanguages/italian/core/2.5.7/Changelog_Traduzione.txt
===================================================================
--- XoopsLanguages/italian/core/2.5.7/Changelog_Traduzione.txt (rev 0)
+++ XoopsLanguages/italian/core/2.5.7/Changelog_Traduzione.txt 2014-06-15 13:43:07 UTC (rev 12601)
@@ -0,0 +1,340 @@
+*********************************************************************************
+***************** CHANGELOG TRADUZIONE per CORE XOOPS ***************************
+---------------------------------------------------------------------------------
+-- Ultimo aggiornamento: 15/06/2014 -------------------- by Xoops Italia --------
+---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
+* 2.5.7 *
+--------------------------------------------------------------
+-Nuova traduzione completa - Identica a versione 2.5.6, tranne:
+-Aggiunto define WRITTEN_LICENSE nel file install/language/italian/install.php
+-Aggiunto define _AM_SYSTEM_USAGE nel file modules/system/language/italian/admin.php
+-Aggiunto define _AM_SYSTEM_ACTIVE nel file modules/system/language/italian/admin.php
+
+*********************************************************************************
+***************** CHANGELOG TRADUZIONE per CORE XOOPS ***************************
+---------------------------------------------------------------------------------
+-- Ultimo aggiornamento: 10/11/2013 -------------------- by Xoops Italia --------
+---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
+* 2.5.6 *
+--------------------------------------------------------------
+-Traduzione aggiornata seguendo quanto specificato in http://sourceforge.net/p/xoops/svn/10380/tree/XOOPS_Coding_Standards.html
+-Nuova traduzione completa - Identica a versione 2.5.5, tranne:
+-Aggiunto define _CAL_JQUERY_FORMAT nel file language/italian/calendar.php
+-Aggiunto define _CAL_MIN_SUNDAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_MIN_MONDAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_MIN_TUESDAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_MIN_WEDNESDAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_MIN_THURSDAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_MIN_FRIDAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_MIN_SATURDAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_SUNDAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_MONDAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_TUESDAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_WEDNESDAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_THURSDAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_FRIDAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_SATURDAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_JANUARY nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_FEBRUARY nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_MARCH nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_APRIL nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_MAY nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_JUNE nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_JULY nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_AUGUST nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_SEPTEMBER nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_OCTOBER nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_NOVEMBER nel file language/italian/calendar.php
+-Aggiunto define _CAL_SHORT_DECEMBER nel file language/italian/calendar.php
+-Aggiunto define _CM_USER nel file language/italian/comment.php
+-Aggiunto define _CM_EMAIL nel file language/italian/comment.php
+-Aggiunto define _CM_URL nel file language/italian/comment.php
+-Corretto define _TODAY nel file language/italian/locale.php (Metalslug, luciorota)
+-Corretto define _YESTERDAY nel file language/italian/locale.php (Metalslug, luciorota)
+-Rimosso doppio define _MA_USER_MORE in language/italian/findusers.php (Metalslug)
+-Rimosso doppio define _MA_USER_REMOVE in language/italian/findusers.php (Metalslug)
+-Aggiunto define _PM_SURE_TO_DELETE nel file modules/pm/language/italian/main.php (Metaslug)
+-Rimossi define non utilizzati nel file modules/pm/language/italian/main.php (luciorota)
+-Aggiunto file modules/pm/language/italian/help/help.html (timgno)
+-Aggiunto file modules/profile/language/italian/help/help.html (timgno)
+-Aggiunto file modules/protector/language/italian/help/help.html (timgno)
+
+-Aggiunto define _US_SKYPE nel file language/italian/user.php (timgno)
+-Aggiunto define _US_FACEBOOK nel file language/italian/user.php (timgno)
+-Completato file language/italian/style.css (timgno)
+
+*********************************************************************************
+***************** CHANGELOG TRADUZIONE per CORE XOOPS ***************************
+---------------------------------------------------------------------------------
+-- Ultimo aggiornamento: 24/02/2012 ------------------------ by TXMod Xoops -----
+---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
+* 2.5.5 *
+--------------------------------------------------------------
+-Nuova traduzione completa - Identica a versione 2.5.4, tranne:
+-Aggiunto define _AM_SYSTEM_UNISTALL nel file modules/system/language/italian/admin.php
+
+*********************************************************************************
+***************** CHANGELOG TRADUZIONE per CORE XOOPS ***************************
+---------------------------------------------------------------------------------
+-- Ultimo aggiornamento: 30/11/2011 ------------------------ by TXMod Xoops -----
+---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
+* 2.5.4 *
+--------------------------------------------------------------
+-Nuova traduzione completa - Identica a versione 2.5.3, tranne:
+-Aggiunto define _AM_SYSTEM_TEMPLATES_SET nel file modules/system/language/italian/admin.php
+
+*********************************************************************************
+************* CHANGELOG TRADUZIONE per CORE XOOPS *********++++******************
+---------------------------------------------------------------------------------
+-- Ultimo aggiornamento: 06/10/2011 ------------------------ by TXMod Xoops -----
+---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
+* 2.5.3 *
+--------------------------------------------------------------
+-Nuova traduzione completa - Identica a versione 2.5.2, tranne:
+-Aggiunto define _MSC_CLICK_TO_OPEN_IMAGE nel file language/italian/misc.php
+-Aggiunto define _MSC_RESIZED_IMAGE nel file language/italian/misc.php
+-Aggiunto define _MSC_ORIGINAL_IMAGE nel file language/italian/misc.php
+-Aggiunto define _PM_SURE_TO_DELETE nel file language/italian/pmsg.php
+
+---------------------------------------------------------------------------------
+-- Ultimo aggiornamento: 03/10/2011 ------------------------ by TXMod Xoops -----
+---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
+* 2.5.2 *
+--------------------------------------------------------------
+-Nuova traduzione completa del lato admin - Identica a versione 2.5.0, tranne:
+-Aggiunto define _AM_SYSTEM_TEMPLATES_SET nel file admin/tplsets.php
+-Tradotto define _AM_SYSTEM_TEMPLATES_RESTORE_TOK nel file admin/tplsets.php
+-Tradotto define _AM_SYSTEM_TEMPLATES_RESTORE_NOTOK nel file admin/tplsets.php
+
+**MODULI PACCHETTO BASE**
+-------------------------
+-Revisionata la traduzione dei moduli - OK
+
+---------------------------------------------------------------------------------
+-- Ultimo aggiornamento: 20/04/2011 ----------------------- by Xoops Italia -----
+---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
+* 2.5.0 *
+--------------------------------------------------------------
+-Nuova traduzione completa del lato admin
+-Aggiunti file di lingua necessari per nuove funzioni
+-Aggiunta traduzione editor tinymce (grazie luciorota)
+-Aggiunta traduzione completa dell'aiuto online (Ianez/luciorota)
+-Aggiunte immagini in italiano per lightbox jquery (per gestione immagini)
+-Aggiunte icone generiche profilo/elimina/rispondi/annulla in italiano (a parte in cartella extras)
+-Aggiunta traduzione file manager (a parte in cartella extras) (grazie luciorota)
+
+-Modificate le intestazioni commentate dei file php
+-Revisione e correzione installer (path mysql + ortografia)
+-Corretti diversi errori ortografici
+
+**MODULI PACCHETTO BASE**
+-------------------------
+-Revisionata la traduzione dei moduli
+
+
+* 2.4.5 *
+--------------------------------------------------------------
+-Aggiunto define: language/english/logger.php _LOGGER_DEPRECATED
+
+-Corretto file: /language/italian/banners.php
+-Corretto file: /language/italian/user.php
+
+
+
+* 2.4.3 *
+--------------------------------------------------------------
+
+-Aggiunta cartella /themes/zetagenesis/language/italian (e relativi files tradotti)
+-Aggiunta cartella /modules/system/class/gui/oxygene/language/italian (e relativi files tradotti)
+-Aggiunto file: /install/include/functions.php (voci relative alla licenza xoops)
+-Aggiunto file: /install/language/italian/support.png
+-Aggiunto file: /install/language/italian/support.php
+-Aggiunto file: /language/italian/style.css
+
+
+-Modificato file lingua: /language/italian/banners.php
+-Rimossa cartella: /modules/system/class/gui/default
+-Reimpostazione intestazioni file di lingua
+
+**MODULI PACCHETTO BASE**
+-------------------------
+-Aggiornata traduzione modulo protector (xoops_lib/modules/protector/language/italian/)
+
+
+
+* 2.4.2 *
+-----------------------------------------
+
+-Modificato file lingua: /install/language/italian/[tutti i files]
+
+
+-Aggiunto file lingua: /language/italian/countries.php
+-Aggiunto file lingua: /language/italian/errors.php
+-Aggiunto file lingua: /language/italian/logger.php
+-Aggiunto file lingua: htdocs/class/calendar/JSCal2/language/italian.php
+-Aggiunta directory: /modules/system/admin/
+
+
+
+-Modificato file lingua: /language/italian/admin.php
+-Modificato file lingua: /language/italian/auth.php
+-Modificato file lingua: /language/italian/calendar.php
+-Modificato file lingua: /language/italian/captcha.php
+-Modificato file lingua: /language/italian/comment.php
+-Modificato file lingua: /language/italian/formdhtmltextarea.php
+-Modificato file lingua: /language/italian/misc.php
+-Modificato file lingua: /language/italian/notification.php
+-Modificato file lingua: /language/italian/pmsg.php
+-Modificato file lingua: /language/italian/search.php
+-Modificato file lingua: /language/italian/user.php
+-Modificato file lingua: /htdocs/install/language/italian/finish.php
+-Modificato file lingua: /htdocs/install/language/italian/install.php
+-Modificato file lingua: /htdocs/install/language/italian/install2.php
+-Modificato file lingua: /htdocs/install/language/italian/welcome.php
+-Modificato file lingua: /htdocs/install/language/italian/mysql.lang.data.sql
+
+**MODULI PACCHETTO BASE**
+-------------------------
+-Modificato file lingua: /modules/pm/language/italian/admin.php
+-Modificato file lingua: /modules/pm/language/italian/main.php
+-Modificato file lingua: /modules/pm/language/italian/modinfo.php
+-Modificato file lingua: /modules/profile/language/italian/admin.php
+-Modificato file lingua: /modules/profile/language/italian/main.php
+-Modificato file lingua: /modules/profile/language/italian/modinfo.php
+
+
+
+* 2.3* (Unificazione rami 2.0.x e 2.2.x)
+-----------------------------------------
+
+**CORE**
+--------
+- Aggiunto file lingua: /language/italian/captcha.php
+- Aggiunto file lingua: /language/italian/formdhtmltextarea.php
+- Aggiunto file lingua: /language/italian/locale.php
+- Aggiunto file lingua: /language/italian/mail_template/welcome.tpl
+- Aggiunto file lingua: /modules/system/language/italian/cpanel.php
+- Aggiunto file locale: /modules/system/class/gui/exm/language/italian/admin.php
+- Aggiunto file locale: /modules/system/class/gui/default/style/it.css
+- Aggiunto file locale: /modules/system/class/gui/exm/style/it.css
+- Aggiunto file locale upgrade/cnt-2.2.x-to-2.3.0/language/italian.php
+- Aggiunto file locale upgrade/upd-2.0.18-to-2.3.0/language/italian.php
+
+- Aggiunta traduzione completa della classe xoopseditor (fckeditor, tinymce, koivi) [Lucio Rota]
+- Aggiunta/revisione traduzione del programma di installazione
+
+- Aggiunte nuove costanti in /language/italian/user.php
+- Aggiunte nuove costanti in modules/system/language/italian/admin/blocksadmin.php
+- Aggiunte nuove costanti in modules/system/language/italian/admin/modulesadmin.php (routine installazione)
+- Aggiunte nuove costanti in modules/system/language/italian/admin/preferences.php
+- Aggiornamento traduzione /upgrade/language/italian/upgrade.php
+
+
+- Migliorie/Revisione traduzione in: /language/italian/[diversi files]
+- Migliorie/Revisione traduzione in: /modules/system/language/italian/[diversi files]
+
+- Conversione di tutti i caratteri speciali(\xE8\xF9\xE0..) in valori HTML, per maggiore compatibilit\xE0
+- Verifica conversione codifica files in UTF8 (per adeguamento nuovo charset)
+
+
+**MODULI PACCHETTO BASE**
+-------------------------
+- Aggiunta traduzione modulo Protector 3.20 [Defkon]
+- Aggiunta traduzione modulo Profile 1.51 [Urban/Ianez]
+- Aggiunta traduzione modulo Private Messaging 1 [Urban/Ianez]
+- Aggiunta traduzione modulo ThAdmin 1.1 [Ottagon/Ianez]
+
+
+*********************************************************************************
+*********************************************************************************
+
+
+* 2.0.18.1 *
+-----------------------
+
+- Migliorie/Revisione traduzione in: /language/italian/[diversi files]
+
+
+
+
+* 2.0.18 *
+-----------------------
+
+- Aggiornamento delle condizioni di utilizzo generali del sito (d.lgs 196/03)
+- Aggiornamento globale intestazioni/id files di lingua
+
+- Aggiunto file: /language/italian/banners.php
+- Aggiunto file: /upgrade/language/italian/upgrade.php (solo in pacchetti completi)
+- Aggiunto file: /modules/system/xoopsversion.php
+
+- Aggiunta costante in /language/italian/findusers.php
+- Aggiunte costanti in /language/italian/global.php
+
+- Migliorie/Revisione traduzione per installazione (/install/language/italian)
+- Migliorie/Revisione traduzione in: /language/italian/[diversi files]
+- Migliorie/Revisione traduzione in: modules/system/language/italian/[diversi files]
+
+
+
+* 2.0.17/2.0.17.1 *
+-----------------------
+- Aggiunto file: /language/italian/findusers.php
+- Aggiunto file: /language/italian/uploader.php
+
+- Aggiunta costante _AM_GROUPS in /modules/system/language/italian/admin/findusers.php
+- Aggiunta costante _MD_AM_CONFIG in /modules/system/language/italian/admin.php
+- Aggiunta costante _AM_CNRNU2 in /modules/system/language/italian/admin/users.php
+- Aggiunte costanti _MD_AM_LDAP_USETLS e _MD_AM_LDAP_USETLS_DESC a /modules/system/language/italian/admin/preferences.php
+- Aggiunta costante _AUTH_LDAP_START_TLS_FAILED in /languages/italian/auth.php
+- Aggiunta costante _NOT_NOTHINGTODELETE in /languages/italian/notification.php
+
+- Migliorie traduzione in /modules/system/language/italian/admin/users.php
+- Migliorie traduzione in /modules/system/language/italian/admin.php
+- Migliorie traduzione in /modules/system/language/italian/admin/preferences.php
+
+- Modifica voce 'Messaggi in arrivo' in 'Posta in arrivo' nel Menù utente.
+
+
+
+* 2.0.16 *
+-----------------------
+- Aggiunti files lingua per language/italian/xoopsmailerlocal.php e language/italian/auth.php
+- Aggiunto file lingua in class/mail/phpmailer/phpmailerlang-it.php
+- Aggiunte costanti mappatura campi per autenticazione in system/language/italian/admin/preferences.php
+- Miglioramento linguaggio per metodo notifica (modifica profilo)
+
+
+* 2.0.14/2.0.15 *
+-----------------------
+- Modificata voce "Menu' di amministrazione" in "Amministrazione"
+- Aggiunta costante in: system/admin/smileys (_AM_DISPLAYF)
+- Aggiunte tre nuove costanti in: system/admin/blocksadmin (_AM_CBBOTTOM, _AM_CBBOTTOMLEFT, _AM_CBBOTTOMRIGHT)
+- Modificate alcune costanti in: system/admin/preferences (_MD_AM_DEBUGMODE1,_MD_AM_DEBUGMODE2,_MD_AM_THEMEFILE,_MD_AM_THEMEFILEDSC)
+- Aggiunta una costante a: language/english/comment.php (_CM_RE)
+- aggiunt nuove costanti per le opzioni di autenticazione in: system/admin/preferences
+- Piccole correzioni linguistiche
+- Miglioramento linguaggio per metodo notifica (modifica profilo)
+
+
+----------------------------------------------------------------------------------
+Creato il: 10/10/2008 ** by Xoops Italia Staff -----------------------------------
+----------------------------------------------------------------------------------
+----------------------------------------------------------------------------------
+Traduzione orginale by BlueAngel, Dantom - Revisione a cura di Ianez -------------
+----------------------------------------------------------------------------------
+Supporto: www.xoopsitalia.org - www.xoops.org [Eng] ------------------------------
+__________________________________________________________________________________
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.7/Istruzioni.txt
===================================================================
--- XoopsLanguages/italian/core/2.5.7/Istruzioni.txt (rev 0)
+++ XoopsLanguages/italian/core/2.5.7/Istruzioni.txt 2014-06-15 13:43:07 UTC (rev 12601)
@@ -0,0 +1,39 @@
+*********************************************************************************
+************* INSTALLAZIONE TRADUZIONE CORE XOOPS *******************************
+---------------------------------------------------------------------------------
+-- Ultimo aggiornamento: 23/07/2013 ----------------------- by Xoops Italia -----
+---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
+
+*APPLICAZIONE TRADUZIONE SU XOOPS GIA INSTALLATO*
+-------------------------------------------------
+
+- Estrarre dall'archivio la cartella principale sul desktop o dove si preferisce
+- Accedere (in locale o remoto) alla root (cartella principale) della propria installazione XOOPS
+- Accedere alla cartella appena estratta e aprire la cartella HTDOCS
+- Selezionare TUTTI i files e cartelle contenuti nella cartella HTDOCS e trascinarli all'interno della root della propria installazione di Xoops
+- Permettere che TUTTI i files vengano sovrascritti se vi viene richiesto
+- Eliminare la cartella "install" dalla root della propria installazione Xoops
+
+
+*APPLICAZIONE TRADUZIONE PRIMA DI INSTALLARE*
+-------------------------------------------------
+
+- Estrarre dall'archivio la cartella principale sul desktop o dove si preferisce
+- Accedere (in locale o remoto) alla root (cartella principale) dove avete messo i files di XOOPS
+- Accedere alla cartella appena estratta e aprire la cartella HTDOCS
+- Selezionare TUTTI i files e cartelle contenuti nella cartella HTDOCS e trascinarli all'interno della cartella in cui avete messo i files di Xoops
+- Permettere che TUTTI i files vengano sovrascritti se vi viene richiesto
+- Accedere via browser e seguire le istruzioni
+
+
+*NOTE*
+--------------------------------------------
+- Quando possibile si consiglia di applicare i files di traduzione PRIMA di installare Xoops
+
+
+----------------------------------------------------------------------------------
+----------------------------------------------------------------------------------
+Supporto: www.xoopsitalia.org - www.xoops.org [Eng] ------------------------------
+__________________________________________________________________________________
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.7/Note di rilascio.txt
===================================================================
--- XoopsLanguages/italian/core/2.5.7/Note di rilascio.txt (rev 0)
+++ XoopsLanguages/italian/core/2.5.7/Note di rilascio.txt 2014-06-15 13:43:07 UTC (rev 12601)
@@ -0,0 +1,107 @@
+--------------------------------------
+XOOPS 2.5.0 Versione Finale
+--------------------------------------
+--------------------------------------
+
+Il team di sviluppo XOOPS è lieto di annunciare il rilascio di XOOPS 2.5.0 FINALE.
+
+Questa versione basata sul ramo 2.4.x offre una quasi completa riscrittura del modulo di Sistema che offre adesso funzionalità AJAX (tramite jquery) grazie al lavoro di Nicolas Andricq (ForMusS), Cointin Maxime (kraven_30), e Grégory Mage (Mage). GLi altri maggiori collaboratori sono Trabis, Voltan e Kris_fr e anche Onokazu.
+
+Alcune delle nuove caratteristiche:
+* collocazione visuale dei blocchi tramite drag&drop
+* ordinamento dei moduli visuale tramite drag&drop
+* pulizia delle cache tramite funzionalità apposita (manutenzione)
+* File manager (da installare a parte dalla cartella /extras)
+* nuovo sistema di gestione dei template
+* gestione centralizzata delgi editor testuali per blocchi commenti e moduli
+* guida/aiuto integrata
+
+Consultare il changelog (nella cartella docs) (in inglese) per i dettagli.
+
+Scaricare dall'indirizzo https://sourceforge.net/projects/xoops/files/XOOPS%20Core%20%28stable%20releases%29/XOOPS%202.5.0
+
+
+Requisiti di sistema
+-----------------------------------
+
+PHP:
+Qualsiasi versione PHP >= 5.2 (PHP 5.2+ è fortemente raccomandato)
+
+MySQL:
+MySQL server 5.0+ (MySQL 5.0+ è fortemente raccomandato)
+
+Web server:
+Qualsiasi server che supporti la versione PHP richiesta (Apache è fortemente raccomandato)
+
+
+Scaricare XOOPS
+-----------------------------------
+
+E' possibile scaricare questo rilascio dall'archivio file di Sourceforge.net
+Sono disponibili glia archivi in formato .zip e .gz
+
+
+Installare XOOPS
+-----------------------------------
+
+ 1. Copiare il contenuto della cartella htdocs/ dove può essere raggiunta dal vostro server
+ 2. Assicurarsi che mainfile.php e uploads/ siano scrivibili (chmod 777) dal server
+ 3. Per ragioni di sicurezza si consiglia di spostare le cartelle "/xoops_lib" (librerie XOOPS) e "/xoops_data" (XOOPS data) al di fuori della cartella principale (root) di Xoopa, o almeno rinominarle.
+ 4. Rendere scrivibile la cartella xoops_data/ ; Creare (se non esistono già) e rendere scrivibili le cartelle xoops_data/caches/, xoops_data/caches/xoops_cache/, xoops_data/caches/smarty_cache/ e xoops_data/caches/smarty_compile/ .
+ 5. Per lanciare la routine di installazione, accedere via browser alla directory in cui avete installato i files nella cartella htdocs/ .
+
+
+Installazione di PROTECTOR in XOOPS
+-----------------------------------
+
+Si raccomanda fortemente l'installazione del modulo PROTECTOR che è in grado di fornire ulteriore sicurezza e migliori possibilità di logging al vostro sito.
+
+
+
+Aggiornamento degli Editor Xoops
+----------------------------------------
+
+Nel pacchetto Xoops sono inclusi tre editor: dhtmltextarea e textarea per testo semplice e TinyMCE per WYSIWYG HTML.
+Vi sono altri sei Editor WYSIWYG disponibili: FCKeditor, Koivi, NiceEdit, Wymeditor, Xinha, eSpaw2 che possono essere scaricati da Xoops SourceForge (http://sourceforge.net/projects/xoops/files/XOOPS%20Editors/)
+Poichè vi sono alcune modifiche nella struttra della directory negli editor fckeditor e tinymce, si raccomanda di rimuovere gli editor presenti prima di caricare i nuovi editor.
+Infine, se si utilizza l'editor FCKeditor nei moduli, modificare le configurazioni specifiche del modulo nel file/fckeditor/modules/, soprattutto se si utilizza il modulo Article.
+
+
+Modalità di visualizzazione delle informazioni di DEBUG
+--------------------------------------------------------
+
+Dalla versione di XOOPS 2.3.1 la modalità di visualizzazione del debug è stata impostata come soluzione temporanea per impostare l'accesso al debug secondo livelli di utenza: per tutti gli utenti (to all users), solo utenti registrati (to members) o solo per gli amministratori (to admins only).
+La modalità può essere impostata /xoops_data/configs/xoopsconfig.php.
+
+
+Verifica dell'integrità dei files (Files Integrity Check)
+-----------------------------------
+
+Tutto il pacchetto XOOPS è realizzato con uno script in grado di verificare che i file di sistema siano stati caricati correttamente sul server. Per utilizzarlo seguire queste istruzioni:
+
+ 1. Caricare sul server i files checksum.php e checksum.md5 dalla root del pacchetto XOOPS (collocandoli subito dopo il file mainfile.php).
+ 2. Eseguire checksum.php nel browser (www.nomedelsito.xx/checksum.php)
+ 3. Se necessario ricaricare i file di systema mancanti o non corretti
+ 4. Rimuovere checksum.php e checksum.md5 dal server
+
+
+Moduli
+-----------------------------------
+Questo rilascio contiene solo i moduli di base per il sistema. Si invita a consultare l'archivio "XOOPS modules" per accedere a ulteriori funzionalità. (http://www.xoops.org/modules/repository/)
+Nota: poichè sta venendo organizzato un nuovo archivio, quello attuale potrebbe non essere aggiornato.
+PER FAVORE VISITARE I SITI WEB DEGLI SVILUPPATORI PER ASSICURARSI DI UTILIZZARE LA VERSIONE PIU' RECENTE DEL MODULO.
+
+
+Come contribuire
+-----------------------------------
+Segnalazione Bug: http://sourceforge.net/tracker/?group_id=41586&a...
[truncated message content] |
|
From: <luc...@us...> - 2014-06-15 12:54:09
|
Revision: 12600
http://sourceforge.net/p/xoops/svn/12600
Author: luciorota
Date: 2014-06-15 12:54:05 +0000 (Sun, 15 Jun 2014)
Log Message:
-----------
create folder for xoops 2.5.7 italian language pack
Added Paths:
-----------
XoopsLanguages/italian/core/2.5.7/
|
|
From: <be...@us...> - 2014-06-15 03:39:14
|
Revision: 12599
http://sourceforge.net/p/xoops/svn/12599
Author: beckmi
Date: 2014-06-15 03:39:07 +0000 (Sun, 15 Jun 2014)
Log Message:
-----------
removing white spaces, updating to UTF-8
Modified Paths:
--------------
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin.js
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/editor_plugin.js
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/js/xoopsimagemanager.js
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/xoopsimagebrowser.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/editor_plugin.js
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/form.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/formdatetime.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/formelement.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/formelementtray.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/templates/profile_results.tpl
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/templates/profile_userinfo.tpl
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/admin/modulesadmin/main.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/docs/changelog.txt
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin.js
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin.js 2014-06-15 03:34:59 UTC (rev 12598)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin.js 2014-06-15 03:39:07 UTC (rev 12599)
@@ -1 +1 @@
-(function(){var a=tinymce.util.JSONRequest,c=tinymce.each,b=tinymce.DOM;tinymce.create("tinymce.plugins.SpellcheckerPlugin",{getInfo:function(){return{longname:"Spellchecker",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/spellchecker",version:tinymce.majorVersion+"."+tinymce.minorVersion}},init:function(e,f){var g=this,d;g.url=f;g.editor=e;g.rpcUrl=e.getParam("spellchecker_rpc_url","{backend}");if(g.rpcUrl=="{backend}"){if(tinymce.isIE){return}g.hasSupport=true;e.onContextMenu.addToTop(function(h,i){if(g.active){return false}})}e.addCommand("mceSpellCheck",function(){if(g.rpcUrl=="{backend}"){g.editor.getBody().spellcheck=g.active=!g.active;return}if(!g.active){e.setProgressState(1);g._sendRPC("checkWords",[g.selectedLang,g._getWords()],function(h){if(h.length>0){g.active=1;g._markWords(h);e.setProgressState(0);e.nodeChanged()}else{e.setProgressState(0);if(e.getParam("spellchecker_report_no_misspellings",true)){e.windowManager.alert("spellchecker.no_mpell")}}})}else{g._done()}});if(e.settings.content_css!==false){e.contentCSS.push(f+"/css/content.css")}e.onClick.add(g._showMenu,g);e.onContextMenu.add(g._showMenu,g);e.onBeforeGetContent.add(function(){if(g.active){g._removeWords()}});e.onNodeChange.add(function(i,h){h.setActive("spellchecker",g.active)});e.onSetContent.add(function(){g._done()});e.onBeforeGetContent.add(function(){g._done()});e.onBeforeExecCommand.add(function(h,i){if(i=="mceFullScreen"){g._done()}});g.languages={};c(e.getParam("spellchecker_languages","+English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv","hash"),function(i,h){if(h.indexOf("+")===0){h=h.substring(1);g.selectedLang=i}g.languages[h]=i})},createControl:function(h,d){var f=this,g,e=f.editor;if(h=="spellchecker"){if(f.rpcUrl=="{backend}"){if(f.hasSupport){g=d.createButton(h,{title:"spellchecker.desc",cmd:"mceSpellCheck",scope:f})}return g}g=d.createSplitButton(h,{title:"spellchecker.desc",cmd:"mceSpellCheck",scope:f});g.onRenderMenu.add(function(j,i){i.add({title:"spellchecker.langs","class":"mceMenuItemTitle"}).setDisabled(1);f.menuItems={};c(f.languages,function(n,m){var p={icon:1},l;p.onclick=function(){if(n==f.selectedLang){return}f._updateMenu(l);f.selectedLang=n};p.title=m;l=i.add(p);l.setSelected(n==f.selectedLang);f.menuItems[n]=l;if(n==f.selectedLang){f.selectedItem=l}})});return g}},setLanguage:function(e){var d=this;if(e==d.selectedLang){return}if(tinymce.grep(d.languages,function(f){return f===e}).length===0){throw"Unknown language: "+e}d.selectedLang=e;if(d.menuItems){d._updateMenu(d.menuItems[e])}if(d.active){d._done()}},_updateMenu:function(d){d.setSelected(1);this.selectedItem.setSelected(0);this.selectedItem=d},_walk:function(i,g){var h=this.editor.getDoc(),e;if(h.createTreeWalker){e=h.createTreeWalker(i,NodeFilter.SHOW_TEXT,null,false);while((i=e.nextNode())!=null){g.call(this,i)}}else{tinymce.walk(i,g,"childNodes")}},_getSeparators:function(){var e="",d,f=this.editor.getParam("spellchecker_word_separator_chars",'\\s!"#$%&()*+,-./:;<=>?@[]^_{|}\xA7\xA9\xAB\xAE\xB1\xB6\xB7\xB8\xBB\xBC\xBD\xBE\xBF\xD7\xF7\xA4\u201d\u201c');for(d=0;d<f.length;d++){e+="\\"+f.charAt(d)}return e},_getWords:function(){var e=this.editor,g=[],d="",f={},h=[];this._walk(e.getBody(),function(i){if(i.nodeType==3){d+=i.nodeValue+" "}});if(e.getParam("spellchecker_word_pattern")){h=d.match("("+e.getParam("spellchecker_word_pattern")+")","gi")}else{d=d.replace(new RegExp("([0-9]|["+this._getSeparators()+"])","g")," ");d=tinymce.trim(d.replace(/(\s+)/g," "));h=d.split(" ")}c(h,function(i){if(!f[i]){g.push(i);f[i]=1}});return g},_removeWords:function(d){var e=this.editor,h=e.dom,g=e.selection,f=g.getRng(true);c(h.select("span").reverse(),function(i){if(i&&(h.hasClass(i,"mceItemHiddenSpellWord")||h.hasClass(i,"mceItemHidden"))){if(!d||h.decode(i.innerHTML)==d){h.remove(i,1)}}});g.setRng(f)},_markWords:function(l){var h=this.editor,g=h.dom,j=h.getDoc(),i=h.selection,d=i.getRng(true),e=[],k=l.join("|"),m=this._getSeparators(),f=new RegExp("(^|["+m+"])("+k+")(?=["+m+"]|$)","g");this._walk(h.getBody(),function(o){if(o.nodeType==3){e.push(o)}});c(e,function(t){var r,q,o,s,p=t.nodeValue;f.lastIndex=0;if(f.test(p)){p=g.encode(p);q=g.create("span",{"class":"mceItemHidden"});if(tinymce.isIE){p=p.replace(f,"$1<mcespell>$2</mcespell>");while((s=p.indexOf("<mcespell>"))!=-1){o=p.substring(0,s);if(o.length){r=j.createTextNode(g.decode(o));q.appendChild(r)}p=p.substring(s+10);s=p.indexOf("</mcespell>");o=p.substring(0,s);p=p.substring(s+11);q.appendChild(g.create("span",{"class":"mceItemHiddenSpellWord"},o))}if(p.length){r=j.createTextNode(g.decode(p));q.appendChild(r)}}else{q.innerHTML=p.replace(f,'$1<span class="mceItemHiddenSpellWord">$2</span>')}g.replace(q,t)}});i.setRng(d)},_showMenu:function(h,j){var i=this,h=i.editor,d=i._menu,l,k=h.dom,g=k.getViewPort(h.getWin()),f=j.target;j=0;if(!d){d=h.controlManager.createDropMenu("spellcheckermenu",{"class":"mceNoIcons"});i._menu=d}if(k.hasClass(f,"mceItemHiddenSpellWord")){d.removeAll();d.add({title:"spellchecker.wait","class":"mceMenuItemTitle"}).setDisabled(1);i._sendRPC("getSuggestions",[i.selectedLang,k.decode(f.innerHTML)],function(m){var e;d.removeAll();if(m.length>0){d.add({title:"spellchecker.sug","class":"mceMenuItemTitle"}).setDisabled(1);c(m,function(n){d.add({title:n,onclick:function(){k.replace(h.getDoc().createTextNode(n),f);i._checkDone()}})});d.addSeparator()}else{d.add({title:"spellchecker.no_sug","class":"mceMenuItemTitle"}).setDisabled(1)}if(h.getParam("show_ignore_words",true)){e=i.editor.getParam("spellchecker_enable_ignore_rpc","");d.add({title:"spellchecker.ignore_word",onclick:function(){var n=f.innerHTML;k.remove(f,1);i._checkDone();if(e){h.setProgressState(1);i._sendRPC("ignoreWord",[i.selectedLang,n],function(o){h.setProgressState(0)})}}});d.add({title:"spellchecker.ignore_words",onclick:function(){var n=f.innerHTML;i._removeWords(k.decode(n));i._checkDone();if(e){h.setProgressState(1);i._sendRPC("ignoreWords",[i.selectedLang,n],function(o){h.setProgressState(0)})}}})}if(i.editor.getParam("spellchecker_enable_learn_rpc")){d.add({title:"spellchecker.learn_word",onclick:function(){var n=f.innerHTML;k.remove(f,1);i._checkDone();h.setProgressState(1);i._sendRPC("learnWord",[i.selectedLang,n],function(o){h.setProgressState(0)})}})}d.update()});l=b.getPos(h.getContentAreaContainer());d.settings.offset_x=l.x;d.settings.offset_y=l.y;h.selection.select(f);l=k.getPos(f);d.showMenu(l.x,l.y+f.offsetHeight-g.y);return tinymce.dom.Event.cancel(j)}else{d.hideMenu()}},_checkDone:function(){var e=this,d=e.editor,g=d.dom,f;c(g.select("span"),function(h){if(h&&g.hasClass(h,"mceItemHiddenSpellWord")){f=true;return false}});if(!f){e._done()}},_done:function(){var d=this,e=d.active;if(d.active){d.active=0;d._removeWords();if(d._menu){d._menu.hideMenu()}if(e){d.editor.nodeChanged()}}},_sendRPC:function(e,g,d){var f=this;a.sendRPC({url:f.rpcUrl,method:e,params:g,success:d,error:function(i,h){f.editor.setProgressState(0);f.editor.windowManager.alert(i.errstr||("Error response: "+h.responseText))}})}});tinymce.PluginManager.add("spellchecker",tinymce.plugins.SpellcheckerPlugin)})();
\ No newline at end of file
+(function(){var a=tinymce.util.JSONRequest,c=tinymce.each,b=tinymce.DOM;tinymce.create("tinymce.plugins.SpellcheckerPlugin",{getInfo:function(){return{longname:"Spellchecker",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/spellchecker",version:tinymce.majorVersion+"."+tinymce.minorVersion}},init:function(e,f){var g=this,d;g.url=f;g.editor=e;g.rpcUrl=e.getParam("spellchecker_rpc_url","{backend}");if(g.rpcUrl=="{backend}"){if(tinymce.isIE){return}g.hasSupport=true;e.onContextMenu.addToTop(function(h,i){if(g.active){return false}})}e.addCommand("mceSpellCheck",function(){if(g.rpcUrl=="{backend}"){g.editor.getBody().spellcheck=g.active=!g.active;return}if(!g.active){e.setProgressState(1);g._sendRPC("checkWords",[g.selectedLang,g._getWords()],function(h){if(h.length>0){g.active=1;g._markWords(h);e.setProgressState(0);e.nodeChanged()}else{e.setProgressState(0);if(e.getParam("spellchecker_report_no_misspellings",true)){e.windowManager.alert("spellchecker.no_mpell")}}})}else{g._done()}});if(e.settings.content_css!==false){e.contentCSS.push(f+"/css/content.css")}e.onClick.add(g._showMenu,g);e.onContextMenu.add(g._showMenu,g);e.onBeforeGetContent.add(function(){if(g.active){g._removeWords()}});e.onNodeChange.add(function(i,h){h.setActive("spellchecker",g.active)});e.onSetContent.add(function(){g._done()});e.onBeforeGetContent.add(function(){g._done()});e.onBeforeExecCommand.add(function(h,i){if(i=="mceFullScreen"){g._done()}});g.languages={};c(e.getParam("spellchecker_languages","+English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv","hash"),function(i,h){if(h.indexOf("+")===0){h=h.substring(1);g.selectedLang=i}g.languages[h]=i})},createControl:function(h,d){var f=this,g,e=f.editor;if(h=="spellchecker"){if(f.rpcUrl=="{backend}"){if(f.hasSupport){g=d.createButton(h,{title:"spellchecker.desc",cmd:"mceSpellCheck",scope:f})}return g}g=d.createSplitButton(h,{title:"spellchecker.desc",cmd:"mceSpellCheck",scope:f});g.onRenderMenu.add(function(j,i){i.add({title:"spellchecker.langs","class":"mceMenuItemTitle"}).setDisabled(1);f.menuItems={};c(f.languages,function(n,m){var p={icon:1},l;p.onclick=function(){if(n==f.selectedLang){return}f._updateMenu(l);f.selectedLang=n};p.title=m;l=i.add(p);l.setSelected(n==f.selectedLang);f.menuItems[n]=l;if(n==f.selectedLang){f.selectedItem=l}})});return g}},setLanguage:function(e){var d=this;if(e==d.selectedLang){return}if(tinymce.grep(d.languages,function(f){return f===e}).length===0){throw"Unknown language: "+e}d.selectedLang=e;if(d.menuItems){d._updateMenu(d.menuItems[e])}if(d.active){d._done()}},_updateMenu:function(d){d.setSelected(1);this.selectedItem.setSelected(0);this.selectedItem=d},_walk:function(i,g){var h=this.editor.getDoc(),e;if(h.createTreeWalker){e=h.createTreeWalker(i,NodeFilter.SHOW_TEXT,null,false);while((i=e.nextNode())!=null){g.call(this,i)}}else{tinymce.walk(i,g,"childNodes")}},_getSeparators:function(){var e="",d,f=this.editor.getParam("spellchecker_word_separator_chars",'\\s!"#$%&()*+,-./:;<=>?@[]^_{|}§©«®±¶·¸»¼½¾¿×÷¤\u201d\u201c');for(d=0;d<f.length;d++){e+="\\"+f.charAt(d)}return e},_getWords:function(){var e=this.editor,g=[],d="",f={},h=[];this._walk(e.getBody(),function(i){if(i.nodeType==3){d+=i.nodeValue+" "}});if(e.getParam("spellchecker_word_pattern")){h=d.match("("+e.getParam("spellchecker_word_pattern")+")","gi")}else{d=d.replace(new RegExp("([0-9]|["+this._getSeparators()+"])","g")," ");d=tinymce.trim(d.replace(/(\s+)/g," "));h=d.split(" ")}c(h,function(i){if(!f[i]){g.push(i);f[i]=1}});return g},_removeWords:function(d){var e=this.editor,h=e.dom,g=e.selection,f=g.getRng(true);c(h.select("span").reverse(),function(i){if(i&&(h.hasClass(i,"mceItemHiddenSpellWord")||h.hasClass(i,"mceItemHidden"))){if(!d||h.decode(i.innerHTML)==d){h.remove(i,1)}}});g.setRng(f)},_markWords:function(l){var h=this.editor,g=h.dom,j=h.getDoc(),i=h.selection,d=i.getRng(true),e=[],k=l.join("|"),m=this._getSeparators(),f=new RegExp("(^|["+m+"])("+k+")(?=["+m+"]|$)","g");this._walk(h.getBody(),function(o){if(o.nodeType==3){e.push(o)}});c(e,function(t){var r,q,o,s,p=t.nodeValue;f.lastIndex=0;if(f.test(p)){p=g.encode(p);q=g.create("span",{"class":"mceItemHidden"});if(tinymce.isIE){p=p.replace(f,"$1<mcespell>$2</mcespell>");while((s=p.indexOf("<mcespell>"))!=-1){o=p.substring(0,s);if(o.length){r=j.createTextNode(g.decode(o));q.appendChild(r)}p=p.substring(s+10);s=p.indexOf("</mcespell>");o=p.substring(0,s);p=p.substring(s+11);q.appendChild(g.create("span",{"class":"mceItemHiddenSpellWord"},o))}if(p.length){r=j.createTextNode(g.decode(p));q.appendChild(r)}}else{q.innerHTML=p.replace(f,'$1<span class="mceItemHiddenSpellWord">$2</span>')}g.replace(q,t)}});i.setRng(d)},_showMenu:function(h,j){var i=this,h=i.editor,d=i._menu,l,k=h.dom,g=k.getViewPort(h.getWin()),f=j.target;j=0;if(!d){d=h.controlManager.createDropMenu("spellcheckermenu",{"class":"mceNoIcons"});i._menu=d}if(k.hasClass(f,"mceItemHiddenSpellWord")){d.removeAll();d.add({title:"spellchecker.wait","class":"mceMenuItemTitle"}).setDisabled(1);i._sendRPC("getSuggestions",[i.selectedLang,k.decode(f.innerHTML)],function(m){var e;d.removeAll();if(m.length>0){d.add({title:"spellchecker.sug","class":"mceMenuItemTitle"}).setDisabled(1);c(m,function(n){d.add({title:n,onclick:function(){k.replace(h.getDoc().createTextNode(n),f);i._checkDone()}})});d.addSeparator()}else{d.add({title:"spellchecker.no_sug","class":"mceMenuItemTitle"}).setDisabled(1)}if(h.getParam("show_ignore_words",true)){e=i.editor.getParam("spellchecker_enable_ignore_rpc","");d.add({title:"spellchecker.ignore_word",onclick:function(){var n=f.innerHTML;k.remove(f,1);i._checkDone();if(e){h.setProgressState(1);i._sendRPC("ignoreWord",[i.selectedLang,n],function(o){h.setProgressState(0)})}}});d.add({title:"spellchecker.ignore_words",onclick:function(){var n=f.innerHTML;i._removeWords(k.decode(n));i._checkDone();if(e){h.setProgressState(1);i._sendRPC("ignoreWords",[i.selectedLang,n],function(o){h.setProgressState(0)})}}})}if(i.editor.getParam("spellchecker_enable_learn_rpc")){d.add({title:"spellchecker.learn_word",onclick:function(){var n=f.innerHTML;k.remove(f,1);i._checkDone();h.setProgressState(1);i._sendRPC("learnWord",[i.selectedLang,n],function(o){h.setProgressState(0)})}})}d.update()});l=b.getPos(h.getContentAreaContainer());d.settings.offset_x=l.x;d.settings.offset_y=l.y;h.selection.select(f);l=k.getPos(f);d.showMenu(l.x,l.y+f.offsetHeight-g.y);return tinymce.dom.Event.cancel(j)}else{d.hideMenu()}},_checkDone:function(){var e=this,d=e.editor,g=d.dom,f;c(g.select("span"),function(h){if(h&&g.hasClass(h,"mceItemHiddenSpellWord")){f=true;return false}});if(!f){e._done()}},_done:function(){var d=this,e=d.active;if(d.active){d.active=0;d._removeWords();if(d._menu){d._menu.hideMenu()}if(e){d.editor.nodeChanged()}}},_sendRPC:function(e,g,d){var f=this;a.sendRPC({url:f.rpcUrl,method:e,params:g,success:d,error:function(i,h){f.editor.setProgressState(0);f.editor.windowManager.alert(i.errstr||("Error response: "+h.responseText))}})}});tinymce.PluginManager.add("spellchecker",tinymce.plugins.SpellcheckerPlugin)})();
\ No newline at end of file
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/editor_plugin.js
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/editor_plugin.js 2014-06-15 03:34:59 UTC (rev 12598)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/editor_plugin.js 2014-06-15 03:39:07 UTC (rev 12599)
@@ -2,7 +2,7 @@
* $Id: editor_plugin.js 11937 2013-08-18 02:25:16Z beckmi $
*
* @author Moxiecode
- * @copyright Copyright \xA9 2004-2008, Moxiecode Systems AB, All rights reserved.
+ * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
*/
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/js/xoopsimagemanager.js
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/js/xoopsimagemanager.js 2014-06-15 03:34:59 UTC (rev 12598)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/js/xoopsimagemanager.js 2014-06-15 03:39:07 UTC (rev 12599)
@@ -1,6 +1,6 @@
/**
* @author Moxiecode
- * @copyright Copyright \xA9 2004-2008, Moxiecode Systems AB, All rights reserved.
+ * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
*
* @author ralf57
* @author luciorota (luc...@gm...)
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/xoopsimagebrowser.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/xoopsimagebrowser.php 2014-06-15 03:34:59 UTC (rev 12598)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/xoopsimagebrowser.php 2014-06-15 03:39:07 UTC (rev 12599)
@@ -177,7 +177,7 @@
}
// Add new image - end
- // Add new cat\xE9gorie - start
+ // Add new catégorie - start
if ( !empty($_POST["op"]) && $op == "addcat" ) {
if (!$GLOBALS["xoopsSecurity"]->check()) {
redirect_header($current_file . "?target=" . $target, 3, implode("<br />", $GLOBALS["xoopsSecurity"]->getErrors()));
@@ -230,7 +230,7 @@
}
redirect_header($current_file . "?target=" . $target, 3,_MD_AM_DBUPDATED);
}
- // Add new cat\xE9gorie - end
+ // Add new catégorie - end
// Update categorie - start
if ( !empty($_POST["op"]) && $op == "updatecat" ) {
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/editor_plugin.js
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/editor_plugin.js 2014-06-15 03:34:59 UTC (rev 12598)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/editor_plugin.js 2014-06-15 03:39:07 UTC (rev 12599)
@@ -2,7 +2,7 @@
* $Id: editor_plugin.js 11937 2013-08-18 02:25:16Z beckmi $
*
* @author Moxiecode
- * @copyright Copyright \xA9 2004-2008, Moxiecode Systems AB, All rights reserved.
+ * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
*/
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/form.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/form.php 2014-06-15 03:34:59 UTC (rev 12598)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/form.php 2014-06-15 03:39:07 UTC (rev 12599)
@@ -271,7 +271,7 @@
*
* @param object $formElement reference to a {@link XoopsFormElement}
* @param bool $required is this a "required" element?
- *
+ *
*/
function addElement(&$formElement, $required = false)
{
@@ -298,7 +298,7 @@
* get an array of forms elements
*
* @param bool $recurse get elements recursively?
- *
+ *
* @return array array of {@link XoopsFormElement}s
*/
function &getElements($recurse = false)
@@ -452,7 +452,7 @@
/**
* set the summary tag for the <form> tag
*
- * @param string $summary
+ * @param string $summary
*/
function setSummary($summary)
{
@@ -476,7 +476,7 @@
/**
* make an element "required"
*
- * @param object $formElement reference to a {@link XoopsFormElement}
+ * @param object $formElement reference to a {@link XoopsFormElement}
*/
function setRequired(&$formElement)
{
@@ -573,7 +573,7 @@
/**
* assign to smarty form template instead of displaying directly
*
- * @param object $tpl reference to a {@link Smarty} object object
+ * @param object $tpl reference to a {@link Smarty} object object
* @see Smarty
*/
function assign(&$tpl)
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/formdatetime.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/formdatetime.php 2014-06-15 03:34:59 UTC (rev 12598)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/formdatetime.php 2014-06-15 03:39:07 UTC (rev 12599)
@@ -47,18 +47,18 @@
$this->addElement(new XoopsFormTextDateSelect('', $name . '[date]', $size, $value, $showtime));
if ($showtime) {
- $timearray = array();
- for ($i = 0; $i < 24; $i++) {
- for ($j = 0; $j < 60; $j = $j + 10) {
- $key = ($i * 3600) + ($j * 60);
- $timearray[$key] = ($j != 0) ? $i . ':' . $j : $i . ':0' . $j;
- }
+ $timearray = array();
+ for ($i = 0; $i < 24; ++$i) {
+ for ($j = 0; $j < 60; $j = $j + 10) {
+ $key = ($i * 3600) + ($j * 60);
+ $timearray[$key] = ($j != 0) ? $i . ':' . $j : $i . ':0' . $j;
}
- ksort($timearray);
+ }
+ ksort($timearray);
- $timeselect = new XoopsFormSelect('', $name . '[time]', $datetime['hours'] * 3600 + 600 * ceil($datetime['minutes'] / 10));
- $timeselect->addOptionArray($timearray);
- $this->addElement($timeselect);
+ $timeselect = new XoopsFormSelect('', $name . '[time]', $datetime['hours'] * 3600 + 600 * ceil($datetime['minutes'] / 10));
+ $timeselect->addOptionArray($timearray);
+ $this->addElement($timeselect);
} else {
$this->addElement(new XoopsFormHidden($name . '[time]', 0));
}
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/formelement.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/formelement.php 2014-06-15 03:34:59 UTC (rev 12598)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/formelement.php 2014-06-15 03:39:07 UTC (rev 12599)
@@ -201,7 +201,7 @@
/**
* set the "class" attribute for the element
*
- * @param string $class
+ * @param string $class
*/
function setClass($class)
{
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/formelementtray.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/formelementtray.php 2014-06-15 03:34:59 UTC (rev 12598)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/formelementtray.php 2014-06-15 03:39:07 UTC (rev 12599)
@@ -88,7 +88,7 @@
*
* @param object $formElement {@link XoopsFormElement} to add
* @param bool $required
- *
+ *
*/
function addElement( &$formElement, $required = false )
{
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/templates/profile_results.tpl
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/templates/profile_results.tpl 2014-06-15 03:34:59 UTC (rev 12598)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/templates/profile_results.tpl 2014-06-15 03:39:07 UTC (rev 12599)
@@ -15,7 +15,7 @@
</tr>
<{/foreach}>
</table>
-
+
<{$nav}>
<{else}>
<div class="errorMsg">
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/templates/profile_userinfo.tpl
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/templates/profile_userinfo.tpl 2014-06-15 03:34:59 UTC (rev 12598)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/templates/profile_userinfo.tpl 2014-06-15 03:39:07 UTC (rev 12599)
@@ -15,7 +15,7 @@
<form name="usernav" action="user.php" method="post">
<input type="button" value="<{$smarty.const._PROFILE_MA_SENDPM}>" onclick="javascript:openWithSelfMain('<{$xoops_url}>/pmlite.php?send2=1&to_userid=<{$user_uid}>', 'pmlite', 450, 380);" />
</form>
- <{/if}>
+ <{/if}>
</div>
</div>
<br class="clear"/>
@@ -99,5 +99,5 @@
<{/foreach}>
<!-- end module search results loop -->
-</div>
+</div>
<{/if}>
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/admin/modulesadmin/main.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/admin/modulesadmin/main.php 2014-06-15 03:34:59 UTC (rev 12598)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/admin/modulesadmin/main.php 2014-06-15 03:39:07 UTC (rev 12599)
@@ -578,7 +578,7 @@
$criteria->add(new Criteria("tpl_type", $type), "AND");
$tplfiles = $tplfile_handler->getObjects($criteria);
- $tpldata =& xoops_module_gettemplate($dirname, $tpl['file'], $type);
+ $tpldata =& xoops_module_gettemplate($dirname, $tpl['file'], $type);
$tplfile = empty($tplfiles) ? $tplfile_handler->create() : $tplfiles[0];
// END irmtfan solve templates duplicate issue
$tplfile->setVar('tpl_refid', $newmid);
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/docs/changelog.txt
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/docs/changelog.txt 2014-06-15 03:34:59 UTC (rev 12598)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/docs/changelog.txt 2014-06-15 03:39:07 UTC (rev 12599)
@@ -1,5 +1,5 @@
[xlang:en]
-= CHANGES =
+= CHANGES =
CHANGES are moved into README after 2.57
|
|
From: <be...@us...> - 2014-06-15 03:35:09
|
Revision: 12598
http://sourceforge.net/p/xoops/svn/12598
Author: beckmi
Date: 2014-06-15 03:34:59 +0000 (Sun, 15 Jun 2014)
Log Message:
-----------
removing hard-coded text in Installation
Modified Paths:
--------------
XoopsCore/branches/2.5.x/2.5.7/docs/changelog.250.txt
XoopsCore/branches/2.5.x/2.5.7/docs/lang_diff.txt
XoopsCore/branches/2.5.x/2.5.7/htdocs/install/include/functions.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/install/language/english/install.php
Modified: XoopsCore/branches/2.5.x/2.5.7/docs/changelog.250.txt
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/docs/changelog.250.txt 2014-06-14 18:08:20 UTC (rev 12597)
+++ XoopsCore/branches/2.5.x/2.5.7/docs/changelog.250.txt 2014-06-15 03:34:59 UTC (rev 12598)
@@ -13,6 +13,7 @@
- deprecated destoryVars($var) in object.php (cesag/rgriffith)
- update phpmailer translation array to include all keys, and remove reassignment of $PHPMAILER_LANG as array() (cesag/rgriffith)
- added XoopsRequest class (rgriffith)
+- removed hard-coded text from installation (mamba)
Updated:
- TinyMCE to 3.5.11 (mamba)
Modified: XoopsCore/branches/2.5.x/2.5.7/docs/lang_diff.txt
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/docs/lang_diff.txt 2014-06-14 18:08:20 UTC (rev 12597)
+++ XoopsCore/branches/2.5.x/2.5.7/docs/lang_diff.txt 2014-06-15 03:34:59 UTC (rev 12598)
@@ -4,6 +4,14 @@
Below are language differences from a version to next version.
===============================
+2014/06/14: Version 2.5.7 Final
+===============================
+ADDED/DELETED DEFINES
+
+/install/language/english/install.php
+- added define('WRITTEN_LICENSE',"Written XOOPS %s License Key: <strong>%s</strong>");
+
+===============================
2014/03/18: Version 2.5.7 RC1
===============================
ADDED/DELETED DEFINES
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/install/include/functions.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/install/include/functions.php 2014-06-14 18:08:20 UTC (rev 12597)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/install/include/functions.php 2014-06-15 03:34:59 UTC (rev 12598)
@@ -183,7 +183,8 @@
$error = !is_writeable($path);
}
- return xoDiag($error ? -1 : 1, $error ? 'Not writable' : 'Writable');
+ return xoDiag($error ? -1 : 1, $error ? ' ' : ' ');
+
}
/**
@@ -454,7 +455,7 @@
fclose($fver);
chmod($licensefile, 0444);
- return "Written XOOPS " . XOOPS_LICENSE_CODE . " License Key: <strong>{$system_key}</strong>";
+ return sprintf(WRITTEN_LICENSE, XOOPS_LICENSE_CODE, $system_key);
}
/**
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/install/language/english/install.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/install/language/english/install.php 2014-06-14 18:08:20 UTC (rev 12597)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/install/language/english/install.php 2014-06-15 03:34:59 UTC (rev 12598)
@@ -18,8 +18,8 @@
// Translator: XOOPS Translation Team
define('SHOW_HIDE_HELP',"Show/hide help text");
// License
-define('LICENSE_NOT_WRITEABLE','License is %s . <br/><span style="colour:#ff0000">Make ../include/license.php Writable</span>');
-define('LICENSE_IS_WRITEABLE','License is %s');
+define('LICENSE_NOT_WRITEABLE','%s License is NOT writable! <br/><span style="colour:#ff0000">Make ../include/license.php Writable</span>');
+define('LICENSE_IS_WRITEABLE','%s License is writable.');
// Configuration check page
define('SERVER_API',"Server API");
define('PHP_EXTENSION',"%s extension");
@@ -178,3 +178,5 @@
define('PASSWORD_MEDIUM',"Medium");
define('PASSWORD_STRONG',"Strong");
define('PASSWORD_STRONGEST',"Strongest");
+//2.5.7
+define('WRITTEN_LICENSE',"Written XOOPS %s License Key: <strong>%s</strong>");
|
|
From: <rgr...@us...> - 2014-06-14 18:08:22
|
Revision: 12597
http://sourceforge.net/p/xoops/svn/12597
Author: rgriffith
Date: 2014-06-14 18:08:20 +0000 (Sat, 14 Jun 2014)
Log Message:
-----------
Add two missing shot.gif expected by the theme select block
Added Paths:
-----------
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/default/shot.gif
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/zetagenesis/shot.gif
Added: XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/default/shot.gif
===================================================================
(Binary files differ)
Index: XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/default/shot.gif
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/default/shot.gif 2014-06-14 17:05:46 UTC (rev 12596)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/default/shot.gif 2014-06-14 18:08:20 UTC (rev 12597)
Property changes on: XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/default/shot.gif
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/zetagenesis/shot.gif
===================================================================
(Binary files differ)
Index: XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/zetagenesis/shot.gif
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/zetagenesis/shot.gif 2014-06-14 17:05:46 UTC (rev 12596)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/zetagenesis/shot.gif 2014-06-14 18:08:20 UTC (rev 12597)
Property changes on: XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/zetagenesis/shot.gif
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
|
|
From: <be...@us...> - 2014-06-14 17:05:54
|
Revision: 12596
http://sourceforge.net/p/xoops/svn/12596
Author: beckmi
Date: 2014-06-14 17:05:46 +0000 (Sat, 14 Jun 2014)
Log Message:
-----------
Removing spaces before "?"
Modified Paths:
--------------
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/language/english/admin/avatars.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/language/english/admin/images.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/language/english/admin/preferences.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/themes/default/language/english/admin.php
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/language/english/admin/avatars.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/language/english/admin/avatars.php 2014-06-14 16:49:56 UTC (rev 12595)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/language/english/admin/avatars.php 2014-06-14 17:05:46 UTC (rev 12596)
@@ -21,7 +21,7 @@
define('_AM_SYSTEM_AVATAR_UPLOAD',"Upload:");
// Messages
define('_AM_SYSTEM_AVATAR_FAILDEL',"Failed deleting avatar %s from the database");
-define('_AM_SYSTEM_AVATAR_SUREDEL',"Are you sure to delete this avatar image ?");
+define('_AM_SYSTEM_AVATAR_SUREDEL',"Are you sure to delete this avatar image?");
// Tips
define('_AM_SYSTEM_AVATAR_TIPS',"
<ul id='newsticker' class='newsticker'>
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/language/english/admin/images.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/language/english/admin/images.php 2014-06-14 16:49:56 UTC (rev 12595)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/language/english/admin/images.php 2014-06-14 17:05:46 UTC (rev 12596)
@@ -29,7 +29,7 @@
define('_AM_SYSTEM_IMAGES_IMGCATNAME',"Category Name:");
define('_AM_SYSTEM_IMAGES_IMGCATRGRP','Select groups for image manager use:<br /><br /><span style="font-weight: normal;">These are groups allowed to use the image manager for selecting images but not uploading. Webmaster has automatic access.</span>');
define('_AM_SYSTEM_IMAGES_IMGCATWGRP','Select groups allowed to upload images:<br /><br /><span style="font-weight: normal;">Typical usage is for moderator and admin groups.</span>');
-define('_AM_SYSTEM_IMAGES_IMGCATDISPLAY',"Display this category ?");
+define('_AM_SYSTEM_IMAGES_IMGCATDISPLAY',"Display this category?");
define('_AM_SYSTEM_IMAGES_IMGCATSTRTYPE',"Images are uploaded to:");
define('_AM_SYSTEM_IMAGES_STRTYOPENG',"This can not be changed afterwards!");
define('_AM_SYSTEM_IMAGES_IMGCATWEIGHT',"Display order in image manager:");
@@ -37,7 +37,7 @@
define('_AM_SYSTEM_IMAGES_ON',"Does not display in image manager");
define('_AM_SYSTEM_IMAGES_URL',"Show image URL");
// Messages
-define('_AM_SYSTEM_IMAGES_RUDELIMG',"Are you sure that you want to delete this images file ?");
+define('_AM_SYSTEM_IMAGES_RUDELIMG',"Are you sure that you want to delete this images file?");
define('_AM_SYSTEM_IMAGES_FAILSAVE',"Failed save image %s into the database");
define('_AM_SYSTEM_IMAGES_RUDELIMGCAT',"Are you sure that you want to delete this category and all of its images files?");
define('_AM_SYSTEM_IMAGES_FAILDEL',"Failed deleting image %s from the database");
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/language/english/admin/preferences.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/language/english/admin/preferences.php 2014-06-14 16:49:56 UTC (rev 12595)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/language/english/admin/preferences.php 2014-06-14 17:05:46 UTC (rev 12596)
@@ -168,7 +168,7 @@
define('_MD_AM_REGDSCLMRDSC',"Enter text to be displayed as registration disclaimer");
define('_MD_AM_ALLOWREG',"Allow new user registration?");
define('_MD_AM_ALLOWREGDSC',"Select yes to accept new user registration");
-define('_MD_AM_THEMEFILE',"Check templates for modifications ?");
+define('_MD_AM_THEMEFILE',"Check templates for modifications?");
define('_MD_AM_THEMEFILEDSC',"If this option is enabled, modified templates will be automatically recompiled when they are displayed. You must turn this option off on a production site.");
define('_MD_AM_CLOSESITE',"Turn your site off?");
define('_MD_AM_CLOSESITEDSC',"Select yes to turn your site off so that only users in selected groups have access to the site. ");
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/themes/default/language/english/admin.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/themes/default/language/english/admin.php 2014-06-14 16:49:56 UTC (rev 12595)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/themes/default/language/english/admin.php 2014-06-14 17:05:46 UTC (rev 12596)
@@ -46,7 +46,7 @@
define('_OXYGEN_ADMINISTRATION',"XOOPS Administration");
define('_OXYGEN_UPTOP',"Up Top");
//Add help
-define('_OXYGEN_HELP_1',"How can I make content ?");
+define('_OXYGEN_HELP_1',"How can I make content?");
define('_OXYGEN_HELP_DESC_1','To make content you must first install some module, like the <a href="http://xoops.svn.sourceforge.net/viewvc/xoops/XoopsModules/fmcontent/trunk/?view=tar" rel="external">fmContent</a> or the <a href="https://sourceforge.net/projects/xoops/files/XOOPS%20Module%20Repository/XOOPS2/Content/XOOPS2.5_mod_content_1.4_kerkyra.zip/download" rel="external">Content</a> module. To learn more about modules <a href="modules/system/help.php?mid=1&page=modulesadmin">click here</a>' );
define('_OXYGEN_HELP_2',"What is the Block?");
define('_OXYGEN_HELP_DESC_2','Blocks can provide additional/specific content from the installed modules. There can be and custom blocks which can contain text, JS Code, HTML formatted text, pictures, etc. The content in these blocks may be formatted individually or can inherit formatting from the Website. (<a href="modules/system/help.php?mid=1&page=blocksadmin">more ...</a>)');
|
|
From: <be...@us...> - 2014-06-14 16:50:04
|
Revision: 12595
http://sourceforge.net/p/xoops/svn/12595
Author: beckmi
Date: 2014-06-14 16:49:56 +0000 (Sat, 14 Jun 2014)
Log Message:
-----------
replacing TDMDwonloads with tdmdownloads
Modified Paths:
--------------
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xbootstrap/modules/tdmdownloads/blocks/tdmdownloads_block_new.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xbootstrap/modules/tdmdownloads/tdmdownloads_download.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xbootstrap/modules/tdmdownloads/tdmdownloads_index.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xbootstrap/modules/tdmdownloads/tdmdownloads_singlefile.html
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xbootstrap/modules/tdmdownloads/tdmdownloads_viewcat.html
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xbootstrap/modules/tdmdownloads/blocks/tdmdownloads_block_new.html
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xbootstrap/modules/tdmdownloads/blocks/tdmdownloads_block_new.html 2014-06-14 16:25:54 UTC (rev 12594)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xbootstrap/modules/tdmdownloads/blocks/tdmdownloads_block_new.html 2014-06-14 16:49:56 UTC (rev 12595)
@@ -1,7 +1,7 @@
<ul class="list-unstyled tdm-new-download-block">
<{foreachq item=downloads from=$block}>
<li><i class="glyphicon glyphicon-cloud-download"></i>
-<a title="<{$downloads.title}>" href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>">
+<a title="<{$downloads.title}>" href="<{$xoops_url}>/modules/tdmdownloads/singlefile.php?lid=<{$downloads.lid}>">
<{$downloads.title}>
</a>
@@ -13,4 +13,4 @@
<{/if}>
</li>
<{/foreach}>
-</ul>
\ No newline at end of file
+</ul>
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xbootstrap/modules/tdmdownloads/tdmdownloads_download.html
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xbootstrap/modules/tdmdownloads/tdmdownloads_download.html 2014-06-14 16:25:54 UTC (rev 12594)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xbootstrap/modules/tdmdownloads/tdmdownloads_download.html 2014-06-14 16:49:56 UTC (rev 12595)
@@ -5,14 +5,14 @@
<img src="<{$down.logourl}>" alt="<{$down.title}>">
</div>
<{else}>
-
+
<div class="tdm-download-logo">
<img src="<{$xoops_imageurl}>images/tdm-no-image.jpg" alt="<{$title}>">
</div>
<{/if}>
<{/if}>
-
-<a class="tdm-title" title="<{$down.title}>" href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?cid=<{$down.cid}>&lid=<{$down.id}>">
+
+<a class="tdm-title" title="<{$down.title}>" href="<{$xoops_url}>/modules/tdmdownloads/singlefile.php?cid=<{$down.cid}>&lid=<{$down.id}>">
<{$down.title}>
</a>
<!--
@@ -24,20 +24,20 @@
<div class="col-md-5"><span class="glyphicon glyphicon-calendar" title="<{$smarty.const._MD_TDMDOWNLOADS_INDEX_SUBMITDATE}>"></span> <{$down.updated}></div>
<div class="col-md-7"><span class="glyphicon glyphicon-user" title="<{$smarty.const._MD_TDMDOWNLOADS_INDEX_SUBMITTER}>"></span> <{$down.submitter}></div>
</div>
-
+
<div class="tdm-short-description">
<{$down.description_short}>
</div><!-- .tdm-short-description -->
-
-<a class="btn btn-primary col-md-9" title="<{$down.title}>" href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?cid=<{$down.cid}>&lid=<{$down.id}>">
+
+<a class="btn btn-primary col-md-9" title="<{$down.title}>" href="<{$xoops_url}>/modules/tdmdownloads/singlefile.php?cid=<{$down.cid}>&lid=<{$down.id}>">
<{$smarty.const._MD_TDMDOWNLOADS_MOREDETAILS}>
</a>
-
+
<{if $down.perm_download != ""}>
<a title="<{$smarty.const._MD_TDMDOWNLOADS_INDEX_DLNOW}>" href="visit.php?cid=<{$down.cid}>&lid=<{$down.id}>" class="btn btn-success btn-xs tdm-download-btn col-md-2 pull-right">
<span class="glyphicon glyphicon-cloud-download"></span>
</a>
<{/if}>
-
+
<!-- <{$down.adminlink}> -->
-</div><!-- .tdm-minibox -->
\ No newline at end of file
+</div><!-- .tdm-minibox -->
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xbootstrap/modules/tdmdownloads/tdmdownloads_index.html
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xbootstrap/modules/tdmdownloads/tdmdownloads_index.html 2014-06-14 16:25:54 UTC (rev 12594)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xbootstrap/modules/tdmdownloads/tdmdownloads_index.html 2014-06-14 16:49:56 UTC (rev 12595)
@@ -4,16 +4,16 @@
<div class="tdm-category row">
<{foreach item=category from=$categories}>
<div class="col-xs-6 col-sm-4 col-md-2 tdm-category-list">
- <a class="btn btn-primary btn-md" title="<{$category.title}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category.id}>">
+ <a class="btn btn-primary btn-md" title="<{$category.title}>" href="<{$xoops_url}>/modules/tdmdownloads/viewcat.php?cid=<{$category.id}>">
<{$category.title}>
</a>
<{if $category.image != ""}>
- <a title="<{$category.title}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category.id}>" class="tdm-category-image">
+ <a title="<{$category.title}>" href="<{$xoops_url}>/modules/tdmdownloads/viewcat.php?cid=<{$category.id}>" class="tdm-category-image">
<img class="<{$img_float}>" src="<{$category.image}>" alt="<{$category.title}>">
</a>
<{/if}>
-
+
<!-- Category Description -->
<div class="aligncenter">
<{if $category.description_main != ""}>
@@ -22,7 +22,7 @@
<button class="btn btn-xs disabled" data-toggle="modal" data-target="#myModal">+</button>
<{/if}>
</div>
-
+
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
@@ -31,7 +31,7 @@
<{$category.description_main}>
</div>
<div class="modal-footer">
- <a title="<{$category.title}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category.id}>" class="pull-left btn btn-success">
+ <a title="<{$category.title}>" href="<{$xoops_url}>/modules/tdmdownloads/viewcat.php?cid=<{$category.id}>" class="pull-left btn btn-success">
There are <strong><{$category.totaldownloads}></strong> files in this category!
</a>
<button type="button" class="btn btn-default" data-dismiss="modal">×</button>
@@ -40,22 +40,22 @@
</div>
</div>
<!-- End Category Description -->
-
+
<{if $category.subcategories != ""}>
<{$smarty.const._MD_TDMDOWNLOADS_INDEX_SCAT}>
<ul><{$category.subcategories}></ul>
-
+
<{/if}>
</div><!-- .tdm-category-list -->
<{/foreach}>
</div><!-- .tdm-category -->
<div class="aligncenter">
- <a title="<{$smarty.const._MD_TDMDOWNLOADS_RSS}>" href="<{$xoops_url}>/modules/TDMDownloads/rss.php?cid=0">
+ <a title="<{$smarty.const._MD_TDMDOWNLOADS_RSS}>" href="<{$xoops_url}>/modules/tdmdownloads/rss.php?cid=0">
<img src="images/rss.gif" alt="<{$smarty.const._MD_TDMDOWNLOADS_RSS}>">
</a>
</div>
-
+
<div class="tdm-downloads-info row">
<{if $bl_affichage==1}>
<div class="col-md-12"><h2><{$smarty.const._MD_TDMDOWNLOADS_INDEX_BLNAME}>:</h1></div>
@@ -65,7 +65,7 @@
<ul class="list-unstyled">
<{foreach item=bl_date from=$bl_date}>
<li>
- <a title="<{$bl_date.title}>" href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?cid=<{$bl_date.cid}>&lid=<{$bl_date.id}>"><{$bl_date.title}></a> (<{$bl_date.date}>)
+ <a title="<{$bl_date.title}>" href="<{$xoops_url}>/modules/tdmdownloads/singlefile.php?cid=<{$bl_date.cid}>&lid=<{$bl_date.id}>"><{$bl_date.title}></a> (<{$bl_date.date}>)
</li>
<{/foreach}>
</ul>
@@ -78,7 +78,7 @@
<ul class="list-unstyled">
<{foreach item=bl_pop from=$bl_pop}>
<li>
- <a title="<{$bl_pop.title}>" href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?cid=<{$bl_pop.cid}>&lid=<{$bl_pop.id}>"><{$bl_pop.title}></a> (<{$bl_pop.hits}>)
+ <a title="<{$bl_pop.title}>" href="<{$xoops_url}>/modules/tdmdownloads/singlefile.php?cid=<{$bl_pop.cid}>&lid=<{$bl_pop.id}>"><{$bl_pop.title}></a> (<{$bl_pop.hits}>)
</li>
<{/foreach}>
</ul>
@@ -91,7 +91,7 @@
<ul class="list-unstyled">
<{foreach item=bl_rating from=$bl_rating}>
<li>
- <a title="<{$bl_rating.title}>" href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?cid=<{$bl_rating.cid}>&lid=<{$bl_rating.id}>"><{$bl_rating.title}></a> (<{$bl_rating.rating}>)
+ <a title="<{$bl_rating.title}>" href="<{$xoops_url}>/modules/tdmdownloads/singlefile.php?cid=<{$bl_rating.cid}>&lid=<{$bl_rating.id}>"><{$bl_rating.title}></a> (<{$bl_rating.rating}>)
</li>
<{/foreach}>
</ul>
@@ -120,7 +120,7 @@
<{/if}>
</div>
<{/if}>
-
+
</div><!-- .tdmdownloads -->
-<{include file="db:system_notification_select.html"}>
\ No newline at end of file
+<{include file="db:system_notification_select.html"}>
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xbootstrap/modules/tdmdownloads/tdmdownloads_singlefile.html
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xbootstrap/modules/tdmdownloads/tdmdownloads_singlefile.html 2014-06-14 16:25:54 UTC (rev 12594)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xbootstrap/modules/tdmdownloads/tdmdownloads_singlefile.html 2014-06-14 16:49:56 UTC (rev 12595)
@@ -17,40 +17,40 @@
</div>
<{/if}>
<{/if}>
-
+
<div class="col-sm-4 col-md-4">
<ul class="list-unstyled tdm-download-details">
<li><{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_DATEPROP}> <{$date}></li}>
-
+
<li><{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_AUTHOR}> <{$author}></li}>
-
+
<li><{$hits}></li}>
-
+
<li><{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_RATING}>: <{$rating}> <{$votes}></li}>
-
+
<{if $commentsnav != ""}>
<li><{$nb_comments}></li}>
<{/if}>
-
+
<{if $sup_aff == true}>
<{foreach item=champ from=$champ_sup}>
<li><{$champ.data}></li>
<{/foreach}>
<{/if}>
-
-
+
+
<{if $perm_vote != ""}>
- <li><a class="btn btn-xs btn-primary" href="<{$xoops_url}>/modules/TDMDownloads/ratefile.php?lid=<{$lid}>" title="<{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_RATHFILE}>"><{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_RATHFILE}></a></li>
+ <li><a class="btn btn-xs btn-primary" href="<{$xoops_url}>/modules/tdmdownloads/ratefile.php?lid=<{$lid}>" title="<{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_RATHFILE}>"><{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_RATHFILE}></a></li>
<{/if}>
-
+
<{if $perm_modif != ""}>
- <li><a class="btn btn-xs btn-primary" href="<{$xoops_url}>/modules/TDMDownloads/modfile.php?lid=<{$lid}>" title="<{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_MODIFY}>"><{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_MODIFY}></a></li>
+ <li><a class="btn btn-xs btn-primary" href="<{$xoops_url}>/modules/tdmdownloads/modfile.php?lid=<{$lid}>" title="<{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_MODIFY}>"><{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_MODIFY}></a></li>
<{/if}>
-
- <li><a class="btn btn-xs btn-primary" href="<{$xoops_url}>/modules/TDMDownloads/brokenfile.php?lid=<{$lid}>" title="<{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_REPORTBROKEN}>"><{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_REPORTBROKEN}></a></li>
-
+
+ <li><a class="btn btn-xs btn-primary" href="<{$xoops_url}>/modules/tdmdownloads/brokenfile.php?lid=<{$lid}>" title="<{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_REPORTBROKEN}>"><{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_REPORTBROKEN}></a></li>
+
<!--<li><{$tellafriend_texte}></li>-->
-
+
<{if $perm_download != ""}>
<li><a class="btn btn-md btn-success" href="visit.php?cid=<{$cid}>&lid=<{$lid}>" target="_blank" title="Download"><{$smarty.const._MD_TDMDOWNLOADS_INDEX_DLNOW}></a></li>
<{else}>
@@ -75,7 +75,7 @@
<div class="collapse" id="tdm-description">
<{$description}>
</div>
-
+
<{if $paypal}>
<{$paypal}>
<{/if}>
@@ -90,7 +90,7 @@
</div><!-- .tdmdownloads -->
<!-- <{$commentsnav}> -->
-
+
<{$lang_notice}>
<{if $comment_mode == "flat"}>
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xbootstrap/modules/tdmdownloads/tdmdownloads_viewcat.html
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xbootstrap/modules/tdmdownloads/tdmdownloads_viewcat.html 2014-06-14 16:25:54 UTC (rev 12594)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xbootstrap/modules/tdmdownloads/tdmdownloads_viewcat.html 2014-06-14 16:49:56 UTC (rev 12595)
@@ -8,11 +8,11 @@
<{/if}>
<{foreach item=category from=$subcategories}>
-<a title="<{$category.title}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category.id}>"><{$category.title}></a>
-<a title="<{$category.title}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category.id}>"><{$category.totaldownloads}></a>
-
-<{if $category.image != ""}>
- <a title="<{$category.title}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category.id}>">
+<a title="<{$category.title}>" href="<{$xoops_url}>/modules/tdmdownloads/viewcat.php?cid=<{$category.id}>"><{$category.title}></a>
+<a title="<{$category.title}>" href="<{$xoops_url}>/modules/tdmdownloads/viewcat.php?cid=<{$category.id}>"><{$category.totaldownloads}></a>
+
+<{if $category.image != ""}>
+ <a title="<{$category.title}>" href="<{$xoops_url}>/modules/tdmdownloads/viewcat.php?cid=<{$category.id}>">
<img class="<{$img_float}>" src="<{$category.image}>" alt="<{$category.title}>">
</a>
<{/if}>
@@ -23,11 +23,11 @@
<{$smarty.const._MD_TDMDOWNLOADS_INDEX_SCAT}><ul><{$category.subcategories}>
<{/if}>
<{/foreach}>
-
-<a title="<{$smarty.const._MD_TDMDOWNLOADS_RSS}>" href="<{$xoops_url}>/modules/TDMDownloads/rss.php?cid=<{$category_id}>">
+
+<a title="<{$smarty.const._MD_TDMDOWNLOADS_RSS}>" href="<{$xoops_url}>/modules/tdmdownloads/rss.php?cid=<{$category_id}>">
<img src="images/rss.gif" alt="<{$smarty.const._MD_TDMDOWNLOADS_RSS}>">
</a>
-
+
<div class="tdm-downloads-info row">
<{if $bl_affichage==1}>
<div class="col-md-12"><h2><{$smarty.const._MD_TDMDOWNLOADS_INDEX_BLNAME}>:</h1></div>
@@ -37,7 +37,7 @@
<ul class="list-unstyled">
<{foreach item=bl_date from=$bl_date}>
<li>
- <a title="<{$bl_date.title}>" href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?cid=<{$bl_date.cid}>&lid=<{$bl_date.id}>"><{$bl_date.title}></a> (<{$bl_date.date}>)
+ <a title="<{$bl_date.title}>" href="<{$xoops_url}>/modules/tdmdownloads/singlefile.php?cid=<{$bl_date.cid}>&lid=<{$bl_date.id}>"><{$bl_date.title}></a> (<{$bl_date.date}>)
</li>
<{/foreach}>
</ul>
@@ -49,7 +49,7 @@
<ul class="list-unstyled">
<{foreach item=bl_pop from=$bl_pop}>
<li>
- <a title="<{$bl_pop.title}>" href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?cid=<{$bl_pop.cid}>&lid=<{$bl_pop.id}>"><{$bl_pop.title}></a> (<{$bl_pop.hits}>)
+ <a title="<{$bl_pop.title}>" href="<{$xoops_url}>/modules/tdmdownloads/singlefile.php?cid=<{$bl_pop.cid}>&lid=<{$bl_pop.id}>"><{$bl_pop.title}></a> (<{$bl_pop.hits}>)
</li>
<{/foreach}>
</ul>
@@ -61,7 +61,7 @@
<ul class="list-unstyled">
<{foreach item=bl_rating from=$bl_rating}>
<li>
- <a title="<{$bl_rating.title}>" href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?cid=<{$bl_rating.cid}>&lid=<{$bl_rating.id}>"><{$bl_rating.title}></a> (<{$bl_rating.rating}>)
+ <a title="<{$bl_rating.title}>" href="<{$xoops_url}>/modules/tdmdownloads/singlefile.php?cid=<{$bl_rating.cid}>&lid=<{$bl_rating.id}>"><{$bl_rating.title}></a> (<{$bl_rating.rating}>)
</li>
<{/foreach}>
</ul>
@@ -77,45 +77,45 @@
<div class="col-md-12"><h3 class="tdm-title"><{$smarty.const._MD_TDMDOWNLOADS_CAT_SORTBY}></h3></div>
<div class="col-xs-3 col-sm-3 col-md-3">
<{$smarty.const._MD_TDMDOWNLOADS_CAT_TITLE}>
- <a title="<{$smarty.const._MD_TDMDOWNLOADS_CAT_TITLEATOZ}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category_id}>&sort=title&order=ASC">
+ <a title="<{$smarty.const._MD_TDMDOWNLOADS_CAT_TITLEATOZ}>" href="<{$xoops_url}>/modules/tdmdownloads/viewcat.php?cid=<{$category_id}>&sort=title&order=ASC">
<span class="glyphicon glyphicon glyphicon-collapse-up"></span>
</a>
-
- <a title="<{$smarty.const._MD_TDMDOWNLOADS_CAT_TITLEZTOA}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category_id}>&sort=title&order=DESC">
+
+ <a title="<{$smarty.const._MD_TDMDOWNLOADS_CAT_TITLEZTOA}>" href="<{$xoops_url}>/modules/tdmdownloads/viewcat.php?cid=<{$category_id}>&sort=title&order=DESC">
<span class="glyphicon glyphicon glyphicon-collapse-down"></span>
</a>
</div>
-
+
<div class="col-xs-3 col-sm-3 col-md-3">
<{$smarty.const._MD_TDMDOWNLOADS_CAT_DATE}>
- <a title="<{$smarty.const._MD_TDMDOWNLOADS_CAT_DATEOLD}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category_id}>&sort=date&order=ASC">
+ <a title="<{$smarty.const._MD_TDMDOWNLOADS_CAT_DATEOLD}>" href="<{$xoops_url}>/modules/tdmdownloads/viewcat.php?cid=<{$category_id}>&sort=date&order=ASC">
<span class="glyphicon glyphicon glyphicon-collapse-up"></span>
</a>
- <a title="<{$smarty.const._MD_TDMDOWNLOADS_CAT_DATENEW}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category_id}>&sort=date&order=DESC">
+ <a title="<{$smarty.const._MD_TDMDOWNLOADS_CAT_DATENEW}>" href="<{$xoops_url}>/modules/tdmdownloads/viewcat.php?cid=<{$category_id}>&sort=date&order=DESC">
<span class="glyphicon glyphicon glyphicon-collapse-down"></span>
</a>
</div>
-
+
<div class="col-xs-3 col-sm-3 col-md-3">
<{$smarty.const._MD_TDMDOWNLOADS_CAT_RATING}>
- <a title="<{$smarty.const._MD_TDMDOWNLOADS_CAT_RATINGLTOH}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category_id}>&sort=rating&order=ASC">
+ <a title="<{$smarty.const._MD_TDMDOWNLOADS_CAT_RATINGLTOH}>" href="<{$xoops_url}>/modules/tdmdownloads/viewcat.php?cid=<{$category_id}>&sort=rating&order=ASC">
<span class="glyphicon glyphicon glyphicon-collapse-up"></span>
</a>
- <a title="<{$smarty.const._MD_TDMDOWNLOADS_CAT_RATINGHTOL}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category_id}>&sort=rating&order=DESC">
+ <a title="<{$smarty.const._MD_TDMDOWNLOADS_CAT_RATINGHTOL}>" href="<{$xoops_url}>/modules/tdmdownloads/viewcat.php?cid=<{$category_id}>&sort=rating&order=DESC">
<span class="glyphicon glyphicon glyphicon-collapse-down"></span>
</a>
</div>
-
+
<div class="col-xs-3 col-sm-3 col-md-3">
<{$smarty.const._MD_TDMDOWNLOADS_CAT_POPULARITY}>
- <a title="<{$smarty.const._MD_TDMDOWNLOADS_CAT_POPULARITYLTOM}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category_id}>&sort=hits&order=ASC">
+ <a title="<{$smarty.const._MD_TDMDOWNLOADS_CAT_POPULARITYLTOM}>" href="<{$xoops_url}>/modules/tdmdownloads/viewcat.php?cid=<{$category_id}>&sort=hits&order=ASC">
<span class="glyphicon glyphicon glyphicon-collapse-up"></span>
</a>
- <a title="<{$smarty.const._MD_TDMDOWNLOADS_CAT_POPULARITYMTOL}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category_id}>&sort=hits&order=DESC">
+ <a title="<{$smarty.const._MD_TDMDOWNLOADS_CAT_POPULARITYMTOL}>" href="<{$xoops_url}>/modules/tdmdownloads/viewcat.php?cid=<{$category_id}>&sort=hits&order=DESC">
<span class="glyphicon glyphicon glyphicon-collapse-down"></span>
</a>
</div>
-
+
<div class="clearfix"></div>
<div class="col-md-12"><p class="text-center text-muted"><{$affichage_tri}></p></div>
<{/if}>
@@ -128,4 +128,4 @@
<{/if}>
</div><!-- .tdmdownloads -->
-<{include file="db:system_notification_select.html"}>
\ No newline at end of file
+<{include file="db:system_notification_select.html"}>
|
|
From: <be...@us...> - 2014-06-14 16:26:01
|
Revision: 12594
http://sourceforge.net/p/xoops/svn/12594
Author: beckmi
Date: 2014-06-14 16:25:54 +0000 (Sat, 14 Jun 2014)
Log Message:
-----------
Updating xBootstrap screenshots
Modified Paths:
--------------
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xbootstrap/screenshot.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xbootstrap/shot.gif
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xbootstrap/screenshot.png
===================================================================
(Binary files differ)
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xbootstrap/shot.gif
===================================================================
(Binary files differ)
|
|
From: <be...@us...> - 2014-06-14 16:04:13
|
Revision: 12593
http://sourceforge.net/p/xoops/svn/12593
Author: beckmi
Date: 2014-06-14 16:04:02 +0000 (Sat, 14 Jun 2014)
Log Message:
-----------
Cosmetic changes in preparation for 2.5.7 Final release
Modified Paths:
--------------
XoopsCore/branches/2.5.x/2.5.7/docs/README.txt
XoopsCore/branches/2.5.x/2.5.7/docs/changelog.250.txt
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/file/folder.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/include/functions.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/include/version.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/install/include/makedata.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/admin/about.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/admin/admin.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/admin/admin_footer.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/admin/prune.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/docs/install.txt
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/docs/readme.txt
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/include/update.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/xoops_version.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/about.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/category.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/deactivate.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/field.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/index.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/permissions.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/step.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/user.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/visibility.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/docs/install.txt
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/include/update.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/xoops_version.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/admin/groupperm.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/class/thumbs/phpthumb.filters.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/class/thumbs/phpthumb.unsharp.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/themes/zetadigme/docs/readme.txt
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/suico/docs/readme.txt
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/README_PL.txt
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/filters_disabled/postcommon_post_htmlpurify4everyone.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/filters_disabled/postcommon_post_htmlpurify4guest.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/xoops_version.php
XoopsCore/branches/2.5.x/2.5.7/release_notes.txt
Removed Paths:
-------------
XoopsCore/branches/2.5.x/2.5.7/htdocs/install/img/xoops_2.5.7_Beta_1.png
XoopsCore/branches/2.5.x/2.5.7/htdocs/install/img/xoops_2.5.7_RC1.png
Modified: XoopsCore/branches/2.5.x/2.5.7/docs/README.txt
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/docs/README.txt 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/docs/README.txt 2014-06-14 16:04:02 UTC (rev 12593)
@@ -1,9 +1,8 @@
-XOOPS 2.5.6 Final
+XOOPS 2.5.7 Final
-The XOOPS Development Team is pleased to announce the release of XOOPS 2.5.6 Final. This version has been made compatible with PHP 5.4, in addition to security enhancement.
-New is also Fast Comment Hack contributed by Voltan. (see changelog for more info).
+The XOOPS Development Team is pleased to announce the release of XOOPS 2.5.7 Final. This version has been made compatible with PHP 5.5.x, in addition to security enhancement.
-Download XOOPS 2.5.6 from [url=https://sourceforge.net/projects/xoops/files/XOOPS%20Core%20%28stable%20releases%29/XOOPS%202.5.6/]Sourceforge repository[/url].
+Download XOOPS 2.5.7 from [url=https://sourceforge.net/projects/xoops/files/XOOPS%20Core%20%28stable%20releases%29/XOOPS%202.5.7/]Sourceforge repository[/url].
How to contribute
@@ -14,4 +13,4 @@
Release announcement: https://lists.sourceforge.net/lists/listinfo/xoops-announcement
XOOPS Development Team
-April 21, 2013
\ No newline at end of file
+June 14, 2014
\ No newline at end of file
Modified: XoopsCore/branches/2.5.x/2.5.7/docs/changelog.250.txt
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/docs/changelog.250.txt 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/docs/changelog.250.txt 2014-06-14 16:04:02 UTC (rev 12593)
@@ -1,7 +1,7 @@
XOOPS 2.5.x Changelog (Language changes: see: /docs/lang_diff.txt)
===============================
-2014/xx/xx: Version 2.5.7 Final
+2014/06/14: Version 2.5.7 Final
===============================
- updated XoopsMediaUploader to use system memory values from php.ini, and to offer random file names (mamba/luciorota/zyspec)
- added .tpl to XoopsList's getHtmlListAsArray (wizanda)
@@ -12,6 +12,7 @@
- added missing .php file extension (AngeloRocha/Zyspec/rgriffith)
- deprecated destoryVars($var) in object.php (cesag/rgriffith)
- update phpmailer translation array to include all keys, and remove reassignment of $PHPMAILER_LANG as array() (cesag/rgriffith)
+- added XoopsRequest class (rgriffith)
Updated:
- TinyMCE to 3.5.11 (mamba)
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/class/file/folder.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/class/file/folder.php 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/class/file/folder.php 2014-06-14 16:04:02 UTC (rev 12593)
@@ -32,25 +32,25 @@
* Redistributions of files must retain the above copyright notice.
*
* @filesource
- * @copyright Copyright 2005-2008, Cake Software Foundation, Inc.
- * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
- * @package cake
+ * @copyright Copyright 2005-2008, Cake Software Foundation, Inc.
+ * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
+ * @package cake
* @subpackage cake.cake.libs
- * @since CakePHP(tm) v 0.2.9
- * @version $Revision$
+ * @since CakePHP(tm) v 0.2.9
+ * @version $Revision$
* @modifiedby $LastChangedBy$
* @lastmodified $Date$
- * @license http://www.opensource.org/licenses/mit-license.php The MIT License
+ * @license http://www.opensource.org/licenses/mit-license.php The MIT License
*/
+
/**
* Folder structure browser, lists folders and files.
*
* Long description for class
*
- * @package cake
+ * @package cake
* @subpackage cake.cake.libs
*/
-
class XoopsFolderHandler
{
/**
@@ -158,7 +158,7 @@
* Change directory to $desired_path.
*
* @param string $path Path to the directory to change to
- *
+ *
* @return string The new path. Returns false on failure
* @access public
*/
@@ -178,13 +178,14 @@
*
* @param boolean $sort
* @param mixed $exceptions either an array or boolean true will no grab dot files
+ *
* @return mixed Contents of current directory as an array, false on failure
* @access public
*/
function read($sort = true, $exceptions = false)
{
$dirs = $files = array();
- $dir = opendir($this->path);
+ $dir = opendir($this->path);
if ($dir !== false) {
while (false !== ($n = readdir($dir))) {
$item = false;
@@ -192,8 +193,10 @@
if (!in_array($n, $exceptions)) {
$item = $n;
}
- } else if ((!preg_match('/^\\.+$/', $n) && $exceptions == false) || ($exceptions == true && !preg_match('/^\\.(.*)$/', $n))) {
- $item = $n;
+ } else {
+ if ((!preg_match('/^\\.+$/', $n) && $exceptions == false) || ($exceptions == true && !preg_match('/^\\.(.*)$/', $n))) {
+ $item = $n;
+ }
}
if ($item !== false) {
if (is_dir($this->addPathElement($this->path, $item))) {
@@ -211,8 +214,9 @@
}
return array(
- $dirs ,
- $files);
+ $dirs,
+ $files
+ );
}
/**
@@ -220,6 +224,7 @@
*
* @param string $regexp_pattern Preg_match pattern (Defaults to: .*)
* @param bool $sort
+ *
* @return array Files that match given pattern
* @access public
*/
@@ -245,13 +250,14 @@
*
* @param string $pattern Preg_match pattern (Defaults to: .*)
* @param bool $sort
+ *
* @return array Files matching $pattern
* @access public
*/
function findRecursive($pattern = '.*', $sort = false)
{
$startsOn = $this->path;
- $out = $this->_findRecursive($pattern, $sort);
+ $out = $this->_findRecursive($pattern, $sort);
$this->cd($startsOn);
return $out;
@@ -262,6 +268,7 @@
*
* @param string $pattern Pattern to match against
* @param bool $sort
+ *
* @return array Files matching pattern
* @access private
*/
@@ -286,7 +293,8 @@
/**
* Returns true if given $path is a Windows path.
*
- * @param string $path Path to check
+ * @param string $path Path to check
+ *
* @return boolean true if windows path, false otherwise
* @access public
* @static
@@ -304,6 +312,7 @@
* Returns true if given $path is an absolute path.
*
* @param string $path Path to check
+ *
* @return bool
* @access public
* @static
@@ -319,6 +328,7 @@
* Returns a correct set of slashes for given $path. (\\ for Windows paths and / for other paths.)
*
* @param string $path Path to check
+ *
* @return string Set of slashes ("\\" or "/")
* @access public
* @static
@@ -336,6 +346,7 @@
* Returns a correct set of slashes for given $path. (\\ for Windows paths and / for other paths.)
*
* @param string $path Path to check
+ *
* @return string Set of slashes ("\\" or "/")
* @access public
* @static
@@ -353,6 +364,7 @@
* Returns $path with added terminating slash (corrected for Windows or other OS).
*
* @param string $path Path to check
+ *
* @return string Path with ending slash
* @access public
* @static
@@ -371,6 +383,7 @@
*
* @param string $path Path
* @param string $element Element to and at end of path
+ *
* @return string Combined path
* @access public
* @static
@@ -384,12 +397,13 @@
* Returns true if the File is in a given XoopsPath.
*
* @param string $path
+ *
* @return bool
* @access public
*/
function inXoopsPath($path = '')
{
- $dir = substr($this->slashTerm(XOOPS_ROOT_PATH), 0, - 1);
+ $dir = substr($this->slashTerm(XOOPS_ROOT_PATH), 0, -1);
$newdir = $dir . $path;
return $this->inPath($newdir);
@@ -400,12 +414,13 @@
*
* @param string $path
* @param bool $reverse
+ *
* @return bool
* @access public
*/
function inPath($path = '', $reverse = false)
{
- $dir = $this->slashTerm($path);
+ $dir = $this->slashTerm($path);
$current = $this->slashTerm($this->pwd());
if (!$reverse) {
$return = preg_match('/^(.*)' . preg_quote($dir, '/') . '(.*)/', $current);
@@ -426,6 +441,7 @@
* @param bool|int $mode octal value 0755
* @param boolean $recursive chmod recursively
* @param array $exceptions array of files, directories to skip
+ *
* @return boolean Returns TRUE on success, FALSE on failure
* @access public
*/
@@ -475,16 +491,18 @@
* @param string $path the directory path to build the tree from
* @param boolean $hidden return hidden files and directories
* @param string $type either file or dir. null returns both files and directories
+ *
* @return mixed array of nested directories and files in each directory
* @access public
*/
function tree($path, $hidden = true, $type = null)
{
- $path = rtrim($path, '/');
- $this->files = array();
+ $path = rtrim($path, '/');
+ $this->files = array();
$this->directories = array(
- $path);
- $directories = array();
+ $path
+ );
+ $directories = array();
while (count($this->directories)) {
$dir = array_pop($this->directories);
$this->_tree($dir, $hidden);
@@ -492,8 +510,9 @@
}
if ($type === null) {
return array(
- $directories ,
- $this->files);
+ $directories,
+ $this->files
+ );
}
if ($type === 'dir') {
return $directories;
@@ -507,6 +526,7 @@
*
* @param string $path
* @param $hidden
+ *
* @internal param $ $ = boolean $hidden
* @access private
*/
@@ -516,7 +536,7 @@
$dirHandle = opendir($path);
while (false !== ($item = readdir($dirHandle))) {
$found = false;
- if (($hidden === true && $item != '.' && $item != '..') || ($hidden === false && ! preg_match('/^\\.(.*)$/', $item))) {
+ if (($hidden === true && $item != '.' && $item != '..') || ($hidden === false && !preg_match('/^\\.(.*)$/', $item))) {
$found = $path . '/' . $item;
}
if ($found !== false) {
@@ -536,6 +556,7 @@
*
* @param string $pathname The directory structure to create
* @param bool|int $mode octal value 0755
+ *
* @return boolean Returns TRUE on success, FALSE on failure
* @access public
*/
@@ -544,7 +565,7 @@
if (is_dir($pathname) || empty($pathname)) {
return true;
}
- if (! $mode) {
+ if (!$mode) {
$mode = $this->mode;
}
if (is_file($pathname)) {
@@ -573,32 +594,34 @@
/**
* Returns the size in bytes of this Folder.
*
- * @return int $size
+ * @return int $size
* @access public
*/
function dirsize()
{
- $size = 0;
+ $size = 0;
$directory = $this->slashTerm($this->path);
- $stack = array($directory);
- $count = count($stack);
- for ($i = 0, $j = $count; $i < $j; ++ $i) {
+ $stack = array($directory);
+ $count = count($stack);
+ for ($i = 0, $j = $count; $i < $j; ++$i) {
if (is_file($stack[$i])) {
$size += filesize($stack[$i]);
- } else if (is_dir($stack[$i])) {
- $dir = dir($stack[$i]);
- if ($dir) {
- while (false !== ($entry = $dir->read())) {
- if ($entry == '.' || $entry == '..') {
- continue;
+ } else {
+ if (is_dir($stack[$i])) {
+ $dir = dir($stack[$i]);
+ if ($dir) {
+ while (false !== ($entry = $dir->read())) {
+ if ($entry == '.' || $entry == '..') {
+ continue;
+ }
+ $add = $stack[$i] . $entry;
+ if (is_dir($stack[$i] . $entry)) {
+ $add = $this->slashTerm($add);
+ }
+ $stack[] = $add;
}
- $add = $stack[$i] . $entry;
- if (is_dir($stack[$i] . $entry)) {
- $add = $this->slashTerm($add);
- }
- $stack[] = $add;
+ $dir->close();
}
- $dir->close();
}
}
$j = count($stack);
@@ -610,7 +633,8 @@
/**
* Recursively Remove directories if system allow.
*
- * @param string $path Path of directory to delete
+ * @param string $path Path of directory to delete
+ *
* @return boolean Success
* @access public
*/
@@ -618,10 +642,10 @@
{
$path = $this->slashTerm($path);
if (is_dir($path) === true) {
- $files = glob($path . '*', GLOB_NOSORT);
+ $files = glob($path . '*', GLOB_NOSORT);
$normal_files = glob($path . '*');
$hidden_files = glob($path . '\.?*');
- $files = array_merge($normal_files, $hidden_files);
+ $files = array_merge($normal_files, $hidden_files);
if (is_array($files)) {
foreach ($files as $file) {
if (preg_match("/(\.|\.\.)$/", $file)) {
@@ -633,9 +657,11 @@
} else {
$this->errors[] = sprintf('%s NOT removed', $path);
}
- } else if (is_dir($file) === true) {
- if ($this->delete($file) === false) {
- return false;
+ } else {
+ if (is_dir($file) === true) {
+ if ($this->delete($file) === false) {
+ return false;
+ }
}
}
}
@@ -657,6 +683,7 @@
* Recursive directory copy.
*
* @param array $options (to, from, chmod, skip)
+ *
* @return bool
* @access public
*/
@@ -664,18 +691,22 @@
{
$to = null;
if (is_string($options)) {
- $to = $options;
+ $to = $options;
$options = array();
}
- $options = array_merge(array(
- 'to' => $to ,
- 'from' => $this->path ,
- 'mode' => $this->mode ,
- 'skip' => array()), $options);
+ $options = array_merge(
+ array(
+ 'to' => $to,
+ 'from' => $this->path,
+ 'mode' => $this->mode,
+ 'skip' => array()
+ ),
+ $options
+ );
$fromDir = $options['from'];
- $toDir = $options['to'];
- $mode = $options['mode'];
+ $toDir = $options['to'];
+ $mode = $options['mode'];
if (!$this->cd($fromDir)) {
$this->errors[] = sprintf('%s not found', $fromDir);
@@ -689,16 +720,20 @@
return false;
}
- $exceptions = array_merge(array(
- '.' ,
- '..' ,
- '.svn'), $options['skip']);
- $handle = opendir($fromDir);
+ $exceptions = array_merge(
+ array(
+ '.',
+ '..',
+ '.svn'
+ ),
+ $options['skip']
+ );
+ $handle = opendir($fromDir);
if ($handle) {
while (false !== ($item = readdir($handle))) {
if (!in_array($item, $exceptions)) {
$from = $this->addPathElement($fromDir, $item);
- $to = $this->addPathElement($toDir, $item);
+ $to = $this->addPathElement($toDir, $item);
if (is_file($from)) {
if (copy($from, $to)) {
chmod($to, intval($mode, 8));
@@ -712,9 +747,13 @@
if (mkdir($to, intval($mode, 8))) {
chmod($to, intval($mode, 8));
$this->messages[] = sprintf('%s created', $to);
- $options = array_merge($options, array(
- 'to' => $to ,
- 'from' => $from));
+ $options = array_merge(
+ $options,
+ array(
+ 'to' => $to,
+ 'from' => $from
+ )
+ );
$this->copy($options);
} else {
$this->errors[] = sprintf('%s not created', $to);
@@ -736,7 +775,8 @@
/**
* Recursive directory move.
*
- * @param array $options (to, from, chmod, skip)
+ * @param array $options (to, from, chmod, skip)
+ *
* @return boolean Success
* @access public
*/
@@ -744,14 +784,18 @@
{
$to = null;
if (is_string($options)) {
- $to = $options;
- $options = (array) $options;
+ $to = $options;
+ $options = (array)$options;
}
- $options = array_merge(array(
- 'to' => $to ,
- 'from' => $this->path ,
- 'mode' => $this->mode ,
- 'skip' => array()), $options);
+ $options = array_merge(
+ array(
+ 'to' => $to,
+ 'from' => $this->path,
+ 'mode' => $this->mode,
+ 'skip' => array()
+ ),
+ $options
+ );
if ($this->copy($options)) {
if ($this->delete($options['from'])) {
return $this->cd($options['to']);
@@ -787,6 +831,7 @@
* Get the real path (taking ".." and such into account)
*
* @param string $path Path to resolve
+ *
* @return string The resolved path
*/
function realpath($path)
@@ -799,9 +844,9 @@
return $path;
}
- $parts = explode('/', $path);
+ $parts = explode('/', $path);
$newparts = array();
- $newpath = $path{0} == '/' ? '/' : '';
+ $newpath = $path{0} == '/' ? '/' : '';
while (($part = array_shift($parts)) !== null) {
if ($part == '.' || $part == '') {
continue;
@@ -827,7 +872,8 @@
/**
* Returns true if given $path ends in a slash (i.e. is slash-terminated).
*
- * @param string $path Path to check
+ * @param string $path Path to check
+ *
* @return boolean true if path ends with slash, false otherwise
* @access public
* @static
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/include/functions.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/include/functions.php 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/include/functions.php 2014-06-14 16:04:02 UTC (rev 12593)
@@ -103,8 +103,11 @@
* Temporay solution for XOOPS 2.3
*
* @param string $name Name of class to be loaded
- * @param string $type domain of the class, potential values: core - locaded in /class/; framework - located in /Frameworks/; other - module class, located in /modules/[$type]/class/
- * @return boolean
+ * @param string $type domain of the class, potential values: core - located in /class/;
+ * framework - located in /Frameworks/;
+ * other - module class, located in /modules/[$type]/class/
+ *
+*@return boolean
*/
function xoops_load($name, $type = 'core')
{
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/include/version.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/include/version.php 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/include/version.php 2014-06-14 16:04:02 UTC (rev 12593)
@@ -30,4 +30,4 @@
/**
* Define XOOPS version
*/
-define('XOOPS_VERSION', 'XOOPS 2.5.7_RC2');
+define('XOOPS_VERSION', 'XOOPS 2.5.7');
Deleted: XoopsCore/branches/2.5.x/2.5.7/htdocs/install/img/xoops_2.5.7_Beta_1.png
===================================================================
(Binary files differ)
Deleted: XoopsCore/branches/2.5.x/2.5.7/htdocs/install/img/xoops_2.5.7_RC1.png
===================================================================
(Binary files differ)
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/install/include/makedata.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/install/include/makedata.php 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/install/include/makedata.php 2014-06-14 16:04:02 UTC (rev 12593)
@@ -210,7 +210,7 @@
$dbm->insert('config', " VALUES (47, 0, 1, 'enable_badips', '_MD_AM_DOBADIPS', '0', '_MD_AM_DOBADIPSDSC', 'yesno', 'int', 40)");
$dbm->insert('config', " VALUES (48, 0, 3, 'meta_rating', '_MD_AM_METARATING', 'general', '_MD_AM_METARATINGDSC', 'select', 'text', 4)");
$dbm->insert('config', " VALUES (49, 0, 3, 'meta_author', '_MD_AM_METAAUTHOR', 'XOOPS', '_MD_AM_METAAUTHORDSC', 'textbox', 'text', 6)");
- $dbm->insert('config', " VALUES (50, 0, 3, 'meta_copyright', '_MD_AM_METACOPYR', 'Copyright \xA9 2001-" . date('Y', time()) . "', '_MD_AM_METACOPYRDSC', 'textbox', 'text', 8)");
+ $dbm->insert('config', " VALUES (50, 0, 3, 'meta_copyright', '_MD_AM_METACOPYR', 'Copyright © 2001-" . date('Y', time()) . "', '_MD_AM_METACOPYRDSC', 'textbox', 'text', 8)");
$dbm->insert('config', " VALUES (51, 0, 3, 'meta_description', '_MD_AM_METADESC', 'XOOPS is a dynamic Object Oriented based open source portal script written in PHP.', '_MD_AM_METADESCDSC', 'textarea', 'text', 1)");
$dbm->insert('config', " VALUES (52, 0, 2, 'allow_chgmail', '_MD_AM_ALLWCHGMAIL', '0', '_MD_AM_ALLWCHGMAILDSC', 'yesno', 'int', 3)");
$dbm->insert('config', " VALUES (53, 0, 1, 'use_mysession', '_MD_AM_USEMYSESS', '0', '_MD_AM_USEMYSESSDSC', 'yesno', 'int', 19)");
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/admin/about.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/admin/about.php 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/admin/about.php 2014-06-14 16:04:02 UTC (rev 12593)
@@ -17,9 +17,9 @@
* @version $Id $
**/
-include '../../../include/cp_header.php';
+include_once dirname(__FILE__) . '../../../include/cp_header.php';
include '../../../class/xoopsformloader.php';
-include 'admin_header.php';
+include_once dirname(__FILE__) . '/admin_header.php';
xoops_cp_header();
$aboutAdmin = new ModuleAdmin();
@@ -27,5 +27,5 @@
echo $aboutAdmin->addNavigation('about.php');
echo $aboutAdmin->renderabout('6KJ7RW5DR3VTJ', false);
-include 'admin_footer.php';
-xoops_cp_footer();
+include_once dirname(__FILE__) . '/admin_footer.php';
+//xoops_cp_footer();
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/admin/admin.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/admin/admin.php 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/admin/admin.php 2014-06-14 16:04:02 UTC (rev 12593)
@@ -17,7 +17,7 @@
* @version $Id$
*/
-include_once 'admin_header.php';
+include_once dirname(__FILE__) . '/admin_header.php';
xoops_cp_header();
$indexAdmin = new ModuleAdmin();
@@ -25,5 +25,5 @@
echo $indexAdmin->addNavigation('admin.php');
echo $indexAdmin->renderIndex();
-include 'admin_footer.php';
+include_once dirname(__FILE__) . '/admin_footer.php';
//xoops_cp_footer();
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/admin/admin_footer.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/admin/admin_footer.php 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/admin/admin_footer.php 2014-06-14 16:04:02 UTC (rev 12593)
@@ -1,6 +1,6 @@
<?php
/**
- * XoopsPartner module
+ * PM module
*
* 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
@@ -11,7 +11,7 @@
*
* @copyright:: The XOOPS Project http://sourceforge.net/projects/xoops/
* @license:: http://www.fsf.org/copyleft/gpl.html GNU public license
- * @package:: Xoops Partner
+ * @package:: PM
* @since:: 2.5.0
* @author:: XOOPS Development Team
* @version: $Id $
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/admin/prune.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/admin/prune.php 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/admin/prune.php 2014-06-14 16:04:02 UTC (rev 12593)
@@ -17,7 +17,7 @@
* @author Taiwen Jiang <ph...@us...>
* @version $Id$
*/
-include 'admin_header.php';
+include_once dirname(__FILE__) . '/admin_header.php';
xoops_cp_header();
$indexAdmin = new ModuleAdmin();
@@ -84,5 +84,5 @@
redirect_header('admin.php', 2, sprintf(_PM_AM_MESSAGESPRUNED, $deletedrows));
break;
}
-include 'admin_footer.php';
+include_once dirname(__FILE__) . '/admin_footer.php';
//xoops_cp_footer();
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/docs/install.txt
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/docs/install.txt 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/docs/install.txt 2014-06-14 16:04:02 UTC (rev 12593)
@@ -1,6 +1,6 @@
INSTALL/UNISTALL
=================
-No special measures necessary, follow the standard installation process \x96 extract the module folder into the ../modules directory. Install the module through Admin -> System Module -> Modules.
+No special measures necessary, follow the standard installation process – extract the module folder into the ../modules directory. Install the module through Admin -> System Module -> Modules.
Detailed instructions on installing modules are available in the XOOPS Operations Manual (http://goo.gl/adT2i)
\ No newline at end of file
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/docs/readme.txt
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/docs/readme.txt 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/docs/readme.txt 2014-06-14 16:04:02 UTC (rev 12593)
@@ -13,7 +13,7 @@
Install/uninstall
------------------
-No special measures necessary, follow the standard installation process \x96 extract the xoopspartners folder into the ../modules directory. Install the module through Admin -> System Module -> Modules.
+No special measures necessary, follow the standard installation process – extract the xoopspartners folder into the ../modules directory. Install the module through Admin -> System Module -> Modules.
Detailed instructions on installing modules are available in the XOOPS Operations Manual (http://goo.gl/adT2i)
@@ -21,9 +21,9 @@
------------------------
To set up this module you need to:
-i) Enter your partner\x92s details \x96 including a URL for their website and (optionally) logo plus a short description (see \x91Adding a partner\x92)
+i) Enter your partner’s details – including a URL for their website and (optionally) logo plus a short description (see ‘Adding a partner’)
-ii) Configure your preferences for the module (see \x91Preferences\x92) and optionally the Partners block if you intend to use it (see \x91Blocks\x92)
+ii) Configure your preferences for the module (see ‘Preferences’) and optionally the Partners block if you intend to use it (see ‘Blocks’)
iii) Check that you have given your user groups the necessary module and block access rights to use this module. Group permissions are set through the Administration Menu -> System -> Groups.
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/include/update.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/include/update.php 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/include/update.php 2014-06-14 16:04:02 UTC (rev 12593)
@@ -40,17 +40,7 @@
return false;
}
}
- // remove old html template files
- $template_directory = XOOPS_ROOT_PATH . "/modules/" . $module->getVar('dirname', 'n') . "/templates/";
- $template_list = array_diff(scandir($template_directory), array('..', '.'));
- foreach ($template_list as $k => $v) {
- $fileinfo = new SplFileInfo($template_directory . $v);
- if ($fileinfo->getExtension() == 'html' && $fileinfo->getFilename() != 'index.html') {
- @unlink($template_directory . $v);
- }
- }
-
if ($oldversion < 110) {
// remove old html template files
$templateDirectory = XOOPS_ROOT_PATH . "/modules/" . $module->getVar('dirname', 'n') . "/templates/";
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/xoops_version.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/xoops_version.php 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/xoops_version.php 2014-06-14 16:04:02 UTC (rev 12593)
@@ -40,8 +40,8 @@
$modversion['icons32'] = '../../Frameworks/moduleclasses/icons/32';
//about
-$modversion["module_status"] = "RC 2";
-$modversion['release_date'] = '2014/04/23';
+$modversion["module_status"] = "Final";
+$modversion['release_date'] = '2014/06/14';
$modversion["module_website_url"] = "http://www.xoops.org/";
$modversion["module_website_name"] = "XOOPS";
$modversion['min_php'] = '5.3.7';
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/about.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/about.php 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/about.php 2014-06-14 16:04:02 UTC (rev 12593)
@@ -17,8 +17,8 @@
* @version $Id $
**/
-include '../../../include/cp_header.php';
-include 'admin_header.php';
+include_once dirname(__FILE__) . '../../../include/cp_header.php';
+include_once dirname(__FILE__) . '/admin_header.php';
xoops_cp_header();
$module_info =& $module_handler->get($xoopsModule->getVar("mid"));
@@ -28,4 +28,4 @@
echo $aboutAdmin->addNavigation('about.php');
echo $aboutAdmin->renderabout('6KJ7RW5DR3VTJ', false);
-include 'admin_footer.php';
+include_once dirname(__FILE__) . '/admin_footer.php';
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/category.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/category.php 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/category.php 2014-06-14 16:04:02 UTC (rev 12593)
@@ -28,7 +28,7 @@
// URL: http://www.xoops.org/ //
// Project: The XOOPS Project //
// ------------------------------------------------------------------------- //
-include 'admin_header.php';
+include_once dirname(__FILE__) . '/admin_header.php';
xoops_cp_header();
$indexAdmin = new ModuleAdmin();
@@ -104,4 +104,4 @@
if ( isset($template_main) ) {
$GLOBALS['xoopsTpl']->display("db:{$template_main}");
}
-include 'admin_footer.php';
+include_once dirname(__FILE__) . '/admin_footer.php';
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/deactivate.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/deactivate.php 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/deactivate.php 2014-06-14 16:04:02 UTC (rev 12593)
@@ -1,5 +1,5 @@
<?php
-include 'admin_header.php';
+include_once dirname(__FILE__) . '/admin_header.php';
xoops_cp_header();
if ( !isset($_REQUEST['uid']) ) {
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/field.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/field.php 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/field.php 2014-06-14 16:04:02 UTC (rev 12593)
@@ -17,7 +17,7 @@
* @author Taiwen Jiang <ph...@us...>
* @version $Id$
*/
-include 'admin_header.php';
+include_once dirname(__FILE__) . '/admin_header.php';
xoops_cp_header();
$indexAdmin = new ModuleAdmin();
@@ -335,4 +335,4 @@
}
}
-include 'admin_footer.php';
+include_once dirname(__FILE__) . '/admin_footer.php';
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/index.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/index.php 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/index.php 2014-06-14 16:04:02 UTC (rev 12593)
@@ -28,7 +28,7 @@
// Project: The XOOPS Project //
// ------------------------------------------------------------------------- //
-include_once 'admin_header.php';
+include_once dirname(__FILE__) . '/admin_header.php';
xoops_cp_header();
$indexAdmin = new ModuleAdmin();
@@ -49,5 +49,5 @@
echo $indexAdmin->addNavigation('index.php');
echo $indexAdmin->renderIndex();
-include 'admin_footer.php';
+include_once dirname(__FILE__) . '/admin_footer.php';
//xoops_cp_footer();
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/permissions.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/permissions.php 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/permissions.php 2014-06-14 16:04:02 UTC (rev 12593)
@@ -17,7 +17,7 @@
* @author Taiwen Jiang <ph...@us...>
* @version $Id$
*/
-include 'admin_header.php';
+include_once dirname(__FILE__) . '/admin_header.php';
xoops_cp_header();
$indexAdmin = new ModuleAdmin();
echo $indexAdmin->addNavigation('permissions.php');
@@ -105,5 +105,5 @@
}
}
$form->display();
-include 'admin_footer.php';
+include_once dirname(__FILE__) . '/admin_footer.php';
//xoops_cp_footer();
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/step.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/step.php 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/step.php 2014-06-14 16:04:02 UTC (rev 12593)
@@ -17,7 +17,7 @@
* @author Taiwen Jiang <ph...@us...>
* @version $Id$
*/
-include 'admin_header.php';
+include_once dirname(__FILE__) . '/admin_header.php';
xoops_cp_header();
$indexAdmin = new ModuleAdmin();
@@ -111,4 +111,4 @@
}
}
-include 'admin_footer.php';
+include_once dirname(__FILE__) . '/admin_footer.php';
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/user.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/user.php 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/user.php 2014-06-14 16:04:02 UTC (rev 12593)
@@ -17,7 +17,7 @@
* @author Taiwen Jiang <ph...@us...>
* @version $Id$
*/
-include 'admin_header.php';
+include_once dirname(__FILE__) . '/admin_header.php';
xoops_cp_header();
$indexAdmin = new ModuleAdmin();
echo $indexAdmin->addNavigation('user.php');
@@ -212,5 +212,5 @@
break;
}
-include 'admin_footer.php';
+include_once dirname(__FILE__) . '/admin_footer.php';
//xoops_cp_footer();
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/visibility.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/visibility.php 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/visibility.php 2014-06-14 16:04:02 UTC (rev 12593)
@@ -17,7 +17,7 @@
* @author Taiwen Jiang <ph...@us...>
* @version $Id$
*/
-include 'admin_header.php';
+include_once dirname(__FILE__) . '/admin_header.php';
//there is no way to override current tabs when using system menu
//this dirty hack will have to do it
@@ -96,5 +96,5 @@
$GLOBALS['xoopsTpl']->display("db:profile_admin_visibility.tpl");
-include 'admin_footer.php';
+include_once dirname(__FILE__) . '/admin_footer.php';
//xoops_cp_footer();
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/docs/install.txt
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/docs/install.txt 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/docs/install.txt 2014-06-14 16:04:02 UTC (rev 12593)
@@ -1,6 +1,6 @@
INSTALL/UNISTALL
=================
-No special measures necessary, follow the standard installation process \x96 extract the module folder into the ../modules directory. Install the module through Admin -> System Module -> Modules.
+No special measures necessary, follow the standard installation process – extract the module folder into the ../modules directory. Install the module through Admin -> System Module -> Modules.
Detailed instructions on installing modules are available in the XOOPS Operations Manual (http://goo.gl/adT2i)
\ No newline at end of file
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/include/update.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/include/update.php 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/include/update.php 2014-06-14 16:04:02 UTC (rev 12593)
@@ -107,7 +107,7 @@
if ($oldversion < 186) {
- // remove old html template files
+ // delete old html template files
$templateDirectory = XOOPS_ROOT_PATH . "/modules/" . $module->getVar('dirname', 'n') . "/templates/";
$template_list = array_diff(scandir($templateDirectory), array('..', '.'));
foreach ($template_list as $k => $v) {
@@ -118,10 +118,14 @@
}
// Load class XoopsFile
xoops_load('xoopsfile');
- //remove /images directory
+ //delete /images directory
$imagesDirectory = XOOPS_ROOT_PATH . "/modules/" . $module->getVar('dirname', 'n') . "/images/";
$folderHandler = XoopsFile::getHandler("folder", $imagesDirectory);
$folderHandler->delete($imagesDirectory);
+ //delete /templates/style.css file
+ $cssFile = XOOPS_ROOT_PATH . "/modules/" . $module->getVar('dirname', 'n') . "/templates/style.css";
+ $folderHandler = XoopsFile::getHandler("file", $cssFile);
+ $folderHandler->delete($cssFile);
}
$profile_handler =& xoops_getModuleHandler("profile", $module->getVar('dirname', 'n'));
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/xoops_version.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/xoops_version.php 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/xoops_version.php 2014-06-14 16:04:02 UTC (rev 12593)
@@ -39,8 +39,8 @@
$modversion['icons32'] = '../../Frameworks/moduleclasses/icons/32';
//about
-$modversion["module_status"] = "RC 2";
-$modversion['release_date'] = '2014/04/23';
+$modversion["module_status"] = "Final";
+$modversion['release_date'] = '2014/06/14';
$modversion["module_website_url"] = "http://www.xoops.org/";
$modversion["module_website_name"] = "XOOPS";
$modversion['min_php'] = '5.3.7';
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/admin/groupperm.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/admin/groupperm.php 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/admin/groupperm.php 2014-06-14 16:04:02 UTC (rev 12593)
@@ -1,7 +1,7 @@
<?php
// $Id$
-include '../../../include/cp_header.php';
+include_once dirname(__FILE__) . '../../../include/cp_header.php';
$modid = isset($_POST['modid']) ? intval($_POST['modid']) : 0;
// we don't want system module permissions to be changed here
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/class/thumbs/phpthumb.filters.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/class/thumbs/phpthumb.filters.php 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/class/thumbs/phpthumb.filters.php 2014-06-14 16:04:02 UTC (rev 12593)
@@ -91,7 +91,7 @@
function Blur(&$gdimg, $radius=0.5)
{
- // Taken from Torstein H\xF8nsi's phpUnsharpMask (see phpthumb.unsharp.php)
+ // Taken from Torstein Hønsi's phpUnsharpMask (see phpthumb.unsharp.php)
$radius = round(max(0, min($radius, 50)) * 2);
if (!$radius) {
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/class/thumbs/phpthumb.unsharp.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/class/thumbs/phpthumb.unsharp.php 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/class/thumbs/phpthumb.unsharp.php 2014-06-14 16:04:02 UTC (rev 12593)
@@ -3,7 +3,7 @@
////
//// Unsharp Mask for PHP - version 2.1.1
////
-//// Unsharp mask algorithm by Torstein H\xF8nsi 2003-07.
+//// Unsharp mask algorithm by Torstein Hønsi 2003-07.
//// thoensi_at_netcom_dot_no.
//// Please leave this notice.
////
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/themes/zetadigme/docs/readme.txt
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/themes/zetadigme/docs/readme.txt 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/themes/zetadigme/docs/readme.txt 2014-06-14 16:04:02 UTC (rev 12593)
@@ -12,4 +12,4 @@
- installer le plugin smarty function.block.php (http://www.xuups.com/modules/publisher/item.php?itemid=10) dans root/class/smarty/xoops_plugins/
- copier le fichier xo_block.html du dossier "extras" dans "xotpl"
- retirer les commentaires pour activer le template xo_block.html
-- \xE9diter le template xo_block.html et saissisez le num\xE9ro des blocs que vous d\xE9sirez afficher
\ No newline at end of file
+- éditer le template xo_block.html et saissisez le numéro des blocs que vous désirez afficher
\ No newline at end of file
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/suico/docs/readme.txt
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/suico/docs/readme.txt 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/suico/docs/readme.txt 2014-06-14 16:04:02 UTC (rev 12593)
@@ -10,5 +10,5 @@
Copy file function.xoMemberInfo.php (file in themename/extras/) in xoopssite/class/smarty/xoops_plugins
/* french */
-Installation : une fois l'archive d\xE9compress\xE9e, il faut t\xE9l\xE9verser le dossier du th\xE8me (et uniquement celui-ci) dans le r\xE9pertoire "themes" de votre site.
-Copier le fichier function.xoMemberInfo.php se trouvant dans le dossier "extras" du th\xE8me dans le dossier : xoopsite/class/smarty/xoops_plugins
\ No newline at end of file
+Installation : une fois l'archive décompressée, il faut téléverser le dossier du thème (et uniquement celui-ci) dans le répertoire "themes" de votre site.
+Copier le fichier function.xoMemberInfo.php se trouvant dans le dossier "extras" du thème dans le dossier : xoopsite/class/smarty/xoops_plugins
\ No newline at end of file
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/README_PL.txt
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/README_PL.txt 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/README_PL.txt 2014-06-14 16:04:02 UTC (rev 12593)
@@ -1,4 +1,4 @@
-Dokumentacja modu\xB3u:
+Dokumentacja modułu:
http://www.xoopswiki.org/wiki/index.php?title=Protector/pl
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/filters_disabled/postcommon_post_htmlpurify4everyone.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/filters_disabled/postcommon_post_htmlpurify4everyone.php 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/filters_disabled/postcommon_post_htmlpurify4everyone.php 2014-06-14 16:04:02 UTC (rev 12593)
@@ -14,7 +14,7 @@
if ( version_compare( PHP_VERSION , '5.0.0' ) < 0 ) {
die( 'Turn postcommon_post_htmlpurify4everyone.php off because this filter cannot run with PHP4' ) ;
}
-
+/*
if ( file_exists( XOOPS_ROOT_PATH.'/class/icms.htmlpurifier.php' ) ) {
// use HTMLPurifier inside ImpressCMS
if ( ! class_exists( 'icms_HTMLPurifier' ) ) {
@@ -26,6 +26,7 @@
$this->method = 'icms_html_purifier' ;
} else {
+ */
// use HTMLPurifier inside Protector
require_once dirname(dirname(__FILE__)).'/library/HTMLPurifier.auto.php' ;
$config = HTMLPurifier_Config::createDefault();
@@ -34,7 +35,7 @@
//$config->set('HTML', 'Doctype', 'HTML 4.01 Transitional');
$this->purifier = new HTMLPurifier($config);
$this->method = 'purify' ;
- }
+// }
$_POST = $this->purify_recursive( $_POST ) ;
}
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/filters_disabled/postcommon_post_htmlpurify4guest.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/filters_disabled/postcommon_post_htmlpurify4guest.php 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/filters_disabled/postcommon_post_htmlpurify4guest.php 2014-06-14 16:04:02 UTC (rev 12593)
@@ -23,7 +23,7 @@
if ( is_object( $xoopsUser ) ) {
return true ;
}
-
+/*
if ( file_exists( XOOPS_ROOT_PATH.'/class/icms.htmlpurifier.php' ) ) {
// use HTMLPurifier inside ImpressCMS
if ( ! class_exists( 'icms_HTMLPurifier' ) ) {
@@ -35,6 +35,7 @@
$this->method = 'icms_html_purifier' ;
} else {
+ */
// use HTMLPurifier inside Protector
require_once dirname(dirname(__FILE__)).'/library/HTMLPurifier.auto.php' ;
$config = HTMLPurifier_Config::createDefault();
@@ -43,7 +44,7 @@
//$config->set('HTML', 'Doctype', 'HTML 4.01 Transitional');
$this->purifier = new HTMLPurifier($config);
$this->method = 'purify' ;
- }
+// }
$_POST = $this->purify_recursive( $_POST ) ;
}
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/xoops_version.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/xoops_version.php 2014-06-14 13:32:08 UTC (rev 12592)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/xoops_version.php 2014-06-14 16:04:02 UTC (rev 12593)
@@ -1,141 +1,141 @@
<?php
// start hack by Trabis
-if (!class_exists('ProtectorRegistry')) exit('Registry not found');
+if (!class_exists('ProtectorRegistry')) {
+ exit('Registry not found');
+}
-$registry =& ProtectorRegistry::getInstance();
-$mydirname = $registry->getEntry('mydirname');
-$mydirpath = $registry->getEntry('mydirpath');
-$language = $registry->getEntry('language');
+$registry =& ProtectorRegistry::getInstance();
+$mydirname = $registry->getEntry('mydirname');
+$mydirpath = $registry->getEntry('mydirpath');
+$language = $registry->getEntry('language');
// end hack by Trabis
-if( file_exists( dirname(__FILE__).'/language/'.$language.'/modinfo.php' ) ) {
- include dirname(__FILE__).'/language/'.$language.'/modinfo.php' ;
-} else if( file_exists( dirname(__FILE__).'/language/english/modinfo.php' ) ) {
- include dirname(__FILE__).'/language/english/modinfo.php' ;
+if (file_exists(dirname(__FILE__) . '/language/' . $language . '/modinfo.php')) {
+ include dirname(__FILE__) . '/language/' . $language . '/modinfo.php';
+} else {
+ if (file_exists(dirname(__FILE__) . '/language/english/modinfo.php')) {
+ include dirname(__FILE__) . '/language/english/modinfo.php';
+ }
}
-$constpref = '_MI_' . strtoupper( $mydirname ) ;
+$constpref = '_MI_' . strtoupper($mydirname);
// end hack
-$modversion['name'] = constant($constpref.'_NAME') ;
-$modversion['description'] = constant($constpref.'_DESC') ;
-$modversion['version'] = file_get_contents( dirname(__FILE__).'/include/version.txt' ) ;
-$modversion['credits'] = "PEAK Corp." ;
-$modversion['author'] = "GIJ=CHECKMATE<br />PEAK Corp.(http://www.peak.ne.jp/)" ;
-$modversion['help'] = 'page=help';
-$modversion['license'] = 'GNU GPL 2.0';
-$modversion['license_url'] = "www.gnu.org/licenses/gpl-2.0.html/";
-$modversion['official'] = 1 ;
-$modversion['image'] = file_exists( $mydirpath.'/module_icon.png' ) ? 'module_icon.png' : 'module_icon.php' ;
-$modversion['iconbig'] = 'module_icon.php?file=iconbig' ;
-$modversion['iconsmall'] = 'module_icon.php?file=iconsmall' ;
-$modversion['dirname'] = $mydirname ;
+$modversion['name'] = constant($constpref . '_NAME');
+$modversion['description'] = constant($constpref . '_DESC');
+$modversion['version'] = file_get_contents(dirname(__FILE__) . '/include/version.txt');
+$modversion['credits'] = "PEAK Corp.";
+$modversion['author'] = "GIJ=CHECKMATE<br />PEAK Corp.(http://www.peak.ne.jp/)";
+$modversion['help'] = 'page=help';
+$modversion['license'] = 'GNU GPL 2.0';
+$modversion['license_url'] = "www.gnu.org/licenses/gpl-2.0.html/";
+$modversion['official'] = 1;
+$modversion['image'] = file_exists($mydirpath . '/module_icon.png') ? 'module_icon.png' : 'module_icon.php';
+$modversion['iconbig'] = 'module_icon.php?file=iconbig';
+$modversion['iconsmall'] = 'module_icon.php?file=iconsmall';
+$modversion['dirname'] = $mydirname;
$modversion['dirmoduleadmin'] = 'Frameworks/moduleclasses';
-$modversion['icons16'] = 'Frameworks/moduleclasses/icons/16';
-$modversion['icons32'] = 'Frameworks/moduleclasses/icons/32';
+$modversion['icons16'] = 'Frameworks/moduleclasses/icons/16';
+$modversion['icons32'] = 'Frameworks/moduleclasses/icons/32';
//about
-$modversion['release_date'] = '2014/02/05';
-$modversion["module_website_url"] = "http://www.xoops.org/";
+$modversion["module_status"] = "Final";
+$modversion['release_date'] = '2014/06/14';
+$modversion["module_website_url"] = "http://www.xoops.org/";
$modversion["module_website_name"] = "XOOPS";
-$modversion["module_status"] = "RC 2";
-$modversion['min_php']='5.3.7';
-$modversion['min_xoops']="2.5.7";
-// start hack by Mage
-// Admin menu
-// Set to 1 if you want to display menu generated by system module
-$modversion['system_menu'] = 1 ;
-// end hack by Mage
+$modversion['min_php'] = '5.3.7';
+$modversion['min_xoops'] = "2.5.7";
// Any tables can't be touched by modulesadmin.
-$modversion['sqlfile'] = false ;
-$modversion['tables'] = array() ;
+$modversion['sqlfile'] = false;
+$modversion['tables'] = array();
// Admin things
-$modversion['hasAdmin'] = 1;
+$modversion['hasAdmin'] = 1;
+$modversion['system_menu'] = 1;
$modversion['adminindex'] = "admin/index.php";
-$modversion['adminmenu'] = "admin/admin_menu.php";
+$modversion['adminmenu'] = "admin/admin_menu.php";
// Templates
// Blocks
-$modversion['blocks'] = array() ;
+$modversion['blocks'] = array();
// Menu
$modversion['hasMain'] = 0;
// Config
$modversion['config'][1] = array(
- 'name' => 'global_disabled' ,
- 'title' => $constpref.'_GLOBAL_DISBL' ,
- 'description' => $constpref.'_GLOBAL_DISBLDSC' ,
- 'formtype' => 'yesno' ,
- 'valuetype' => 'int' ,
- 'default' => "0" ,
- 'options' => array()
-) ;
-$modversion['config'][] = array(
- 'name' => 'default_lang' ,
- 'title' => $constpref.'_DEFAULT_LANG' ,
- 'description' => $constpref.'_DEFAULT_LANGDSC' ,
- 'formtype' => 'text' ,
- 'valuetype' => 'text' ,
- 'default' => @$GLOBALS['xoopsConfig']['language'] ,
- 'options' => array()
-) ;
-$modversion['config'][] = array(
- 'name' => 'log_level' ,
- 'title' => $constpref.'_LOG_LEVEL' ,
- 'description' => '' ,
- 'formtype' => 'select' ,
- 'valuetype' => 'int' ,
- 'default' => 255 ,
- 'options' => array( $constpref.'_LOGLEVEL0' => 0 , $constpref.'_LOGLEVEL15' => 15 , $constpref.'_LOGLEVEL63' => 63 , $constpref.'_LOGLEVEL255' => 255 )
-) ;
-$modversion['config'][] = array(
- 'name' => 'banip_time0' ,
- 'title' => $constpref.'_BANIP_TIME0' ,
- 'description' => '' ,
- 'formtype' => 'text' ,
- 'valuetype' => 'int' ,
- 'default' => 86400 ,
- 'options' => array()
-) ;
-$modversion['config'][] = array(
- 'name' => 'reliable_ips' ,
- 'title' => $constpref.'_RELIABLE_IPS' ,
- 'description' => $constpref.'_RELIABLE_IPSDSC' ,
- 'formtype' => 'textarea' ,
- 'valuetype' => 'array' ,
- 'default' => "^192.168.|127.0.0.1" ,
- 'options' => array()
-) ;
-$modversion['config'][] = array(
- 'name' => 'session_fixed_topbit' ,
- 'title' => $constpref.'_HIJACK_TOPBIT' ,
- 'description' => $constpref.'_HIJACK_TOPBITDSC' ,
- 'formtype' => 'text' ,
- 'valuetype' => 'int' ,
- 'default' => 24 ,
- 'options' => array()
-) ;
-$modversion['config'][] = array(
- 'name' => 'groups_denyipmove' ,
- 'title' => $constpref.'_HIJACK_DENYGP' ,
- 'description' => $constpref.'_HIJACK_DENYGPDSC' ,
- 'formtype' => 'group_multi' ,
- 'valuetype' => 'array' ,
- 'default' => array(1) ,
- 'options' => array()
-) ;
-$modversion['config'][] = array(
- 'name' => 'san_nullbyte' ,
- 'title' => $constpref.'_SAN_NULLBYTE' ,
- 'description' => $constpref.'_SAN_NULLBYTEDSC' ,
- 'formtype' => 'yesno' ,
- 'valuetype' => 'int' ,
- 'default' => "1" ,
- 'options' => array()
-) ;
+ 'name' => 'global_disabled',
+ 'title' => $constpref . '_GLOBAL_DISBL',
+ 'description' => $constpref . '_GLOBAL_DISBLDSC',
+ 'formtype' => 'yesno',
+ 'valuetype' => 'int',
+ 'default' => "0",
+ 'options' => arr...
[truncated message content] |