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: <be...@us...> - 2012-12-19 10:35:13
|
Revision: 10472 http://sourceforge.net/p/xoops/svn/10472 Author: beckmi Date: 2012-12-19 10:35:10 +0000 (Wed, 19 Dec 2012) Log Message: ----------- Updating to 1.02 Final (URL is not required anymore (mjoel)) Modified Paths: -------------- XoopsModules/mastop_go2/trunk/mastop_go2/sql/mysql.sql XoopsModules/mastop_go2/trunk/mastop_go2/xoops_version.php Modified: XoopsModules/mastop_go2/trunk/mastop_go2/sql/mysql.sql =================================================================== --- XoopsModules/mastop_go2/trunk/mastop_go2/sql/mysql.sql 2012-12-19 10:31:08 UTC (rev 10471) +++ XoopsModules/mastop_go2/trunk/mastop_go2/sql/mysql.sql 2012-12-19 10:35:10 UTC (rev 10472) @@ -18,4 +18,4 @@ ) ENGINE=MyISAM; -INSERT INTO `mgo_sec_section` VALUES (1, 'Geral'); \ No newline at end of file +INSERT INTO `mgo_sec_section` VALUES (1, 'General'); \ No newline at end of file Modified: XoopsModules/mastop_go2/trunk/mastop_go2/xoops_version.php =================================================================== --- XoopsModules/mastop_go2/trunk/mastop_go2/xoops_version.php 2012-12-19 10:31:08 UTC (rev 10471) +++ XoopsModules/mastop_go2/trunk/mastop_go2/xoops_version.php 2012-12-19 10:35:10 UTC (rev 10472) @@ -14,7 +14,7 @@ include_once XOOPS_ROOT_PATH . "/modules/" . MGO_MOD_DIR . "/include/funcoes.inc.php"; // Dados do M\xF3dulo $modversion['name'] = MGO_MOD_NOME; -$modversion['version'] = 1.01; +$modversion['version'] = 1.02; $modversion['author'] = 'Fernando Santos (aka topet05)'; $modversion['description'] = MGO_MOD_DESC; $modversion['credits'] = "Mastop InfoDigital - www.mastop.com.br"; |
From: <be...@us...> - 2012-12-19 10:31:11
|
Revision: 10471 http://sourceforge.net/p/xoops/svn/10471 Author: beckmi Date: 2012-12-19 10:31:08 +0000 (Wed, 19 Dec 2012) Log Message: ----------- Updating to 1.02 Final (URL is not required anymore (mjoel)) Modified Paths: -------------- XoopsModules/mastop_go2/trunk/mastop_go2/class/mgo_go2_go2.class.php XoopsModules/mastop_go2/trunk/mastop_go2/docs/changelog.txt XoopsModules/mastop_go2/trunk/mastop_go2/include/go2.form.inc.php Modified: XoopsModules/mastop_go2/trunk/mastop_go2/class/mgo_go2_go2.class.php =================================================================== --- XoopsModules/mastop_go2/trunk/mastop_go2/class/mgo_go2_go2.class.php 2012-12-19 05:19:40 UTC (rev 10470) +++ XoopsModules/mastop_go2/trunk/mastop_go2/class/mgo_go2_go2.class.php 2012-12-19 10:31:08 UTC (rev 10471) @@ -54,7 +54,12 @@ } function pegaLink($imagem = false, $html = true){ if (!$html) { + if ($this->getVar("go2_30_link") == '') { + } + else + { return XOOPS_URL."/modules/".MGO_MOD_DIR."/go2.php?tac=".$this->getVar($this->id); + } }else{ if (!$imagem) { if ($this->getVar("go2_11_target") == 0) { Modified: XoopsModules/mastop_go2/trunk/mastop_go2/docs/changelog.txt =================================================================== --- XoopsModules/mastop_go2/trunk/mastop_go2/docs/changelog.txt 2012-12-19 05:19:40 UTC (rev 10470) +++ XoopsModules/mastop_go2/trunk/mastop_go2/docs/changelog.txt 2012-12-19 10:31:08 UTC (rev 10471) @@ -1,8 +1,12 @@ -1.01 (Mamba) 2012/12/17 +1.02 Final 2012-12-19 ================================= -- updated to XOOPS 2.5.x GUI -- replaced action text with icons +- URL is not required anymore (mjoel) -1.00 (topet05) 2007/05/01 +1.01 Final 2012-12-17 ================================= -- First Release \ No newline at end of file +- updated to XOOPS 2.5.x GUI (mamba) +- replaced action text with icons (mamba) + +1.00 2007-05-01 +================================= +- First Release (topet05) \ No newline at end of file Modified: XoopsModules/mastop_go2/trunk/mastop_go2/include/go2.form.inc.php =================================================================== --- XoopsModules/mastop_go2/trunk/mastop_go2/include/go2.form.inc.php 2012-12-19 05:19:40 UTC (rev 10470) +++ XoopsModules/mastop_go2/trunk/mastop_go2/include/go2.form.inc.php 2012-12-19 10:31:08 UTC (rev 10471) @@ -13,17 +13,17 @@ ### ============================================================= include_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php'; include_once XOOPS_ROOT_PATH . "/modules/" . MGO_MOD_DIR . "/class/formimage.php"; -$go2_form = new XoopsThemeForm($form['titulo'], 'go2form', 'go2.php', 'post', true); +$go2_form = new XoopsThemeForm($form['titulo'], 'go2form', 'go2.php', 'post', TRUE); $imagem_select = new MastopFormSelectImage(MGO_ADM_IMAGEM, "go2_30_imagem", $go2_classe->getVar("go2_30_imagem"), (( is_array($xoopsModuleConfig['mgo_des_img']) - && $xoopsModuleConfig['mgo_des_img'][0] != "") ? $xoopsModuleConfig['mgo_des_img'] : null)); + && $xoopsModuleConfig['mgo_des_img'][0] != "") ? $xoopsModuleConfig['mgo_des_img'] : NULL)); $go2_form->addElement($imagem_select); $section_select = new XoopsFormSelect(MGO_ADM_SECTION, "sec_10_id", (($go2_classe->getVar("go2_10_id") != "") ? $go2_classe->getVar("sec_10_id") : ((!empty($_REQUEST['sec_10_id'])) ? $_REQUEST['sec_10_id'] : 0))); $section_select->addOptionArray($sec_select); $go2_form->addElement($section_select); -$go2_form->addElement(new XoopsFormText(MGO_ADM_GO2_30_NOME, "go2_30_nome", 30, 100, $go2_classe->getVar("go2_30_nome")), true); -$go2_form->addElement(new XoopsFormText(MGO_ADM_GO2_30_LINK, "go2_30_link", 30, 150, $go2_classe->getVar("go2_30_link")), true); +$go2_form->addElement(new XoopsFormText(MGO_ADM_GO2_30_NOME, "go2_30_nome", 30, 100, $go2_classe->getVar("go2_30_nome")), TRUE); +$go2_form->addElement(new XoopsFormText(MGO_ADM_GO2_30_LINK, "go2_30_link", 30, 150, $go2_classe->getVar("go2_30_link")), FALSE); $link_select = new XoopsFormSelect(MGO_ADM_GO2_11_TARGET, "go2_11_target", $go2_classe->getVar("go2_11_target")); $link_select->addOptionArray(array(0 => MGO_ADM_GO2_11_TARGET_0, 1 => MGO_ADM_GO2_11_TARGET_1)); $go2_form->addElement($link_select); @@ -43,7 +43,7 @@ $go2_form->addElement(new XoopsFormHidden('go2_10_id', $go2_classe->getVar("go2_10_id"))); $go2_form->addElement(new XoopsFormHidden('op', "salvar")); -$go2botoes_tray = new XoopsFormElementTray("", " "); +$go2botoes_tray = new XoopsFormElementTray("", " "); $go2botao_cancel = new XoopsFormButton("", "cancelar", _CANCEL); $go2botoes_tray->addElement(new XoopsFormButton("", "submit", _SUBMIT, "submit")); $go2botao_cancel->setExtra("onclick=\"history.go(-1);\""); |
From: <be...@us...> - 2012-12-19 05:19:43
|
Revision: 10470 http://sourceforge.net/p/xoops/svn/10470 Author: beckmi Date: 2012-12-19 05:19:40 +0000 (Wed, 19 Dec 2012) Log Message: ----------- Updating to 1.60 Final Modified Paths: -------------- XoopsModules/soapbox/trunk/soapbox/admin/admin.php XoopsModules/soapbox/trunk/soapbox/admin/article.php XoopsModules/soapbox/trunk/soapbox/admin/column.php XoopsModules/soapbox/trunk/soapbox/admin/index.php XoopsModules/soapbox/trunk/soapbox/admin/menu.php XoopsModules/soapbox/trunk/soapbox/admin/submissions.php XoopsModules/soapbox/trunk/soapbox/blocks/columns_spot.php XoopsModules/soapbox/trunk/soapbox/class/sbarticles.php XoopsModules/soapbox/trunk/soapbox/docs/changelog.txt XoopsModules/soapbox/trunk/soapbox/include/functions.php XoopsModules/soapbox/trunk/soapbox/include/preferences.inc.php XoopsModules/soapbox/trunk/soapbox/include/updateblock.inc.php XoopsModules/soapbox/trunk/soapbox/xoops_version.php Removed Paths: ------------- XoopsModules/soapbox/trunk/soapbox/admin/mymenu.php Modified: XoopsModules/soapbox/trunk/soapbox/admin/admin.php =================================================================== --- XoopsModules/soapbox/trunk/soapbox/admin/admin.php 2012-12-19 02:14:56 UTC (rev 10469) +++ XoopsModules/soapbox/trunk/soapbox/admin/admin.php 2012-12-19 05:19:40 UTC (rev 10470) @@ -41,7 +41,7 @@ // include "../../mainfile.php"; GIJ include XOOPS_ROOT_PATH."/include/cp_functions.php"; -include_once XOOPS_ROOT_PATH."/class/xoopsmodule.php"; +include_once XOOPS_ROOT_PATH."/kernel/module.php"; include_once "../include/gtickets.php" ;// GIJ $admintest = 0; Modified: XoopsModules/soapbox/trunk/soapbox/admin/article.php =================================================================== --- XoopsModules/soapbox/trunk/soapbox/admin/article.php 2012-12-19 02:14:56 UTC (rev 10469) +++ XoopsModules/soapbox/trunk/soapbox/admin/article.php 2012-12-19 05:19:40 UTC (rev 10470) @@ -284,7 +284,7 @@ { case "mod": xoops_cp_header(); - //echo $indexAdmin->addNavigation('article.php'); + echo $indexAdmin->addNavigation('article.php'); $articleID = isset( $_POST['articleID'] ) ? intval( $_POST['articleID'] ) : intval( $_GET['articleID'] ); editarticle($articleID); break; @@ -414,6 +414,7 @@ if ($_entryob->_isNew) { if (!$_entrydata_handler->insertArticle($_entryob)) { xoops_cp_header(); + echo $indexAdmin->addNavigation('article.php'); print_r($_entryob->getErrors()) ; xoops_cp_footer(); exit(); @@ -478,7 +479,7 @@ } $headline = $myts->htmlSpecialChars($_entryob->getVar('headline') ) ; xoops_cp_header(); - //echo $indexAdmin->addNavigation('article.php'); + echo $indexAdmin->addNavigation('article.php'); xoops_confirm( array( 'op' => 'del', 'articleID' => $articleID, 'confirm' => 1, 'headline' => $headline ) + $xoopsGTicket->getTicketArray( __LINE__ ) , 'article.php', _AM_SB_DELETETHISARTICLE . "<br /><br>" . $headline, _AM_SB_DELETE ); xoops_cp_footer(); Modified: XoopsModules/soapbox/trunk/soapbox/admin/column.php =================================================================== --- XoopsModules/soapbox/trunk/soapbox/admin/column.php 2012-12-19 02:14:56 UTC (rev 10469) +++ XoopsModules/soapbox/trunk/soapbox/admin/column.php 2012-12-19 05:19:40 UTC (rev 10470) @@ -255,6 +255,7 @@ if ($_categoryob->_isNew) { if (!$_entrydata_handler->insertColumn($_categoryob)) { xoops_cp_header(); + echo $indexAdmin->addNavigation('column.php'); print_r($_categoryob->getErrors()) ; xoops_cp_footer(); exit(); @@ -324,6 +325,7 @@ } $name = $myts->htmlSpecialChars($_categoryob->getVar('name') ) ; xoops_cp_header(); + echo $indexAdmin->addNavigation('column.php'); xoops_confirm(array('op'=>'del', 'columnID'=>$columnID, 'confirm'=>1, 'name'=>$name) + $xoopsGTicket->getTicketArray( __LINE__ ), 'column.php', _AM_SB_DELETETHISCOL."<br /><br>".$name, _AM_SB_DELETE); xoops_cp_footer(); } Modified: XoopsModules/soapbox/trunk/soapbox/admin/index.php =================================================================== --- XoopsModules/soapbox/trunk/soapbox/admin/index.php 2012-12-19 02:14:56 UTC (rev 10469) +++ XoopsModules/soapbox/trunk/soapbox/admin/index.php 2012-12-19 05:19:40 UTC (rev 10470) @@ -1,26 +1,5 @@ <?php -/** - * **************************************************************************** - * boox - MODULE FOR XOOPS - * Copyright (c) Herv\xE9 Thouzard (http://www.herve-thouzard.com) - * - * You may not change or alter any portion of this comment or credits - * of supporting developers from this source code or any supporting source code - * which is considered copyrighted (c) material of the original comment or credit authors. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * - * @copyright Herv\xE9 Thouzard (http://www.herve-thouzard.com) - * @license http://www.gnu.org/licenses/gpl-2.0.html GNU Public License - * @package boox - * @author Herv\xE9 Thouzard (http://www.herve-thouzard.com) - * - * Version : $Id: - * **************************************************************************** - */ - require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/include/cp_header.php'; include_once dirname(__FILE__) . '/admin_header.php'; Modified: XoopsModules/soapbox/trunk/soapbox/admin/menu.php =================================================================== --- XoopsModules/soapbox/trunk/soapbox/admin/menu.php 2012-12-19 02:14:56 UTC (rev 10469) +++ XoopsModules/soapbox/trunk/soapbox/admin/menu.php 2012-12-19 05:19:40 UTC (rev 10470) @@ -40,15 +40,15 @@ $adminmenu[$i]["link"] = "admin/main.php"; $adminmenu[$i]["icon"] = $pathIcon32 . '/manage.png'; -$i++; -$adminmenu[$i]["title"] = _MI_SB_ADMENU2; -$adminmenu[$i]["link"] = "admin/column.php"; -$adminmenu[$i]["icon"] = $pathIcon32 . '/categoryadd.png'; +//$i++; +//$adminmenu[$i]["title"] = _MI_SB_ADMENU2; +//$adminmenu[$i]["link"] = "admin/column.php"; +//$adminmenu[$i]["icon"] = $pathIcon32 . '/categoryadd.png'; -$i++; -$adminmenu[$i]["title"] = _MI_SB_ADMENU3; -$adminmenu[$i]["link"] = "admin/article.php"; -$adminmenu[$i]["icon"] = $pathIcon32 . '/add.png'; +//$i++; +//$adminmenu[$i]["title"] = _MI_SB_ADMENU3; +//$adminmenu[$i]["link"] = "admin/article.php"; +//$adminmenu[$i]["icon"] = $pathIcon32 . '/add.png'; $i++; $adminmenu[$i]["title"] = _MI_SB_SUBMITS; Deleted: XoopsModules/soapbox/trunk/soapbox/admin/mymenu.php =================================================================== --- XoopsModules/soapbox/trunk/soapbox/admin/mymenu.php 2012-12-19 02:14:56 UTC (rev 10469) +++ XoopsModules/soapbox/trunk/soapbox/admin/mymenu.php 2012-12-19 05:19:40 UTC (rev 10470) @@ -1,66 +0,0 @@ -<?php - -if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ; - -if( ! defined( 'XOOPS_ORETEKI' ) ) { - // Skip for ORETEKI XOOPS - - if( ! isset( $module ) || ! is_object( $module ) ) $module = $xoopsModule ; - else if( ! is_object( $xoopsModule ) ) die( '$xoopsModule is not set' ) ; - - if( file_exists("../language/".$xoopsConfig['language']."/modinfo.php") ) { - include_once("../language/".$xoopsConfig['language']."/modinfo.php"); - } else { - include_once("../language/english/modinfo.php"); - } - - include( './menu.php' ) ; - -// array_push( $adminmenu , array( 'title' => _PREFERENCES , 'link' => '../system/admin.php?fct=preferences&op=showmod&mod=' . $module->getvar('mid') ) ) ; - $menuitem_dirname = $module->getvar('dirname') ; - if( $module->getvar('hasconfig') ) array_push( $adminmenu , array( 'title' => _PREFERENCES , 'link' => 'admin/admin.php?fct=preferences&op=showmod&mod=' . $module->getvar('mid') ) ) ; - - $menuitem_count = 0 ; - $mymenu_uri = empty( $mymenu_fake_uri ) ? $_SERVER['REQUEST_URI'] : $mymenu_fake_uri ; - $mymenu_link = substr( strstr( $mymenu_uri , '/admin/' ) , 1 ) ; - - // hilight - foreach( array_keys( $adminmenu ) as $i ) { - if( $mymenu_link == $adminmenu[$i]['link'] ) { - $adminmenu[$i]['color'] = '#FFCCCC' ; - $adminmenu_hilighted = true ; - } else { - $adminmenu[$i]['color'] = '#DDDDDD' ; - } - } - if( empty( $adminmenu_hilighted ) ) { - foreach( array_keys( $adminmenu ) as $i ) { - if( stristr( $mymenu_uri , $adminmenu[$i]['link'] ) ) { - $adminmenu[$i]['color'] = '#FFCCCC' ; - } - } - } - - - -/* // display - foreach( $adminmenu as $menuitem ) { - echo "<a href='".XOOPS_URL."/modules/$menuitem_dirname/{$menuitem['link']}' style='background-color:{$menuitem['color']};font:normal normal bold 9pt/12pt;'>{$menuitem['title']}</a> \n" ; - - if( ++ $menuitem_count >= 4 ) { - echo "</div>\n<div width='95%' align='center'>\n" ; - $menuitem_count = 0 ; - } - } - echo "</div>\n" ; -*/ - // display - echo "<div style='text-align:left;width:98%;'>" ; - foreach( $adminmenu as $menuitem ) { - echo "<div style='float:left;height:1.5em;'><nobr><a href='".XOOPS_URL."/modules/$menuitem_dirname/{$menuitem['link']}' style='background-color:{$menuitem['color']};font:normal normal bold 9pt/12pt;'>{$menuitem['title']}</a> | </nobr></div>\n" ; - } - echo "</div>\n<hr style='clear:left;display:block;' />\n" ; - -} - -?> \ No newline at end of file Modified: XoopsModules/soapbox/trunk/soapbox/admin/submissions.php =================================================================== --- XoopsModules/soapbox/trunk/soapbox/admin/submissions.php 2012-12-19 02:14:56 UTC (rev 10469) +++ XoopsModules/soapbox/trunk/soapbox/admin/submissions.php 2012-12-19 05:19:40 UTC (rev 10470) @@ -54,8 +54,9 @@ foreach ($entry_vars as $k=>$v) { $e_articles[$k] = $_entryob->getVar($k , 'E') ; } - xoops_cp_header(); - echo $indexAdmin->addNavigation('submissions.php'); + //xoops_cp_header(); + //echo $indexAdmin->addNavigation('submissions.php'); + // Module menu //adminMenu(3, _AM_SB_SUBMITS." > '". $_entryob->getVar('headline') ."'"); @@ -93,9 +94,29 @@ // LEAD // $sform -> addElement( new XoopsFormTextArea( _AM_SB_ARTLEAD, 'lead', $lead, 5, 60 ) ); - $editor_lead=soapbox_getWysiwygForm($xoopsModuleConfig['form_options'] , _AM_SB_ARTLEAD , 'lead' , $e_articles['lead'] , '100%', '200px'); - $sform->addElement($editor_lead,true); +// $editor_lead=soapbox_getWysiwygForm($xoopsModuleConfig['form_options'] , _AM_SB_ARTLEAD , 'lead' , $e_articles['lead'] , '100%', '200px'); +// $sform->addElement($editor_lead,true); + + + $editor_lead = new XoopsFormElementTray(_AM_SB_ARTLEAD, '<br />'); + if (class_exists('XoopsFormEditor')) { + $options['name'] = 'lead'; + $options['value'] = $e_articles['lead']; + $options['rows'] = 5; + $options['cols'] = '100%'; + $options['width'] = '100%'; + $options['height'] = '200px'; + $formmnote = new XoopsFormEditor('', $xoopsModuleConfig['form_options'], $options, $nohtml = FALSE, $onfailure = 'textarea'); + $editor_lead->addElement($formmnote); + } else { + $formmnote = new XoopsFormDhtmlTextArea('', 'formmnote', $item->getVar('formmnote', 'e'), '100%', '100%'); + $editor_lead->addElement($formmnote); + } + $sform->addElement($editor_lead, FALSE); + + + // TEASER $sform -> addElement( new XoopsFormTextArea( _AM_SB_ARTTEASER, 'teaser', $e_articles['teaser'], 10, 120 ) ); // $editor_teaser=soapbox_getWysiwygForm($xoopsModuleConfig['form_options'] , _AM_SB_ARTTEASER ,'teaser', $teaser , '100%', '120px'); @@ -107,19 +128,37 @@ // BODY //HACK by domifara for Wysiwyg - if (isset($xoopsModuleConfig['form_options']) ){ - $editor=soapbox_getWysiwygForm($xoopsModuleConfig['form_options'] , _AM_SB_ARTBODY, 'bodytext', $e_articles['bodytext'], '100%', '400px'); - $sform->addElement($editor,true); - } else { - $sform -> addElement( new XoopsFormDhtmlTextArea( _AM_SB_ARTBODY, 'bodytext', $e_articles['bodytext'], 20, 120 ) ); - } +// if (isset($xoopsModuleConfig['form_options']) ){ +// $editor=soapbox_getWysiwygForm($xoopsModuleConfig['form_options'] , _AM_SB_ARTBODY, 'bodytext', $e_articles['bodytext'], '100%', '400px'); +// $sform->addElement($editor,true); +// } else { +// $sform -> addElement( new XoopsFormDhtmlTextArea( _AM_SB_ARTBODY, 'bodytext', $e_articles['bodytext'], 20, 120 ) ); +// } + $optionsTrayNote = new XoopsFormElementTray(_AM_SB_ARTBODY, '<br />'); + if (class_exists('XoopsFormEditor')) { + $options['name'] = 'bodytext'; + $options['value'] = $e_articles['bodytext']; + $options['rows'] = 5; + $options['cols'] = '100%'; + $options['width'] = '100%'; + $options['height'] = '400px'; + $bodynote = new XoopsFormEditor('', $xoopsModuleConfig['form_options'], $options, $nohtml = FALSE, $onfailure = 'textarea'); + $optionsTrayNote->addElement($bodynote); + } else { + $bodynote = new XoopsFormDhtmlTextArea('', 'formmnote', $item->getVar('formmnote', 'e'), '100%', '100%'); + $optionsTrayNote->addElement($bodynote); + } + $sform->addElement($optionsTrayNote, FALSE); + // IMAGE // The article CAN have its own image :) // First, if the article's image doesn't exist, set its value to the blank file - if (!file_exists(XOOPS_ROOT_PATH . "/" . $myts->htmlSpecialChars($xoopsModuleConfig['sbuploaddir']) . "/" . $e_articles['artimage']) || empty($e_articles['artimage']) ) { - $artimage = "blank.png"; - } + + if (!file_exists(XOOPS_ROOT_PATH . "/" . $myts->htmlSpecialChars($xoopsModuleConfig['sbuploaddir']) . "/" . $e_articles['artimage']) || empty($e_articles['artimage']) ) { + $artimage = "blank.png"; + } + // Code to create the image selector $graph_array = & XoopsLists :: getImgListAsArray( XOOPS_ROOT_PATH . "/" . $myts->htmlSpecialChars($xoopsModuleConfig['sbuploaddir']) ); $artimage_select = new XoopsFormSelect( '', 'artimage', $e_articles['artimage'] ); @@ -220,7 +259,8 @@ case "mod": include_once XOOPS_ROOT_PATH . "/class/xoopslists.php"; include_once XOOPS_ROOT_PATH . "/class/xoopsformloader.php"; - //xoops_cp_header(); + xoops_cp_header(); + echo $indexAdmin->addNavigation('submissions.php'); $articleID = ( isset( $_POST['articleID'] ) ) ? intval($_POST['articleID']) : intval($_GET['articleID']); editarticle( $articleID ); showSubmissions(); @@ -340,7 +380,7 @@ redirect_header( "index.php", 1, _NOPERM ); exit(); } - // + //------------- if (!$_entrydata_handler->deleteArticle($_entryob) ){ trigger_error ("ERROR:not deleted from database") ; exit() ; Modified: XoopsModules/soapbox/trunk/soapbox/blocks/columns_spot.php =================================================================== --- XoopsModules/soapbox/trunk/soapbox/blocks/columns_spot.php 2012-12-19 02:14:56 UTC (rev 10469) +++ XoopsModules/soapbox/trunk/soapbox/blocks/columns_spot.php 2012-12-19 05:19:40 UTC (rev 10470) @@ -151,7 +151,7 @@ false) ; $_outdata_arr['totalarts'] = $_entrydata_handler->total_getArticlesAllPermcheck; //---------------------------- - xoops_load('XoopsUserUtility'); + //xoops_load('XoopsUserUtility'); $i = 1; foreach ($_entryob_arr as $key => $_entryob){ // get vars initialize Modified: XoopsModules/soapbox/trunk/soapbox/class/sbarticles.php =================================================================== --- XoopsModules/soapbox/trunk/soapbox/class/sbarticles.php 2012-12-19 02:14:56 UTC (rev 10469) +++ XoopsModules/soapbox/trunk/soapbox/class/sbarticles.php 2012-12-19 05:19:40 UTC (rev 10470) @@ -41,8 +41,8 @@ $this->initVar('articleID', XOBJ_DTYPE_INT, 0, false); $this->initVar('columnID', XOBJ_DTYPE_INT, 0, false); $this->initVar('headline', XOBJ_DTYPE_TXTBOX, "", false, 255); - $this->initVar('lead', XOBJ_DTYPE_TXTAREA, "", false); - $this->initVar('bodytext', XOBJ_DTYPE_TXTAREA, "", false); + $this->initVar('lead', XOBJ_DTYPE_OTHER, "", false); + $this->initVar('bodytext', XOBJ_DTYPE_OTHER, "", false); $this->initVar('teaser', XOBJ_DTYPE_TXTAREA, "", false); $this->initVar('uid', XOBJ_DTYPE_INT, 0, false); $this->initVar('submit', XOBJ_DTYPE_INT, 1, false); Modified: XoopsModules/soapbox/trunk/soapbox/docs/changelog.txt =================================================================== --- XoopsModules/soapbox/trunk/soapbox/docs/changelog.txt 2012-12-19 02:14:56 UTC (rev 10469) +++ XoopsModules/soapbox/trunk/soapbox/docs/changelog.txt 2012-12-19 05:19:40 UTC (rev 10470) @@ -1,5 +1,5 @@ ============================ -Version 1.60 2011/06/30: +Version 1.60 2012-12-18: ============================ - Conversion to XOOPS 2.5.0 GUI (mamba) - converting to dynamic Editor selection (mamba) Modified: XoopsModules/soapbox/trunk/soapbox/include/functions.php =================================================================== --- XoopsModules/soapbox/trunk/soapbox/include/functions.php 2012-12-19 02:14:56 UTC (rev 10469) +++ XoopsModules/soapbox/trunk/soapbox/include/functions.php 2012-12-19 05:19:40 UTC (rev 10470) @@ -210,127 +210,6 @@ //------------------------------------- } -function adminMenu($currentoption = 0, $breadcrumb = '') { - /* Nice button styles */ - ?> - -<style type="text/css"> - #buttontop { - float: left; - width: 100%; - background: #e7e7e7; - font-size: 93%; - line-height: normal; - border-top: 1px solid black; - border-left: 1px solid black; - border-right: 1px solid black; - margin: 0; - } - - #buttonbar { - float: left; - width: 100%; - background: #e7e7e7 url("../images/bg.gif") repeat-x left bottom; - font-size: 93%; - line-height: normal; - border-left: 1px solid black; - border-right: 1px solid black; - margin-bottom: 12px; - } - - #buttonbar ul { - margin: 0; - margin-top: 15px; - padding: 10px 10px 0; - list-style: none; - } - - #buttonbar li { - display: inline; - margin: 0; - padding: 0; - } - - #buttonbar a { - float: left; - background: url("../images/left_both.gif") no-repeat left top; - margin: 0; - padding: 0 0 0 9px; - border-bottom: 1px solid #000; - text-decoration: none; - } - - #buttonbar a span { - float: left; - display: block; - background: url("../images/right_both.gif") no-repeat right top; - padding: 5px 15px 4px 6px; - font-weight: bold; - color: #765; - } - - /* Commented Backslash Hack hides rule from IE5-Mac \*/ - #buttonbar a span { - float: none; - } - - /* End IE5-Mac hack */ - #buttonbar a:hover span { - color: #333; - } - - #buttonbar #current a { - background-position: 0 -150px; - border-width: 0; - } - - #buttonbar #current a span { - background-position: 100% -150px; - padding-bottom: 5px; - color: #333; - } - - #buttonbar a:hover { - background-position: 0% -150px; - } - - #buttonbar a:hover span { - background-position: 100% -150px; - } -</style> - -<?php - global $xoopsModule; - $myts =& MyTextSanitizer::getInstance(); - $tblCol = Array(); - $tblCol[0] = $tblCol[1] = $tblCol[2] = $tblCol[3] = $tblCol[4] = $tblCol[5] = ''; - $tblCol[$currentoption] = 'current'; - - echo "<div id='buttontop'>"; - echo "<table style=\"width: 100%; padding: 0; \" cellspacing=\"0\"><tr>"; - echo - "<td style=\"width: 45%; font-size: 10px; text-align: left; color: #2F5376; padding: 0 6px; line-height: 18px;\"><a class=\"nobutton\" href=\"../../system/admin.php?fct=preferences&op=showmod&mod=" - . $xoopsModule->getVar('mid') . "\">" . _AM_SB_OPTS . "</a> | <a href=\"../index.php\">" . _AM_SB_GOMOD - . "</a> | <a href=\"../help/index.html\" target=\"_blank\">" . _AM_SB_HELP . "</a> | <a href=\"about.php\">" - . _AM_SB_ABOUT . "</a></td>"; - echo - "<td style=\"width: 55%; font-size: 10px; text-align: right; color: #2F5376; padding: 0 6px; line-height: 18px;\"><b>" - . $myts->htmlSpecialChars($xoopsModule->name()) . _AM_SB_MODADMIN . "</b> " - . $myts->htmlSpecialChars($breadcrumb) . "</td>"; - echo "</tr></table>"; - echo "</div>"; - - echo "<div id='buttonbar'>"; - echo "<ul>"; - echo "<li id='" . $tblCol[0] . "'><a href=\"index.php\"><span>" . _AM_SB_INDEX . "</span></a></li>"; - echo "<li id='" . $tblCol[1] . "'><a href=\"column.php\"><span>" . _AM_SB_COLS . "</span></a></li>"; - echo "<li id='" . $tblCol[2] . "'><a href=\"article.php\"><span>" . _AM_SB_ARTS . "</span></a></li>"; - echo "<li id='" . $tblCol[3] . "'><a href=\"submissions.php\"><span>" . _AM_SB_SUBMITS . "</span></a></li>"; - echo "<li id='" . $tblCol[4] . "'><a href=\"permissions.php\"><span>" . _AM_SB_PERMS . "</span></a></li>"; - echo "<li id='" . $tblCol[5] . "'><a href=\"myblocksadmin.php\"><span>" . _AM_SB_BLOCKS . "</span></a></li>"; - echo "</ul></div>"; -} - function showColumns($showCreate = 0) { global $xoopsGTicket, $pathIcon16; global $xoopsModuleConfig, $xoopsModule; @@ -367,19 +246,21 @@ } echo "<table width='100%' cellspacing='1' cellpadding='3' border='0' class='outer'>"; echo "<tr>"; - echo "<td width='40' class='bg3' align='center'><b>" . _AM_SB_ID . "</b></td>"; - echo "<td class='bg3' align='center'><b>" . _AM_SB_WEIGHT . "</b></td>"; - echo "<td class='bg3' align='left'><b>" . _AM_SB_AUTHOR . "</b></td>"; - echo "<td width='20%' class='bg3' align='left'><b>" . _AM_SB_ARTCOLNAME . "</b></td>"; - echo "<td class='bg3' align='left'><b>" . _AM_SB_DESCRIP . "</b></td>"; - echo "<td width='60' class='bg3' align='center'><b>" . _AM_SB_ACTION . "</b></td>"; + echo '<th class="txtcenter"><b>'._AM_SB_ID.'</b></td>'; + echo '<th class="txtcenter"><b>'._AM_SB_WEIGHT.'</b></td>'; + echo '<th class="txtcenter"><b>'._AM_SB_AUTHOR.'</b></td>'; + echo '<th class="txtcenter"><b>'._AM_SB_ARTCOLNAME.'</b></td>'; + echo '<th class="txtcenter"><b>'._AM_SB_DESCRIP.'</b></td>'; + echo '<th class="txtcenter"><b>'._AM_SB_ACTION.'</b></td>'; echo "</tr>"; if ($numrows > 0) { // That is, if there ARE columns in the system //---------------------------- + $cont=0; foreach ($_categoryob_arr as $_categoryob) { //---------------------------- //get vars + $cont++; $category = $_categoryob->toArray(); //all assign $category_vars = $_categoryob->getVars(); foreach ($category_vars as $k=> $v) { @@ -388,21 +269,16 @@ //---------------------------- $author = getLinkedUnameFromId($author, 0); - $modify - = "<a href='column.php?op=mod&columnID=" . $category['columnID'] . "'><img src='" . $pathIcon16 - . "/edit.png' ALT='" . _AM_SB_EDITCOL . "'></a>"; - $delete - = "<a href='column.php?op=del&columnID=" . $category['columnID'] . "'><img src='" . $pathIcon16 - . "/delete.png' ALT='" . _AM_SB_DELETECOL . "'></a>"; - - echo "<tr>"; - echo "<td class='head' align='center'>" . $category['columnID'] . "</td>"; - echo"<td class='even' align='center'><input type='text' name='columnweight[" . $category['columnID'] - . "]' value='$weight' size='3' maxlength='3' style='text-align: center;'></td>"; - echo "<td class='even' align='left'>" . $category['author'] . "</td>"; - echo "<td class='even' align='left'>" . $category['name'] . "</td>"; - echo "<td class='even' align='left'>" . $category['description'] . "</td>"; - echo "<td class='even' align='center'> $modify $delete </td>"; + $modify = "<a href='column.php?op=mod&columnID=" . $category['columnID'] . "'><img src='" . $pathIcon16 . "/edit.png' ALT='" . _AM_SB_EDITCOL . "'></a>"; + $delete = "<a href='column.php?op=del&columnID=" . $category['columnID'] . "'><img src='" . $pathIcon16 . "/delete.png' ALT='" . _AM_SB_DELETECOL . "'></a>"; + $style=(($cont%2)==0)?"even":"odd"; + echo '<tr class="'.$style.'">'; + echo '<td class="txtcenter">'.$category['columnID'].'</td>'; + echo '<td class="txtcenter"><input type="text" name="columnweight[' . $category['columnID'] . ']" value="'.$weight.'" size="3" maxlength="3" style="text-align: center;"></td>'; + echo '<td class="txtcenter">'. $category['author'] .'</td>'; + echo '<td class="txtcenter">'. $category['name'] .'</td>'; + echo '<td class="txtcenter">'. $category['description'] .'</td>'; + echo '<td class="txtcenter">'. $modify." ". $delete. '</td>'; echo "</tr>"; } } else { // that is, $numrows = 0, there's no columns yet @@ -412,8 +288,7 @@ $category['columnID'] = '0'; } echo "</table>\n"; - $pagenav = new XoopsPageNav($numrows, intval($xoopsModuleConfig['perpage']), $startcol, 'startcol', - 'columnID=' . $category['columnID']); + $pagenav = new XoopsPageNav($numrows, intval($xoopsModuleConfig['perpage']), $startcol, 'startcol', 'columnID=' . $category['columnID']); echo '<div style="text-align:right;">' . $pagenav->renderNav() . '</div>'; echo "<br />\n"; @@ -422,8 +297,7 @@ //-------------------- echo $xoopsGTicket->getTicketHtml(__LINE__); //-------------------- - echo"<div style=\"margin-bottom: 18px;\"><input type=\"submit\" name=\"submit\" class=\"formButton\" value=\"" - . _AM_SB_REORDERCOL . "\" /></div>"; + echo"<div style=\"margin-bottom: 18px;\"><input type=\"submit\" name=\"submit\" class=\"formButton\" value=\"". _AM_SB_REORDERCOL . "\" /></div>"; echo "</form>"; } } @@ -512,6 +386,7 @@ /* Code to show selected articles */ echo"<form name='pick' id='pick' action='" . $myts->htmlSpecialChars(xoops_getenv('PHP_SELF')) . "' method='POST' style='margin: 0;'>"; + ?> <table width='100%' cellspacing='1' cellpadding='2' border='0' style='border-left: 1px solid silver; border-top: 1px solid silver; border-right: 1px solid silver;'> <tr> @@ -548,8 +423,9 @@ </form> <?php + //---------------------------- - // Put column names in an array, to avoid a query in the while loop farther ahead + // Put column names in an array, to avoid a query in the while loop further ahead switch ($entries) { case 1 : $submit = 0; @@ -589,26 +465,28 @@ // Get number of articles in the selected condition ($cond) $numrows = $_entrydata_handler->total_getArticlesAllPermcheck; if ($numrows > 0) { - echo "<form action=\"article.php\" method=\"post\" name=\"reorderarticles\">"; + echo '<form action="article.php" method="post" name="reorderarticles\">'; } echo "<table width='100%' cellspacing='1' cellpadding='3' border='0' class='outer'>"; - echo "<tr>"; - echo "<td width='40' class='bg3' align='center'><b>" . _AM_SB_ARTID . "</b></td>"; - echo "<td width='40' class='bg3' align='center'><b>" . _AM_SB_WEIGHT . "</b></td>"; - echo "<td width='20%' class='bg3' align='left'><b>" . _AM_SB_ARTCOLNAME . "</b></td>"; - echo "<td width='40%' class='bg3' align='left'><b>" . _AM_SB_ARTHEADLINE . "</b></td>"; - echo "<td width='90' class='bg3' align='center'><b>" . _AM_SB_ARTCREATED . "</b></td>"; - echo "<td width='30' class='bg3' align='center'><b>" . _AM_SB_STATUS . "</b></td>"; - echo "<td width='60' class='bg3' align='center'><b>" . _AM_SB_ACTION . "</b></td>"; - echo "</tr>"; + echo '<tr>'; + echo '<th class="txtcenter"><b>'._AM_SB_ARTID.'</b></td>'; + echo '<th class="txtcenter"><b>'._AM_SB_WEIGHT.'</b></td>'; + echo '<th class="txtcenter"><b>'._AM_SB_ARTCOLNAME.'</b></td>'; + echo '<th class="txtcenter"><b>'._AM_SB_ARTHEADLINE.'</b></td>'; + echo '<th class="txtcenter"><b>'._AM_SB_ARTCREATED.'</b></td>'; + echo '<th class="txtcenter"><b>'._AM_SB_STATUS.'</b></td>'; + echo '<th class="txtcenter"><b>'._AM_SB_ACTION.'</b></td>'; + echo '</tr>'; if ($numrows > 0) { // That is, if there ARE articles in the said condition // Retrieve rows for those items $colarray = array(); + $cont=0; foreach ($_entryob_arr as $key=> $_entryob) { //get vars + $cont++; //------------------------------------- $articles = $_entryob->toArray(); //-------------------- @@ -620,10 +498,14 @@ $delete = "<a href='article.php?op=del&articleID=" . $articles['articleID'] . "'><img src='" . $pathIcon16 . "/delete.png' ALT='" . _AM_SB_DELETEART . "'></a>"; - if ($offline == 0) { + + + //if ($offline == 0) { + if ($articles['offline'] == 0) { $status = "<img src='" . $pathIcon16 . "/1.png' alt='" . _AM_SB_ARTISON . "'>"; } else { - if ($offline == 1 && $submit == 0) { + //if ($offline == 1 && $submit == 0) { + if ($articles['offline'] == 1 && $submit == 0) { $status = "<img src='" . $pathIcon16 . "/0.png' alt='" . _AM_SB_ARTISOFF . "'>"; } else { @@ -635,16 +517,21 @@ } } - echo "<tr>"; - echo "<td class='head' align='center'>" . $articles['articleID'] . "</td>"; - echo"<td class='even' align='center'><input type='text' name='articleweight[" . $articles['articleID'] - . "]' value='" . $articles['weight'] . "' size='3' maxlength='3' style='text-align: center;'></td>"; - echo "<td class='even' align='left'>" . $colname . "</td>"; - echo "<td class='even' align='left'>" . $articles['headline'] . "</td>"; - echo "<td class='even' align='center'>" . $created . "</td>"; - echo "<td class='even' align='center'>" . $status . "</td>"; - echo "<td class='even' align='center'>" . $modify . $delete . "</td>"; - echo "</tr>"; +//mb ---------------------------- +//echo $cont.' - '.$offline.': '.$status.'</br>'; + +$style=(($cont%2)==0)?"even":"odd"; + echo '<tr class="'.$style.'">'; + echo '<td align="center"><a href="'.XOOPS_URL.'/modules/'.$xoopsModule->dirname().'/article.php?articleID='. $articles['articleID'] .'" title="'.$articles['headline'].'" target="_blank">'. $articles['articleID'] .'</a></td>'; + echo '<td class="txtcenter"><input type="text" name="articleweight['.$articles['articleID'].']" value="' . $articles['weight'] .'" size="3" maxlength="3" style="text-align: center;"></td>'; + echo '<td class="txtcenter">'. $colname .'</td>'; + echo '<td>'. $articles['headline'] .'</td>'; + echo '<td class="txtcenter">'. $created .'</td>'; + echo '<td class="txtcenter">'. $status .'</td>'; + echo '<td class="txtcenter">'. $modify . $delete .'</td>'; + echo '</tr>'; + + } } else { // that is, $numrows = 0, there's no columns yet echo "<tr>"; @@ -661,8 +548,7 @@ //-------------------- echo $xoopsGTicket->getTicketHtml(__LINE__); //-------------------- - echo"<div style=\"margin-bottom: 18px;\"><input type=\"submit\" name=\"submit\" class=\"formButton\" value=\"" - . _AM_SB_REORDERART . "\" /></div>"; + echo "<div style=\"margin-bottom: 18px;\"><input type=\"submit\" name=\"submit\" class=\"formButton\" value=\"" . _AM_SB_REORDERART . "\" /></div>"; echo "</form>"; } echo "<br />\n"; @@ -692,8 +578,7 @@ //--------------- /* Code to show submitted articles */ echo "<h3 style='color: #2F5376; margin: 0 0 4px 0;'>" . _AM_SB_SHOWSUBMISSIONS . "</h3>"; - echo"<span style=\"color: #567; margin: 3px 0 12px 0; font-size: small; display: block; \">" . _AM_SB_SUBTEXT - . "</span>"; + echo "<span style=\"color: #567; margin: 3px 0 12px 0; font-size: small; display: block; \">" . _AM_SB_SUBTEXT . "</span>"; echo "<table width='100%' cellspacing=1 cellpadding=3 border=0 class = outer>"; echo "<tr>"; echo "<td width='40' class='bg3' align='center'><b>" . _AM_SB_ARTID . "</b></td>"; @@ -730,14 +615,8 @@ //-------------------- $colname = !empty($_entryob->_sbcolumns) ? $_entryob->_sbcolumns->getVar('name') : ''; $created = $myts->htmlSpecialChars(formatTimestamp($datesub, $xoopsModuleConfig['dateformat'])); - $modify - = - "<a href='submissions.php?op=mod&articleID=" . $articles['articleID'] . "'><img src='" . $pathIcon16 - . "/edit.png' ALT='" . _AM_SB_EDITSUBM . "'></a>"; - $delete - = - "<a href='submissions.php?op=del&articleID=" . $articles['articleID'] . "'><img src='" . $pathIcon16 - . "/delete.png' ALT='" . _AM_SB_DELETESUBM . "'></a>"; + $modify = "<a href='submissions.php?op=mod&articleID=" . $articles['articleID'] . "'><img src='" . $pathIcon16 . "/edit.png' ALT='" . _AM_SB_EDITSUBM . "'></a>"; + $delete = "<a href='submissions.php?op=del&articleID=" . $articles['articleID'] . "'><img src='" . $pathIcon16 . "/delete.png' ALT='" . _AM_SB_DELETESUBM . "'></a>"; echo "<tr>"; echo "<td class='head' align='center'>" . $articles['articleID'] . "</td>"; Modified: XoopsModules/soapbox/trunk/soapbox/include/preferences.inc.php =================================================================== --- XoopsModules/soapbox/trunk/soapbox/include/preferences.inc.php 2012-12-19 02:14:56 UTC (rev 10469) +++ XoopsModules/soapbox/trunk/soapbox/include/preferences.inc.php 2012-12-19 05:19:40 UTC (rev 10470) @@ -40,184 +40,7 @@ if (isset($_GET['confcat_id'])) { $confcat_id = intval($_GET['confcat_id']); } -/* if ($op == 'list') { - $confcat_handler =& xoops_gethandler('configcategory'); - $confcats =& $confcat_handler->getObjects(); - $catcount = count($confcats); - xoops_cp_header(); - echo '<h4 style="text-align:left">'._MD_AM_SITEPREF.'</h4><ul>'; - for ($i = 0; $i < $catcount; $i++) { - echo '<li>'.constant($confcats[$i]->getVar('confcat_name')).' [<a href="admin.php?fct=preferences&op=show&confcat_id='.$confcats[$i]->getVar('confcat_id').'">'._EDIT.'</a>]</li>'; - } - echo '</ul>'; - xoops_cp_footer(); - exit(); - } */ -/* if ($op == 'show') { - if (empty($confcat_id)) { - $confcat_id = 1; - } - $confcat_handler =& xoops_gethandler('configcategory'); - $confcat =& $confcat_handler->get($confcat_id); - if (!is_object($confcat)) { - redirect_header('admin.php?fct=preferences', 1); - } - include_once XOOPS_ROOT_PATH.'/class/xoopsformloader.php'; - include_once XOOPS_ROOT_PATH.'/class/xoopslists.php'; - $form = new XoopsThemeForm(constant($confcat->getVar('confcat_name')), 'pref_form', 'admin.php?fct=preferences'); - $config_handler =& xoops_gethandler('config'); - $criteria = new CriteriaCompo(); - $criteria->add(new Criteria('conf_modid', 0)); - $criteria->add(new Criteria('conf_catid', $confcat_id)); - $config =& $config_handler->getConfigs($criteria); - $confcount = count($config); - for ($i = 0; $i < $confcount; $i++) { - $title = (!defined($config[$i]->getVar('conf_desc')) || constant($config[$i]->getVar('conf_desc')) == '') ? constant($config[$i]->getVar('conf_title')) : constant($config[$i]->getVar('conf_title')).'<br /><br /><span style="font-weight:normal;">'.constant($config[$i]->getVar('conf_desc')).'</span>'; - switch ($config[$i]->getVar('conf_formtype')) { - case 'textarea': - $myts =& MyTextSanitizer::getInstance(); - if ($config[$i]->getVar('conf_valuetype') == 'array') { - // this is exceptional.. only when value type is arrayneed a smarter way for this - $ele = ($config[$i]->getVar('conf_value') != '') ? new XoopsFormTextArea($title, $config[$i]->getVar('conf_name'), $myts->htmlspecialchars(implode('|', $config[$i]->getConfValueForOutput())), 5, 50) : new XoopsFormTextArea($title, $config[$i]->getVar('conf_name'), '', 5, 50); - } else { - $ele = new XoopsFormTextArea($title, $config[$i]->getVar('conf_name'), $myts->htmlspecialchars($config[$i]->getConfValueForOutput()), 5, 50); - } - break; - case 'select': - $ele = new XoopsFormSelect($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput()); - $options =& $config_handler->getConfigOptions(new Criteria('conf_id', $config[$i]->getVar('conf_id'))); - $opcount = count($options); - for ($j = 0; $j < $opcount; $j++) { - $optval = defined($options[$j]->getVar('confop_value')) ? constant($options[$j]->getVar('confop_value')) : $options[$j]->getVar('confop_value'); - $optkey = defined($options[$j]->getVar('confop_name')) ? constant($options[$j]->getVar('confop_name')) : $options[$j]->getVar('confop_name'); - $ele->addOption($optval, $optkey); - } - break; - case 'select_multi': - $ele = new XoopsFormSelect($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput(), 5, true); - $options =& $config_handler->getConfigOptions(new Criteria('conf_id', $config[$i]->getVar('conf_id'))); - $opcount = count($options); - for ($j = 0; $j < $opcount; $j++) { - $optval = defined($options[$j]->getVar('confop_value')) ? constant($options[$j]->getVar('confop_value')) : $options[$j]->getVar('confop_value'); - $optkey = defined($options[$j]->getVar('confop_name')) ? constant($options[$j]->getVar('confop_name')) : $options[$j]->getVar('confop_name'); - $ele->addOption($optval, $optkey); - } - break; - case 'yesno': - $ele = new XoopsFormRadioYN($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput(), _YES, _NO); - break; - case 'theme': - case 'theme_multi': - $ele = ($config[$i]->getVar('conf_formtype') != 'theme_multi') ? new XoopsFormSelect($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput()) : new XoopsFormSelect($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput(), 5, true); - $handle = opendir(XOOPS_THEME_PATH.'/'); - $dirlist = array(); - while (false !== ($file = readdir($handle))) { - if (is_dir(XOOPS_THEME_PATH.'/'.$file) && !preg_match("/^[.]{1,2}$/",$file) && strtolower($file) != 'cvs') { - $dirlist[$file]=$file; - } - } - closedir($handle); - if (!empty($dirlist)) { - asort($dirlist); - $ele->addOptionArray($dirlist); - } - //$themeset_handler =& xoops_gethandler('themeset'); - //$themesetlist =& $themeset_handler->getList(); - //asort($themesetlist); - //foreach ($themesetlist as $key => $name) { - // $ele->addOption($key, $name.' ('._MD_AM_THEMESET.')'); - //} - // old theme value is used to determine whether to update cache or not. kind of dirty way - $form->addElement(new XoopsFormHidden('_old_theme', $config[$i]->getConfValueForOutput())); - break; - case 'tplset': - $ele = new XoopsFormSelect($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput()); - $tplset_handler =& xoops_gethandler('tplset'); - $tplsetlist =& $tplset_handler->getList(); - asort($tplsetlist); - foreach ($tplsetlist as $key => $name) { - $ele->addOption($key, $name); - } - // old theme value is used to determine whether to update cache or not. kind of dirty way - $form->addElement(new XoopsFormHidden('_old_theme', $config[$i]->getConfValueForOutput())); - break; - case 'timezone': - $ele = new XoopsFormSelectTimezone($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput()); - break; - case 'language': - $ele = new XoopsFormSelectLang($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput()); - break; - case 'startpage': - $ele = new XoopsFormSelect($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput()); - $module_handler =& xoops_gethandler('module'); - $criteria = new CriteriaCompo(new Criteria('hasmain', 1)); - $criteria->add(new Criteria('isactive', 1)); - $moduleslist =& $module_handler->getList($criteria, true); - $moduleslist['--'] = _MD_AM_NONE; - $ele->addOptionArray($moduleslist); - break; - case 'group': - $ele = new XoopsFormSelectGroup($title, $config[$i]->getVar('conf_name'), false, $config[$i]->getConfValueForOutput(), 1, false); - break; - case 'group_multi': - $ele = new XoopsFormSelectGroup($title, $config[$i]->getVar('conf_name'), false, $config[$i]->getConfValueForOutput(), 5, true); - break; - // RMV-NOTIFY - added 'user' and 'user_multi' - case 'user': - $ele = new XoopsFormSelectUser($title, $config[$i]->getVar('conf_name'), false, $config[$i]->getConfValueForOutput(), 1, false); - break; - case 'user_multi': - $ele = new XoopsFormSelectUser($title, $config[$i]->getVar('conf_name'), false, $config[$i]->getConfValueForOutput(), 5, true); - break; - case 'module_cache': - $module_handler =& xoops_gethandler('module'); - $modules =& $module_handler->getObjects(new Criteria('hasmain', 1), true); - $currrent_val = $config[$i]->getConfValueForOutput(); - $cache_options = array('0' => _NOCACHE, '30' => sprintf(_SECONDS, 30), '60' => _MINUTE, '300' => sprintf(_MINUTES, 5), '1800' => sprintf(_MINUTES, 30), '3600' => _HOUR, '18000' => sprintf(_HOURS, 5), '86400' => _DAY, '259200' => sprintf(_DAYS, 3), '604800' => _WEEK); - if (count($modules) > 0) { - $ele = new XoopsFormElementTray($title, '<br />'); - foreach (array_keys($modules) as $mid) { - $c_val = isset($currrent_val[$mid]) ? intval($currrent_val[$mid]) : null; - $selform = new XoopsFormSelect($modules[$mid]->getVar('name'), $config[$i]->getVar('conf_name')."[$mid]", $c_val); - $selform->addOptionArray($cache_options); - $ele->addElement($selform); - unset($selform); - } - } else { - $ele = new XoopsFormLabel($title, _MD_AM_NOMODULE); - } - break; - case 'site_cache': - $ele = new XoopsFormSelect($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput()); - $ele->addOptionArray(array('0' => _NOCACHE, '30' => sprintf(_SECONDS, 30), '60' => _MINUTE, '300' => sprintf(_MINUTES, 5), '1800' => sprintf(_MINUTES, 30), '3600' => _HOUR, '18000' => sprintf(_HOURS, 5), '86400' => _DAY, '259200' => sprintf(_DAYS, 3), '604800' => _WEEK)); - break; - case 'password': - $myts =& MyTextSanitizer::getInstance(); - $ele = new XoopsFormPassword($title, $config[$i]->getVar('conf_name'), 50, 255, $myts->htmlspecialchars($config[$i]->getConfValueForOutput())); - break; - case 'textbox': - default: - $myts =& MyTextSanitizer::getInstance(); - $ele = new XoopsFormText($title, $config[$i]->getVar('conf_name'), 50, 255, $myts->htmlspecialchars($config[$i]->getConfValueForOutput())); - break; - } - $hidden = new XoopsFormHidden('conf_ids[]', $config[$i]->getVar('co |
From: <be...@us...> - 2012-12-19 02:14:58
|
Revision: 10469 http://sourceforge.net/p/xoops/svn/10469 Author: beckmi Date: 2012-12-19 02:14:56 +0000 (Wed, 19 Dec 2012) Log Message: ----------- branching to XoopsModules26 Added Paths: ----------- XoopsModules26/mysearch/trunk/mysearch/ |
From: <be...@us...> - 2012-12-19 02:13:51
|
Revision: 10468 http://sourceforge.net/p/xoops/svn/10468 Author: beckmi Date: 2012-12-19 02:13:49 +0000 (Wed, 19 Dec 2012) Log Message: ----------- Replacing preg_match with filter_var (Zyspec) Modified Paths: -------------- XoopsModules/mysearch/trunk/mysearch/class/searches.php Modified: XoopsModules/mysearch/trunk/mysearch/class/searches.php =================================================================== --- XoopsModules/mysearch/trunk/mysearch/class/searches.php 2012-12-19 02:04:40 UTC (rev 10467) +++ XoopsModules/mysearch/trunk/mysearch/class/searches.php 2012-12-19 02:13:49 UTC (rev 10468) @@ -121,7 +121,8 @@ $proxy_ip = $_SERVER['HTTP_COMING_FROM']; } - if (!empty($proxy_ip) && $is_ip = preg_match('/^([0-9]{1,3}\.){3,3}[0-9]{1,3}/', $proxy_ip, $regs) && count($regs) > 0) { + //if (!empty($proxy_ip) && $is_ip = preg_match('/^([0-9]{1,3}\.){3,3}[0-9]{1,3}/', $proxy_ip, $regs) && count($regs) > 0) { + if (!empty($proxy_ip) && filter_var($proxy_ip, FILTER_VALIDATE_IP) && count($regs) > 0) { $the_IP = $regs[0]; } else { $the_IP = $_SERVER['REMOTE_ADDR']; |
From: <be...@us...> - 2012-12-19 02:04:43
|
Revision: 10467 http://sourceforge.net/p/xoops/svn/10467 Author: beckmi Date: 2012-12-19 02:04:40 +0000 (Wed, 19 Dec 2012) Log Message: ----------- Updating to 1.11 Final Modified Paths: -------------- XoopsModules/extgallery/trunk/modules/extgallery/admin/album.php XoopsModules/extgallery/trunk/modules/extgallery/admin/menu.php XoopsModules/extgallery/trunk/modules/extgallery/admin/slideshow.php XoopsModules/extgallery/trunk/modules/extgallery/blocks/extgallery_blocks.php XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt XoopsModules/extgallery/trunk/modules/extgallery/class/pclerror.lib.php XoopsModules/extgallery/trunk/modules/extgallery/class/pcltar.lib.php XoopsModules/extgallery/trunk/modules/extgallery/class/pcltrace.lib.php XoopsModules/extgallery/trunk/modules/extgallery/include/applet/lang/lang_fr.properties XoopsModules/extgallery/trunk/modules/extgallery/include/update_function.php XoopsModules/extgallery/trunk/modules/extgallery/language/english/admin.php XoopsModules/extgallery/trunk/modules/extgallery/language/english/blocks.php XoopsModules/extgallery/trunk/modules/extgallery/language/english/help/extgallery.html XoopsModules/extgallery/trunk/modules/extgallery/language/english/help/module_index.html XoopsModules/extgallery/trunk/modules/extgallery/language/english/main.php XoopsModules/extgallery/trunk/modules/extgallery/language/english/modinfo.php XoopsModules/extgallery/trunk/modules/extgallery/language/french/admin.php XoopsModules/extgallery/trunk/modules/extgallery/language/french/blocks.php XoopsModules/extgallery/trunk/modules/extgallery/language/french/main.php XoopsModules/extgallery/trunk/modules/extgallery/language/french/modinfo.php XoopsModules/extgallery/trunk/modules/extgallery/language/german/admin.php XoopsModules/extgallery/trunk/modules/extgallery/language/german/blocks.php XoopsModules/extgallery/trunk/modules/extgallery/language/german/main.php XoopsModules/extgallery/trunk/modules/extgallery/language/german/modinfo.php XoopsModules/extgallery/trunk/modules/extgallery/language/italian/admin.php XoopsModules/extgallery/trunk/modules/extgallery/language/italian/modinfo.php XoopsModules/extgallery/trunk/modules/extgallery/language/nederlands/admin.php XoopsModules/extgallery/trunk/modules/extgallery/language/nederlands/modinfo.php XoopsModules/extgallery/trunk/modules/extgallery/language/persian/admin.php XoopsModules/extgallery/trunk/modules/extgallery/language/persian/blocks.php XoopsModules/extgallery/trunk/modules/extgallery/language/persian/help/extgallery.html XoopsModules/extgallery/trunk/modules/extgallery/language/persian/help/module_index.html XoopsModules/extgallery/trunk/modules/extgallery/language/persian/main.php XoopsModules/extgallery/trunk/modules/extgallery/language/persian/modinfo.php XoopsModules/extgallery/trunk/modules/extgallery/language/spanish/admin.php XoopsModules/extgallery/trunk/modules/extgallery/language/spanish/blocks.php XoopsModules/extgallery/trunk/modules/extgallery/language/spanish/main.php XoopsModules/extgallery/trunk/modules/extgallery/language/spanish/modinfo.php XoopsModules/extgallery/trunk/modules/extgallery/language/spanishutf8/admin.php XoopsModules/extgallery/trunk/modules/extgallery/language/spanishutf8/blocks.php XoopsModules/extgallery/trunk/modules/extgallery/language/spanishutf8/main.php XoopsModules/extgallery/trunk/modules/extgallery/language/spanishutf8/modinfo.php XoopsModules/extgallery/trunk/modules/extgallery/xoops_version.php Added Paths: ----------- XoopsModules/extgallery/trunk/modules/extgallery/admin/extension.php XoopsModules/extgallery/trunk/modules/extgallery/admin/install-extension.php XoopsModules/extgallery/trunk/modules/extgallery/images/icons/extension.png XoopsModules/extgallery/trunk/modules/extgallery/language/english/extension.php XoopsModules/extgallery/trunk/modules/extgallery/language/french/extension.php XoopsModules/extgallery/trunk/modules/extgallery/language/french/help/ XoopsModules/extgallery/trunk/modules/extgallery/language/french/help/extgallery.html XoopsModules/extgallery/trunk/modules/extgallery/language/french/help/index.html XoopsModules/extgallery/trunk/modules/extgallery/language/french/help/module_index.html XoopsModules/extgallery/trunk/modules/extgallery/language/italian/extension.php XoopsModules/extgallery/trunk/modules/extgallery/language/persian/extension.php XoopsModules/extgallery/trunk/modules/extgallery/language/spanishutf8/extension.php XoopsModules/extgallery/trunk/modules/extgallery/templates/admin/extgallery_admin_extension.html Removed Paths: ------------- XoopsModules/extgallery/trunk/modules/extgallery/admin/extention.php XoopsModules/extgallery/trunk/modules/extgallery/admin/install-extention.php XoopsModules/extgallery/trunk/modules/extgallery/images/icons/extention.png XoopsModules/extgallery/trunk/modules/extgallery/language/english/extention.php XoopsModules/extgallery/trunk/modules/extgallery/language/french/extention.php XoopsModules/extgallery/trunk/modules/extgallery/language/italian/extention.php XoopsModules/extgallery/trunk/modules/extgallery/language/persian/extention.php XoopsModules/extgallery/trunk/modules/extgallery/language/spanishutf8/extention.php XoopsModules/extgallery/trunk/modules/extgallery/templates/admin/extgallery_admin_extention.html Modified: XoopsModules/extgallery/trunk/modules/extgallery/admin/album.php =================================================================== --- XoopsModules/extgallery/trunk/modules/extgallery/admin/album.php 2012-12-18 23:30:09 UTC (rev 10466) +++ XoopsModules/extgallery/trunk/modules/extgallery/admin/album.php 2012-12-19 02:04:40 UTC (rev 10467) @@ -405,15 +405,15 @@ $form = new XoopsThemeForm(_AM_EXTGALLERY_OVERLAY_CONF, 'overlay_conf', 'album.php', 'post', true); $form->addElement(new XoopsFormColorPicker(_AM_EXTGALLERY_OVERLAY_BG, 'album_overlay_bg', $xoopsModuleConfig['album_overlay_bg']),false); - $form->addElement(new XoopsFormText(_AM_EXTGALLERY_OVERLAY_WIDHT, 'album_overlay_width', '5', '5', $xoopsModuleConfig['album_overlay_width']),false); + $form->addElement(new XoopsFormText(_AM_EXTGALLERY_OVERLAY_WIDTH, 'album_overlay_width', '5', '5', $xoopsModuleConfig['album_overlay_width']),false); $form->addElement(new XoopsFormText(_AM_EXTGALLERY_OVERLAY_HEIGHT, 'album_overlay_height', '5', '5', $xoopsModuleConfig['album_overlay_height']),false); $form->addElement(new XoopsFormHidden("op", 'overlay')); $form->addElement(new XoopsFormButton("", "submit", _SUBMIT, "submit")); $xoopsTpl->assign('overlayform', $form->render()); $form = new XoopsThemeForm(_AM_EXTGALLERY_TOOLTIP_CONF, 'tooltip_conf', 'album.php', 'post', true); - $form->addElement(new XoopsFormText(_AM_EXTGALLERY_TOOLTIP_WIDHT, 'album_tooltip_width', '6', '6', $xoopsModuleConfig['album_tooltip_width']),false); - $form->addElement(new XoopsFormText(_AM_EXTGALLERY_TOOLTIP_BORDER_WIDHT, 'album_tooltip_borderwidth', '6', '6', $xoopsModuleConfig['album_tooltip_borderwidth']),false); + $form->addElement(new XoopsFormText(_AM_EXTGALLERY_TOOLTIP_WIDTH, 'album_tooltip_width', '6', '6', $xoopsModuleConfig['album_tooltip_width']),false); + $form->addElement(new XoopsFormText(_AM_EXTGALLERY_TOOLTIP_BORDER_WIDTH, 'album_tooltip_borderwidth', '6', '6', $xoopsModuleConfig['album_tooltip_borderwidth']),false); $form->addElement(new XoopsFormColorPicker(_AM_EXTGALLERY_TOOLTIP_BORDERCOLOR, 'album_tooltip_bordercolor', $xoopsModuleConfig['album_tooltip_bordercolor']),false); $form->addElement(new XoopsFormHidden("op", 'tooltip')); $form->addElement(new XoopsFormButton("", "submit", _SUBMIT, "submit")); @@ -464,7 +464,7 @@ $form->addElement(new XoopsFormButton("", "submit", _SUBMIT, "submit")); $xoopsTpl->assign('prettyphotoform', $form->render()); - // Call template file + // Call template file $xoopsTpl->display(XOOPS_ROOT_PATH . '/modules/extgallery/templates/admin/extgallery_admin_album.html'); xoops_cp_footer(); Added: XoopsModules/extgallery/trunk/modules/extgallery/admin/extension.php =================================================================== --- XoopsModules/extgallery/trunk/modules/extgallery/admin/extension.php (rev 0) +++ XoopsModules/extgallery/trunk/modules/extgallery/admin/extension.php 2012-12-19 02:04:40 UTC (rev 10467) @@ -0,0 +1,56 @@ +<?php +/** + * ExtGallery Admin settings + * Manage admin pages + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Zoullou (http://www.zoullou.net) + * @package ExtGallery + * @version $Id: extension.php 8088 2011-11-06 09:38:12Z beckmi $ + */ + +include '../../../include/cp_header.php'; +include 'function.php'; + +xoops_cp_header(); + +function extensionInstalled() { + return file_exists(XOOPS_ROOT_PATH.'/class/textsanitizer/gallery/gallery.php'); +} + +function extensionActivated() { + $conf = include XOOPS_ROOT_PATH.'/class/textsanitizer/config.custom.php'; + return $conf['extensions']['gallery']; +} + +function activateExtension() { + $conf = include XOOPS_ROOT_PATH.'/class/textsanitizer/config.custom.php'; + $conf['extensions']['gallery'] = 1; + file_put_contents(XOOPS_ROOT_PATH.'/class/textsanitizer/config.custom.php', "<?php\rreturn \$config = ".var_export($conf,true)."\r?>"); +} + +function desactivateExtension() { + $conf = include XOOPS_ROOT_PATH.'/class/textsanitizer/config.custom.php'; + $conf['extensions']['gallery'] = 0; + file_put_contents(XOOPS_ROOT_PATH.'/class/textsanitizer/config.custom.php', "<?php\rreturn \$config = ".var_export($conf,true)."\r?>"); +} + +if(file_exists(XOOPS_ROOT_PATH.'/class/textsanitizer/gallery/gallery.php')){ + $xoopsTpl->assign('extensioninstalled', true); +} else { + $xoopsTpl->assign('extensioninstalled', false); +} + +// Call template file +$xoopsTpl->display(XOOPS_ROOT_PATH . '/modules/extgallery/templates/admin/extgallery_admin_extension.html'); +xoops_cp_footer(); + +?> \ No newline at end of file Deleted: XoopsModules/extgallery/trunk/modules/extgallery/admin/extention.php =================================================================== --- XoopsModules/extgallery/trunk/modules/extgallery/admin/extention.php 2012-12-18 23:30:09 UTC (rev 10466) +++ XoopsModules/extgallery/trunk/modules/extgallery/admin/extention.php 2012-12-19 02:04:40 UTC (rev 10467) @@ -1,56 +0,0 @@ -<?php -/** - * ExtGallery Admin settings - * Manage admin pages - * - * You may not change or alter any portion of this comment or credits - * of supporting developers from this source code or any supporting source code - * which is considered copyrighted (c) material of the original comment or credit authors. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * - * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ - * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) - * @author Zoullou (http://www.zoullou.net) - * @package ExtGallery - * @version $Id$ - */ - -include '../../../include/cp_header.php'; -include 'function.php'; - -xoops_cp_header(); - -function extentionInstalled() { - return file_exists(XOOPS_ROOT_PATH.'/class/textsanitizer/gallery/gallery.php'); -} - -function extentionActivated() { - $conf = include XOOPS_ROOT_PATH.'/class/textsanitizer/config.custom.php'; - return $conf['extensions']['gallery']; -} - -function activateExtention() { - $conf = include XOOPS_ROOT_PATH.'/class/textsanitizer/config.custom.php'; - $conf['extensions']['gallery'] = 1; - file_put_contents(XOOPS_ROOT_PATH.'/class/textsanitizer/config.custom.php', "<?php\rreturn \$config = ".var_export($conf,true)."\r?>"); -} - -function desactivateExtention() { - $conf = include XOOPS_ROOT_PATH.'/class/textsanitizer/config.custom.php'; - $conf['extensions']['gallery'] = 0; - file_put_contents(XOOPS_ROOT_PATH.'/class/textsanitizer/config.custom.php', "<?php\rreturn \$config = ".var_export($conf,true)."\r?>"); -} - -if(file_exists(XOOPS_ROOT_PATH.'/class/textsanitizer/gallery/gallery.php')){ - $xoopsTpl->assign('extentioninstalled', true); -} else { - $xoopsTpl->assign('extentioninstalled', false); -} - -// Call template file -$xoopsTpl->display(XOOPS_ROOT_PATH . '/modules/extgallery/templates/admin/extgallery_admin_extention.html'); -xoops_cp_footer(); - -?> \ No newline at end of file Added: XoopsModules/extgallery/trunk/modules/extgallery/admin/install-extension.php =================================================================== --- XoopsModules/extgallery/trunk/modules/extgallery/admin/install-extension.php (rev 0) +++ XoopsModules/extgallery/trunk/modules/extgallery/admin/install-extension.php 2012-12-19 02:04:40 UTC (rev 10467) @@ -0,0 +1,106 @@ +<?php +/** + * ExtGallery Admin settings + * Manage admin pages + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Zoullou (http://www.zoullou.net) + * @package ExtGallery + * @version $Id: install-extension.php 8088 2011-11-06 09:38:12Z beckmi $ + */ + +if(isset($_POST['step'])) { + $step = $_POST['step']; +} else { + $step = 'default'; +} + +include '../../../include/cp_header.php'; +include 'function.php'; + +// Change this variable if you use a cloned version of eXtGallery +$localModuleDir = 'extgallery'; + +$downloadServer = 'http://downloads.sourceforge.net/xoops/'; +//$downloadServer = 'http://localhost/divers/extgallery/'; +$extensionFileName = 'extgallery-extension-hook.tar.gz'; + +switch($step) { + + case 'download': + + xoops_cp_header(); + + if(!$handle = @fopen($downloadServer.$extensionFileName, 'r')) { + printf(_AM_EXTGALLERY_EXT_FILE_DONT_EXIST, $downloadServer, $extensionFileName); + xoops_cp_footer(); + break; + } + $localHandle = @fopen(XOOPS_ROOT_PATH.'/uploads/'.$extensionFileName, 'w+'); + + // Downlad module archive + if ($handle) { + while (!feof($handle)) { + $buffer = fread($handle, 8192); + fwrite($localHandle, $buffer); + } + fclose($localHandle); + fclose($handle); + } + + xoops_confirm(array('step' => 'install'), 'install-extension.php', _AM_EXTGALLERY_DOWN_DONE, _AM_EXTGALLERY_INSTALL); + + xoops_cp_footer(); + + break; + + case 'install': + + if(!file_exists(XOOPS_ROOT_PATH."/uploads/".$extensionFileName)) { + + xoops_cp_header(); + echo _AM_EXTGALLERY_EXT_FILE_DONT_EXIST_SHORT; + xoops_cp_footer(); + + break; + } + + $g_pcltar_lib_dir = XOOPS_ROOT_PATH.'/modules/'.$localModuleDir.'/class'; + include "../class/pcltar.lib.php"; + + // Extract extension files + PclTarExtract(XOOPS_ROOT_PATH."/uploads/".$extensionFileName,XOOPS_ROOT_PATH."/class/textsanitizer/","class/textsanitizer/"); + // Delete downloaded extension's files + unlink(XOOPS_ROOT_PATH."/uploads/".$extensionFileName); + + // Delete folder created by a small issu in PclTar lib + if(is_dir(XOOPS_ROOT_PATH."/class/textsanitizer/class")) { + rmdir(XOOPS_ROOT_PATH."/class/textsanitizer/class"); + } + + // Activate extension + $conf = include XOOPS_ROOT_PATH.'/class/textsanitizer/config.php'; + $conf['extensions']['gallery'] = 1; + file_put_contents(XOOPS_ROOT_PATH.'/class/textsanitizer/config.custom.php', "<?php\rreturn \$config = ".var_export($conf,true)."\r?>"); + + redirect_header("extension.php", 3, _AM_EXTGALLERY_EXTENSION_INSTALLED); + + break; + + default: + case 'default': + + redirect_header("extension.php", 3, ""); + + break; +} + +?> \ No newline at end of file Deleted: XoopsModules/extgallery/trunk/modules/extgallery/admin/install-extention.php =================================================================== --- XoopsModules/extgallery/trunk/modules/extgallery/admin/install-extention.php 2012-12-18 23:30:09 UTC (rev 10466) +++ XoopsModules/extgallery/trunk/modules/extgallery/admin/install-extention.php 2012-12-19 02:04:40 UTC (rev 10467) @@ -1,106 +0,0 @@ -<?php -/** - * ExtGallery Admin settings - * Manage admin pages - * - * You may not change or alter any portion of this comment or credits - * of supporting developers from this source code or any supporting source code - * which is considered copyrighted (c) material of the original comment or credit authors. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * - * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ - * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) - * @author Zoullou (http://www.zoullou.net) - * @package ExtGallery - * @version $Id$ - */ - -if(isset($_POST['step'])) { - $step = $_POST['step']; -} else { - $step = 'default'; -} - -include '../../../include/cp_header.php'; -include 'function.php'; - -// Change this variable if you use a cloned version of eXtGallery -$localModuleDir = 'extgallery'; - -$downloadServer = 'http://downloads.sourceforge.net/zoullou/'; -//$downloadServer = 'http://localhost/divers/extgallery/'; -$extentionFileName = 'extgallery-extention-hook.tar.gz'; - -switch($step) { - - case 'download': - - xoops_cp_header(); - - if(!$handle = @fopen($downloadServer.$extentionFileName, 'r')) { - printf(_AM_EXTGALLERY_EXT_FILE_DONT_EXIST, $downloadServer, $extentionFileName); - xoops_cp_footer(); - break; - } - $localHandle = @fopen(XOOPS_ROOT_PATH.'/uploads/'.$extentionFileName, 'w+'); - - // Downlad module archive - if ($handle) { - while (!feof($handle)) { - $buffer = fread($handle, 8192); - fwrite($localHandle, $buffer); - } - fclose($localHandle); - fclose($handle); - } - - xoops_confirm(array('step' => 'install'), 'install-extention.php', _AM_EXTGALLERY_DOWN_DONE, _AM_EXTGALLERY_INSTALL); - - xoops_cp_footer(); - - break; - - case 'install': - - if(!file_exists(XOOPS_ROOT_PATH."/uploads/".$extentionFileName)) { - - xoops_cp_header(); - echo _AM_EXTGALLERY_EXT_FILE_DONT_EXIST_SHORT; - xoops_cp_footer(); - - break; - } - - $g_pcltar_lib_dir = XOOPS_ROOT_PATH.'/modules/'.$localModuleDir.'/class'; - include "../class/pcltar.lib.php"; - - // Extract extention files - PclTarExtract(XOOPS_ROOT_PATH."/uploads/".$extentionFileName,XOOPS_ROOT_PATH."/class/textsanitizer/","class/textsanitizer/"); - // Delete downloaded extention's files - unlink(XOOPS_ROOT_PATH."/uploads/".$extentionFileName); - - // Delete folder created by a small issu in PclTar lib - if(is_dir(XOOPS_ROOT_PATH."/class/textsanitizer/class")) { - rmdir(XOOPS_ROOT_PATH."/class/textsanitizer/class"); - } - - // Activate extention - $conf = include XOOPS_ROOT_PATH.'/class/textsanitizer/config.php'; - $conf['extensions']['gallery'] = 1; - file_put_contents(XOOPS_ROOT_PATH.'/class/textsanitizer/config.custom.php', "<?php\rreturn \$config = ".var_export($conf,true)."\r?>"); - - redirect_header("extention.php", 3, _AM_EXTGALLERY_EXTENTION_INSTALLED); - - break; - - default: - case 'default': - - redirect_header("extention.php", 3, ""); - - break; -} - -?> \ No newline at end of file Modified: XoopsModules/extgallery/trunk/modules/extgallery/admin/menu.php =================================================================== --- XoopsModules/extgallery/trunk/modules/extgallery/admin/menu.php 2012-12-18 23:30:09 UTC (rev 10466) +++ XoopsModules/extgallery/trunk/modules/extgallery/admin/menu.php 2012-12-19 02:04:40 UTC (rev 10467) @@ -50,9 +50,9 @@ $adminmenu[$i]['link'] = "admin/slideshow.php"; $adminmenu[$i]['icon'] = "images/icons/slideshow.png"; $i++; -$adminmenu[$i]['title'] = _MI_EXTGALLERY_EXTENTION; -$adminmenu[$i]['link'] = "admin/extention.php"; -$adminmenu[$i]['icon'] = "images/icons/extention.png"; +$adminmenu[$i]['title'] = _MI_EXTGALLERY_EXTENSION; +$adminmenu[$i]['link'] = "admin/extension.php"; +$adminmenu[$i]['icon'] = "images/icons/extension.png"; $i++; $adminmenu[$i]['title'] = _MI_EXTGALLERY_ALBUM; $adminmenu[$i]['link'] = "admin/album.php"; Modified: XoopsModules/extgallery/trunk/modules/extgallery/admin/slideshow.php =================================================================== --- XoopsModules/extgallery/trunk/modules/extgallery/admin/slideshow.php 2012-12-18 23:30:09 UTC (rev 10466) +++ XoopsModules/extgallery/trunk/modules/extgallery/admin/slideshow.php 2012-12-19 02:04:40 UTC (rev 10467) @@ -887,8 +887,8 @@ $form = new XoopsThemeForm(_AM_EXTGALLERY_GVIEW_CONF, 'galleryview_conf', 'slideshow.php', 'post', true); $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_PANELWIDE, 'galleryview_panelwidth', '5', '5', $xoopsModuleConfig['galleryview_panelwidth']),false); $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_PANELHEIGHT, 'galleryview_panelheight', '5', '5', $xoopsModuleConfig['galleryview_panelheight']),false); - $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_FARMEWIDTH, 'galleryview_framewidth', '5', '5', $xoopsModuleConfig['galleryview_framewidth']),false); - $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_FARMEHEIGHT, 'galleryview_frameheight', '5', '5', $xoopsModuleConfig['galleryview_frameheight']),false); + $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_FRAMEWIDTH, 'galleryview_framewidth', '5', '5', $xoopsModuleConfig['galleryview_framewidth']),false); + $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_FRAMEHEIGHT, 'galleryview_frameheight', '5', '5', $xoopsModuleConfig['galleryview_frameheight']),false); $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_TSPEED, 'galleryview_tspeed', '5', '5', $xoopsModuleConfig['galleryview_tspeed']),false); $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_TTERVAL, 'galleryview_tterval', '5', '5', $xoopsModuleConfig['galleryview_tterval']),false); $form->addElement(new XoopsFormText(_AM_EXTGALLERY_GVIEW_OPACITY, 'galleryview_opacity', '5', '5', $xoopsModuleConfig['galleryview_opacity']),false); @@ -967,7 +967,7 @@ $form->addElement(new XoopsFormButton("", "submit", _SUBMIT, "submit")); $xoopsTpl->assign('gallerifficform', $form->render()); - // Call template file + // Call template file $xoopsTpl->display(XOOPS_ROOT_PATH . '/modules/extgallery/templates/admin/extgallery_admin_slideshow.html'); xoops_cp_footer(); Modified: XoopsModules/extgallery/trunk/modules/extgallery/blocks/extgallery_blocks.php =================================================================== --- XoopsModules/extgallery/trunk/modules/extgallery/blocks/extgallery_blocks.php 2012-12-18 23:30:09 UTC (rev 10466) +++ XoopsModules/extgallery/trunk/modules/extgallery/blocks/extgallery_blocks.php 2012-12-19 02:04:40 UTC (rev 10467) @@ -89,26 +89,26 @@ } $param['cat'] = $categories; - switch ($photoHandlertype) { - case "RandomPhoto": - $photos = $photoHandler->objectToArray($photoHandler->getRandomPhoto($param)); - break; - - case "LastPhoto": - $photos = $photoHandler->objectToArray($photoHandler->getLastPhoto($param)); - break; - - case "TopViewPhoto": - $photos = $photoHandler->objectToArray($photoHandler->getTopViewPhoto($param)); + switch ($photoHandlertype) { + case "RandomPhoto": + $photos = $photoHandler->objectToArray($photoHandler->getRandomPhoto($param)); break; + + case "LastPhoto": + $photos = $photoHandler->objectToArray($photoHandler->getLastPhoto($param)); + break; + + case "TopViewPhoto": + $photos = $photoHandler->objectToArray($photoHandler->getTopViewPhoto($param)); + break; - case "TopRatedPhoto": - $photos = $photoHandler->objectToArray($photoHandler->getTopRatedPhoto($param)); + case "TopRatedPhoto": + $photos = $photoHandler->objectToArray($photoHandler->getTopRatedPhoto($param)); break; - case "TopEcardPhoto": - $photos = $photoHandler->objectToArray($photoHandler->getTopEcardPhoto($param)); - break; + case "TopEcardPhoto": + $photos = $photoHandler->objectToArray($photoHandler->getTopEcardPhoto($param)); + break; } if($jquery == 'true' && $ajaxeffect != 'none'){ @@ -293,26 +293,26 @@ $param['cat'] = $categories; - switch ($photoHandlertype) { - case "RandomPhoto": - $photos = $photoHandler->objectToArray($photoHandler->getRandomPhoto($param)); - break; - - case "LastPhoto": - $photos = $photoHandler->objectToArray($photoHandler->getLastPhoto($param)); - break; - - case "TopViewPhoto": - $photos = $photoHandler->objectToArray($photoHandler->getTopViewPhoto($param)); + switch ($photoHandlertype) { + case "RandomPhoto": + $photos = $photoHandler->objectToArray($photoHandler->getRandomPhoto($param)); break; + + case "LastPhoto": + $photos = $photoHandler->objectToArray($photoHandler->getLastPhoto($param)); + break; + + case "TopViewPhoto": + $photos = $photoHandler->objectToArray($photoHandler->getTopViewPhoto($param)); + break; - case "TopRatedPhoto": - $photos = $photoHandler->objectToArray($photoHandler->getTopRatedPhoto($param)); + case "TopRatedPhoto": + $photos = $photoHandler->objectToArray($photoHandler->getTopRatedPhoto($param)); break; - case "TopEcardPhoto": - $photos = $photoHandler->objectToArray($photoHandler->getTopEcardPhoto($param)); - break; + case "TopEcardPhoto": + $photos = $photoHandler->objectToArray($photoHandler->getTopEcardPhoto($param)); + break; } if($jquery == 'true'){ @@ -431,14 +431,14 @@ //for overlay $form .= "<fieldset><legend style='font-weight:bold; color:#990000;'>"._MB_EXTGALLERY_AJAX_OVERLAY."</legend>"; $form .= _MB_EXTGALLERY_OVERLAY_BG." : <input name=\"options[]\" size=\"7\" maxlength=\"7\" value=\"".$options[6]."\" type=\"text\" /><br />"; - $form .= _MB_EXTGALLERY_OVERLAY_WIDHT." : <input name=\"options[]\" size=\"5\" maxlength=\"5\" value=\"".$options[7]."\" type=\"text\" /><br />"; + $form .= _MB_EXTGALLERY_OVERLAY_WIDTH." : <input name=\"options[]\" size=\"5\" maxlength=\"5\" value=\"".$options[7]."\" type=\"text\" /><br />"; $form .= _MB_EXTGALLERY_OVERLAY_HEIGHT." : <input name=\"options[]\" size=\"5\" maxlength=\"5\" value=\"".$options[8]."\" type=\"text\" /><br />"; $form .="</fieldset><br />"; //for tooltip $form .= "<fieldset><legend style='font-weight:bold; color:#990000;'>"._MB_EXTGALLERY_AJAX_TOOLTIP."</legend>"; - $form .= _MB_EXTGALLERY_TOOLTIP_WIDHT." : <input name=\"options[]\" size=\"5\" maxlength=\"5\" value=\"".$options[9]."\" type=\"text\" /><br />"; - $form .= _MB_EXTGALLERY_TOOLTIP_BORDER_WIDHT." : <input name=\"options[]\" size=\"5\" maxlength=\"5\" value=\"".$options[10]."\" type=\"text\" /><br />"; + $form .= _MB_EXTGALLERY_TOOLTIP_WIDTH." : <input name=\"options[]\" size=\"5\" maxlength=\"5\" value=\"".$options[9]."\" type=\"text\" /><br />"; + $form .= _MB_EXTGALLERY_TOOLTIP_BORDER_WIDTH." : <input name=\"options[]\" size=\"5\" maxlength=\"5\" value=\"".$options[10]."\" type=\"text\" /><br />"; $form .= _MB_EXTGALLERY_TOOLTIP_BORDERCOLOR." : <input name=\"options[]\" size=\"7\" maxlength=\"7\" value=\"".$options[11]."\" type=\"text\" /><br />"; $form .="</fieldset><br />"; @@ -702,26 +702,26 @@ } $param['cat'] = $categories; - switch ($photoHandlertype) { - case "RandomPhoto": - $photos = $photoHandler->objectToArray($photoHandler->getRandomPhoto($param)); - break; - - case "LastPhoto": - $photos = $photoHandler->objectToArray($photoHandler->getLastPhoto($param)); - break; - - case "TopViewPhoto": - $photos = $photoHandler->objectToArray($photoHandler->getTopViewPhoto($param)); + switch ($photoHandlertype) { + case "RandomPhoto": + $photos = $photoHandler->objectToArray($photoHandler->getRandomPhoto($param)); break; + + case "LastPhoto": + $photos = $photoHandler->objectToArray($photoHandler->getLastPhoto($param)); + break; + + case "TopViewPhoto": + $photos = $photoHandler->objectToArray($photoHandler->getTopViewPhoto($param)); + break; - case "TopRatedPhoto": - $photos = $photoHandler->objectToArray($photoHandler->getTopRatedPhoto($param)); + case "TopRatedPhoto": + $photos = $photoHandler->objectToArray($photoHandler->getTopRatedPhoto($param)); break; - case "TopEcardPhoto": - $photos = $photoHandler->objectToArray($photoHandler->getTopEcardPhoto($param)); - break; + case "TopEcardPhoto": + $photos = $photoHandler->objectToArray($photoHandler->getTopEcardPhoto($param)); + break; } if(count($photos) == 0) { @@ -729,8 +729,8 @@ } foreach (array_keys($photos) as $i) { - if(isset($photos[$i]['photo_date'])){ - $photos[$i]['photo_date'] = date(_SHORTDATESTRING, $photos[$i]['photo_date']); + if(isset($photos[$i]['photo_date'])){ + $photos[$i]['photo_date'] = date(_SHORTDATESTRING, $photos[$i]['photo_date']); } } Modified: XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt =================================================================== --- XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt 2012-12-18 23:30:09 UTC (rev 10466) +++ XoopsModules/extgallery/trunk/modules/extgallery/changelog.txt 2012-12-19 02:04:40 UTC (rev 10467) @@ -1,8 +1,9 @@ ============================ -2011/--/--: Version 1.11 +2012-12-18: Version 1.11 ============================ - Updated PEAR - updated Google Buzz to Google Plus +- updated English and French translations (Cesag) ============================ 2011/--/--: Version 1.1.0 @@ -247,9 +248,9 @@ _MB_EXTGALLERY_AJAX_FANCYBOX (added) _MB_EXTGALLERY_AJAX_PRETTPHOTO (added) _MB_EXTGALLERY_OVERLAY_BG (added) -_MB_EXTGALLERY_OVERLAY_WIDHT (added) -_MB_EXTGALLERY_TOOLTIP_WIDHT (added) -_MB_EXTGALLERY_TOOLTIP_BORDER_WIDHT (added) +_MB_EXTGALLERY_OVERLAY_WIDTH (added) +_MB_EXTGALLERY_TOOLTIP_WIDTH (added) +_MB_EXTGALLERY_TOOLTIP_BORDER_WIDTH (added) _MB_EXTGALLERY_TOOLTIP_BORDERCOLOR (added) _MB_EXTGALLERY_FANCYBOX_BGCOLOR (added) _MB_EXTGALLERY_FANCYBOX_OPACITY (added) @@ -344,16 +345,16 @@ _AM_EXTGALLERY_AJAX_OVERLAY (added) _AM_EXTGALLERY_AJAX_TOOLTIP (added) _AM_EXTGALLERY_OVERLAY_BG (added) -_AM_EXTGALLERY_OVERLAY_WIDHT (added) +_AM_EXTGALLERY_OVERLAY_WIDTH (added) _AM_EXTGALLERY_OVERLAY_HEIGHT (added) -_AM_EXTGALLERY_TOOLTIP_WIDHT (added) -_AM_EXTGALLERY_TOOLTIP_BORDER_WIDHT (added) +_AM_EXTGALLERY_TOOLTIP_WIDTH (added) +_AM_EXTGALLERY_TOOLTIP_BORDER_WIDTH (added) _AM_EXTGALLERY_TOOLTIP_BORDERCOLOR (added) _AM_EXTGALLERY_ALBUM_NOT_ENABLE (added) _AM_EXTGALLERY_GVIEW_PANELWIDE (added) _AM_EXTGALLERY_GVIEW_PANELHEIGHT (added) -_AM_EXTGALLERY_GVIEW_FARMEWIDTH (added) -_AM_EXTGALLERY_GVIEW_FARMEHEIGHT (added) +_AM_EXTGALLERY_GVIEW_FRAMEWIDTH (added) +_AM_EXTGALLERY_GVIEW_FRAMEHEIGHT (added) _AM_EXTGALLERY_GVIEW_TSPEED (added) _AM_EXTGALLERY_GVIEW_TTERVAL (added) _AM_EXTGALLERY_GVIEW_OPACITY (added) @@ -433,8 +434,8 @@ _AM_EXTGALLERY_GFIC_NB_THUMBS (added) _AM_EXTGALLERY_GFIC_NB_COLTHUMBS (added) _AM_EXTGALLERY_GFIC_NB_PRELOAD (added) -_AM_EXTGALLERY_EXTENTION_HOWTO (added) -_AM_EXTGALLERY_EXTENTION_DOWNLOAD (added) +_AM_EXTGALLERY_EXTENSION_HOWTO (added) +_AM_EXTGALLERY_EXTENSION_DOWNLOAD (added) _AM_EXTGALLERY_SLIDESHOW_DURATION (removed) _AM_EXTGALLERY_SLIDESHOW_CONF (removed) @@ -476,7 +477,7 @@ - Fix bug : SlideShow don't work if photo description contains quotes - Fix bug : HTML is displayed on slideshow if description contains HTML -- Fix bug : All XOOPS tag don't work if gallery extention is installed +- Fix bug : All XOOPS tag don't work if gallery extension is installed - Fix bug : Uploaded photo could be not displayed if the filename contains special caracter. Only letter, digit, dot, upper and lower bar are allowed now - Fix bug : Select standard upload don't work - Fix bug : alt attribute isn't updated by caption value on slideshow @@ -543,7 +544,7 @@ => Mootools 1.2 must be available on woll site => Slideshow don't work if cache is activated on Slideshow block or Slideshow album pages - Add a feature to make a module update just by clicking on module admin side. The server will download, install files and update the module. -- Add extention to use Hook hack. This extention is inegrated to XOOPS editor +- Add extension to use Hook hack. This extension is inegrated to XOOPS editor - Add a feature to rebuild thumb @@ -551,7 +552,7 @@ modinfo.php _MI_EXTGALLERY_SLIDESHOW (added) -_MI_EXTGALLERY_EXTENTION (added) +_MI_EXTGALLERY_EXTENSION (added) _MI_EXTGAL_DISP_TYPE (added) _MI_EXTGAL_DISP_TYPE_DESC (added) _MI_EXTGAL_B_RAND (added) @@ -616,14 +617,14 @@ _AM_EXTGALLERY_INSTALL (added) _AM_EXTGALLERY_MD_FILE_DONT_EXIST_SHORT (added) _AM_EXTGALLERY_INSTALL_DONE (added) -_AM_EXTGALLERY_EXTENTION_INFO (added) -_AM_EXTGALLERY_EXTENTION_NOT_INSTALLED (added) -_AM_EXTGALLERY_INSTALL_EXTENTION (added) -_AM_EXTGALLERY_EXTENTION_OK (added) -_AM_EXTGALLERY_EXTENTION_NOTICE (added) +_AM_EXTGALLERY_EXTENSION_INFO (added) +_AM_EXTGALLERY_EXTENSION_NOT_INSTALLED (added) +_AM_EXTGALLERY_INSTALL_EXTENSION (added) +_AM_EXTGALLERY_EXTENSION_OK (added) +_AM_EXTGALLERY_EXTENSION_NOTICE (added) _AM_EXTGALLERY_EXT_FILE_DONT_EXIST (added) _AM_EXTGALLERY_EXT_FILE_DONT_EXIST_SHORT (added) -_AM_EXTGALLERY_EXTENTION_INSTALLED (added) +_AM_EXTGALLERY_EXTENSION_INSTALLED (added) _AM_EXTGALLERY_THUMB_REBUILDED (added) _AM_EXTGALLERY_REBUILD_THUMB (added) _AM_EXTGALLERY_REBUILD_THUMB_INFO (added) @@ -658,7 +659,7 @@ _MB_EXTGALLERY_SLIDESHOW_NUMBER (added) _MB_EXTGALLERY_NB_PHOTO_BY_SLIDESHOW (added) -extention.php (added file) +extension.php (added file) ============================ 2008/04/03: Version 1.0.4 Modified: XoopsModules/extgallery/trunk/modules/extgallery/class/pclerror.lib.php =================================================================== --- XoopsModules/extgallery/trunk/modules/extgallery/class/pclerror.lib.php 2012-12-18 23:30:09 UTC (rev 10466) +++ XoopsModules/extgallery/trunk/modules/extgallery/class/pclerror.lib.php 2012-12-19 02:04:40 UTC (rev 10467) @@ -5,11 +5,11 @@ // License GNU/GPL - Vincent Blavet - Mars 2001 // http://www.phpconcept.net & http://phpconcept.free.fr // -------------------------------------------------------------------------------- -// Français : +// Fran\xE7ais : // La description de l'usage de la librairie PCL Error 1.0 n'est pas encore -// disponible. Celle-ci n'est pour le moment distribuée qu'avec les -// développements applicatifs de PhpConcept. -// Une version indépendante sera bientot disponible sur http://www.phpconcept.net +// disponible. Celle-ci n'est pour le moment distribu\xE9e qu'avec les +// d\xE9veloppements applicatifs de PhpConcept. +// Une version ind\xE9pendante sera bientot disponible sur http://www.phpconcept.net // // English : // The PCL Error 1.0 library description is not available yet. This library is @@ -20,17 +20,17 @@ // // * Avertissement : // -// Cette librairie a été créée de façon non professionnelle. -// Son usage est au risque et péril de celui qui l'utilise, en aucun cas l'auteur -// de ce code ne pourra être tenu pour responsable des éventuels dégats qu'il pourrait +// Cette librairie a \xE9t\xE9 cr\xE9\xE9e de fa\xE7on non professionnelle. +// Son usage est au risque et p\xE9ril de celui qui l'utilise, en aucun cas l'auteur +// de ce code ne pourra \xEAtre tenu pour responsable des \xE9ventuels d\xE9gats qu'il pourrait // engendrer. -// Il est entendu cependant que l'auteur a réalisé ce code par plaisir et n'y a -// caché aucun virus, ni malveillance. -// Cette libairie est distribuée sous la license GNU/GPL (http://www.gnu.org) +// Il est entendu cependant que l'auteur a r\xE9alis\xE9 ce code par plaisir et n'y a +// cach\xE9 aucun virus, ni malveillance. +// Cette libairie est distribu\xE9e sous la license GNU/GPL (http://www.gnu.org) // // * Auteur : // -// Ce code a été écrit par Vincent Blavet (vi...@bl...) sur son temps +// Ce code a \xE9t\xE9 \xE9crit par Vincent Blavet (vi...@bl...) sur son temps // de loisir. // // -------------------------------------------------------------------------------- @@ -38,7 +38,7 @@ // ----- Look for double include if (!defined("PCLERROR_LIB")) { - define("PCLERROR_LIB", 1 ); + define("PCLERROR_LIB",1); // ----- Version $g_pcl_error_version = "1.0"; Modified: XoopsModules/extgallery/trunk/modules/extgallery/class/pcltar.lib.php =================================================================== --- XoopsModules/extgallery/trunk/modules/extgallery/class/pcltar.lib.php 2012-12-18 23:30:09 UTC (rev 10466) +++ XoopsModules/extgallery/trunk/modules/extgallery/class/pcltar.lib.php 2012-12-19 02:04:40 UTC (rev 10467) @@ -13,7 +13,7 @@ // gzip tools and WinZip application. // // Description : -// See readme.txt (English & Français) and http://www.phpconcept.net +// See readme.txt (English & Fran\xE7ais) and http://www.phpconcept.net // // Warning : // This library and the associated files are non commercial, non professional @@ -27,7 +27,7 @@ // ----- Look for double include if (!defined("PCL_TAR")) { - define("PCL_TAR", 1 ); + define("PCL_TAR",1); // ----- Configuration variable // Theses values may be changed by the user of PclTar library @@ -397,7 +397,7 @@ // $p_filelist, in the directory // $p_path. The relative path of the archived files are keep and become // relative to $p_path. - // If a directory is spécified in the list, all the files from this directory + // If a directory is specified in the list, all the files from this directory // will be extracted. // If a file with the same name already exists it will be replaced. // If the path to the file does not exist, it will be created. @@ -2156,7 +2156,7 @@ else gzseek($v_tar, gztell($v_tar)+(ceil(($v_header['size']/512))*512)); - TrFctMessage(__FILE__, __LINE__, 4, "Position après jump [".($p_tar_mode=="tar"?ftell($v_tar):gztell($v_tar))."]"); + TrFctMessage(__FILE__, __LINE__, 4, "Position apr\xE8s jump [".($p_tar_mode=="tar"?ftell($v_tar):gztell($v_tar))."]"); } if ($p_tar_mode == "tar") @@ -2387,7 +2387,7 @@ else gzseek($v_tar, gztell($v_tar)+(ceil(($v_header['size']/512))*512)); - TrFctMessage(__FILE__, __LINE__, 4, "Position après jump [".($p_tar_mode=="tar"?ftell($v_tar):gztell($v_tar))."]"); + TrFctMessage(__FILE__, __LINE__, 4, "Position apr\xE8s jump [".($p_tar_mode=="tar"?ftell($v_tar):gztell($v_tar))."]"); } if ($p_tar_mode == "tar") @@ -2824,7 +2824,7 @@ else gzseek($v_tar, gztell($v_tar)+(ceil(($v_header['size']/512))*512)); - TrFctMessage(__FILE__, __LINE__, 4, "Position après jump [".($p_tar_mode=="tar"?ftell($v_tar):gztell($v_tar))."]"); + TrFctMessage(__FILE__, __LINE__, 4, "Position apr\xE8s jump [".($p_tar_mode=="tar"?ftell($v_tar):gztell($v_tar))."]"); } // ----- Look for end of file Modified: XoopsModules/extgallery/trunk/modules/extgallery/class/pcltrace.lib.php =================================================================== --- XoopsModules/extgallery/trunk/modules/extgallery/class/pcltrace.lib.php 2012-12-18 23:30:09 UTC (rev 10466) +++ XoopsModules/extgallery/trunk/modules/extgallery/class/pcltrace.lib.php 2012-12-19 02:04:40 UTC (rev 10467) @@ -5,11 +5,11 @@ // License GNU/GPL - Vincent Blavet - Janvier 2001 // http://www.phpconcept.net & http://phpconcept.free.fr // -------------------------------------------------------------------------------- -// Français : +// Fran\xE7ais : // La description de l'usage de la librairie PCL Trace 1.0 n'est pas encore -// disponible. Celle-ci n'est pour le moment distribuée qu'avec l'application +// disponible. Celle-ci n'est pour le moment distribu\xE9e qu'avec l'application // et la librairie PhpZip. -// Une version indépendante sera bientot disponible sur http://www.phpconcept.net +// Une version ind\xE9pendante sera bientot disponible sur http://www.phpconcept.net // // English : // The PCL Trace 1.0 library description is not available yet. This library is @@ -20,17 +20,17 @@ // // * Avertissement : // -// Cette librairie a été créée de façon non professionnelle. -// Son usage est au risque et péril de celui qui l'utilise, en aucun cas l'auteur -// de ce code ne pourra être tenu pour responsable des éventuels dégats qu'il pourrait +// Cette librairie a \xE9t\xE9 cr\xE9\xE9e de fa\xE7on non professionnelle. +// Son usage est au risque et p\xE9ril de celui qui l'utilise, en aucun cas l'auteur +// de ce code ne pourra \xEAtre tenu pour responsable des \xE9ventuels d\xE9gats qu'il pourrait // engendrer. -// Il est entendu cependant que l'auteur a réalisé ce code par plaisir et n'y a -// caché aucun virus, ni malveillance. -// Cette libairie est distribuée sous la license GNU/GPL (http://www.gnu.org) +// Il est entendu cependant que l'auteur a r\xE9alis\xE9 ce code par plaisir et n'y a +// cach\xE9 aucun virus, ni malveillance. +// Cette libairie est distribu\xE9e sous la license GNU/GPL (http://www.gnu.org) // // * Auteur : // -// Ce code a été écrit par Vincent Blavet (vi...@bl...) sur son temps +// Ce code a \xE9t\xE9 \xE9crit par Vincent Blavet (vi...@bl...) sur son temps // de loisir. // // -------------------------------------------------------------------------------- @@ -38,7 +38,7 @@ // ----- Look for double include if (!defined("PCLTRACE_LIB")) { - define("PCLTRACE_LIB", 1 ); + define("PCLTRACE_LIB",1); // ----- Version $g_pcl_trace_version = "1.0"; Added: XoopsModules/extgallery/trunk/modules/extgallery/images/icons/extension.png =================================================================== (Binary files differ) Property changes on: XoopsModules/extgallery/trunk/modules/extgallery/images/icons/extension.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Deleted: XoopsModules/extgallery/trunk/modules/extgallery/images/icons/extention.png =================================================================== (Binary files differ) Modified: XoopsModules/extgallery/trunk/modules/extgallery/include/applet/lang/lang_fr.properties =================================================================== --- XoopsModules/extgallery/trunk/modules/extgallery/include/applet/lang/lang_fr.properties 2012-12-18 23:30:09 UTC (rev 10466) +++ XoopsModules/extgallery/trunk/modules/extgallery/include/applet/lang/lang_fr.properties 2012-12-19 02:04:40 UTC (rev 10467) @@ -96,7 +96,7 @@ colDirectory = R\u00e9pertoire colModified = Modifi\u00e9 le colReadable = Lisible? -errForbiddenExtension = Extention de fichier interdite +errForbiddenExtension = Extension de fichier interdite #DefaultUploadPolicy errDuringLogManagement = Une erreur est survenue durant la gestion des logs Modified: XoopsModules/extgallery/trunk/modules/extgallery/include/update_function.php =================================================================== --- XoopsModules/extgallery/trunk/modules/extgallery/include/update_function.php 2012-12-18 23:30:09 UTC (rev 10466) +++ XoopsModules/extgallery/trunk/modules/extgallery/include/update_function.php 2012-12-19 02:04:40 UTC (rev 10467) @@ -84,7 +84,7 @@ if($oldVersion < 107) { - // Fix extention Bug if it's installed + // Fix extension Bug if it's installed if(file_exists(XOOPS_ROOT_PATH.'/class/textsanitizer/gallery/gallery.php')) { $conf = include XOOPS_ROOT_PATH.'/class/textsanitizer/config.php'; $conf['extensions']['gallery'] = 1; Modified: XoopsModules/extgallery/trunk/modules/extgallery/language/english/admin.php =================================================================== --- XoopsModules/extgallery/trunk/modules/extgallery/language/english/admin.php 2012-12-18 23:30:09 UTC (rev 10466) +++ XoopsModules/extgallery/trunk/modules/extgallery/language/english/admin.php 2012-12-19 02:04:40 UTC (rev 10467) @@ -77,15 +77,15 @@ define('_AM_EXTGALLERY_NO_PHOTO_IN_BATCH_DIR',"There aren't any photos in the batch directory"); define('_AM_EXTGALLERY_NO_PHOTO_SELECTED',"There aren't any photos selected"); define('_AM_EXTGALLERY_NO_PHOTO_IN_THIS_ALBUM',"No photos in this album"); -define('_AM_EXTGALLERY_THUMB_REBUILDED',"Thumb rebuilded"); +define('_AM_EXTGALLERY_THUMB_REBUILDED',"Thumb rebuilt"); define('_AM_EXTGALLERY_REBUILD_THUMB',"Rebuild Thumb"); -define('_AM_EXTGALLERY_REBUILD_THUMB_INFO',"Select the categorie where thumb will be rebuilded. This feature is usefull if you want to change thumb size or quality"); +define('_AM_EXTGALLERY_REBUILD_THUMB_INFO',"Select the category where thumb will be rebuilt. This feature is useful if you want to change thumb size or quality"); define('_AM_EXTGALLERY_ADD_PHOTO','Add photo'); define('_AM_EXTGALLERY_UPLOAD','Add new photo'); define('_AM_EXTGALLERY_ALBUMS','Select Album'); define('_AM_EXTGALLERY_PHOTO_TITLE','Title'); define("_AM_EXTGALLERY_PHOTO_UPLOADED","Photo uploaded. Thanks for your submission."); -define("_AM_EXTGALLERY_PHOTO_PENDING","Your photo must be approved by an admin. Thanks for your submission."); +define("_AM_EXTGALLERY_PHOTO_PENDING","Your photo must be approved by an Admin. Thanks for your submission."); define('_AM_EXTGALLERY_UPLOAD_ERROR',"Error during upload"); define('_AM_EXTGALLERY_EXTRA_INFO',"Extra info"); @@ -95,7 +95,7 @@ define('_AM_EXTGALLERY_GROUP_NAME',"Group name"); define('_AM_EXTGALLERY_CAN_ACCESS',"Can access"); define('_AM_EXTGALLERY_CAN_RATE',"Can rate pictures"); -define('_AM_EXTGALLERY_CAN_SEND_ECARD',"Can send ecards from public gallery"); +define('_AM_EXTGALLERY_CAN_SEND_ECARD',"Can send e-cards from public gallery"); define('_AM_EXTGALLERY_CAN_DOWNLOAD',"Can download pictures"); define('_AM_EXTGALLERY_CAN_DOWNLOAD_ORIG',"Can download original pictures"); define('_AM_EXTGALLERY_CAN_UPLOAD',"Can upload pictures on public album"); @@ -105,13 +105,13 @@ define('_AM_EXTGALLERY_PERM_MASK_UPDATED',"Permission mask updated"); define('_AM_EXTGALLERY_SELECT_PERM',"Select permission"); -define('_AM_EXTGALLERY_SELECT_PERM_DESC',"Please cheack all parts and update permission. If you want users can see your albums and photos you must select permission for all group"); +define('_AM_EXTGALLERY_SELECT_PERM_DESC',"Please check all parts and update permission. If you want users to be able to see your albums and photos, you must select permission for all group"); define('_AM_EXTGALLERY_ACCESS_PERM',"Access permission"); define('_AM_EXTGALLERY_ACCESS_PERM_DESC',"Select categories allowed to be viewed"); define('_AM_EXTGALLERY_ACCESS_PERM_INFO',"Allows you to restrict access to this category. A restricted user can't see a category unless they have permission set to do so."); -define('_AM_EXTGALLERY_RATE_PERM',"Rating permission permission"); +define('_AM_EXTGALLERY_RATE_PERM',"Rating permission"); define('_AM_EXTGALLERY_RATE_PERM_DESC',"Select categories where photos can be rated"); define('_AM_EXTGALLERY_RATE_PERM_INFO',"Allows you to restrict the ratings feature. A restricted user cannot rate in a category but can still see the rating for the image."); @@ -133,7 +133,7 @@ define('_AM_EXTGALLERY_PUBLIC_AUTOAPROVE',"Public auto approve permission"); define('_AM_EXTGALLERY_PUBLIC_AUTOAPROVE_DESC',"Select categories where public photo uploads don't need admin approval"); -define('_AM_EXTGALLERY_PUBLIC_AUTOAPROVE_INFO',"Allows you to prevent the automatic display of submitted public image until they are approved by an admin. Select category where public user uploads need not be approved. Public sser's must be allowed to submit photos to enable this permission."); +define('_AM_EXTGALLERY_PUBLIC_AUTOAPROVE_INFO',"Allows you to prevent the automatic display of submitted public images until they are approved by an Admin. Select category where public user uploads don't need to be approved. Public users must be allowed to submit photos to enable this permission."); define('_AM_EXTGALLERY_PUBLIC_DISPLAYED',"Display album permissions"); define('_AM_EXTGALLERY_PUBLIC_DISPLAYED_DESC',"Select categories to be displayed"); @@ -178,19 +178,19 @@ define('_AM_EXTGALLERY_GVIEW_CONF',"Galleryview configuration"); define('_AM_EXTGALLERY_GRIA_CONF',"Galleria configuration"); define('_AM_EXTGALLERY_GFIC_CONF',"Galleriffic configuration"); -define('_AM_EXTGALLERY_SLIDESHOW_NOT_ENABLE',"SlideShow not enabled . you can set slidshow options at here but for use slideshow in user side you must enable slideshow from module Preferences"); -define('_AM_EXTGALLERY_SLIDESHOW_ENABLE',"SlideShow enabled . you can select which script you want use and set options"); -define('_AM_EXTGALLERY_USE_SLIDESHOW_EFFECTS',"Type of show SlideShow"); +define('_AM_EXTGALLERY_SLIDESHOW_NOT_ENABLE',"SlideShow not enabled . You can set slideshow options here but to use slideshow in user side you must enable slideshow from module Preferences"); +define('_AM_EXTGALLERY_SLIDESHOW_ENABLE',"SlideShow enabled. You can select which script you want use and set options"); +define('_AM_EXTGALLERY_USE_SLIDESHOW_EFFECTS',"Type of SlideShow"); define('_AM_EXTGALLERY_SLIDESHOW_GVIEW',"galleryview"); define('_AM_EXTGALLERY_SLIDESHOW_GRIA',"galleria"); define('_AM_EXTGALLERY_SLIDESHOW_MICRO',"microgallery"); define('_AM_EXTGALLERY_SLIDESHOW_GFIC',"galleriffic"); define('_AM_EXTGALLERY_GVIEW_PANELWIDE',"Panel width"); -define('_AM_EXTGALLERY_GVIEW_PANELHEIGHT',"Panle hight"); -define('_AM_EXTGALLERY_GVIEW_FARMEWIDTH',"Farme width"); -define('_AM_EXTGALLERY_GVIEW_FARMEHEIGHT',"Farme hight"); +define('_AM_EXTGALLERY_GVIEW_PANELHEIGHT',"Panel height"); +define('_AM_EXTGALLERY_GVIEW_FRAMEWIDTH',"Frame width"); +define('_AM_EXTGALLERY_GVIEW_FRAMEHEIGHT',"Frame height"); define('_AM_EXTGALLERY_GVIEW_TSPEED',"Transition speed"); -define('_AM_EXTGALLERY_GVIEW_TTERVAL',"Transitionin terval"); +define('_AM_EXTGALLERY_GVIEW_TTERVAL',"Transition interval"); define('_AM_EXTGALLERY_GVIEW_OPACITY',"Overlay opacity"); define('_AM_EXTGALLERY_GVIEW_OVERLYAHEIGHT',"Overlay height"); define('_AM_EXTGALLERY_GVIEW_OVERLAYFS',"Overlay font size"); @@ -226,7 +226,7 @@ define('_AM_EXTGALLERY_GRIA_TRANS_TYP2',"flash"); define('_AM_EXTGALLERY_GRIA_TRANS_TYP3',"pulse"); define('_AM_EXTGALLERY_GRIA_TRANS_TYP4',"slide"); -define('_AM_EXTGALLERY_GRIA_TRANS_TYP5',"fadeslide"); +define('_AM_EXTGALLERY_GRIA_TRANS_TYP5',"fade slide"); define('_AM_EXTGALLERY_GRIA_TSPEED',"Transition speed"); define('_AM_EXTGALLERY_GFIC_HEIGHT',"Max picture height"); define('_AM_EXTGALLERY_GFIC_WIDTH',"Max picture width"); @@ -234,8 +234,8 @@ define('_AM_EXTGALLERY_GFIC_BCOLOR',"Border color"); define('_AM_EXTGALLERY_GFIC_FONTCOLOR',"Font color"); define('_AM_EXTGALLERY_GFIC_AUTOPLAY',"Activate Autoplay"); -define('_AM_EXTGALLERY_GFIC_NB_THUMBS',"Number of thumbs in thumbsnavigation"); -define('_AM_EXTGALLERY_GFIC_NB_COLTHUMBS',"Number of columns in thumbsnavigation"); +define('_AM_EXTGALLERY_GFIC_NB_THUMBS',"Number of thumbs in thumbs navigation"); +define('_AM_EXTGALLERY_GFIC_NB_COLTHUMBS',"Number of columns in thumbs navigation"); define('_AM_EXTGALLERY_GFIC_NB_PRELOAD',"Number of preloaded pictures"); define('_AM_EXTGALLERY_GFIC_TDELAY',"Transition delay"); define('_AM_EXTGALLERY_GFIC_TSPEED',"Transition speed"); @@ -257,7 +257,7 @@ define('_AM_EXTGALLERY_AJAX_OVERLAY',"Overlay"); define('_AM_EXTGALLERY_AJAX_TOOLTIP',"Tooltip"); define('_AM_EXTGALLERY_AJAX_FANCYBOX',"Fancybox"); -define('_AM_EXTGALLERY_AJAX_PRETTPHOTO',"PrettPhoto"); +define('_AM_EXTGALLERY_AJAX_PRETTPHOTO',"PrettyPhoto"); define('_AM_EXTGALLERY_FANCYBOX_BGCOLOR',"Background color"); define('_AM_EXTGALLERY_FANCYBOX_OPACITY',"Opacity"); define('_AM_EXTGALLERY_FANCYBOX_TIN',"Transition in"); @@ -272,10 +272,10 @@ define('_AM_EXTGALLERY_FANCYBOX_SINGLE',"Single"); define('_AM_EXTGALLERY_FANCYBOX_GROUP',"Group"); define('_AM_EXTGALLERY_OVERLAY_BG',"Overlay background"); -define('_AM_EXTGALLERY_OVERLAY_WIDHT',"Overlay widht"); +define('_AM_EXTGALLERY_OVERLAY_WIDTH',"Overlay width"); define('_AM_EXTGALLERY_OVERLAY_HEIGHT',"Overlay height"); -define('_AM_EXTGALLERY_TOOLTIP_WIDHT',"Tooltip Widht"); -define('_AM_EXTGALLERY_TOOLTIP_BORDER_WIDHT',"Tooltip border Widht"); +define('_AM_EXTGALLERY_TOOLTIP_WIDTH',"Tooltip width"); +define('_AM_EXTGALLERY_TOOLTIP_BORDER_WIDTH',"Tooltip border width"); define('_AM_EXTGALLERY_TOOLTIP_BORDERCOLOR',"Tooltip border color"); define('_AM_EXTGALLERY_PRETTPHOTO_SPEED',"Animation Speed"); define('_AM_EXTGALLERY_PRETTPHOTO_FAST',"Fast"); @@ -299,24 +299,24 @@ define('_AM_EXTGALLERY_MD_FILE_DONT_EXIST_SHORT',"Module files don't exist"); define('_AM_EXTGALLERY_INSTALL_DONE',"Installing done. Click here to update your module"); -// Extention -define('_AM_EXTGALLERY_EXTENTION_INFO',"Extention information"); -define('_AM_EXTGALLERY_EXTENTION_NOT_INSTALLED',"Extention not installed"); -define('_AM_EXTGALLERY_INSTALL_EXTENTION',"Install extention"); -define('_AM_EXTGALLERY_EXTENTION_OK',"Extention availlable"); -define('_AM_EXTGALLERY_EXTENTION_NOTICE',"This extention allow you to display photo on all the site just by adding a <b>gallery</b> tag to your text. A button (<img src=\"../images/extgallery-posticon.gif\" />) is displayed on XOOPS editor."); -define('_AM_EXTGALLERY_EXT_FILE_DONT_EXIST',"Extention file don't exist on repository :<br /><b>Server : </b>%s<br /><b>File : </b>%s"); -define('_AM_EXTGALLERY_EXT_FILE_DONT_EXIST_SHORT',"Extention file don't exist"); -define('_AM_EXTGALLERY_EXTENTION_INSTALLED',"Extention installed"); -define('_AM_EXTGALLERY_EXTENTION_HOWTO',"How to use:"); -define('_AM_EXTGALLERY_EXTENTION_HOWTODESC',"To manually install this Extention and use it, you must follow these steps: <br /> +// Extension +define('_AM_EXTGALLERY_EXTENSION_INFO',"Extension information"); +define('_AM_EXTGALLERY_EXTENSION_NOT_INSTALLED',"Extension not installed"); +define('_AM_EXTGALLERY_INSTALL_EXTENSION',"Install extension"); +define('_AM_EXTGALLERY_EXTENSION_OK',"Extension available"); +define('_AM_EXTGALLERY_EXTENSION_NOTICE',"This extension allow you to display photo on all the site just by adding a <b>gallery</b> tag to your text. A button (<img src=\"../images/extgallery-posticon.gif\" />) is displayed on XOOPS editor."); +define('_AM_EXTGALLERY_EXT_FILE_DONT_EXIST',"Extension file don't exist on repository :<br /><b>Server : </b>%s<br /><b>File : </b>%s"); +define('_AM_EXTGALLERY_EXT_FILE_DONT_EXIST_SHORT',"Extension file don't exist"); +define('_AM_EXTGALLERY_EXTENSION_INSTALLED',"Extension installed"); +define('_AM_EXTGALLERY_EXTENSION_HOWTO',"How to use:"); +define('_AM_EXTGALLERY_EXTENSION_HOWTODESC',"To manually install this Extension and use it, you must follow these steps: <br /> <div class=\"marg10\">1- Add <b>gallery.php</b> to <b>XOOPS_ROOT_PATH /class/textsanitizer/gallery/gallery.php</b> ( you can find gallery.php in module archive)</div> <div class=\"marg10\">2- Edit <b>XOOPS_ROOT_PATH /class/textsanitizer/config.php</b> and add (( <b>\"gallery\" => 1</b> )) to config extensions array ( you can find edited file in module archive)</div> <div class=\"marg10\"><img src=\"../images/extensions.png\" /></div> <div class=\"marg10\">3- You can download <b>gallery.php</b> and <b>config.php</b> at XOOPS SVN</div> -<div class=\"marg10\">4- If you want use module install function you must <b>XOOPS_ROOT_PATH /class/textsanitizer</b> chmod to 777 . after installtion you must change chmod to 644.</div> +<div class=\"marg10\">4- If you want to use module install function, you must <b>XOOPS_ROOT_PATH /class/textsanitizer</b> chmod to 777 . after installation you must change chmod to 644.</div> "); -define('_AM_EXTGALLERY_EXTENTION_DOWNLOAD',"Download files from XOOPS SVN"); +define('_AM_EXTGALLERY_EXTENSION_DOWNLOAD',"Download files from XOOPS SVN"); // About.php define("_AM_EXTGALLERY_ABOUT_RELEASEDATE", "Update date: "); @@ -327,11 +327,11 @@ define("_AM_EXTGALLERY_ABOUT_WEBSITE", "Website: "); define("_AM_EXTGALLERY_ABOUT_AUTHOR_NAME", "Author name: "); define("_AM_EXTGALLERY_ABOUT_CHANGELOG", "Change Log"); -define("_AM_EXTGALLERY_ABOUT_MODULE_INFO", "Module Infos"); -define("_AM_EXTGALLERY_ABOUT_AUTHOR_INFO", "Author Infos"); +define("_AM_EXTGALLERY_ABOUT_MODULE_INFO", "Module Info"); +define("_AM_EXTGALLERY_ABOUT_AUTHOR_INFO", "Author Info"); define("_AM_EXTGALLERY_ABOUT_DESCRIPTION", "Description: "); // text in admin footer -define("_AM_EXTGALLERY_ADMIN_FOOTER", "<div class='right smallsmall italic pad5'>XOOPS Tag is maintened by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); +define("_AM_EXTGALLERY_ADMIN_FOOTER", "<div class='right smallsmall italic pad5'>XOOPS Tag is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); define('_EXTGALLERY_ADMIN_'," "); // ?> \ No newline at end of file Modified: XoopsModules/extgallery/trunk/modules/extgallery/language/english/blocks.php =================================================================== --- XoopsModules/extgallery/trunk/modules/extgallery/language/english/blocks.php 2012-12-18 23:30:09 UTC (rev 10466) +++ XoopsModules/extgallery/trunk/modules/extgallery/language/english/blocks.php 2012-12-19 02:04:40 UTC (rev 10467) @@ -60,14 +60,14 @@ define('_MB_EXTGALLERY_FANCYBOX_SINGLE',"Single"); define('_MB_EXTGALLERY_FANCYBOX_GROUP',"Group"); define('_MB_EXTGALLERY_OVERLAY_BG',"Overlay background"); -define('_MB_EXTGALLERY_OVERLAY_WIDHT',"Overlay widht"); +define('_MB_EXTGALLERY_OVERLAY_WIDTH',"Overlay width"); define('_MB_EXTGALLERY_OVERLAY_HEIGHT',"Overlay height"); -define('_MB_EXTGALLERY_TOOLTIP_WIDHT',"Tooltip Widht"); -define('_MB_EXTGALLERY_TOOLTIP_BORDER_WIDHT',"Tooltip border Widht"); +define('_MB_EXTGALLERY_TOOLTIP_WIDTH',"Tooltip Width"); +define('_MB_EXTGALLERY_TOOLTIP_BORDER_WIDTH',"Tooltip border width"); define('_MB_EXTGALLERY_TOOLTIP_BORDERCOLOR',"Tooltip border color"); define('_MB_EXTGALLERY_ALBUM_CONF',"Album configuration"); define('_MB_EXTGALLERY_ALBUM_NOT_ENABLE',"Album not enabled"); -define('_MB_EXTGALLERY_AJAX_PRETTPHOTO',"PrettPhoto"); +define('_MB_EXTGALLERY_AJAX_PRETTPHOTO',"PrettyPhoto"); define('_MB_EXTGALLERY_PRETTPHOTO_SPEED',"Animation Speed"); define('_MB_EXTGALLERY_PRETTPHOTO_FAST',"Fast"); define('_MB_EXTGALLERY_PRETTPHOTO_SLOW',"Slow"); @@ -108,7 +108,7 @@ define('_MB_EXTGALLERY_MICRO_SIZE_OP3',"large"); define('_MB_EXTGALLERY_TRUE',"true"); define('_MB_EXTGALLERY_FALSE',"false"); -define('_MB_EXTGALLERY_PHOTO_NUMBER_TABLE',"Nubmer of columns in table show"); +define('_MB_EXTGALLERY_PHOTO_NUMBER_TABLE',"Number of columns in table show"); define('_MB_EXTGALLERY_TABLE',"Table"); Added: XoopsModules/extgallery/trunk/modules/extgallery/language/english/extension.php =================================================================== --- XoopsMo... [truncated message content] |
From: <be...@us...> - 2012-12-18 23:30:12
|
Revision: 10466 http://sourceforge.net/p/xoops/svn/10466 Author: beckmi Date: 2012-12-18 23:30:09 +0000 (Tue, 18 Dec 2012) Log Message: ----------- Updating release date Modified Paths: -------------- XoopsModules/smartfaq/trunk/smartfaq/xoops_version.php Modified: XoopsModules/smartfaq/trunk/smartfaq/xoops_version.php =================================================================== --- XoopsModules/smartfaq/trunk/smartfaq/xoops_version.php 2012-12-18 23:22:51 UTC (rev 10465) +++ XoopsModules/smartfaq/trunk/smartfaq/xoops_version.php 2012-12-18 23:30:09 UTC (rev 10466) @@ -13,7 +13,7 @@ $modversion['name'] = _MI_SF_MD_NAME; $modversion['version'] = 1.10; $modversion['description'] = _MI_SF_MD_DESC; -$modversion['author'] = "The SmartFactory [www.smartfactory.ca] | Xuups"; +$modversion['author'] = "The SmartFactory | Xuups"; $modversion['credits'] = "w4z004, hsalazar, Carnuke, Mariuss, Mithrandir, phppp, Predator, GIJOE, outch, rowdie, Xvitry, Xavier & Catzwolf, trabis"; $modversion['help'] = 'page=help'; $modversion['license'] = 'GNU GPL 2.0 or later'; @@ -26,7 +26,7 @@ $modversion['icons16'] = '../../Frameworks/moduleclasses/icons/16'; $modversion['icons32'] = '../../Frameworks/moduleclasses/icons/32'; //about -$modversion['release_date'] = '2012/05/09'; +$modversion['release_date'] = '2012/12/18'; $modversion["module_website_url"] = "www.xoops.org"; $modversion["module_website_name"] = "XOOPS"; $modversion["module_status"] = "Final"; |
From: <be...@us...> - 2012-12-18 23:22:53
|
Revision: 10465 http://sourceforge.net/p/xoops/svn/10465 Author: beckmi Date: 2012-12-18 23:22:51 +0000 (Tue, 18 Dec 2012) Log Message: ----------- Updating to 1.10 Final Modified Paths: -------------- XoopsModules/smartfaq/trunk/smartfaq/docs/changelog.txt XoopsModules/smartfaq/trunk/smartfaq/docs/lang_diff.txt XoopsModules/smartfaq/trunk/smartfaq/xoops_version.php Modified: XoopsModules/smartfaq/trunk/smartfaq/docs/changelog.txt =================================================================== --- XoopsModules/smartfaq/trunk/smartfaq/docs/changelog.txt 2012-12-18 21:13:30 UTC (rev 10464) +++ XoopsModules/smartfaq/trunk/smartfaq/docs/changelog.txt 2012-12-18 23:22:51 UTC (rev 10465) @@ -1,5 +1,5 @@ --------------------------------------- -1.10 Beta 1 2012-07-23 +1.10 Final 2012-12-18 --------------------------------------- - Converted to XOOPS 2.5.5 Admin GUI (Mamba) Modified: XoopsModules/smartfaq/trunk/smartfaq/docs/lang_diff.txt =================================================================== --- XoopsModules/smartfaq/trunk/smartfaq/docs/lang_diff.txt 2012-12-18 21:13:30 UTC (rev 10464) +++ XoopsModules/smartfaq/trunk/smartfaq/docs/lang_diff.txt 2012-12-18 23:22:51 UTC (rev 10465) @@ -9,11 +9,3 @@ * Modified x renamed ---------------------------------------- -1.10 Beta 1 2012-07-23 ---------------------------------------- - -__admin.php__ -+ _AM_OLEDRION_ADD_ATTRIBUTE -+ _AM_OLEDRION_EDIT_ATTRIBUTE - Modified: XoopsModules/smartfaq/trunk/smartfaq/xoops_version.php =================================================================== --- XoopsModules/smartfaq/trunk/smartfaq/xoops_version.php 2012-12-18 21:13:30 UTC (rev 10464) +++ XoopsModules/smartfaq/trunk/smartfaq/xoops_version.php 2012-12-18 23:22:51 UTC (rev 10465) @@ -27,9 +27,9 @@ $modversion['icons32'] = '../../Frameworks/moduleclasses/icons/32'; //about $modversion['release_date'] = '2012/05/09'; -$modversion["module_website_url"] = "http://www.xoops.org/"; +$modversion["module_website_url"] = "www.xoops.org"; $modversion["module_website_name"] = "XOOPS"; -$modversion["module_status"] = "Beta 1"; +$modversion["module_status"] = "Final"; $modversion['min_php'] = '5.2'; $modversion['min_xoops'] = "2.5.5"; $modversion['min_admin'] = '1.1'; |
From: <be...@us...> - 2012-12-18 21:13:32
|
Revision: 10464 http://sourceforge.net/p/xoops/svn/10464 Author: beckmi Date: 2012-12-18 21:13:30 +0000 (Tue, 18 Dec 2012) Log Message: ----------- branching to XoopsModules26 Added Paths: ----------- XoopsModules26/wflinks/trunk/htdocs/ |
From: <be...@us...> - 2012-12-18 21:12:59
|
Revision: 10463 http://sourceforge.net/p/xoops/svn/10463 Author: beckmi Date: 2012-12-18 21:12:58 +0000 (Tue, 18 Dec 2012) Log Message: ----------- branching to XoopsModules26 Added Paths: ----------- XoopsModules26/wfdownloads/trunk/wfdownloads/ |
From: <be...@us...> - 2012-12-18 21:12:27
|
Revision: 10462 http://sourceforge.net/p/xoops/svn/10462 Author: beckmi Date: 2012-12-18 21:12:26 +0000 (Tue, 18 Dec 2012) Log Message: ----------- branching to XoopsModules26 Added Paths: ----------- XoopsModules26/qrcode/trunk/qrcode/ |
From: <be...@us...> - 2012-12-18 21:11:59
|
Revision: 10461 http://sourceforge.net/p/xoops/svn/10461 Author: beckmi Date: 2012-12-18 21:11:57 +0000 (Tue, 18 Dec 2012) Log Message: ----------- branching to XoopsModules26 Added Paths: ----------- XoopsModules26/obituaries/trunk/obituaries/ |
From: <be...@us...> - 2012-12-18 21:11:23
|
Revision: 10460 http://sourceforge.net/p/xoops/svn/10460 Author: beckmi Date: 2012-12-18 21:11:21 +0000 (Tue, 18 Dec 2012) Log Message: ----------- branching to XoopsModules26 Added Paths: ----------- XoopsModules26/mytabs/trunk/mytabs/ |
From: <be...@us...> - 2012-12-18 21:10:36
|
Revision: 10459 http://sourceforge.net/p/xoops/svn/10459 Author: beckmi Date: 2012-12-18 21:10:34 +0000 (Tue, 18 Dec 2012) Log Message: ----------- branching to XoopsModules26 Added Paths: ----------- XoopsModules26/mymenus/trunk/mymenus/ |
From: <be...@us...> - 2012-12-18 21:10:17
|
Revision: 10458 http://sourceforge.net/p/xoops/svn/10458 Author: beckmi Date: 2012-12-18 21:10:15 +0000 (Tue, 18 Dec 2012) Log Message: ----------- branching to XoopsModules26 Added Paths: ----------- XoopsModules26/mycomments/trunk/mycomments/ |
From: <be...@us...> - 2012-12-18 21:09:55
|
Revision: 10457 http://sourceforge.net/p/xoops/svn/10457 Author: beckmi Date: 2012-12-18 21:09:53 +0000 (Tue, 18 Dec 2012) Log Message: ----------- branching to XoopsModules26 Added Paths: ----------- XoopsModules26/mastop_go2/trunk/mastop_go2/ |
From: <be...@us...> - 2012-12-18 21:09:30
|
Revision: 10456 http://sourceforge.net/p/xoops/svn/10456 Author: beckmi Date: 2012-12-18 21:09:29 +0000 (Tue, 18 Dec 2012) Log Message: ----------- branching to XoopsModules26 Added Paths: ----------- XoopsModules26/marquee/trunk/marquee/ |
From: <be...@us...> - 2012-12-18 21:09:10
|
Revision: 10455 http://sourceforge.net/p/xoops/svn/10455 Author: beckmi Date: 2012-12-18 21:09:07 +0000 (Tue, 18 Dec 2012) Log Message: ----------- branching to XoopsModules26 Added Paths: ----------- XoopsModules26/googlemaps/trunk/googlemaps/ |
From: <be...@us...> - 2012-12-18 21:08:39
|
Revision: 10454 http://sourceforge.net/p/xoops/svn/10454 Author: beckmi Date: 2012-12-18 21:08:38 +0000 (Tue, 18 Dec 2012) Log Message: ----------- branching to XoopsModules26 Added Paths: ----------- XoopsModules26/defacer/trunk/defacer/ |
From: <be...@us...> - 2012-12-18 21:05:13
|
Revision: 10453 http://sourceforge.net/p/xoops/svn/10453 Author: beckmi Date: 2012-12-18 21:05:11 +0000 (Tue, 18 Dec 2012) Log Message: ----------- branching to XoopsModules26 Added Paths: ----------- XoopsModules26/boox/trunk/boox/ |
From: <be...@us...> - 2012-12-18 21:04:35
|
Revision: 10452 http://sourceforge.net/p/xoops/svn/10452 Author: beckmi Date: 2012-12-18 21:04:34 +0000 (Tue, 18 Dec 2012) Log Message: ----------- branching to XoopsModules26 Added Paths: ----------- XoopsModules26/backup/trunk/backup/ |
From: <be...@us...> - 2012-12-18 21:03:52
|
Revision: 10451 http://sourceforge.net/p/xoops/svn/10451 Author: beckmi Date: 2012-12-18 21:03:51 +0000 (Tue, 18 Dec 2012) Log Message: ----------- copying to XoopsModules26 Added Paths: ----------- XoopsModules26/avaman/trunk/avaman/ |
From: <be...@us...> - 2012-12-18 20:57:56
|
Revision: 10450 http://sourceforge.net/p/xoops/svn/10450 Author: beckmi Date: 2012-12-18 20:57:54 +0000 (Tue, 18 Dec 2012) Log Message: ----------- Adding placeholders for modules Added Paths: ----------- XoopsModules26/avaman/ XoopsModules26/avaman/branches/ XoopsModules26/avaman/releases/ XoopsModules26/avaman/trunk/ XoopsModules26/backup/ XoopsModules26/backup/branches/ XoopsModules26/backup/releases/ XoopsModules26/backup/trunk/ XoopsModules26/birthday/ XoopsModules26/birthday/branches/ XoopsModules26/birthday/releases/ XoopsModules26/birthday/trunk/ XoopsModules26/boox/ XoopsModules26/boox/branches/ XoopsModules26/boox/releases/ XoopsModules26/boox/trunk/ XoopsModules26/defacer/ XoopsModules26/defacer/branches/ XoopsModules26/defacer/releases/ XoopsModules26/defacer/trunk/ XoopsModules26/googlemaps/ XoopsModules26/googlemaps/branches/ XoopsModules26/googlemaps/releases/ XoopsModules26/googlemaps/trunk/ XoopsModules26/marquee/ XoopsModules26/marquee/branches/ XoopsModules26/marquee/releases/ XoopsModules26/marquee/trunk/ XoopsModules26/mastop_go2/ XoopsModules26/mastop_go2/branches/ XoopsModules26/mastop_go2/releases/ XoopsModules26/mastop_go2/trunk/ XoopsModules26/mycomments/ XoopsModules26/mycomments/branches/ XoopsModules26/mycomments/releases/ XoopsModules26/mycomments/trunk/ XoopsModules26/mymenus/ XoopsModules26/mymenus/branches/ XoopsModules26/mymenus/releases/ XoopsModules26/mymenus/trunk/ XoopsModules26/mysearch/ XoopsModules26/mysearch/branches/ XoopsModules26/mysearch/releases/ XoopsModules26/mysearch/trunk/ XoopsModules26/mytabs/ XoopsModules26/mytabs/branches/ XoopsModules26/mytabs/releases/ XoopsModules26/mytabs/trunk/ XoopsModules26/obituaries/ XoopsModules26/obituaries/branches/ XoopsModules26/obituaries/releases/ XoopsModules26/obituaries/trunk/ XoopsModules26/qrcode/ XoopsModules26/qrcode/branches/ XoopsModules26/qrcode/releases/ XoopsModules26/qrcode/trunk/ XoopsModules26/wfdownloads/ XoopsModules26/wfdownloads/branches/ XoopsModules26/wfdownloads/releases/ XoopsModules26/wfdownloads/trunk/ XoopsModules26/wflinks/ XoopsModules26/wflinks/branches/ XoopsModules26/wflinks/releases/ XoopsModules26/wflinks/trunk/ |
From: <ma...@us...> - 2012-12-18 20:43:22
|
Revision: 10449 http://sourceforge.net/p/xoops/svn/10449 Author: mageg Date: 2012-12-18 20:43:19 +0000 (Tue, 18 Dec 2012) Log Message: ----------- some errors in page module Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/page/class/plugin/search.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/page/templates/admin/page_admin_related.html Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/page/class/plugin/search.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/page/class/plugin/search.php 2012-12-18 20:36:41 UTC (rev 10448) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/page/class/plugin/search.php 2012-12-18 20:43:19 UTC (rev 10449) @@ -57,6 +57,5 @@ $i++; } return $ret; - return $res; } } \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/page/templates/admin/page_admin_related.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/page/templates/admin/page_admin_related.html 2012-12-18 20:36:41 UTC (rev 10448) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/page/templates/admin/page_admin_related.html 2012-12-18 20:43:19 UTC (rev 10449) @@ -53,7 +53,7 @@ <!--Pop-pup--> <{foreach item=related from=$popup_related}> <div id="dialog<{$related.id}>" title="<{$related.name}>" style='display:none;'> - <b><{$smarty.const._AM_PAGE_RELATED_MAIN}>:</b> + <strong><{$smarty.const._AM_PAGE_RELATED_MAIN}>:</strong> <ul> <li> <a href="content.php?op=edit&id=<{$related.main_contentid}>" title="<{$smarty.const._AM_PAGE_EDIT}>"> @@ -61,7 +61,7 @@ </a> </li> </ul> - <b><{$smarty.const._AM_PAGE_RELATED_SECONDARY}>:</b> + <strong><{$smarty.const._AM_PAGE_RELATED_SECONDARY}>:</strong> <{$related.secondary}> </div> <{/foreach}> |
From: <txm...@us...> - 2012-12-18 20:36:44
|
Revision: 10448 http://sourceforge.net/p/xoops/svn/10448 Author: txmodxoops Date: 2012-12-18 20:36:41 +0000 (Tue, 18 Dec 2012) Log Message: ----------- Changed height 21x30 to 21x22 Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/images/bold.gif Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/images/bold.gif =================================================================== (Binary files differ) |