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: <dj...@us...> - 2012-02-07 19:16:44
|
Revision: 8901
http://xoops.svn.sourceforge.net/xoops/?rev=8901&view=rev
Author: djculex
Date: 2012-02-07 19:16:35 +0000 (Tue, 07 Feb 2012)
Log Message:
-----------
Zend standardizing
- Cleaning redundant code
- Docblocking
Modified Paths:
--------------
XoopsModules/smallworld/trunk/smallworld/class/adminclass.php
XoopsModules/smallworld/trunk/smallworld/class/class_collector.php
XoopsModules/smallworld/trunk/smallworld/class/db.php
XoopsModules/smallworld/trunk/smallworld/class/forms.php
XoopsModules/smallworld/trunk/smallworld/class/friends.php
XoopsModules/smallworld/trunk/smallworld/class/images.php
XoopsModules/smallworld/trunk/smallworld/class/mail.php
XoopsModules/smallworld/trunk/smallworld/class/profile.php
XoopsModules/smallworld/trunk/smallworld/class/uploadclass.php
XoopsModules/smallworld/trunk/smallworld/class/user.php
XoopsModules/smallworld/trunk/smallworld/class/wall.php
Modified: XoopsModules/smallworld/trunk/smallworld/class/adminclass.php
===================================================================
--- XoopsModules/smallworld/trunk/smallworld/class/adminclass.php 2012-02-07 16:20:18 UTC (rev 8900)
+++ XoopsModules/smallworld/trunk/smallworld/class/adminclass.php 2012-02-07 19:16:35 UTC (rev 8901)
@@ -1,375 +1,493 @@
<?php
/**
* You may not change or alter any portion of this comment or credits
-* of supporting developers from this source code or any supporting source code
-* which is considered copyrighted (c) material of the original comment or credit authors.
+* 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: http://www.fsf.org/copyleft/gpl.html GNU public license
-* @module: Smallworld
-* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...>
-* @copyright: 2011 Culex
-* @Repository path: $HeadURL$
-* @Last committed: $Revision$
-* @Last changed by: $Author$
-* @Last changed date: $Date$
-* @ID: $Id$
+* @copyright: The XOOPS Project http://sourceforge.net/projects/xoops/
+* @license: http://www.fsf.org/copyleft/gpl.html GNU public license
+* @packet: Modules
+* @sub-packet: Smallworld
+* @since: Xoops 2.5.4
+* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...>
+* @copyright: 2011 Culex
+* @Last committed: $Revision$
+* @Last changed by: $Author$
+* @Last changed date: $Date$
+* @ID: $Id$
**/
-
-class SmallworldAdmin {
- // Get oldes message in Db
- function oldestMsg () {
- global $xoopsDB;
- $date = 0;
- $sql = "SELECT * FROM ".$xoopsDB->prefix('smallworld_messages')." ORDER BY created limit 1";
- $result = $xoopsDB->queryF($sql);
- $counter = $xoopsDB->getRowsNum($result);
- if ($counter >= 1) {
- while ($sqlfetch = $xoopsDB->fetchArray($result)) {
- $date = $sqlfetch['created'];
- }
- }
- return $date;
- }
-
- // Get average messages sent per day
- function AvgMsgDay ($totaldays) {
- global $xoopsDB;
- $sql = "SELECT count( * ) / ".$totaldays." AS averg FROM ".$xoopsDB->prefix('smallworld_messages')."";
- $result = $xoopsDB->queryF($sql);
- while ($sqlfetch = $xoopsDB->fetchArray($result)) {
- $avg = number_format($sqlfetch['averg'], 2, '.', ',');
- }
- return $avg;
- }
+/**
+ * package modules
+ * @sub-package smallworld
+ * @Author: Michael Albertsen (http://culex.dk) <cu...@cu...>
+ * @copyright Copyright (c) 2011 Culex www.culex.dk <cu...@cu...>
+ * @license http://www.fsf.org/copyleft/gpl.html GNU public license
+ * @since: Xoops 2.5.4
+ */
+class SmallworldAdmin
+{
+ /**
+ * Get oldest message in Db
+ * @returns time
+ */
+ function oldestMsg ()
+ {
+ global $xoopsDB;
+ $date = 0;
+ $sql = "SELECT * FROM "
+ . $xoopsDB->prefix('smallworld_messages')
+ . " ORDER BY created limit 1";
+ $result = $xoopsDB->queryF($sql);
+ $counter = $xoopsDB->getRowsNum($result);
+ if ($counter >= 1) {
+ while ($sqlfetch = $xoopsDB->fetchArray($result)) {
+ $date = $sqlfetch['created'];
+ }
+ }
+ return $date;
+ }
+
+ /**
+ * Get average messages sent per day
+ * @param intval $totaldays
+ * @returns intval
+ */
+ function AvgMsgDay ($totaldays)
+ {
+ global $xoopsDB;
+ $sql = "SELECT count( * ) / "
+ . $totaldays
+ . " AS averg FROM "
+ . $xoopsDB->prefix('smallworld_messages');
+ $result = $xoopsDB->queryF($sql);
+ while ($sqlfetch = $xoopsDB->fetchArray($result)) {
+ $avg = number_format($sqlfetch['averg'], 2, '.', ',');
+ }
+ return $avg;
+ }
+
+ /**
+ * total users using smallworld
+ * @returns intval
+ */
+ function TotalUsers ()
+ {
+ global $xoopsDB;
+ $sql = "SELECT * FROM ".$xoopsDB->prefix('smallworld_user');
+ $result = $xoopsDB->queryF($sql);
+ $counter = $xoopsDB->getRowsNum($result);
+ if ($counter < 1) {
+ $sum = 0;
+ } else {
+ $i = 0;
+ while ($myrow = $xoopsDB->fetchArray($result)) {
+ $user[$i]['username'] = $myrow['username'];
+ $i++;
+ }
+ $all = $this->flatten($user);
+ $sum = count(array_unique($all));
+ $unique = array_unique($all);
+ }
+ return $sum;
+ }
+ /**
+ * Get version of module
+ * @returns string
+ */
+ function ModuleInstallVersion ()
+ {
+ global $xoopsModule;
+ $version = round($xoopsModule->getVar('version') / 100, 2);
+ return $version;
+ }
+ /**
+ * Get date when Module was installed
+ * @returns time
+ */
+ function ModuleInstallDate ()
+ {
+ global $xoopsModule;
+ $date = formatTimestamp($xoopsModule->getVar('last_update'), 'm');
+ return $date;
+ }
- // total users using smallworld
- function TotalUsers () {
- global $xoopsDB;
- $sql = "SELECT * FROM ".$xoopsDB->prefix('smallworld_user')."";
- $result = $xoopsDB->queryF($sql);
- $counter = $xoopsDB->getRowsNum($result);
- if ($counter < 1) {
- $sum = 0;
- } else {
- $i = 0;
- while ( $myrow = $xoopsDB->fetchArray($result) ) {
- $user[$i]['username'] = $myrow['username'];
- $i++;
- }
- $all = $this->flatten($user);
- $sum = count(array_unique($all));
- $unique = array_unique($all);
- }
- return $sum;
- }
+ /**
+ * Count total days represented in db
+ * @returns time
+ */
+ function CountDays()
+ {
+ global $xoopsDB, $xoopsModule;
+ $date = $this->oldestMsg();
+ $now = time();
+ $diff = ($now - $date) / (60 * 60 * 24);
+ return $diff;
+ }
+
+ /**
+ * find user with most posted messages
+ * @returns array
+ */
+ function mostactiveusers_allround()
+ {
+ global $xoopsDB, $xoopsUser;
+ $sql = "SELECT uid_fk, COUNT( * ) as cnt ";
+ $sql .= "FROM ( ";
+ $sql .= "SELECT uid_fk ";
+ $sql .= "FROM ".$xoopsDB->prefix('smallworld_messages')." ";
+ $sql .= "UNION ALL SELECT uid_fk ";
+ $sql .= "FROM ".$xoopsDB->prefix('smallworld_comments')." ";
+ $sql .= ") AS u ";
+ $sql .= "GROUP BY uid_fk ";
+ $sql .= "ORDER BY count( * ) DESC limit 20";
+ $result = $xoopsDB->queryF($sql);
+ $counter = $xoopsDB->getRowsNum($result);
- // Get version of module
- function ModuleInstallVersion () {
- global $xoopsModule;
- $version = round($xoopsModule->getVar('version') / 100, 2);
- return $version;
- }
-
- // Get date when Module was installed
- function ModuleInstallDate () {
- global $xoopsModule;
- $date = formatTimestamp($xoopsModule->getVar('last_update'),'m');
- return $date;
- }
+ if ($counter < 1) {
+ $msg = array();
+ } else {
+ $msg = array();
+
+ $i = 1;
+ while ($row = $xoopsDB->fetchArray($result)) {
+ $msg["counter"][$i] = $i;
+ $msg["img"][$i] = "<img style='margin:0px 5px;' "
+ . "src = '../images/".$i.".png'></img>";
+ if ($msg['counter'][$i] > 3) {
+ $msg["img"][$i] = '';
+ }
+ $msg["cnt"][$i] = $row["cnt"];
+ $msg["from"][$i] = $xoopsUser->getUnameFromId(
+ $row["uid_fk"]
+ );
+ $i++;
+ }
+ }
+ return $msg;
+ }
+
+ /**
+ * find user with most posted messages in last 24 hours
+ * @returns array
+ */
+ function mostactiveusers_today()
+ {
+ global $xoopsDB, $xoopsUser;
+ $sql = "SELECT uid_fk, COUNT( * ) as cnt ";
+ $sql .= "FROM ( ";
+ $sql .= "SELECT uid_fk ";
+ $sql .= "FROM ".$xoopsDB->prefix('smallworld_messages')." ";
+ $sql .= "WHERE `created` > UNIX_TIMESTAMP(DATE_SUB( NOW( ) ";
+ $sql .= ", INTERVAL 1 DAY )) ";
+ $sql .= "UNION ALL SELECT uid_fk ";
+ $sql .= "FROM ".$xoopsDB->prefix('smallworld_comments')." ";
+ $sql .= "WHERE `created` > UNIX_TIMESTAMP(DATE_SUB( NOW( ) ";
+ $sql .= ", INTERVAL 1 DAY )) ";
+ $sql .= ") AS u ";
+ $sql .= "GROUP BY uid_fk ";
+ $sql .= "ORDER BY count( * ) DESC limit 20";
+ $result = $xoopsDB->queryF($sql);
+ $msgtoday = array();
+ if ($xoopsDB->getRowsNum($result) != 0) {
+ $i = 1;
+ while ($row = $xoopsDB->fetchArray($result)) {
+ $msgtoday["counter"][$i] = $i;
+ $msgtoday["img"][$i] = "<img style='margin:0px 5px;' "
+ . "src = '../images/" . $i . ".png'></img>";
+ if ($msgtoday['counter'][$i] > 3) {
+ $msgtoday["img"][$i] = '';
+ }
+ $msgtoday["cnt"][$i] = $row["cnt"];
+ $msgtoday["from"][$i] = $xoopsUser->getUnameFromId(
+ $row["uid_fk"]
+ );
+ $i++;
+ }
+ } else {
+ $msgtoday = array();
+ }
+ return $msgtoday;
+ }
+
+ /**
+ * Find best OR worst rated users
+ * @param string $direction
+ * @returns array
+ */
+ function topratedusers($direction)
+ {
+ global $xoopsUser, $xoopsDB, $xoopsTpl;
+ $array = array();
+ if ($direction == 'up') {
+ $sql = "SELECT owner, count(*) as cnt FROM "
+ . $xoopsDB->prefix('smallworld_vote')
+ . " where up='1' GROUP by owner ORDER BY cnt DESC limit 20";
+ $result = $xoopsDB->queryF($sql);
+ $count = $xoopsDB->getRowsNum($result);
+ $i = 1;
+ if ($count >= $i) {
+ while ($row = $xoopsDB->fetchArray($result)) {
+ $array['counter'][$i] = $i;
+ $array['img'][$i] = "<img height='10px' width='10px' "
+ . "style='margin:0px 5px;' "
+ . "src = '../images/like.png'></img>";
+ if ($array['counter'][$i] > 3) {
+ $array["img"][$i] = '';
+ }
+ $array['cnt'][$i] = $row['cnt'];
+ $array['user'][$i] = $xoopsUser->getUnameFromId(
+ $row["owner"]
+ );
+ $i++;
+ }
+ } else {
+ $array = array();
+ }
+ } else {
+ $sql = "SELECT owner, count(*) as cnt FROM "
+ . $xoopsDB->prefix('smallworld_vote')
+ . " where down='1' GROUP by owner "
+ . "ORDER BY cnt DESC limit 20";
+ $result = $xoopsDB->queryF($sql);
+ $count = $xoopsDB->getRowsNum($result);
+ $i = 1;
+ if ($count != 0) {
+ while ($row = $xoopsDB->fetchArray($result)) {
+ $array['counter'][$i] = $i;
+ $array['img'][$i] = "<img height='10px' width='10px' "
+ . "style='margin:0px 5px;' "
+ . "src = '../images/dislike.png'></img>";
+ if ($array['counter'][$i] > 3) {
+ $array["img"][$i] = '';
+ }
+ $array['cnt'][$i] = $row['cnt'];
+ $array['user'][$i] = $xoopsUser->getUnameFromId(
+ $row["owner"]
+ );
+ $i++;
+ }
+ } else {
+ $array = array();
+ }
+ }
+ return $array;
+ }
+
+ /**
+ * Get all users to loop in admin for administration
+ * @param string $inspect
+ * @returns array
+ */
+ function getAllUsers ($inspect)
+ {
+ global $xoopsDB, $xoopsUser, $xoopsTpl;
+ $data = array();
+ if ($inspect == 'yes') {
+ $sql = "SELECT * FROM ".$xoopsDB->prefix('smallworld_admin')
+ . " WHERE (inspect_start + inspect_stop) >= ".time()
+ . " ORDER BY username";
+ } else {
+ $sql = "SELECT * FROM ".$xoopsDB->prefix('smallworld_admin')
+ . " WHERE (inspect_start + inspect_stop) < ".time()
+ . " ORDER BY username";
+ }
+ $result = $xoopsDB->queryF($sql);
+ $count = $xoopsDB->getRowsNum($result);
+ if ($count != 0) {
+ while ($row = $xoopsDB->fetchArray($result)) {
+ $data[] = $row;
+ }
+ }
+ if (!empty($data)) {
+ return $data;
+ }
+ }
+
+ /**
+ * check server if update is available
+ * Server currently at culex.dk
+ * Variable $version = current smallworld version number
+ * @returns array
+ */
+ function doCheckUpdate ()
+ {
+ global $pathIconSmall;
+ $version = $this->ModuleInstallVersion();
+ $critical = false;
+ $update = false;
+ $rt = '';
+ $url = "http://www.culex.dk/updates/smallworld_version.csv";
+ $fileC = $this->fetchURL($url, array('fopen', 'curl', 'socket'));
+ $read = explode(";", $fileC);
- // Count total days represented in db
- function CountDays () {
- global $xoopsDB,$xoopsModule;
- //$date = $xoopsModule->getVar('last_update');
- $date = $this->oldestMsg();
- $now = time();
- $diff = ($now - $date) / (60*60*24);
- return $diff;
- }
- // find user with most posted messages
- function mostactiveusers_allround() {
- global $xoopsDB,$xoopsUser;
- $sql = "SELECT uid_fk, COUNT( * ) as cnt ";
- $sql .= "FROM ( ";
- $sql .= "SELECT uid_fk ";
- $sql .= "FROM ".$xoopsDB->prefix('smallworld_messages')." ";
- $sql .= "UNION ALL SELECT uid_fk ";
- $sql .= "FROM ".$xoopsDB->prefix('smallworld_comments')." ";
- $sql .= ") AS u ";
- $sql .= "GROUP BY uid_fk ";
- $sql .= "ORDER BY count( * ) DESC limit 20";
- $result = $xoopsDB->queryF($sql);
- $counter = $xoopsDB->getRowsNum($result);
+ $updImg = $pathIconSmall.'/on.png';
- if ($counter < 1) {
- $msg = array();
- //$xoopsTpl->append('topuser', $msg);
- } else {
- $msg = array();
-
- $i = 1;
- while ($row = $xoopsDB->fetchArray($result)) {
- $msg["counter"][$i] = $i;
- $msg["img"][$i] = "<img style='margin:0px 5px;' src = '../images/".$i.".png'></img>";
- if ($msg['counter'][$i] > 3) { $msg["img"][$i] = '';}
- $msg["cnt"][$i] = $row["cnt"];
- $msg["from"][$i] = $xoopsUser->getUnameFromId($row["uid_fk"]);
- //$xoopsTpl->append('topuser', $msg);
- $i++;
- }
- }
- return $msg;
- }
-
- // find user with most posted messages in last 24 hours
- function mostactiveusers_today() {
- global $xoopsDB,$xoopsUser;
- $sql = "SELECT uid_fk, COUNT( * ) as cnt ";
- $sql .= "FROM ( ";
- $sql .= "SELECT uid_fk ";
- $sql .= "FROM ".$xoopsDB->prefix('smallworld_messages')." ";
- $sql .= "WHERE `created` > UNIX_TIMESTAMP(DATE_SUB( NOW( ) , INTERVAL 1 DAY )) ";
- $sql .= "UNION ALL SELECT uid_fk ";
- $sql .= "FROM ".$xoopsDB->prefix('smallworld_comments')." ";
- $sql .= "WHERE `created` > UNIX_TIMESTAMP(DATE_SUB( NOW( ) , INTERVAL 1 DAY )) ";
- $sql .= ") AS u ";
- $sql .= "GROUP BY uid_fk ";
- $sql .= "ORDER BY count( * ) DESC limit 20";
- $result = $xoopsDB->queryF($sql);
- $msgtoday = array();
- if ($xoopsDB->getRowsNum($result) != 0) {
- $i = 1;
- while ($row = $xoopsDB->fetchArray($result)) {
- $msgtoday["counter"][$i] = $i;
- $msgtoday["img"][$i] = "<img style='margin:0px 5px;' src = '../images/".$i.".png'></img>";
- if ($msgtoday['counter'][$i] > 3) { $msgtoday["img"][$i] = '';}
- $msgtoday["cnt"][$i] = $row["cnt"];
- $msgtoday["from"][$i] = $xoopsUser->getUnameFromId($row["uid_fk"]);
- $i++;
- }
- } else {
- $msgtoday = array();
- }
- return $msgtoday;
- }
-
- // Find best rated users overall
- function topratedusers($direction) {
- global $xoopsUser, $xoopsDB,$xoopsTpl;
- $array = array();
-
- if ($direction == 'up') {
- $sql = "SELECT owner, count(*) as cnt FROM ".$xoopsDB->prefix('smallworld_vote')." where up='1' GROUP by owner ORDER BY cnt DESC limit 20";
- $result = $xoopsDB->queryF($sql);
- $count = $xoopsDB->getRowsNum($result);
- $i = 1;
- if ($count >= $i) {
- while ($row = $xoopsDB->fetchArray($result)) {
- $array['counter'][$i] = $i;
- $array['img'][$i] = "<img height='10px' width='10px' style='margin:0px 5px;' src = '../images/like.png'></img>";
- if ($array['counter'][$i] > 3) { $array["img"][$i] = '';}
- $array['cnt'][$i] = $row['cnt'];
- $array['user'][$i] = $xoopsUser->getUnameFromId($row["owner"]);
- $i++;
- }
- } else {
- $array = array();
- }
- } else {
- $sql = "SELECT owner, count(*) as cnt FROM ".$xoopsDB->prefix('smallworld_vote')." where down='1' GROUP by owner ORDER BY cnt DESC limit 20";
- $result = $xoopsDB->queryF($sql);
- $count = $xoopsDB->getRowsNum($result);
- $i = 1;
- if ($count != 0) {
- while ($row = $xoopsDB->fetchArray($result)) {
- $array['counter'][$i] = $i;
- $array['img'][$i] = "<img height='10px' width='10px' style='margin:0px 5px;' src = '../images/dislike.png'></img>";
- if ($array['counter'][$i] > 3) { $array["img"][$i] = '';}
- $array['cnt'][$i] = $row['cnt'];
- $array['user'][$i] = $xoopsUser->getUnameFromId($row["owner"]);
- $i++;
- }
- } else {
- $array = array();
- }
- }
- return $array;
- }
-
- // Get all users to loop in admin for administration
- function getAllUsers ($inspect) {
- global $xoopsDB, $xoopsUser, $xoopsTpl;
- $data = array();
- if ($inspect == 'yes') {
- $sql = "SELECT * FROM ".$xoopsDB->prefix('smallworld_admin')." WHERE (inspect_start + inspect_stop) >= ".time()." ORDER BY username";
- } else {
- $sql = "SELECT * FROM ".$xoopsDB->prefix('smallworld_admin')." WHERE (inspect_start + inspect_stop) < ".time()." ORDER BY username";
- }
- $result = $xoopsDB->queryF($sql);
- $count = $xoopsDB->getRowsNum($result);
- if ($count != 0) {
- while ($row = $xoopsDB->fetchArray($result)) {
- $data[]=$row;
- }
- }
- if(!empty($data)) {
- return $data;
+ if ($read[0] > $version && $read[2] == "1") {
+ $critical = true;
+ $updImg = $pathIconSmall.'/off.png';
}
- }
-
- // check server if update is available
- // Server currently at culex.dk
- // Variable $version = current xim version number
- // return csv file with (version, description, status, downloadUrl)
- function doCheckUpdate () {
- global $pathIcon16;
- $version = $this->ModuleInstallVersion ();
- $critical = FALSE;
- $update = FALSE;
- $rt = '';
- $url = "http://www.culex.dk/updates/smallworld_version.csv";
- $fileC = $this->fetchURL($url,array('fopen', 'curl', 'socket'));
- $read = explode(";", $fileC);
+ if ($read[0] > $version && $read[2] != "1") {
+ $update = true;
+ $updImg = '../images/upd_normal.png';
+ }
+ if ($critical) {
+ $rt = "<div class='smallworld_update'><img src='".$updImg."' />"
+ . _AM_SMALLWORLD_UPDATE_CRITICAL_UPD."</div>"
+ . "<textarea class='xim_update_changelog'>".$read[1]
+ . "</textarea><br /><br />"
+ . _AM_SMALLWORLD_UPDATE_SERVER_FILE."<br /><a href='"
+ . $read[3]."'>".$read[3]."</a>";
+ } elseif ($update) {
+ $rt = "<div class='smallworld_update'><img src='".$updImg."' />"
+ . _AM_SMALLWORLD_UPDATE_NORMAL_UPD."</div>"
+ . "<textarea class='smallworld_update_changelog'>".$read[1]
+ . "</textarea><br /><br />"._AM_SMALLWORLD_UPDATE_SERVER_FILE
+ . "<br /><a href='".$read[3]."'>".$read[3]."</a>";
+ } else {
+ $rt = "<div class='smallworld_update'><br/>"
+ . "<img src='".$updImg."' />"
+ . _AM_SMALLWORLD_UPDATE_YOUHAVENEWESTVERSION
+ . "</div>";
+ }
+ return $rt;
+ }
- $upd_img = $pathIcon16.'/on.png';
-
- if ($read[0] > $version && $read[2] == "1") {
- $critical = TRUE;
- $upd_img = $pathIcon16.'/off.png';
- }
- if ($read[0] > $version && $read[2] != "1") {
- $update = TRUE;
- $upd_img = '../images/upd_normal.png';
- }
- if ($critical) {
- $rt = "<div class='smallworld_update'><img src='".$upd_img."' />"._AM_SMALLWORLD_UPDATE_CRITICAL_UPD."</div>";
- $rt .="<textarea class='xim_update_changelog'>".$read[1]."</textarea><br /><br />";
- $rt .=_AM_SMALLWORLD_UPDATE_SERVER_FILE."<br /><a href='".$read[3]."'>".$read[3]."</a>";
- } else if ($update) {
- $rt = "<div class='smallworld_update'><img src='".$upd_img."' />"._AM_SMALLWORLD_UPDATE_NORMAL_UPD."</div>";
- $rt .= "<textarea class='smallworld_update_changelog'>".$read[1]."</textarea><br /><br />";
- $rt .= _AM_SMALLWORLD_UPDATE_SERVER_FILE."<br /><a href='".$read[3]."'>".$read[3]."</a>";
- } else {
- $rt = "<div class='smallworld_update'><br/><img src='".$upd_img."' />"._AM_SMALLWORLD_UPDATE_YOUHAVENEWESTVERSION."</div>";
- }
- return $rt;
- }
-
- // Fetch content of comma separated text file
- // will attempt to use the fopen method first, then curl, then socket
- // If fail all; return nothing
- // On succes; Return string
- function fetchURL($url, $methods = array('fopen', 'curl', 'socket')) {
- /**
- * December 21st 2010, Mathew Tinsley (ti...@ti...)
- * http://tinsology.net
- *
- * To the extent possible under law, Mathew Tinsley has waived all copyright and related or
- * neighboring rights to this work. There's absolutely no warranty.
- */
- if(gettype($methods) == 'string')
- $methods = array($methods);
- elseif(!is_array($methods))
- return false;
- foreach($methods as $method)
- {
- switch($method)
- {
- case 'fopen':
+ /**
+ * Fetch content of comma separated text file
+ * will attempt to use the fopen method first, then curl, then socket
+ * @param string $url
+ * @param array $methods
+ * @returns string
+ */
+ function fetchURL($url, $methods = array('fopen', 'curl', 'socket'))
+ {
+ if (gettype($methods) == 'string') {
+ $methods = array($methods);
+ } elseif (!is_array($methods)) {
+ return false;
+ }
+
+ foreach ($methods as $method) {
+ switch ($method) {
+ case 'fopen':
//uses file_get_contents in place of fopen
- //allow_url_fopen must still be enabled
- if(ini_get('allow_url_fopen'))
- {
- $contents = file_get_contents($url);
- if($contents !== false)
- return $contents;
- }
- break;
- case 'curl':
- if(function_exists('curl_init'))
- {
+ //allow_url_fopen must still be enabled
+ if (ini_get('allow_url_fopen')) {
+ $contents = file_get_contents($url);
+ if ($contents !== false) {
+ return $contents;
+ }
+ }
+ break;
+ case 'curl':
+ if (function_exists('curl_init')) {
$ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, $url);
- curl_setopt($ch, CURLOPT_HEADER, 0);
- // return the value instead of printing the response to browser
+ curl_setopt($ch, CURLOPT_URL, $url);
+ curl_setopt($ch, CURLOPT_HEADER, 0);
+
+ // return the value instead of printing
+ //the response to browser
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$result = curl_exec($ch);
curl_close($ch);
- //return curl_exec($ch);
+
+ //return curl_exec($ch);
return $result;
- }
- break;
- case 'socket':
- //make sure the url contains a protocol, otherwise $parts['host'] won't be set
- if(strpos($url, 'http://') !== 0 && strpos($url, 'https://') !== 0)
- $url = 'http://' . $url;
- $parts = parse_url($url);
- if($parts['scheme'] == 'https')
- {
- $target = 'ssl://' . $parts['host'];
- $port = isset($parts['port']) ? $parts['port'] : 443;
- }
- else
- {
- $target = $parts['host'];
- $port = isset($parts['port']) ? $parts['port'] : 80;
- }
- $page = isset($parts['path']) ? $parts['path'] : '';
- $page .= isset($parts['query']) ? '?' . $parts['query'] : '';
- $page .= isset($parts['fragment']) ? '#' . $parts['fragment'] : '';
- $page = ($page == '') ? '/' : $page;
- if($fp = fsockopen($target, $port, $errno, $errstr, 15))
- {
- $headers = "GET $page HTTP/1.1\r\n";
- $headers .= "Host: {$parts['host']}\r\n";
- $headers .= "Connection: Close\r\n\r\n";
- if(fwrite($fp, $headers))
- {
- $resp = '';
- //while not eof and an error does not occur when calling fgets
- while(!feof($fp) && ($curr = fgets($fp, 128)) !== false)
- $resp .= $curr;
- if(isset($curr) && $curr !== false)
- return substr(strstr($resp, "\r\n\r\n"), 3);
- }
- fclose($fp);
- }
- break;
- }
- }
- return false;
- }
-
- // flatten multidimentional arrays to one dimentional
- function flatten($array) {
- $return = array();
- while(count($array)) {
- $value = array_shift($array);
- if(is_array($value))
- foreach($value as $sub)
- $array[] = $sub;
- else
- $return[] = $value;
- }
- return $return;
- }
-
- function Smallworld_sanitize($text) {
- $text = htmlspecialchars($text, ENT_QUOTES);
- //$text = preg_replace('/([^\s]{10})(?=[^\s])/m', '$1<br />', $text);
- $myts = MyTextSanitizer::getInstance();
- $text = $myts->displayTarea($text,1,1,1,1);
- $text = str_replace("\n\r","\n",$text);
- $text = str_replace("\r\n","\n",$text);
- $text = str_replace("\n","<br />",$text);
- $text = str_replace("\"","'",$text);
-
- return $text;
- }
-}
-?>
\ No newline at end of file
+ }
+ break;
+ case 'socket':
+ //make sure the url contains a protocol,
+ //otherwise $parts['host'] won't be set
+ if (strpos($url, 'http://') !== 0
+ && strpos($url, 'https://') !== 0
+ ) {
+ $url = 'http://' . $url;
+ }
+
+ $parts = parse_url($url);
+
+ if ($parts['scheme'] == 'https') {
+ $target = 'ssl://' . $parts['host'];
+ $port = isset($parts['port']) ? $parts['port'] : 443;
+ } else {
+ $target = $parts['host'];
+ $port = isset($parts['port']) ? $parts['port'] : 80;
+ }
+ $page = isset($parts['path']) ? $parts['path'] : '';
+ $page .= isset($parts['query']) ? '?'
+ . $parts['query'] : '';
+ $page .= isset($parts['fragment']) ? '#'
+ . $parts['fragment'] : '';
+ $page = ($page == '') ? '/' : $page;
+
+ if ($fp = fsockopen($target, $port, $errno, $errstr, 15)) {
+ $headers = "GET $page HTTP/1.1\r\n";
+ $headers .= "Host: {$parts['host']}\r\n";
+ $headers .= "Connection: Close\r\n\r\n";
+ if (fwrite($fp, $headers)) {
+ $resp = '';
+
+ //while not eof and an error does not
+ //occur when calling fgets
+ while (!feof($fp)
+ && ($curr = fgets($fp, 128)) !== false
+ ) {
+ $resp .= $curr;
+ }
+
+ if (isset($curr) && $curr !== false) {
+ return substr(strstr($resp, "\r\n\r\n"), 3);
+ }
+ }
+ fclose($fp);
+ }
+ break;
+ }
+ }
+ return false;
+ }
+
+ /**
+ * Smallworld_sanitize(array(array))
+ * flatten multidimentional arrays to one dimentional
+ * @param array $array
+ * @returns Array
+ */
+ function flatten($array)
+ {
+ $return = array();
+ while (count($array)) {
+ $value = array_shift($array);
+ if (is_array($value)) {
+ foreach ($value as $sub) {
+ $array[] = $sub;
+ }
+ } else {
+ $return[] = $value;
+ }
+ }
+ return $return;
+ }
+
+ /**
+ * Smallworld_sanitize($string)
+ * @param string $text
+ * @returns string
+ */
+ function Smallworld_sanitize($text)
+ {
+ $text = htmlspecialchars($text, ENT_QUOTES);
+ $myts = MyTextSanitizer::getInstance();
+ $text = $myts->displayTarea($text, 1, 1, 1, 1);
+ $text = str_replace("\n\r", "\n", $text);
+ $text = str_replace("\r\n", "\n", $text);
+ $text = str_replace("\n", "<br />", $text);
+ $text = str_replace("\"", "'", $text);
+ return $text;
+ }
+}
\ No newline at end of file
Modified: XoopsModules/smallworld/trunk/smallworld/class/class_collector.php
===================================================================
--- XoopsModules/smallworld/trunk/smallworld/class/class_collector.php 2012-02-07 16:20:18 UTC (rev 8900)
+++ XoopsModules/smallworld/trunk/smallworld/class/class_collector.php 2012-02-07 19:16:35 UTC (rev 8901)
@@ -1,22 +1,24 @@
<?php
/**
* You may not change or alter any portion of this comment or credits
-* of supporting developers from this source code or any supporting source code
-* which is considered copyrighted (c) material of the original comment or credit authors.
+* 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: http://www.fsf.org/copyleft/gpl.html GNU public license
-* @module: Smallworld
-* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...>
-* @copyright: 2011 Culex
-* @Repository path: $HeadURL$
-* @Last committed: $Revision$
-* @Last changed by: $Author$
-* @Last changed date: $Date$
-* @ID: $Id$
+* @copyright: The XOOPS Project http://sourceforge.net/projects/xoops/
+* @license: http://www.fsf.org/copyleft/gpl.html GNU public license
+* @packet: Modules
+* @sub-packet: Smallworld
+* @since: Xoops 2.5.4
+* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...>
+* @copyright: 2011 Culex
+* @Last committed: $Revision$
+* @Last changed by: $Author$
+* @Last changed date: $Date$
+* @ID: $Id$
**/
include_once(XOOPS_ROOT_PATH."/modules/smallworld/class/adminclass.php");
include_once(XOOPS_ROOT_PATH."/modules/smallworld/class/db.php");
@@ -27,6 +29,4 @@
include_once(XOOPS_ROOT_PATH."/modules/smallworld/class/forms.php");
include_once(XOOPS_ROOT_PATH."/modules/smallworld/class/uploadclass.php");
include_once(XOOPS_ROOT_PATH."/modules/smallworld/class/friends.php");
-include_once(XOOPS_ROOT_PATH."/modules/smallworld/class/mail.php");
-
-?>
\ No newline at end of file
+include_once(XOOPS_ROOT_PATH."/modules/smallworld/class/mail.php");
\ No newline at end of file
Modified: XoopsModules/smallworld/trunk/smallworld/class/db.php
===================================================================
--- XoopsModules/smallworld/trunk/smallworld/class/db.php 2012-02-07 16:20:18 UTC (rev 8900)
+++ XoopsModules/smallworld/trunk/smallworld/class/db.php 2012-02-07 19:16:35 UTC (rev 8901)
@@ -1,458 +1,781 @@
<?php
/**
* You may not change or alter any portion of this comment or credits
-* of supporting developers from this source code or any supporting source code
-* which is considered copyrighted (c) material of the original comment or credit authors.
+* 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: http://www.fsf.org/copyleft/gpl.html GNU public license
-* @module: Smallworld
-* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...>
-* @copyright: 2011 Culex
-* @Repository path: $HeadURL$
-* @Last committed: $Revision$
-* @Last changed by: $Author$
-* @Last changed date: $Date$
-* @ID: $Id$
+* @copyright: The XOOPS Project http://sourceforge.net/projects/xoops/
+* @license: http://www.fsf.org/copyleft/gpl.html GNU public license
+* @packet: Modules
+* @sub-packet: Smallworld
+* @since: Xoops 2.5.4
+* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...>
+* @copyright: 2011 Culex
+* @Last committed: $Revision$
+* @Last changed by: $Author$
+* @Last changed date: $Date$
+* @ID: $Id$
**/
-class SmallWorldDB {
-
- function getJobsToDiv ($id) {
- global $xoopsUser, $xoopsDB;
- $msg=array();
- $new=array();
- $sql = "SELECT employer,position,jobstart,jobstop,description FROM ".$xoopsDB->prefix("smallworld_user")." WHERE userid ='".$id."'";
- $result = $xoopsDB->query($sql);
- while ($row = $xoopsDB->fetchArray($result)) {
- $employer = unserialize($row['employer']);
- $position = unserialize($row['position']);
- $jobstart = unserialize($row['jobstart']);
- $jobstop = unserialize($row['jobstop']);
- $description = unserialize($row['description']);
- }
- $start = 0;
- $end = count($employer)-1;
- while ($start<=$end) {
- $msg[$start]['employer'] = $employer[$start];
- $msg[$start]['position'] = $position[$start];
- $msg[$start]['jobstart'] = $jobstart[$start];
- $msg[$start]['jobstop'] = $jobstop[$start];
- $msg[$start]['description'] = $description[$start];
- $start++;
- }
- return $msg;
- }
+class SmallWorldDB
+{
+ /**
+ * getJobsToDiv function
+ * @param int $id
+ * @returns Array
+ */
+ function getJobsToDiv($id)
+ {
+ global $xoopsUser, $xoopsDB;
+ $msg = array();
+ $new = array();
+ $sql = "SELECT employer,position,jobstart,jobstop,description FROM "
+ . $xoopsDB->prefix("smallworld_user")
+ . " WHERE userid ='" . $id . "'";
+ $result = $xoopsDB->query($sql);
+ while ($row = $xoopsDB->fetchArray($result)) {
+ $employer = unserialize($row['employer']);
+ $position = unserialize($row['position']);
+ $jobstart = unserialize($row['jobstart']);
+ $jobstop = unserialize($row['jobstop']);
+ $description = unserialize($row['description']);
+ }
+ $start = 0;
+ $end = count($employer) - 1;
+ while ($start <= $end) {
+ $msg[$start]['employer'] = $employer[$start];
+ $msg[$start]['position'] = $position[$start];
+ $msg[$start]['jobstart'] = $jobstart[$start];
+ $msg[$start]['jobstop'] = $jobstop[$start];
+ $msg[$start]['description'] = $description[$start];
+ $start++;
+ }
+ return $msg;
+ }
-
- function getSchoolToDiv ($id) {
- global $xoopsUser, $xoopsDB,$arr7;
- $msg=array();
- $sql = "SELECT school_type,school,schoolstart,schoolstop FROM ".$xoopsDB->prefix("smallworld_user")." WHERE userid ='".$id."'";
- $result = $xoopsDB->query($sql);
- while ($row = $xoopsDB->fetchArray($result)) {
- $school_type = unserialize($row['school_type']);
- $school = unserialize($row['school']);
- $schoolstart = unserialize($row['schoolstart']);
- $schoolstop = unserialize($row['schoolstop']);
- }
- $start = 0;
- $end = count($school_type)-1;
- while ($start<=$end) {
- $msg[$start]['school_type'] = $school_type[$start];
- $msg[$start]['school'] = $arr7[$school[$start]];
- $msg[$start]['schoolstart'] = date('Y',$schoolstart[$start]);
- $msg[$start]['schoolstop'] = date('Y',$schoolstop[$start]);
- $start++;
- }
- return $msg;
- }
-
- function getScreennamesToDiv ($id) {
- global $xoopsUser, $xoopsDB,$arr06;
- $msg=array();
- $sql = "SELECT screenname_type,screenname FROM ".$xoopsDB->prefix("smallworld_user")." WHERE userid ='".$id."'";
- $result = $xoopsDB->query($sql);
- while ($row = $xoopsDB->fetchArray($result)) {
- $screenname_type = unserialize($row['screenname_type']);
- $screenname = unserialize($row['screenname']);
- }
- $start = 0;
- $end = count($screenname_type)-1;
- while ($start<=$end) {
- $msg[$start]['screenname'] = $screenname_type[$start];
- $msg[$start]['screenname_type'] = $arr06[$screenname[$start]];
- $msg[$start]['link'] = "<span class='smallworld_website'>".Smallworld_sociallinks($screenname[$start], $msg[$start]['screenname']);
- $start++;
- }
- return $msg;
- }
-
-// Do query in db
- function getVar ($id, $var) {
- global $xoopsUser, $xoopsDB;
- $sql = "SELECT ".$var." FROM ".$xoopsDB->prefix('smallworld_user')." WHERE userid = '".$id."'";
- $result = $xoopsDB->queryF($sql);
- if ($xoopsDB->getRowsNum($result) < 1) {
- return _SMALLWORLD_REPLY_NOTSPECIFIYED;
- }
- while ($row = $xoopsDB->fetchArray($result)) {
- $msg[$var] = $row[$var];
- }
- return $msg[$var];
- }
-
- function updateSingleValue ($table, $userid, $field, $value) {
- global $xoopsUser, $xoopsDB;
- $myts =& MyTextSanitizer::getInstance();
- $sql = "UPDATE ".$xoopsDB->prefix($table)." SET ".$field."='".$myts->addSlashes($value)."' WHERE userid='".intval($userid)."'";
- $result =$xoopsDB->queryF($sql);
- }
+ /**
+ * getSchoolToDiv function
+ * @param int $id
+ * @returns Array
+ */
+ function getSchoolToDiv ($id)
+ {
+ global $xoopsUser, $xoopsDB, $arr7;
+ $msg = array();
+ $sql = "SELECT school_type,school,schoolstart,schoolstop FROM "
+ . $xoopsDB->prefix("smallworld_user")
+ . " WHERE userid ='" . $id . "'";
+ $result = $xoopsDB->query($sql);
+ while ($row = $xoopsDB->fetchArray($result)) {
+ $schoolType = unserialize($row['school_type']);
+ $school = unserialize($row['school']);
+ $schoolstart = unserialize($row['schoolstart']);
+ $schoolstop = unserialize($row['schoolstop']);
+ }
+ $start = 0;
+ $end = count($schoolType) - 1;
+ while ($start <= $end) {
+ $msg[$start]['school_type'] = $schoolType[$start];
+ $msg[$start]['school'] = $arr7[$school[$start]];
+ $msg[$start]['schoolstart'] = date('Y', $schoolstart[$start]);
+ $msg[$start]['schoolstop'] = date('Y', $schoolstop[$start]);
+ $start++;
+ }
+ return $msg;
+ }
+
+ /**
+ * getScreennamesToDiv function
+ * @param int $id
+ * @returns Array
+ */
+ function getScreennamesToDiv ($id)
+ {
+ global $xoopsUser, $xoopsDB, $arr06;
+ $msg = array();
+ $sql = "SELECT screenname_type,screenname FROM "
+ . $xoopsDB->prefix("smallworld_user")
+ . " WHERE userid ='" . $id . "'";
+ $result = $xoopsDB->query($sql);
+ while ($row = $xoopsDB->fetchArray($result)) {
+ $screennameType = unserialize($row['screenname_type']);
+ $screenname = unserialize($row['screenname']);
+ }
+ $start = 0;
+ $end = count($screennameType) - 1;
+ while ($start <= $end) {
+ $msg[$start]['screenname'] = $screennameType[$start];
+ $msg[$start]['screenname_type'] = $arr06[$screenname[$start]];
+ $msg[$start]['link'] = "<span class='smallworld_website'>";
+ $msg[$start]['link'] .= Smallworld_sociallinks(
+ $screenname[$start], $msg[$start]['screenname']
+ );
+ $start++;
+ }
+ return $msg;
+ }
+
+ /**
+ * getVar function
+ * @param int $id
+ * @param string $var
+ * @returns Array
+ */
- function saveImage ($values) {
- global $xoopsUser, $xoopsDB;
- $myts =& MyTextSanitizer::getInstance();
- $sql = "INSERT INTO ".$xoopsDB->prefix('smallworld_images')." VALUES (".$values.")";
- $result =$xoopsDB->queryF($sql);
- }
-
- function DeleteImage ($userid, $imagename) {
- global $xoopsUser, $xoopsDB;
- $myts =& MyTextSanitizer::getInstance();
- $sql = "DELETE FROM ".$xoopsDB->prefix('smallworld_images')." WHERE imgname = '".stripslashes($imagename)."' AND userid='".$userid."'";
- $result =$xoopsDB->queryF($sql);
- }
-
- function handlePosts () {
- global $xoopsUser,$xoopsDB;
- $myts =& MyTextSanitizer::getInstance();
-
- $uid = $xoopsUser->getVar('uid');
- $user = new XoopsUser($uid);
- $img = new SmallWorldImages;
-
- if ($this->getVar($uid,'userimage') =='') {
- $avatar =$user->user_avatar();
- } else {
- $avatar = $this->getVar($uid, 'userimage');
- }
-
- if ($_POST['relationship'] != '2') {
- $partner = Smallworld_sanitize($_POST['partner']);
- } else {
- $partner = '';
- }
-
- $regdate = time();
- $username = $user->uname();
- $realname = Smallworld_sanitize($_POST['realname']);
- $gender = Smallworld_sanitize($_POST['gender']);
- $intingender = Smallworld_sanitize(serialize($_POST['intingender']));
- $relationship = Smallworld_sanitize($_POST['relationship']);
- $searchrelat = Smallworld_sanitize(serialize($_POST['searchrelat']));
- $birthday = Smallworld_sanitize(Smallworld_euroToUsDate($_POST['birthday']));
- $birthplace = Smallworld_sanitize($_POST['birthplace']);
- $birthplace_lat = Smallworld_sanitize($_POST['birthplace_lat']);
- $birthplace_lng = Smallworld_sanitize($_POST['birthplace_lng']);
- $birthplace_country = Smallworld_sanitize($_POST['birthplace_country']);
- $birthplace_country_img = Smallworld_sanitize($_POST['birthplace_country_img']);
- $politic = Smallworld_sanitize($_POST['politic']);
- $religion = Smallworld_sanitize($_POST['religion']);
- $emailtype = Smallworld_sanitize(serialize($_POST['emailtype']));
- $screenname_type = Smallworld_sanitize(serialize($_POST['screenname_type']));
- $screenname = Smallworld_sanitize(serialize($_POST['screenname']));
- $mobile = Smallworld_sanitize($_POST['mobile']);
- $phone = Smallworld_sanitize($_POST['phone']);
- $adress = Smallworld_sanitize($_POST['adress']);
- $present_city = Smallworld_sanitize($_POST['present_city']);
- $present_lat = Smallworld_sanitize($_POST['present_lat']);
- $present_lng = Smallworld_sanitize($_POST['present_lng']);
- $present_country = Smallworld_sanitize($_POST['present_country']);
- $present_country_img = Smallworld_sanitize($_POST['present_country_img']);
- $website = Smallworld_sanitize($_POST['website']);
- $interests = Smallworld_sanitize($_POST['interests']);
- $music = Smallworld_sanitize($_POST['music']);
- $tvshow = Smallworld_sanitize($_POST['tvshow']);
- $movie = Smallworld_sanitize($_POST['movie']);
- $books = Smallworld_sanitize($_POST['books']);
- $aboutme = Smallworld_sanitize($_POST['aboutme']);
- $school_type = Smallworld_sanitize(serialize($_POST['school_type']));
- $school = Smallworld_sanitize(serialize($_POST['school']));
- $schoolstart = Smallworld_sanitize(serialize(Smallworld_DateOfArray ($_POST['schoolstart'])));
- $schoolstop = Smallworld_sanitize(serialize(Smallworld_DateOfArray ($_POST['schoolstop'])));
- $jobemployer = Smallworld_sanitize(serialize($_POST['employer']));
- $jobposition = Smallworld_sanitize(serialize($_POST['position']));
- $jobstart = Smallworld_sanitize(serialize(Smallworld_YearOfArray ($_POST['jobstart'])));
- $jobstop = Smallworld_sanitize(serialize(Smallworld_YearOfArray ($_POST['jobstop'])));
- $jobdescription = Smallworld_sanitize(serialize($_POST['description']));
-
- $sql = '';
-
- if ($_POST['function']=='edit') {
- // Update all values in user_table
- $sql = "UPDATE ".$xoopsDB->prefix('smallworld_user')." SET ";
- $sql .= "realname = '".$realname."', username= '".$username."', userimage = '".$avatar."', gender = '".$gender."',";
- $sql .= "intingender = '".$intingender."',relationship = '".$relationship."', partner = '".$partner."', searchrelat = '".$searchrelat."',";
- $sql .= "birthday = '".$birthday."',birthplace = '".$birthplace."',birthplace_lat = '".floatval($birthplace_lat)."',";
- $sql .= "birthplace_lng = '".floatval($birthplace_lng)."',birthplace_country = '".$birthplace_country."',politic = '".$politic."',";
- $sql .= "religion = '".$religion."',emailtype = '".$emailtype."',screenname_type = '".$screenname_type."',";
- $sql .= "screenname = '".$screenname."',mobile = '".floatval($mobile)."',phone = '".floatval($phone)."',adress = '".$adress."',";
- $sql .= "present_city = '".$present_city."',present_lat = '".floatval($present_lat)."',present_lng = '".floatval($present_lng)."',";
- $sql .= "present_country = '".$present_country."',website = '".$website."',interests = '".$interests."',";
- $sql .= "music = '".$music."',tvshow = '".$tvshow."',movie = '".$movie."',";
- $sql .= "books = '".$books."',aboutme = '".$aboutme."',school_type = '".$school_type."',";
- $sql .= "school = '".$school."', schoolstart = '".$schoolstart."',schoolstop = '".$schoolstop."',";
- $sql .= "employer = '".$jobemployer."', position = '".$jobposition."',jobstart = '".$jobstart."',";
- $sql .= "jobstop = '".$jobstop."', description = '".$jobdescription."' ";
- $sql .= "WHERE userid ='".intval($uid)."'";
- $result = $xoopsDB->queryF($sql);
- if ($result == false) { die("SQL error:".$sql."");}
-
- $this->EditAdmins ($uid, $realname,$avatar);
- $img->createAlbum ($uid);
- }
-
- if ($_POST['function']=='save') {
- $sql = "INSERT INTO ".$xoopsDB->prefix('smallworld_user')." (id, userid, regdate, username, userimage, realname, gender, intingender, relationship, partner, searchrelat, birthday, birthplace, birthplace_lat, birthplace_lng, birthplace_country, politic, religion, emailtype, screenname_type, screenname, mobile, phone, adress, present_city, present_lat, present_lng, present_country, website, interests, music, tvshow, movie, books, aboutme, school_type, school, schoolstart, schoolstop, employer, position, jobstart, jobstop, description, friends, followers, admin_flag) ";
- $sql .= "VALUES ('','".intval($uid)."', '".$regdate."', '".$username."', '".$avatar."', '".$realname."', '".$gender."', '".$intingender."', '".$relationship."', '".$partner."', '".$searchrelat."','";
- $sql .= $birthday."', '".$birthplace."', '".floatval($birthplace_lat)."', '".floatval($birthplace_lng)."', '".$birthplace_country."', '".$politic."', '".$religion."','";
- $sql .= $emailtype."', '".$screenname_type."', '".$screenname."', '".floatval($mobile)."', '".floatval($phone)."', '".$adress."', '".$present_city."', '".floatval($present_lat)."','";
- $sql .= floatval($present_lng)."', '".$present_country."', '".$website."', '".$interests."', '".$music."', '".$tvshow."', '".$movie."', '".$books."', '".$aboutme."', '";
- $sql .= $school_type."', '".$school."', '".$schoolstart."', '".$schoolstop."', '".$jobemployer."', '".$jobposition."', '".$jobstart."', '".$jobstop."', '".$jobdescription."', ";
- $sql .= "'0', '0', '0')";
- $result = $xoopsDB->queryF($sql);
- if ($result == false) { die("SQL error:".$sql."");}
- $this->SetAdmins ($uid, $username,$realname,$avatar);
- $img->createAlbum ($uid);
- }
- }
-
- /*
- * Sets admin table
- * inputs are userid, realname, client_ip, default 0 for complaints, default 0 for inspect
- * return null
- */
- function SetAdmins ($userID, $username, $realname,$avatar) {
- global $xoopsDB, $xoopsUser;
- $ip = $_SERVER['REMOTE_ADDR'];
- $sql = "INSERT INTO ".$xoopsDB->prefix('smallworld_admin')." (id,userid,username, realname,userimage,ip,complaint,inspect_start, inspect_stop) VALUES ('', '".$userID."', '".$username."','".$realname."', '".$avatar."','".$ip."','0','0','0')";
- $result = $xoopsDB->queryF($sql);
- }
-
- function EditAdmins ($userID, $realname,$avatar) {
- global $xoopsDB;
- $sql = "UPDATE ".$xoopsDB->prefix('smallworld_admin')." SET realname = '".$realname."', userimage = '".$avatar."' WHERE userid = '".intval($userID)."'";
- $result = $xoopsDB->queryF($sql);
- }
-
- //Check if user has already sent complaint
- function alreadycomplaint ($msg,$by, $against){
- global $xoopsDB;
- $sql = "SELECT * FROM ".$xoopsDB->prefix("smallworld_complaints")." WHERE byuser_id = '".intval($by)."' AND owner = '".intval($against)."' AND link = '".addslashes($msg)."'";
- $result = $xoopsDB->queryF($sql);
- $i = $xoopsDB->getRowsNum($result);
- if ($i < 1) {
- $query = "INSERT INTO ".$xoopsDB->prefix('smallworld_complaints')." (complaint_id,link,byuser_id,owner)";
- $query .= " VALUES ('', '".addslashes($msg)."', '".intval($by)."', '".intval($against)."')";
- $result = $xoopsDB->queryF($query);
- } else {}
- return $i;
- }
-
- function updateComplaint ($userID) {
- global $xoopsDB;
- $sql = "UPDATE ".$xoopsDB->prefix('smallworld_admin')." SET complaint = complaint + 1 WHERE userid = '".intval($userID)."'";
- $result = $xoopsDB->queryF($sql);
- }
-
- function updateInspection ($userID, $start, $stop) {
- global $xoopsDB;
- $newstop = $time() + $stop;
- $sql = "UPDATE ".$xoopsDB->prefix('smallworld_admin')." SET inspect_start = '".$time()."', instect_stop = '".$newstop."' WHERE userid ='".intval($userID)."'";
- $result = $xoopsDB->queryF($sql);
- }
-
- function handleImageEdit (){
- global $xoopsDB;
- for ($i=0; $i < count($_POST['id']); $i++) {
- $id = intval($_POST['id'][$i]);
- $desc = $_POST['imgdesc'][$i];
-
- $sql = "UPDATE ".$xoopsDB->prefix('smallworld_images')." SET `desc` = '".addslashes($desc)."' WHERE `id`='".$id."'";
- $result = $xoopsDB->queryF($sql);
-
- }
- }
+ function getVar ($id, $var)
+ {
+ global $xoopsUser, $xoopsDB;
+ $sql = "SELECT " . $var . " FROM "
+ . $xoopsDB->prefix('smallworld_user')
+ . " WHERE userid = '" . $id . "'";
+ $result = $xoopsDB->queryF($sql);
+ if ($xoopsDB->getRowsNum($result) < 1) {
+ return _SMALLWORLD_REPLY_NOTSPECIFIYED;
+ }
+ while ($row = $xoopsDB->fetchArray($result)) {
+ $msg[$var] = $row[$var];
+ }
+ return $msg[$var];
+ }
- // insert aplication for friendship into db or delete if denied
- function toogleFriendInvite ($status, $friendid, $userid) {
- global $xoopsDB;
- if ($status == 0) {
- $sql = "INSERT INTO ".$xoopsDB->prefix('smallworld_friends')." (id,me,you,status,date) VALUES ('', '".$userid."', '".$friendid."', '1', UNIX_TIMESTAMP())";
- $result = $xoopsDB->queryF($sql);
-
- }
- if ($status > 0) {
- $sql = "DELETE FROM ".$xoopsDB->prefix('smallworld_friends')." WHERE me = '".intval($friendid)."' AND you = '".intval($userid)."'";
- $sql2 = "DELETE FROM ".$xoopsDB->prefix('smallworld_friends')." WHERE me = '".intval($userid)."' AND you = '".intval($friendid)."'";
- $result = $xoopsDB->queryF($sql);
- $result2 = $xoopsDB->queryF($sql2);
- }
-
- }
-
- // Insert following to db or delete if requested
- function toogleFollow ($following, $myUid, $friend) {
- global $xoopsDB;
- if ($following == 0) {
- $sql = "INSERT INTO ".$xoopsDB->prefix('smallworld_followers')." (id,me,you,status,date) VALUES ('', '".$myUid."', '".$friend."', '1', UNIX_TIMESTAMP())";
- $result = $xoopsDB->queryF($sql);
- }
- if ($following > 0) {
- $sql = "DELETE FROM ".$xoopsDB->prefix('smallworld_followers')." WHERE you = '".intval($friend)."'";
- $sql .= " AND me = '".intval($myUid)."'";
- $result = $xoopsDB->queryF($sql);
- }
- }
-
- function SetFriendshitStat ($stat, $myUid, $friend) {
- global $xoopsDB;
- if ($stat == 1) {
- $sql = "UPDATE ".$xoopsDB->prefix('smallworld_friends')." SET status = '2' WHERE `me` = '".$friend."' AND `you` = '".$myUid."'";
- $result = $xoopsDB->queryF($sql);
- $query = "INSERT INTO ".$xoopsDB->prefix('smallworld_friends')." (id,me,you,status,date) VALUES ('', '".$myUid."', '".$friend."', '2', UNIX_TIMESTAMP())";
- $result = $xoopsDB->queryF($query);
- }
- if ($stat < 0) {
- $sql = "DELETE FROM ".$xoopsDB->prefix('smallworld_friends')." WHERE me = '".intval($friend)."' AND you = '".intval($myUid)."'";
- $sql2 = "DELETE FROM ".$xoopsDB->prefix('smallworld_friends')." WHERE you = '".intval($friend)."' AND me = '".intval($myUid)."'";
- $result = $xoopsDB->queryF($sql);
- $result2 = $xoopsDB->queryF($sql2);
- }
- }
-
- function deleteWallMsg ($id,$smallworld_msg_id) {
- global $xoopsDB;
- $query = "DELETE FROM ".$xoopsDB->prefix('smallworld_messages')." WHERE msg_id = '".$smallworld_msg_id."'";
- $result = $xoopsDB->queryF($query);
- $query2 = "DELETE FROM ".$xoopsDB->prefix('smallworld_comments')." WHERE msg_id_fk = '".$smallworld_msg_id."'";
- $result2 = $xoopsDB->queryF($query2);
- //delete votes
- $query3 = "DELETE FROM ".$xoopsDB->prefix('smallworld_vote')." WHERE msg_id = '".$smallworld_msg_id."'";
- $result3 = $xoopsDB->queryF($query3);
+ /**
+ * updateSingleValue function
+ * @param string $table
+ * @param int $userid
+ * @param string $field
+ * @param int $value
+ * @return void
+ */
+ function updateSingleValue ($table, $userid, $field, $value)
+ {
+ global $xoopsUser, $xoopsDB;
+ $myts = & MyTextSanitizer::getInstance();
+ $sql = "UPDATE " . $xoopsDB->prefix($table)
+ . " SET " . $field . "='" . $myts->addSlashes($value)
+ . "' WHERE userid='" . intval($userid) . "'";
+ $result = $xoopsDB->queryF($sql);
+ }
+
+ /**
+ * saveImage function
+ * @param int $value
+ * @return void
+ */
+ function saveImage ($values)
+ {
+ global $xoopsUser, $xoopsDB;
+ $myts = & MyTextSanitizer::getInstance();
+ $sql = "INSERT INTO "
+ . $xoopsDB->prefix('smallworld_images')
+ . " VALUES (" . $values . ")";
+ $result = $xoopsDB->queryF($sql);
+ }
+
+ /**
+ * DeleteImage function
+ * @param int $userid
+ * @param string $imagename
+ * @return void
+ */
+ function DeleteImage ($userid, $imagename)
+ {
+ global $xoopsUser, $xoopsDB;
+ $myts = & MyTextSanitizer::getInstance();
+ $sql = "DELETE FROM " . $xoopsDB->prefix('smallworld_images')
+ . " WHERE imgname = '" . stripslashes($imagename)
+ . "' AND userid='" . $userid . "'";
+ $result = $xoopsDB->queryF($sql);
+ }
+
+ /**
+ * handlePosts function
+ * @return void
+ */
+ function handlePosts ()
+ {
+ global $xoopsUser, $xoopsDB;
+ $myts = & MyTextSanitizer::getInstance();
+
+ $uid = $xoopsUser->getVar('uid');
+ $user = new XoopsUser($uid);
+ $img = new SmallWorldImages;
+
+ if ($this->getVar($uid, 'userimage') == '') {
+ $avatar = $user->user_avatar();
+ } else {
+ $avatar = $this->getVar($uid, 'userimage');
+ }
+
+ if ($_POST['relationship'] != '2') {
+ $partner = Smallworld_sanitize($_POST['partner']);
+ } else {
+ $partner = '';
+ }
+
+ $regdate = time();
+ $username = $user->uname();
+ $realname = Smallworld_sanitize($_POST['realname']);
+ $gender = Smallworld_sanitize($_POST['gender']);
+ $intingender = Smallworld_sanitize(serialize($_POST['intingender']));
+ $relationship = Smallworld_sanitize($_POST['relationship']);
+ $searchrelat = Smallworld_sanitize(serialize($_POST['searchrelat']));
+ $birthplace = Smallworld_sanitize($_POST['birthplace']);
+ $birthplaceLat = Smallworld_sanitize($_POST['birthplace_lat']);
+ $birthplaceLng = Smallworld_sanitize($_POST['birthplace_lng']);
+ $politic = Smallworld_sanitize($_POST['politic']);
+ $religion = Smallworld_sanitize($_POST['religion']);
+ $emailtype = Smallworld_sanitize(serialize($_POST['emailtype']));
+ $screenname = Smallworld_sanitize(serialize($_POST['screenname']));
+ $mobile = Smallworld_sanitize($_POST['mobile']);
+ $phone = Smallworld_sanitize($_POST['phone']);
+ $adress = Smallworld_sanitize($_POST['adress']);
+ $presentCity = Smallworld_sanitize($_POST['present_city']);
+ $presentLat = Smallworld_sanitize($_POST['present_lat']);
+ $presentLng = Smallworld_sanitize($_POST['present_lng']);
+ $presentCountry = Smallworld_sanitize($_POST['present_country']);
+ $website = Smallworld_sanitize($_POST['website']);
+ $interests = Smallworld_sanitize($_POST['interests']);
+ $music = Smallworld_sanitize($_POST['music']);
+ $tvshow = Smallworld_sanitize($_POST['tvshow']);
+ $movie = Smallworld_sanitize($_POST['movie']);
+ $books = Smallworld_sanitize($_POST['books']);
+ $aboutme = Smallworld_sanitize($_POST['aboutme']);
+
+ $birthplaceCountry = Smallworld_sanitize(
+ $_POST['birthplace_country']
+ );
+
+ $screennameType = Smallworld_sanitize(
+ serialize($_POST['screenname_type'])
+ );
+
+ $birthplaceCountryImg = Smallworld_sanitize(
+ $_POST['birthplace_country_img']
+ );
+
+ $birthday = Smallworld_sanitize(
+ Smallworld_euroToUsDate($_POST['birthday'])
+ );
+
+ $presentCountryImg = Smallworld_sanitize(
+ $_POST['present_country_img']
+ );
+
+ $schoolType = Smallworld_sanitize(
+ serialize($_POST['school_type'])
+ );
+
+ $school = Smallworld_s...
[truncated message content] |
|
From: <txm...@us...> - 2012-02-07 16:20:33
|
Revision: 8900
http://xoops.svn.sourceforge.net/xoops/?rev=8900&view=rev
Author: txmodxoops
Date: 2012-02-07 16:20:18 +0000 (Tue, 07 Feb 2012)
Log Message:
-----------
added codelink v1.36
Added Paths:
-----------
XoopsModules/codelink/
XoopsModules/codelink/branches/
XoopsModules/codelink/release/
XoopsModules/codelink/release/1.36/
XoopsModules/codelink/release/1.36/codelink/
XoopsModules/codelink/release/1.36/codelink/docs/
XoopsModules/codelink/release/1.36/codelink/htdocs/
XoopsModules/codelink/release/1.36/codelink/htdocs/Frameworks/
XoopsModules/codelink/release/1.36/codelink/htdocs/Frameworks/moduleclasses/
XoopsModules/codelink/release/1.36/codelink/htdocs/Frameworks/moduleclasses/icons/
XoopsModules/codelink/release/1.36/codelink/htdocs/Frameworks/moduleclasses/icons/32/
XoopsModules/codelink/release/1.36/codelink/htdocs/Frameworks/moduleclasses/icons/32/banner.png
XoopsModules/codelink/release/1.36/codelink/htdocs/Frameworks/moduleclasses/icons/32/button.png
XoopsModules/codelink/release/1.36/codelink/htdocs/Frameworks/moduleclasses/icons/32/link.png
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/about.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/admin_footer.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/admin_header.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/banner.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/button.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/index.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/index.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/link.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/menu.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/banner.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/blocks/
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/blocks/blocks_banner.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/blocks/blocks_button.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/blocks/blocks_link.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/blocks/index.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/button.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/class/
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/class/banner.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/class/button.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/class/index.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/class/link.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/css/
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/css/admin.css
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/css/index.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/css/style.css
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/docs/
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/docs/.htaccess
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/docs/changelog.txt
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/docs/credits.txt
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/docs/index.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/docs/install.txt
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/docs/lang_diff.txt
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/docs/licence.txt
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/docs/readme.txt
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/header.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/images/
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/images/codelink_slogo.png
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/images/deco/
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/images/deco/about.png
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/images/deco/arrow.gif
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/images/deco/contact.png
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/images/deco/delete.gif
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/images/deco/edit.gif
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/images/deco/index.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/images/deco/index.png
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/images/deco/off.gif
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/images/deco/on.gif
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/images/deco/permissions.png
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/images/deco/pref.png
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/images/deco/update.png
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/images/header_logo.png
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/images/index.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/images/menu/
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/images/menu/bg.png
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/images/menu/index.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/images/menu/left_both.png
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/images/menu/right_both.png
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/images/txmod_logo.png
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/imgheader.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/include/
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/include/codelink.css
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/include/functions.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/include/index.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/include/install.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/include/jqcl.init.js
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/include/variables.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/index.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/english/
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/english/admin.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/english/blocks.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/english/help/
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/english/help/help.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/english/help/index.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/english/index.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/english/main.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/english/modinfo.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/french/
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/french/admin.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/french/blocks.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/french/help/
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/french/help/help.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/french/help/index.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/french/index.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/french/main.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/french/modinfo.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/index.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/italian/
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/italian/admin.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/italian/blocks.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/italian/help/
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/italian/help/help.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/italian/help/index.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/italian/index.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/italian/main.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/language/italian/modinfo.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/link.php
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/sql/
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/sql/index.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/sql/mysql.sql
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/templates/
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/templates/blocks/
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/templates/blocks/codelink_banner_block_day.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/templates/blocks/codelink_banner_block_random.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/templates/blocks/codelink_banner_block_recent.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/templates/blocks/codelink_button_block_day.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/templates/blocks/codelink_button_block_random.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/templates/blocks/codelink_button_block_recent.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/templates/blocks/codelink_link_block_day.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/templates/blocks/codelink_link_block_random.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/templates/blocks/codelink_link_block_recent.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/templates/blocks/index.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/templates/codelink_banner.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/templates/codelink_button.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/templates/codelink_footer.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/templates/codelink_header.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/templates/codelink_index.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/templates/codelink_link.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/templates/index.html
XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/xoops_version.php
XoopsModules/codelink/trunk/
Added: XoopsModules/codelink/release/1.36/codelink/htdocs/Frameworks/moduleclasses/icons/32/banner.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/codelink/release/1.36/codelink/htdocs/Frameworks/moduleclasses/icons/32/banner.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/codelink/release/1.36/codelink/htdocs/Frameworks/moduleclasses/icons/32/button.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/codelink/release/1.36/codelink/htdocs/Frameworks/moduleclasses/icons/32/button.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/codelink/release/1.36/codelink/htdocs/Frameworks/moduleclasses/icons/32/link.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/codelink/release/1.36/codelink/htdocs/Frameworks/moduleclasses/icons/32/link.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/about.php
===================================================================
--- XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/about.php (rev 0)
+++ XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/about.php 2012-02-07 16:20:18 UTC (rev 8900)
@@ -0,0 +1,43 @@
+<?php
+/**
+ * ****************************************************************************
+ * - Original Copyright (TDM)
+ * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS
+ * - Licence GPL Copyright (c) (http://www.tdmxoops.net)
+ * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org)
+ * - Revision By TXMod Xoops (http://www.txmodxoops.org)
+ * ****************************************************************************
+ * CODELINK - MODULE FOR XOOPS
+ * Copyright (c) 2007 - 2012
+ * TXMod Xoops (http://www.txmodxoops.org)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * You may not change or alter any portion of this comment or credits
+ * of supporting developers from this source code or any supporting
+ * source code which is considered copyrighted (c) material of the
+ * original comment or credit authors.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * ---------------------------------------------------------------------------
+ * @copyright TXMod Xoops (http://www.txmodxoops.org)
+ * @license GPL see LICENSE
+ * @package codelink
+ * @author TXMod Xoops (in...@tx...)
+ *
+ * Version : 1.36 Mon 2012/01/09 14:23:56 : Timgno Exp $
+ * ****************************************************************************
+ */
+include "admin_header.php";
+xoops_cp_header();
+$aboutAdmin = new ModuleAdmin();
+echo $aboutAdmin->addNavigation("about.php");
+echo $aboutAdmin->renderAbout('6KJ7RW5DR3VTJ', false);
+include "admin_footer.php";
+?>
\ No newline at end of file
Added: XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/admin_footer.php
===================================================================
--- XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/admin_footer.php (rev 0)
+++ XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/admin_footer.php 2012-02-07 16:20:18 UTC (rev 8900)
@@ -0,0 +1,28 @@
+<?php
+/**
+ * ****************************************************************************
+ * Module g\xE9n\xE9r\xE9 par TDMCreate de la TDM "http://www.tdmxoops.net"
+ * ****************************************************************************
+ * codelink - MODULE FOR XOOPS AND IMPRESS CMS
+ * Copyright (c) timgno (http://www.txmodxoops.org)
+ *
+ * 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 timgno (http://www.txmodxoops.org)
+ * @license GPL
+ * @package codelink
+ * @author timgno (txm...@gm...)
+ *
+ * Version : 1.03:
+ * ****************************************************************************
+ */
+global $pathImageAdmin;
+echo "<div align=\"center\"><a href=\"http://www.xoops.org\" target=\"_blank\"><img src='" . $pathImageAdmin."/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a></div>";
+echo "<div class='center smallsmall italic pad5'><strong>" . $xoopsModule->getVar("name") . "</strong> "._AM_CODELINK_MAINTAINEDBY." <a class='tooltip' rel='external' href='http://www.xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>";
+xoops_cp_footer();
+?>
\ No newline at end of file
Added: XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/admin_header.php
===================================================================
--- XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/admin_header.php (rev 0)
+++ XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/admin_header.php 2012-02-07 16:20:18 UTC (rev 8900)
@@ -0,0 +1,85 @@
+<?php
+/**
+ * ****************************************************************************
+ * Module g\xE9n\xE9r\xE9 par TDMCreate de la TDM "http://www.tdmxoops.net"
+ * ****************************************************************************
+ * codelink - MODULE FOR XOOPS AND IMPRESS CMS
+ * Copyright (c) timgno (http://www.txmodxoops.org)
+ *
+ * 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 timgno (http://www.txmodxoops.org)
+ * @license GPL
+ * @package codelink
+ * @author timgno (txm...@gm...)
+ *
+ * Version : 1.02:
+ * ****************************************************************************
+ */
+include_once dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php';
+include_once XOOPS_ROOT_PATH . '/include/cp_functions.php';
+include_once '../include/functions.php';
+include_once XOOPS_ROOT_PATH."/class/pagenav.php";
+$pathDir = $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin');
+$globlang = $GLOBALS['xoopsConfig']['language'];
+
+if ( file_exists($pathDir.'/language/'.$globlang.'/main.php')){
+ include_once $pathDir.'/language/'.$globlang.'/main.php';
+ }else{
+ include_once $pathDir.'/language/english/main.php';
+ }
+
+if ( file_exists($pathDir.'/moduleadmin.php')){
+ include_once $pathDir.'/moduleadmin.php';
+ //return true;
+ }else{
+ xoops_cp_header();
+ echo xoops_error(_AM_CODELINK_MODULEADMIN_MISSING);
+ xoops_cp_footer();
+ //return false;
+ }
+$dirname = basename(dirname(dirname( __FILE__ ) ));
+$module_handler =& xoops_gethandler('module');
+$xoopsModule = & $module_handler->getByDirname($dirname);
+$moduleInfo =& $module_handler->get($xoopsModule->getVar('mid'));
+$pathImageIcon = XOOPS_URL .'/'. $moduleInfo->getInfo('icons16');
+$pathImageAdmin = XOOPS_URL .'/'. $moduleInfo->getInfo('icons32');
+include_once XOOPS_ROOT_PATH."/modules/".$xoopsModule->getVar('dirname')."/class/banner.php";
+include_once XOOPS_ROOT_PATH."/modules/".$xoopsModule->getVar('dirname')."/class/button.php";
+include_once XOOPS_ROOT_PATH."/modules/".$xoopsModule->getVar('dirname')."/class/link.php";
+$linkHandler=& xoops_getModuleHandler('codelink_link', 'codelink' );
+$buttonHandler=& xoops_getModuleHandler('codelink_button', 'codelink' );
+$bannerHandler=& xoops_getModuleHandler('codelink_banner', 'codelink' );
+
+$myts =& MyTextSanitizer::getInstance();
+
+if ($xoopsUser) {
+ $moduleperm_handler =& xoops_gethandler('groupperm');
+ if (!$moduleperm_handler->checkRight('module_admin', $xoopsModule->getVar( 'mid' ), $xoopsUser->getGroups())) {
+ redirect_header(XOOPS_URL, 1, _NOPERM);
+ exit();
+ }
+} else {
+ redirect_header(XOOPS_URL . "/user.php", 1, _NOPERM);
+ exit();
+}
+
+if (!isset($xoopsTpl) || !is_object($xoopsTpl)) {
+ include_once(XOOPS_ROOT_PATH."/class/template.php");
+ $xoopsTpl = new XoopsTpl();
+}
+$xoopsTpl->assign('pathImageIcon', $pathImageIcon);
+$xoopsTpl->assign('pathImageAdmin', $pathImageAdmin);
+
+$style_admin = "../css/admin.css";
+
+//Load languages
+xoops_loadLanguage('admin', $xoopsModule->getVar("dirname"));
+xoops_loadLanguage('modinfo', $xoopsModule->getVar("dirname"));
+xoops_loadLanguage('main', $xoopsModule->getVar("dirname"));
+?>
\ No newline at end of file
Added: XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/banner.php
===================================================================
--- XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/banner.php (rev 0)
+++ XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/banner.php 2012-02-07 16:20:18 UTC (rev 8900)
@@ -0,0 +1,236 @@
+<?php
+/**
+ * ****************************************************************************
+ * - Original Copyright (TDM)
+ * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS
+ * - Licence GPL Copyright (c) (http://www.tdmxoops.net)
+ * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org)
+ * - Revision By TXMod Xoops (http://www.txmodxoops.org)
+ * ****************************************************************************
+ * CODELINK - MODULE FOR XOOPS
+ * Copyright (c) 2007 - 2012
+ * TXMod Xoops (http://www.txmodxoops.org)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * You may not change or alter any portion of this comment or credits
+ * of supporting developers from this source code or any supporting
+ * source code which is considered copyrighted (c) material of the
+ * original comment or credit authors.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * ---------------------------------------------------------------------------
+ * @copyright TXMod Xoops (http://www.txmodxoops.org)
+ * @license GPL see LICENSE
+ * @package codelink
+ * @author TXMod Xoops (in...@tx...)
+ *
+ * Version : 1.36 Mon 2012/01/09 14:23:56 : Timgno Exp $
+ * ****************************************************************************
+ */
+
+include_once("admin_header.php");
+
+xoops_cp_header();
+
+if (isset($_REQUEST["op"])) {
+ $op = $_REQUEST["op"];
+} else {
+ @$op = "default";
+}
+$banner_admin = new ModuleAdmin();
+switch ($op)
+{
+ case "save_banner":
+ if ( !$GLOBALS["xoopsSecurity"]->check() ) {
+ redirect_header("banner.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors()));
+ }
+ if (isset($_REQUEST["banner_id"])) {
+ $obj =& $bannerHandler->get($_REQUEST["banner_id"]);
+ } else {
+ $obj =& $bannerHandler->create();
+ }
+ //Form banner_title
+ $obj->setVar("banner_title", $_REQUEST["banner_title"]);
+ //Form banner_img
+ include_once XOOPS_ROOT_PATH."/class/uploader.php";
+ $uploaddir_banner_img = XOOPS_ROOT_PATH."/uploads/codelink/banner/banner_img/";
+ $uploader_banner_img = new XoopsMediaUploader($uploaddir_banner_img, $GLOBALS['xoopsModuleConfig']["codelink_img_mimetypes"], $GLOBALS['xoopsModuleConfig']["codelink_img_size"], null, null);
+
+ if ($uploader_banner_img->fetchMedia("banner_img")) {
+ $uploader_banner_img->setPrefix("banner_img_") ;
+ $uploader_banner_img->fetchMedia("banner_img");
+ if (!$uploader_banner_img->upload()) {
+ $errors = $uploader_banner_img->getErrors();
+ redirect_header("javascript:history.go(-1)",3, $errors);
+ } else {
+ $obj->setVar("banner_img", $uploader_banner_img->getSavedFileName());
+ }
+ } else {
+ $obj->setVar("banner_img", $_REQUEST["banner_img"]);
+ }
+ //Form banner_weight
+ $obj->setVar("banner_weight", $_REQUEST["banner_weight"]);
+ //Form banner_submitter
+ $obj->setVar("banner_submitter", $_REQUEST["banner_submitter"]);
+ //Form
+ $obj->setVar("banner_created", strtotime($_REQUEST["banner_created"]));
+ //Form banner_online
+ $verif_banner_online = ($_REQUEST["banner_online"] == 1) ? "1" : "0";
+ $obj->setVar("banner_online", $verif_banner_online);
+
+
+ if ($bannerHandler->insert($obj)) {
+ redirect_header("banner.php?op=show_list_banner", 2, _AM_CODELINK_FORMOK);
+ }
+ //include_once("../include/forms.php");
+ echo $obj->getHtmlErrors();
+ $form =& $obj->getForm();
+ break;
+
+ case "edit_banner":
+ $obj = $bannerHandler->get($_REQUEST["banner_id"]);
+ $form = $obj->getForm();
+ break;
+
+ case "delete_banner":
+ $obj =& $bannerHandler->get($_REQUEST["banner_id"]);
+ if (isset($_REQUEST["ok"]) && $_REQUEST["ok"] == 1) {
+ if ( !$GLOBALS["xoopsSecurity"]->check() ) {
+ redirect_header("banner.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors()));
+ }
+ if ($bannerHandler->delete($obj)) {
+ redirect_header("banner.php", 3, _AM_CODELINK_FORMDELOK);
+ } else {
+ echo $obj->getHtmlErrors();
+ }
+ } else {
+ xoops_confirm(array("ok" => 1, "banner_id" => $_REQUEST["banner_id"], "op" => "delete_banner"), $_SERVER["REQUEST_URI"], sprintf(_AM_CODELINK_FORMSUREDEL, $obj->getVar("banner")));
+ }
+ break;
+
+ case "update_online_banner":
+
+ if (isset($_REQUEST["banner_id"])) {
+ $obj =& $bannerHandler->get($_REQUEST["banner_id"]);
+ }
+ $obj->setVar("banner_online", $_REQUEST["banner_online"]);
+
+ if ($bannerHandler->insert($obj)) {
+ redirect_header("banner.php", 3, _AM_CODELINK_FORMOK);
+ }
+ echo $obj->getHtmlErrors();
+
+ break;
+
+ case "add_banner":
+ echo $banner_admin->addNavigation('banner.php');
+ $banner_admin->addItemButton(_AM_CODELINK_BANNERLIST, 'banner.php?op=default', 'list');
+ echo $banner_admin->renderButton();
+
+ // Affichage du formulaire
+ $obj =& $bannerHandler->create();
+ $form = $obj->getForm();
+ break;
+
+ case "default":
+ default:
+ echo $banner_admin->addNavigation('banner.php');
+ $banner_admin->addItemButton(_AM_CODELINK_BANNERNEW, 'banner.php?op=add_banner', 'add');
+ echo $banner_admin->renderButton();
+
+ $criteria = new CriteriaCompo();
+ $criteria->setSort("banner_id");
+ $criteria->setOrder("ASC");
+ $numrows = $bannerHandler->getCount();
+ if (isset($_REQUEST['limit'])) {
+ $criteria->setLimit($_REQUEST['limit']);
+ $limit = $_REQUEST['limit'];
+ } else {
+ $criteria->setLimit($GLOBALS['xoopsModuleConfig']['admin_perpage']);
+ $limit = $GLOBALS['xoopsModuleConfig']['admin_perpage'];
+ }
+ if (isset($_REQUEST['start'])) {
+ $criteria->setStart($_REQUEST['start']);
+ $start = $_REQUEST['start'];
+ } else {
+ $criteria->setStart(0);
+ $start = 0;
+ }
+ $document_tri = 1;
+ $document_order = 1;
+ if (isset($_REQUEST['document_order'])) {
+ if ($_REQUEST['document_order']==1){
+ $criteria->setOrder('ASC');
+ $document_order=1;
+ }
+ if ($_REQUEST['document_order']==2){
+ $criteria->setOrder('DESC');
+ $document_order=2;
+ }
+ } else {
+ $criteria->setOrder('DESC');
+ }
+ $banner_arr = $bannerHandler->getall($criteria);
+ if ( $numrows > $limit ) {
+ $pagenav = new XoopsPageNav($numrows, $limit, $start, 'start', 'op=liste&limit=' . $limit . '&document_tri=' . $document_tri. '&document_order=' . $document_order);
+ $pagenav = $pagenav->renderNav(4);
+ } else {
+ $pagenav = '';
+ }
+ //Affichage du tableau
+ if ($numrows>0)
+ {
+ echo "<table width=\"100%\" cellspacing=\"1\" class=\"outer\">
+ <tr>
+ <th align=\"center\">"._AM_CODELINK_BANNER_NAME."</th>
+ <th align=\"center\">"._AM_CODELINK_BANNER_IMG."</th>
+ <th align=\"center\">"._AM_CODELINK_BANNER_CODE."</th>
+ <th align=\"center\">"._AM_CODELINK_BANNER_SUBMITTER."</th>
+ <th align=\"center\">"._AM_CODELINK_BANNER_CREATED."</th>
+ <th align=\"center\">"._AM_CODELINK_BANNER_WEIGHT."</th>
+ <th align=\"center\">"._AM_CODELINK_BANNER_ONLINE."</th>
+ <th align=\"center\" width=\"10%\">"._AM_CODELINK_FORMACTION."</th>
+ </tr>";
+ $class = "odd";
+ $prefix = "<img src=\"".XOOPS_URL."/modules/codelink/images/deco/arrow.gif\">";
+ foreach (array_keys($banner_arr) as $i)
+ {
+ $banner_id = $banner_arr[$i]->getVar("banner_id");
+ $banner_img = $banner_arr[$i]->getVar("banner_img");
+ $banner_title = $banner_arr[$i]->getVar("banner_title");
+ $banner_weight = $banner_arr[$i]->getVar("banner_weight");
+ echo "<tr class=\"".$class."\">";
+ echo "<td align=\"left\">".$prefix." ".$banner_arr[$i]->getVar("banner_title")."</td>";
+ echo "<td align=\"center\"><img src=\"".XOOPS_URL."/uploads/codelink/banner/banner_img/".$banner_arr[$i]->getVar("banner_img")."\" height=\"30px\" title=\"".$banner_arr[$i]->getVar("banner_title")."\" alt=\"".$banner_arr[$i]->getVar("banner_title")."\"></td>";
+ echo "<td align=\"center\"><textarea><a href=\"".XOOPS_URL."\" title=\"".$xoopsConfig['sitename']."\" target=\"_blank\"><img src=\"".XOOPS_URL."/uploads/".$xoopsModule->dirname()."/banner/banner_img/".$banner_arr[$i]->getVar("banner_img")."\" alt=\"".$xoopsConfig['sitename']."\" title=\"".$xoopsConfig['sitename']."\" /></a></textarea></td>";
+ echo "<td align=\"center\">".XoopsUser::getUnameFromId($banner_arr[$i]->getVar("banner_submitter"),"S")."</td>";
+ echo "<td align=\"center\">".formatTimeStamp($banner_arr[$i]->getVar("banner_created"),"S")."</td>";
+ echo "<td align=\"center\">".$banner_arr[$i]->getVar("banner_weight")."</td>";
+
+ $online = $banner_arr[$i]->getVar("banner_online");
+
+ if( $online == 1 ) {
+ echo "<td align=\"center\"><a href=\"./banner.php?op=update_online_banner&banner_id=".$banner_arr[$i]->getVar("banner_id")."&banner_online=0\"><img src=\"./../images/deco/on.gif\" border=\"0\" alt=\""._AM_CODELINK_ON."\" title=\""._AM_CODELINK_ON."\"></a></td>";
+ } else {
+ echo "<td align=\"center\"><a href=\"./banner.php?op=update_online_banner&banner_id=".$banner_arr[$i]->getVar("banner_id")."&banner_online=1\"><img src=\"./../images/deco/off.gif\" border=\"0\" alt=\""._AM_CODELINK_OFF."\" title=\""._AM_CODELINK_OFF."\"></a></td>";
+ }
+ echo "<td align=\"center\" width=\"10%\">
+ <a href=\"banner.php?op=edit_banner&banner_id=".$banner_arr[$i]->getVar("banner_id")."\"><img src=\"../images/deco/edit.gif\" alt=\""._AM_CODELINK_EDIT."\" title=\""._AM_CODELINK_EDIT."\"></a>
+ <a href=\"banner.php?op=delete_banner&banner_id=".$banner_arr[$i]->getVar("banner_id")."\"><img src=\"../images/deco/delete.gif\" alt=\""._AM_CODELINK_DELETE."\" title=\""._AM_CODELINK_DELETE."\"></a>
+ </td>
+ </tr>";
+ $class = ($class == "even") ? "odd" : "even";
+ }
+ echo "</table><br />";
+ echo "<div align='right'>".$pagenav."</div><br />";
+ }
+}
+include "admin_footer.php";
+?>
\ No newline at end of file
Added: XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/button.php
===================================================================
--- XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/button.php (rev 0)
+++ XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/button.php 2012-02-07 16:20:18 UTC (rev 8900)
@@ -0,0 +1,234 @@
+<?php
+/**
+ * ****************************************************************************
+ * - Original Copyright (TDM)
+ * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS
+ * - Licence GPL Copyright (c) (http://www.tdmxoops.net)
+ * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org)
+ * - Revision By TXMod Xoops (http://www.txmodxoops.org)
+ * ****************************************************************************
+ * CODELINK - MODULE FOR XOOPS
+ * Copyright (c) 2007 - 2012
+ * TXMod Xoops (http://www.txmodxoops.org)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * You may not change or alter any portion of this comment or credits
+ * of supporting developers from this source code or any supporting
+ * source code which is considered copyrighted (c) material of the
+ * original comment or credit authors.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * ---------------------------------------------------------------------------
+ * @copyright TXMod Xoops (http://www.txmodxoops.org)
+ * @license GPL see LICENSE
+ * @package codelink
+ * @author TXMod Xoops (in...@tx...)
+ *
+ * Version : 1.36 Mon 2012/01/09 14:23:56 : Timgno Exp $
+ * ****************************************************************************
+ */
+
+include_once("admin_header.php");
+
+xoops_cp_header();
+
+if (isset($_REQUEST["op"])) {
+ $op = $_REQUEST["op"];
+} else {
+ @$op = "default";
+}
+$button_admin = new ModuleAdmin();
+switch ($op)
+{
+ case "save_button":
+ if ( !$GLOBALS["xoopsSecurity"]->check() ) {
+ redirect_header("button.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors()));
+ }
+ if (isset($_REQUEST["button_id"])) {
+ $obj =& $buttonHandler->get($_REQUEST["button_id"]);
+ } else {
+ $obj =& $buttonHandler->create();
+ }
+ //Form button_title
+ $obj->setVar("button_title", $_REQUEST["button_title"]);
+ //Form button_img
+ include_once XOOPS_ROOT_PATH."/class/uploader.php";
+ $uploaddir_button_img = XOOPS_ROOT_PATH."/uploads/codelink/button/button_img/";
+ $uploader_button_img = new XoopsMediaUploader($uploaddir_button_img, $GLOBALS['xoopsModuleConfig']["codelink_img_mimetypes"], $GLOBALS['xoopsModuleConfig']["codelink_img_size"], null, null);
+
+ if ($uploader_button_img->fetchMedia("button_img")) {
+ $uploader_button_img->setPrefix("button_img_") ;
+ $uploader_button_img->fetchMedia("button_img");
+ if (!$uploader_button_img->upload()) {
+ $errors = $uploader_button_img->getErrors();
+ redirect_header("javascript:history.go(-1)",3, $errors);
+ } else {
+ $obj->setVar("button_img", $uploader_button_img->getSavedFileName());
+ }
+ } else {
+ $obj->setVar("button_img", $_REQUEST["button_img"]);
+ }
+ //Form button_weight
+ $obj->setVar("button_weight", $_REQUEST["button_weight"]);
+ //Form button_submitter
+ $obj->setVar("button_submitter", $_REQUEST["button_submitter"]);
+ //Form button_created
+ $obj->setVar("button_created", strtotime($_REQUEST["button_created"]));
+ //Form button_online
+ $verif_button_online = ($_REQUEST["button_online"] == 1) ? "1" : "0";
+ $obj->setVar("button_online", $verif_button_online);
+
+ if ($buttonHandler->insert($obj)) {
+ redirect_header("button.php?op=show_list_button", 2, _AM_CODELINK_FORMOK);
+ }
+ //include_once("../include/forms.php");
+ echo $obj->getHtmlErrors();
+ $form =& $obj->getForm();
+ break;
+
+ case "edit_button":
+ $obj = $buttonHandler->get($_REQUEST["button_id"]);
+ $form = $obj->getForm();
+ break;
+
+ case "delete_button":
+ $obj =& $buttonHandler->get($_REQUEST["button_id"]);
+ if (isset($_REQUEST["ok"]) && $_REQUEST["ok"] == 1) {
+ if ( !$GLOBALS["xoopsSecurity"]->check() ) {
+ redirect_header("button.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors()));
+ }
+ if ($buttonHandler->delete($obj)) {
+ redirect_header("button.php", 3, _AM_CODELINK_FORMDELOK);
+ } else {
+ echo $obj->getHtmlErrors();
+ }
+ } else {
+ xoops_confirm(array("ok" => 1, "button_id" => $_REQUEST["button_id"], "op" => "delete_button"), $_SERVER["REQUEST_URI"], sprintf(_AM_CODELINK_FORMSUREDEL, $obj->getVar("button")));
+ }
+ break;
+
+ case "update_online_button":
+
+ if (isset($_REQUEST["button_id"])) {
+ $obj =& $buttonHandler->get($_REQUEST["button_id"]);
+ }
+ $obj->setVar("button_online", $_REQUEST["button_online"]);
+
+ if ($buttonHandler->insert($obj)) {
+ redirect_header("button.php", 3, _AM_CODELINK_FORMOK);
+ }
+ echo $obj->getHtmlErrors();
+
+ break;
+
+ case "add_button":
+ echo $button_admin->addNavigation('button.php');
+ $button_admin->addItemButton(_AM_CODELINK_BUTTONLIST, 'button.php?op=default', 'list');
+ echo $button_admin->renderButton();
+
+ // Affichage du formulaire
+ $obj =& $buttonHandler->create();
+ $form = $obj->getForm();
+ break;
+
+ case "default":
+ default:
+ echo $button_admin->addNavigation('button.php');
+ $button_admin->addItemButton(_AM_CODELINK_BUTTONNEW, 'button.php?op=add_button', 'add');
+ echo $button_admin->renderButton();
+
+ $criteria = new CriteriaCompo();
+ $criteria->setSort("button_id");
+ $criteria->setOrder("ASC");
+ $numrows = $buttonHandler->getCount();
+ if (isset($_REQUEST['limit'])) {
+ $criteria->setLimit($_REQUEST['limit']);
+ $limit = $_REQUEST['limit'];
+ } else {
+ $criteria->setLimit($GLOBALS['xoopsModuleConfig']['admin_perpage']);
+ $limit = $GLOBALS['xoopsModuleConfig']['admin_perpage'];
+ }
+ if (isset($_REQUEST['start'])) {
+ $criteria->setStart($_REQUEST['start']);
+ $start = $_REQUEST['start'];
+ } else {
+ $criteria->setStart(0);
+ $start = 0;
+ }
+ $document_tri = 1;
+ $document_order = 1;
+ if (isset($_REQUEST['document_order'])) {
+ if ($_REQUEST['document_order']==1){
+ $criteria->setOrder('ASC');
+ $document_order=1;
+ }
+ if ($_REQUEST['document_order']==2){
+ $criteria->setOrder('DESC');
+ $document_order=2;
+ }
+ } else {
+ $criteria->setOrder('DESC');
+ }
+ $button_arr = $buttonHandler->getall($criteria);
+ if ( $numrows > $limit ) {
+ $pagenav = new XoopsPageNav($numrows, $limit, $start, 'start', 'op=liste&limit=' . $limit . '&document_tri=' . $document_tri. '&document_order=' . $document_order);
+ $pagenav = $pagenav->renderNav(4);
+ } else {
+ $pagenav = '';
+ }
+
+ //Affichage du tableau
+ if ($numrows>0)
+ {
+ echo "<table width=\"100%\" cellspacing=\"1\" class=\"outer\">
+ <tr>
+ <th align=\"center\">"._AM_CODELINK_BUTTON_NAME."</th>
+ <th align=\"center\">"._AM_CODELINK_BUTTON_IMG."</th>
+ <th align=\"center\">"._AM_CODELINK_BUTTON_CODE."</th>
+ <th align=\"center\">"._AM_CODELINK_BUTTON_SUBMITTER."</th>
+ <th align=\"center\">"._AM_CODELINK_BUTTON_CREATED."</th>
+ <th align=\"center\">"._AM_CODELINK_BUTTON_WEIGHT."</th>
+ <th align=\"center\">"._AM_CODELINK_BUTTON_ONLINE."</th>
+ <th align=\"center\" width=\"10%\">"._AM_CODELINK_FORMACTION."</th>
+ </tr>";
+ $class = "odd";
+ $prefix = "<img src=\"".XOOPS_URL."/modules/codelink/images/deco/arrow.gif\">";
+ foreach (array_keys($button_arr) as $i)
+ {
+ $button_id = $button_arr[$i]->getVar("button_id");
+ $button_img = $button_arr[$i]->getVar("button_img");
+ $button_title = $button_arr[$i]->getVar("button_title");
+ $button_weight = $button_arr[$i]->getVar("button_weight");
+ echo "<tr class=\"".$class."\">";
+ echo "<td align=\"left\">".$prefix." ".$button_arr[$i]->getVar("button_title")."</td>";
+ echo "<td align=\"center\"><img src=\"".XOOPS_URL."/uploads/codelink/button/button_img/".$button_arr[$i]->getVar("button_img")."\" height=\"30px\" title=\"".$button_arr[$i]->getVar("button_title")."\" alt=\"".$button_arr[$i]->getVar("button_title")."\"></td>";
+ echo "<td align=\"center\"><textarea><a href=\"".XOOPS_URL."\" title=\"".$xoopsConfig['sitename']."\" target=\"_blank\"><img src=\"".XOOPS_URL."/uploads/codelink/button/button_img/".$button_arr[$i]->getVar("button_img")."\" alt=\"".$xoopsConfig['sitename']."\" title=\"".$xoopsConfig['sitename']."\" /></a></textarea></td>";
+ echo "<td align=\"center\">".XoopsUser::getUnameFromId($button_arr[$i]->getVar("button_submitter"),"S")."</td>";
+ echo "<td align=\"center\">".formatTimeStamp($button_arr[$i]->getVar("button_created"),"S")."</td>";
+ echo "<td align=\"center\">".$button_arr[$i]->getVar("button_weight")."</td>";
+ $online = $button_arr[$i]->getVar("button_online");
+ if( $online == 1 ) {
+ echo "<td align=\"center\"><a href=\"./button.php?op=update_online_button&button_id=".$button_arr[$i]->getVar("button_id")."&button_online=0\"><img src=\"./../images/deco/on.gif\" border=\"0\" alt=\""._AM_CODELINK_ON."\" title=\""._AM_CODELINK_ON."\"></a></td>";
+ } else {
+ echo "<td align=\"center\"><a href=\"./button.php?op=update_online_button&button_id=".$button_arr[$i]->getVar("button_id")."&button_online=1\"><img src=\"./../images/deco/off.gif\" border=\"0\" alt=\""._AM_CODELINK_OFF."\" title=\""._AM_CODELINK_OFF."\"></a></td>";
+ }
+ echo "<td align=\"center\" width=\"10%\">
+ <a href=\"button.php?op=edit_button&button_id=".$button_arr[$i]->getVar("button_id")."\"><img src=\"../images/deco/edit.gif\" alt=\""._AM_CODELINK_EDIT."\" title=\""._AM_CODELINK_EDIT."\"></a>
+ <a href=\"button.php?op=delete_button&button_id=".$button_arr[$i]->getVar("button_id")."\"><img src=\"../images/deco/delete.gif\" alt=\""._AM_CODELINK_DELETE."\" title=\""._AM_CODELINK_DELETE."\"></a>
+ </td>
+ </tr>";
+ $class = ($class == "even") ? "odd" : "even";
+ }
+ echo "</table><br />";
+ echo "<div align='right'>".$pagenav."</div><br />";
+ }
+}
+include "admin_footer.php";
+?>
\ No newline at end of file
Added: XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/index.html
===================================================================
--- XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/index.html (rev 0)
+++ XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/index.html 2012-02-07 16:20:18 UTC (rev 8900)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/index.php
===================================================================
--- XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/index.php (rev 0)
+++ XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/index.php 2012-02-07 16:20:18 UTC (rev 8900)
@@ -0,0 +1,43 @@
+<?php
+/**
+ * ****************************************************************************
+ * Module g\xE9n\xE9r\xE9 par TDMCreate de la TDM "http://www.tdmxoops.net"
+ * ****************************************************************************
+ * codelink - MODULE FOR XOOPS AND IMPRESS CMS
+ * Copyright (c) timgno (http://www.txmodxoops.org)
+ *
+ * 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 timgno (http://www.txmodxoops.org)
+ * @license GPL
+ * @package codelink
+ * @author timgno (txm...@gm...)
+ *
+ * Version : 1.03:
+ * ****************************************************************************
+ */
+
+include "admin_header.php";
+xoops_cp_header();
+ $indexAdmin = new ModuleAdmin();
+ //account "total"
+ $count_link = $linkHandler->getCount();
+ //account "total"
+ $count_button = $buttonHandler->getCount();
+ //account "total"
+ $count_banner = $bannerHandler->getCount();
+ $indexAdmin->addInfoBox(_AM_CODELINK_LINK);
+ $indexAdmin->addInfoBoxLine(_AM_CODELINK_LINK,_AM_CODELINK_THEREARE_LINK, $count_link) ;
+ $indexAdmin->addInfoBox(_AM_CODELINK_BUTTON);
+ $indexAdmin->addInfoBoxLine(_AM_CODELINK_BUTTON,_AM_CODELINK_THEREARE_BUTTON, $count_button) ;
+ $indexAdmin->addInfoBox(_AM_CODELINK_BANNER);
+ $indexAdmin->addInfoBoxLine(_AM_CODELINK_BANNER,_AM_CODELINK_THEREARE_BANNER, $count_banner) ;
+ echo $indexAdmin->addNavigation("index.php");
+ echo $indexAdmin->renderIndex();
+include "admin_footer.php";
+?>
\ No newline at end of file
Added: XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/link.php
===================================================================
--- XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/link.php (rev 0)
+++ XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/link.php 2012-02-07 16:20:18 UTC (rev 8900)
@@ -0,0 +1,213 @@
+<?php
+/**
+ * ****************************************************************************
+ * - Original Copyright (TDM)
+ * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS
+ * - Licence GPL Copyright (c) (http://www.tdmxoops.net)
+ * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org)
+ * - Revision By TXMod Xoops (http://www.txmodxoops.org)
+ * ****************************************************************************
+ * CODELINK - MODULE FOR XOOPS
+ * Copyright (c) 2007 - 2012
+ * TXMod Xoops (http://www.txmodxoops.org)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * You may not change or alter any portion of this comment or credits
+ * of supporting developers from this source code or any supporting
+ * source code which is considered copyrighted (c) material of the
+ * original comment or credit authors.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * ---------------------------------------------------------------------------
+ * @copyright TXMod Xoops (http://www.txmodxoops.org)
+ * @license GPL see LICENSE
+ * @package codelink
+ * @author TXMod Xoops (in...@tx...)
+ *
+ * Version : 1.36 Mon 2012/01/09 14:23:56 : Timgno Exp $
+ * ****************************************************************************
+ */
+
+include_once("admin_header.php");
+
+xoops_cp_header();
+
+if (isset($_REQUEST["op"])) {
+ $op = $_REQUEST["op"];
+} else {
+ @$op = "show_list_link";
+}
+$link_admin = new ModuleAdmin();
+switch ($op)
+{
+ case "save_link":
+ if ( !$GLOBALS["xoopsSecurity"]->check() ) {
+ redirect_header("link.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors()));
+ }
+ if (isset($_REQUEST["link_id"])) {
+ $obj =& $linkHandler->get($_REQUEST["link_id"]);
+ } else {
+ $obj =& $linkHandler->create();
+ }
+
+ //Form link_title
+ $obj->setVar("link_title", $_REQUEST["link_title"]);
+ //Form link_submitter
+ $obj->setVar("link_weight", $_REQUEST["link_weight"]);
+ //Form link_submitter
+ $obj->setVar("link_submitter", $_REQUEST["link_submitter"]);
+ //Form link_created
+ $obj->setVar("link_created", strtotime($_REQUEST["link_created"]));
+ //Form link_online
+ $verif_link_online = ($_REQUEST["link_online"] == 1) ? "1" : "0";
+ $obj->setVar("link_online", $verif_link_online);
+
+ if ($linkHandler->insert($obj)) {
+ redirect_header("link.php?op=show_list_link", 2, _AM_CODELINK_FORMOK);
+ }
+ //include_once("../include/forms.php");
+ echo $obj->getHtmlErrors();
+ $form =& $obj->getForm();
+ break;
+
+ case "edit_link":
+ $obj = $linkHandler->get($_REQUEST["link_id"]);
+ $form = $obj->getForm();
+ break;
+
+ case "delete_link":
+ $obj =& $linkHandler->get($_REQUEST["link_id"]);
+ if (isset($_REQUEST["ok"]) && $_REQUEST["ok"] == 1) {
+ if ( !$GLOBALS["xoopsSecurity"]->check() ) {
+ redirect_header("link.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors()));
+ }
+ if ($linkHandler->delete($obj)) {
+ redirect_header("link.php", 3, _AM_CODELINK_FORMDELOK);
+ } else {
+ echo $obj->getHtmlErrors();
+ }
+ } else {
+ xoops_confirm(array("ok" => 1, "link_id" => $_REQUEST["link_id"], "op" => "delete_link"), $_SERVER["REQUEST_URI"], sprintf(_AM_CODELINK_FORMSUREDEL, $obj->getVar("link")));
+ }
+ break;
+
+ case "update_online_link":
+
+ if (isset($_REQUEST["link_id"])) {
+ $obj =& $linkHandler->get($_REQUEST["link_id"]);
+ }
+ $obj->setVar("link_online", $_REQUEST["link_online"]);
+
+ if ($linkHandler->insert($obj)) {
+ redirect_header("link.php", 3, _AM_CODELINK_FORMOK);
+ }
+ echo $obj->getHtmlErrors();
+
+ break;
+
+ case "add_link":
+ echo $link_admin->addNavigation('link.php');
+ $link_admin->addItemButton(_AM_CODELINK_LINKLIST, 'link.php?op=default', 'list');
+ echo $link_admin->renderButton();
+
+ // Affichage du formulaire
+ $obj =& $linkHandler->create();
+ $form = $obj->getForm();
+ break;
+
+ case "default":
+ default:
+ echo $link_admin->addNavigation('link.php');
+ $link_admin->addItemButton(_AM_CODELINK_LINKNEW, 'link.php?op=add_link', 'add');
+ echo $link_admin->renderButton();
+
+ $criteria = new CriteriaCompo();
+ $criteria->setSort("link_id");
+ $criteria->setOrder("ASC");
+ $numrows = $linkHandler->getCount();
+
+ if (isset($_REQUEST['limit'])) {
+ $criteria->setLimit($_REQUEST['limit']);
+ $limit = $_REQUEST['limit'];
+ } else {
+ $criteria->setLimit($GLOBALS['xoopsModuleConfig']['admin_perpage']);
+ $limit = $GLOBALS['xoopsModuleConfig']['admin_perpage'];
+ }
+ if (isset($_REQUEST['start'])) {
+ $criteria->setStart($_REQUEST['start']);
+ $start = $_REQUEST['start'];
+ } else {
+ $criteria->setStart(0);
+ $start = 0;
+ }
+ $document_tri = 1;
+ $document_order = 1;
+ if (isset($_REQUEST['document_order'])) {
+ if ($_REQUEST['document_order']==1){
+ $criteria->setOrder('ASC');
+ $document_order=1;
+ }
+ if ($_REQUEST['document_order']==2){
+ $criteria->setOrder('DESC');
+ $document_order=2;
+ }
+ } else {
+ $criteria->setOrder('DESC');
+ }
+ $link_arr = $linkHandler->getall($criteria);
+ if ( $numrows > $limit ) {
+ $pagenav = new XoopsPageNav($numrows, $limit, $start, 'start', 'op=liste&limit=' . $limit . '&document_tri=' . $document_tri. '&document_order=' . $document_order);
+ $pagenav = $pagenav->renderNav(4);
+ } else {
+ $pagenav = '';
+ }
+ //Affichage du tableau
+ if ($numrows>0)
+ {
+ echo "<table width=\"100%\" cellspacing=\"1\" class=\"outer\">
+ <tr>
+ <th align=\"center\">"._AM_CODELINK_LINK_NAME."</th>
+ <th align=\"center\">"._AM_CODELINK_LINK_CODE."</th>
+ <th align=\"center\">"._AM_CODELINK_LINK_SUBMITTER."</th>
+ <th align=\"center\">"._AM_CODELINK_LINK_CREATED."</th>
+ <th align=\"center\">"._AM_CODELINK_LINK_WEIGHT."</th>
+ <th align=\"center\">"._AM_CODELINK_LINK_ONLINE."</th>
+ <th align=\"center\" width=\"10%\">"._AM_CODELINK_FORMACTION."</th>
+ </tr>";
+
+ $class = "odd";
+
+ foreach (array_keys($link_arr) as $i)
+ {
+ echo "<tr class=\"".$class."\">";
+ $class = ($class == "even") ? "odd" : "even";
+ echo "<td align=\"center\">".$link_arr[$i]->getVar("link_title")."</td>";
+ echo "<td align=\"center\"><textarea><a href=\"".XOOPS_URL."\" title=\"".$xoopsConfig['sitename']."\" target=\"_blank\">".$link_arr[$i]->getVar("link_title")."</a></textarea></td>";
+ echo "<td align=\"center\">".XoopsUser::getUnameFromId($link_arr[$i]->getVar("link_submitter"),"S")."</td>";
+ echo "<td align=\"center\">".formatTimeStamp($link_arr[$i]->getVar("link_created"),"S")."</td>";
+ echo "<td align=\"center\">".$link_arr[$i]->getVar("link_weight")."</td>";
+ $online = $link_arr[$i]->getVar("link_online");
+ if( $online == 1 ) {
+ echo "<td align=\"center\"><a href=\"./link.php?op=update_online_link&link_id=".$link_arr[$i]->getVar("link_id")."&link_online=0\"><img src=\"./../images/deco/on.gif\" border=\"0\" alt=\""._AM_CODELINK_ON."\" title=\""._AM_CODELINK_ON."\"></a></td>";
+ } else {
+ echo "<td align=\"center\"><a href=\"./link.php?op=update_online_link&link_id=".$link_arr[$i]->getVar("link_id")."&link_online=1\"><img src=\"./../images/deco/off.gif\" border=\"0\" alt=\""._AM_CODELINK_OFF."\" title=\""._AM_CODELINK_OFF."\"></a></td>";
+ }
+ echo "<td align=\"center\" width=\"10%\">
+ <a href=\"link.php?op=edit_link&link_id=".$link_arr[$i]->getVar("link_id")."\"><img src=\"../images/deco/edit.gif\" alt=\""._AM_CODELINK_EDIT."\" title=\""._AM_CODELINK_EDIT."\"></a>
+ <a href=\"link.php?op=delete_link&link_id=".$link_arr[$i]->getVar("link_id")."\"><img src=\"../images/deco/delete.gif\" alt=\""._AM_CODELINK_DELETE."\" title=\""._AM_CODELINK_DELETE."\"></a>
+ </td>";
+ echo "</tr>";
+ }
+ echo "</table><br />";
+ echo "<div align='right'>".$pagenav."</div><br />";
+ }
+}
+include "admin_footer.php";
+?>
\ No newline at end of file
Added: XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/menu.php
===================================================================
--- XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/menu.php (rev 0)
+++ XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/admin/menu.php 2012-02-07 16:20:18 UTC (rev 8900)
@@ -0,0 +1,74 @@
+<?php
+/**
+ * ****************************************************************************
+ * - Original Copyright (TDM)
+ * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS
+ * - Licence GPL Copyright (c) (http://www.tdmxoops.net)
+ * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org)
+ * - Revision By TXMod Xoops (http://www.txmodxoops.org)
+ * ****************************************************************************
+ * CODELINK - MODULE FOR XOOPS
+ * Copyright (c) 2007 - 2012
+ * TXMod Xoops (http://www.txmodxoops.org)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * You may not change or alter any portion of this comment or credits
+ * of supporting developers from this source code or any supporting
+ * source code which is considered copyrighted (c) material of the
+ * original comment or credit authors.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * ---------------------------------------------------------------------------
+ * @copyright TXMod Xoops (http://www.txmodxoops.org)
+ * @license GPL see LICENSE
+ * @package codelink
+ * @author TXMod Xoops (in...@tx...)
+ *
+ * Version : 1.36 Mon 2012/01/09 14:23:56 : Timgno Exp $
+ * ****************************************************************************
+ */
+
+
+$dirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+$module_handler =& xoops_gethandler("module");
+$xoopsModule =& XoopsModule::getByDirname($dirname);
+$moduleInfo =& $module_handler->get($xoopsModule->getVar("mid"));
+$pathImageAdmin = $moduleInfo->getInfo("icons32");
+
+$adminmenu = array();
+
+$i = 1;
+$adminmenu[$i]["title"] = _MI_CODELINK_ADMENU1;
+$adminmenu[$i]["link"] = "admin/index.php";
+//$adminmenu[$i]["desc"] = _MI_CODELINK_ADMENU1_DESC;
+$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/home.png";
+$i++;
+$adminmenu[$i]["title"] = _MI_CODELINK_ADMENU2;
+$adminmenu[$i]["link"] = "admin/link.php";
+//$adminmenu[$i]["desc"] = _MI_CODELINK_ADMENU2_DESC
+$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/link.png";
+$i++;
+$adminmenu[$i]["title"] = _MI_CODELINK_ADMENU3;
+$adminmenu[$i]["link"] = "admin/button.php";
+//$adminmenu[$i]["desc"] = _MI_CODELINK_ADMENU3_DESC
+$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/button.png";
+$i++;
+$adminmenu[$i]["title"] = _MI_CODELINK_ADMENU4;
+$adminmenu[$i]["link"] = "admin/banner.php";
+//$adminmenu[$i]["desc"] = _MI_CODELINK_ADMENU4_DESC
+$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/banner.png";
+$i++;
+$adminmenu[$i]["title"] = _MI_CODELINK_ADMENU5;
+$adminmenu[$i]["link"] = "admin/about.php";
+//$adminmenu[$i]["desc"] = _MI_CODELINK_ADMENU5_DESC;
+$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/about.png";
+unset( $i );
+?>
\ No newline at end of file
Added: XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/banner.php
===================================================================
--- XoopsModules/codelink/release/1.36/codelink/htdocs/modules/codelink/banner.php (rev 0)
+++ Xoo...
[truncated message content] |
|
From: <be...@us...> - 2012-02-07 15:39:11
|
Revision: 8899
http://xoops.svn.sourceforge.net/xoops/?rev=8899&view=rev
Author: beckmi
Date: 2012-02-07 15:38:59 +0000 (Tue, 07 Feb 2012)
Log Message:
-----------
Updating links for TortoiseSVN
Modified Paths:
--------------
XoopsModules/readme.txt
Modified: XoopsModules/readme.txt
===================================================================
--- XoopsModules/readme.txt 2012-02-07 15:37:13 UTC (rev 8898)
+++ XoopsModules/readme.txt 2012-02-07 15:38:59 UTC (rev 8899)
@@ -28,9 +28,10 @@
2) Using Subversion at PLU with Tortoise SVN
http://www.cs.plu.edu/~dwolff/svn-tutorial/svn-tutorial.html
-3) How to use TortoiseSVN
-http://wdg.uncc.edu/HOWTO_use_TortiseSVN_on_Windows
+3) How to use TortoiseSVN: Tutorials
http://www.youtube.com/watch?v=fPUdXvjY_G4 (video)
+http://baltimorehackerspace.com/2009/07/sourceforge-and-tortoisesvn-tutorial/
+http://www.igorexchange.com/node/87
4) Version Control with Subversion
http://svnbook.red-bean.com/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <be...@us...> - 2012-02-07 15:37:24
|
Revision: 8898
http://xoops.svn.sourceforge.net/xoops/?rev=8898&view=rev
Author: beckmi
Date: 2012-02-07 15:37:13 +0000 (Tue, 07 Feb 2012)
Log Message:
-----------
Restructuring folders
Added Paths:
-----------
XoopsModules/txmeteo/trunk/txmeteo/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <be...@us...> - 2012-02-07 15:36:36
|
Revision: 8897
http://xoops.svn.sourceforge.net/xoops/?rev=8897&view=rev
Author: beckmi
Date: 2012-02-07 15:36:27 +0000 (Tue, 07 Feb 2012)
Log Message:
-----------
Restructuring folders
Added Paths:
-----------
XoopsModules/txmeteo/release/1.0/txmeteo/
Removed Paths:
-------------
XoopsModules/txmeteo/release/txmeteo 1.0/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <be...@us...> - 2012-02-07 15:35:07
|
Revision: 8896
http://xoops.svn.sourceforge.net/xoops/?rev=8896&view=rev
Author: beckmi
Date: 2012-02-07 15:34:56 +0000 (Tue, 07 Feb 2012)
Log Message:
-----------
Restructuring folders
Added Paths:
-----------
XoopsModules/txmeteo/release/1.0/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <txm...@us...> - 2012-02-07 15:08:24
|
Revision: 8895
http://xoops.svn.sourceforge.net/xoops/?rev=8895&view=rev
Author: txmodxoops
Date: 2012-02-07 15:08:09 +0000 (Tue, 07 Feb 2012)
Log Message:
-----------
Added Paths:
-----------
XoopsModules/txmeteo/
XoopsModules/txmeteo/branches/
XoopsModules/txmeteo/release/
XoopsModules/txmeteo/release/txmeteo 1.0/
XoopsModules/txmeteo/release/txmeteo 1.0/admin/
XoopsModules/txmeteo/release/txmeteo 1.0/admin/about.php
XoopsModules/txmeteo/release/txmeteo 1.0/admin/admin_header.php
XoopsModules/txmeteo/release/txmeteo 1.0/admin/index.html
XoopsModules/txmeteo/release/txmeteo 1.0/admin/index.php
XoopsModules/txmeteo/release/txmeteo 1.0/admin/menu.php
XoopsModules/txmeteo/release/txmeteo 1.0/admin/permissions.php
XoopsModules/txmeteo/release/txmeteo 1.0/admin/topic.php
XoopsModules/txmeteo/release/txmeteo 1.0/blocks/
XoopsModules/txmeteo/release/txmeteo 1.0/blocks/index.html
XoopsModules/txmeteo/release/txmeteo 1.0/class/
XoopsModules/txmeteo/release/txmeteo 1.0/class/index.html
XoopsModules/txmeteo/release/txmeteo 1.0/class/menu.php
XoopsModules/txmeteo/release/txmeteo 1.0/class/object.php
XoopsModules/txmeteo/release/txmeteo 1.0/class/topic.php
XoopsModules/txmeteo/release/txmeteo 1.0/images/
XoopsModules/txmeteo/release/txmeteo 1.0/images/TDMLogo.png
XoopsModules/txmeteo/release/txmeteo 1.0/images/deco/
XoopsModules/txmeteo/release/txmeteo 1.0/images/deco/about.png
XoopsModules/txmeteo/release/txmeteo 1.0/images/deco/arrow.gif
XoopsModules/txmeteo/release/txmeteo 1.0/images/deco/delete.gif
XoopsModules/txmeteo/release/txmeteo 1.0/images/deco/edit.gif
XoopsModules/txmeteo/release/txmeteo 1.0/images/deco/index.html
XoopsModules/txmeteo/release/txmeteo 1.0/images/deco/index.png
XoopsModules/txmeteo/release/txmeteo 1.0/images/deco/off.gif
XoopsModules/txmeteo/release/txmeteo 1.0/images/deco/on.gif
XoopsModules/txmeteo/release/txmeteo 1.0/images/deco/permissions.png
XoopsModules/txmeteo/release/txmeteo 1.0/images/deco/pref.png
XoopsModules/txmeteo/release/txmeteo 1.0/images/deco/topic.png
XoopsModules/txmeteo/release/txmeteo 1.0/images/deco/update.png
XoopsModules/txmeteo/release/txmeteo 1.0/images/index.html
XoopsModules/txmeteo/release/txmeteo 1.0/images/menu/
XoopsModules/txmeteo/release/txmeteo 1.0/images/menu/bg.png
XoopsModules/txmeteo/release/txmeteo 1.0/images/menu/index.html
XoopsModules/txmeteo/release/txmeteo 1.0/images/menu/left_both.png
XoopsModules/txmeteo/release/txmeteo 1.0/images/menu/right_both.png
XoopsModules/txmeteo/release/txmeteo 1.0/include/
XoopsModules/txmeteo/release/txmeteo 1.0/include/functions.php
XoopsModules/txmeteo/release/txmeteo 1.0/include/index.html
XoopsModules/txmeteo/release/txmeteo 1.0/include/install.php
XoopsModules/txmeteo/release/txmeteo 1.0/index.php
XoopsModules/txmeteo/release/txmeteo 1.0/language/
XoopsModules/txmeteo/release/txmeteo 1.0/language/english/
XoopsModules/txmeteo/release/txmeteo 1.0/language/english/admin.php
XoopsModules/txmeteo/release/txmeteo 1.0/language/english/blocks.php
XoopsModules/txmeteo/release/txmeteo 1.0/language/english/index.html
XoopsModules/txmeteo/release/txmeteo 1.0/language/english/main.php
XoopsModules/txmeteo/release/txmeteo 1.0/language/english/modinfo.php
XoopsModules/txmeteo/release/txmeteo 1.0/language/french/
XoopsModules/txmeteo/release/txmeteo 1.0/language/french/admin.php
XoopsModules/txmeteo/release/txmeteo 1.0/language/french/blocks.php
XoopsModules/txmeteo/release/txmeteo 1.0/language/french/index.html
XoopsModules/txmeteo/release/txmeteo 1.0/language/french/main.php
XoopsModules/txmeteo/release/txmeteo 1.0/language/french/modinfo.php
XoopsModules/txmeteo/release/txmeteo 1.0/language/index.html
XoopsModules/txmeteo/release/txmeteo 1.0/language/italian/
XoopsModules/txmeteo/release/txmeteo 1.0/language/italian/admin.php
XoopsModules/txmeteo/release/txmeteo 1.0/language/italian/blocks.php
XoopsModules/txmeteo/release/txmeteo 1.0/language/italian/index.html
XoopsModules/txmeteo/release/txmeteo 1.0/language/italian/main.php
XoopsModules/txmeteo/release/txmeteo 1.0/language/italian/modinfo.php
XoopsModules/txmeteo/release/txmeteo 1.0/sql/
XoopsModules/txmeteo/release/txmeteo 1.0/sql/index.html
XoopsModules/txmeteo/release/txmeteo 1.0/sql/mysql.sql
XoopsModules/txmeteo/release/txmeteo 1.0/templates/
XoopsModules/txmeteo/release/txmeteo 1.0/templates/blocks/
XoopsModules/txmeteo/release/txmeteo 1.0/templates/blocks/index.html
XoopsModules/txmeteo/release/txmeteo 1.0/templates/index.html
XoopsModules/txmeteo/release/txmeteo 1.0/xoops_version.php
XoopsModules/txmeteo/trunk/
Added: XoopsModules/txmeteo/release/txmeteo 1.0/admin/about.php
===================================================================
--- XoopsModules/txmeteo/release/txmeteo 1.0/admin/about.php (rev 0)
+++ XoopsModules/txmeteo/release/txmeteo 1.0/admin/about.php 2012-02-07 15:08:09 UTC (rev 8895)
@@ -0,0 +1,118 @@
+<?php
+/**
+ * ****************************************************************************
+ * Module g\xE9n\xE9r\xE9 par TDMCreate de la TDM "http://www.tdmxoops.net"
+ * ****************************************************************************
+ * txmeteo - MODULE FOR XOOPS AND IMPRESS CMS
+ * Copyright (c) timgno (http://txmod.webuda.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 timgno (http://txmod.webuda.com)
+ * @license GPL
+ * @package txmeteo
+ * @author timgno (http://txmod.webuda.com)
+ *
+ * Version : 1.00:
+ * ****************************************************************************
+ */
+
+include_once("admin_header.php");
+
+xoops_cp_header();
+
+if ( !is_readable(XOOPS_ROOT_PATH."/Frameworks/art/functions.admin.php")) {
+txmeteo_adminmenu(3, _AM_TXMETEO_MANAGER_ABOUT);
+
+echo "<style>
+.CPbigTitle{
+ font-size: 20px;
+ color: #1E90FF;
+ background: no-repeat left top;
+ font-weight: bold;
+ height: 40px;
+ vertical-align: middle;
+ padding: 10px 0 0 50px;
+ border-bottom: 3px solid #1E90FF;
+}
+</style>";
+} else {
+include_once XOOPS_ROOT_PATH."/Frameworks/art/functions.admin.php";
+loadModuleAdminMenu (3, _AM_TXMETEO_MANAGER_ABOUT);
+}
+
+//menu
+echo "<div class=\"CPbigTitle\" style=\"background-image: url(../images/deco/about.png); background-repeat: no-repeat; background-position: left; padding-left: 50px;\"><strong>"._AM_TXMETEO_MANAGER_ABOUT."</strong>
+</div><br />";
+
+$versioninfo =& $module_handler->get( $xoopsModule->getVar("mid") );
+
+echo "<style type=\"text/css\">
+ label,text {
+ display: block;
+ float: left;
+ margin-bottom: 2px;
+ }
+ label {
+ text-align: right;
+ width: 150px;
+ padding-right: 20px;
+ }
+ br {
+ clear: left;
+ }
+ </style>
+
+ <fieldset>
+ <legend style=\"font-weight: bold; color: #900;\">".$xoopsModule->getVar("name")."</legend>
+ <div style=\"padding: 8px;\">
+ <img src=\"".XOOPS_URL."/modules/".$xoopsModule->getVar("dirname")."/".$versioninfo->getInfo("image")."\" alt=\"\" hspace=\"10\" vspace=\"0\" /></a>\n
+ <div style=\"padding: 5px;\"><strong>".$versioninfo->getInfo("name")." version ".$versioninfo->getInfo("version")."</strong></div>\n
+ <label>"._AM_TXMETEO_ABOUT_RELEASEDATE.":</label><text>".$versioninfo->getInfo("release")."</text><br />
+ <label>"._AM_TXMETEO_ABOUT_AUTHOR.":</label><text>".$versioninfo->getInfo("author")."</text><br />
+ <label>"._AM_TXMETEO_ABOUT_CREDITS.":</label><text>".$versioninfo->getInfo("credits")."</text><br />
+ <label>"._AM_TXMETEO_ABOUT_LICENSE.":</label><text><a href=\"".$versioninfo->getInfo("license_file")."\" target=\"_blank\" >".$versioninfo->getInfo("license")."</a></text>\n
+ </div>
+ </fieldset>
+<br clear=\"all\"/>
+
+ <fieldset>
+ <legend style=\"font-weight: bold; color: #900;\">"._AM_TXMETEO_ABOUT_MODULE_INFO."</legend>
+ <div style=\"padding: 8px;\">
+ <label>"._AM_TXMETEO_ABOUT_MODULE_STATUS.":</label><text>".$versioninfo->getInfo("module_status")."</text><br />
+ <label>"._AM_TXMETEO_ABOUT_WEBSITE.":</label><text><a href=\"".$versioninfo->getInfo("module_website_url")."\" target=\"_blank\">".$versioninfo->getInfo("module_website_name")."</a></text><br />
+ </div>
+ </fieldset>
+<br clear=\"all\" />
+
+ <fieldset>
+ <legend style=\"font-weight: bold; color: #900;\">"._AM_TXMETEO_ABOUT_AUTHOR_INFO."</legend>
+ <div style=\"padding: 8px;\">
+ <label>"._AM_TXMETEO_ABOUT_AUTHOR_NAME.":</label><text>".$versioninfo->getInfo("author")."</text><br />
+ <label>"._AM_TXMETEO_ABOUT_WEBSITE.":</label><text><a href=\"".$versioninfo->getInfo("author_website_url")."\" target=\"_blank\">".$versioninfo->getInfo("author_website_name")."</a></text><br />
+ </div>
+ </fieldset>
+<br clear=\"all\" />";
+
+$file = XOOPS_ROOT_PATH."/modules/".$xoopsModule->getVar("dirname")."/changelog.txt";
+
+if ( is_readable( $file ) ){
+echo "<fieldset>
+ <legend style=\"font-weight: bold; color: #900;\">"._AM_TXMETEO_ABOUT_CHANGELOG."</legend>
+ <div style=\"padding: 8px;\">
+ <div>".implode("<br />", file( $file ))."</div>
+ </div>
+ </fieldset>
+ <br clear=\"all\" />";
+
+}
+echo "<br /><br />
+<div align=\"center\"><a href=\"http://www.tdmxoops.net\" target=\"_blank\"><img src=\"http://www.tdmxoops.net/images/logo_modules.gif\" alt=\"TDM\" title=\"TDM\"></a></div>
+";
+xoops_cp_footer();
+?>
\ No newline at end of file
Added: XoopsModules/txmeteo/release/txmeteo 1.0/admin/admin_header.php
===================================================================
--- XoopsModules/txmeteo/release/txmeteo 1.0/admin/admin_header.php (rev 0)
+++ XoopsModules/txmeteo/release/txmeteo 1.0/admin/admin_header.php 2012-02-07 15:08:09 UTC (rev 8895)
@@ -0,0 +1,110 @@
+<?php
+/**
+ * ****************************************************************************
+ * Module g\xE9n\xE9r\xE9 par TDMCreate de la TDM "http://www.tdmxoops.net"
+ * ****************************************************************************
+ * txmeteo - MODULE FOR XOOPS AND IMPRESS CMS
+ * Copyright (c) timgno (http://txmod.webuda.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 timgno (http://txmod.webuda.com)
+ * @license GPL
+ * @package txmeteo
+ * @author timgno (http://txmod.webuda.com)
+ *
+ * Version : 1.00:
+ * ****************************************************************************
+ */
+
+include "../../../include/cp_header.php";
+
+include_once(XOOPS_ROOT_PATH."/class/xoopsmodule.php");
+include_once XOOPS_ROOT_PATH."/class/xoopstree.php";
+include_once XOOPS_ROOT_PATH."/class/xoopsformloader.php";
+include_once XOOPS_ROOT_PATH."/class/tree.php";
+include_once XOOPS_ROOT_PATH."/class/xoopslists.php";
+include_once XOOPS_ROOT_PATH."/class/pagenav.php";
+include_once XOOPS_ROOT_PATH."/class/xoopstopic.php";
+include_once XOOPS_ROOT_PATH."/class/xoopsform/grouppermform.php";
+include_once("../include/functions.php");
+
+$myts =& MyTextSanitizer::getInstance();
+include_once XOOPS_ROOT_PATH."/modules/txmeteo/class/topic.php";
+
+if ( $xoopsUser ) {
+ $xoopsModule = XoopsModule::getByDirname("txmeteo");
+ if ( !$xoopsUser->isAdmin($xoopsModule->mid()) ) {
+ redirect_header(XOOPS_URL."/",3,_NOPERM);
+ exit();
+ }
+} else {
+ redirect_header(XOOPS_URL."/",3,_NOPERM);
+ exit();
+}
+
+// Include language file
+xoops_loadLanguage("admin", "system");
+xoops_loadLanguage("admin", $xoopsModule->getVar("dirname", "e"));
+xoops_loadLanguage("modinfo", $xoopsModule->getVar("dirname", "e"));
+
+function txmeteo_adminmenu ($currentoption = 0, $breadcrumb = "")
+{
+ global $xoopsModule, $xoopsConfig;
+
+ echo "
+ <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(".XOOPS_URL."/modules/txmeteo/images/menu/bg.png) 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(".XOOPS_URL."/modules/txmeteo/images/deco/left_both.png) 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(".XOOPS_URL."/modules/txmeteo/images/deco/right_both.png) no-repeat right top; padding:5px 15px 4px 6px; font-weight:bold; color:#765; }
+ #buttonbar a span {float:none;}
+ #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>
+ ";
+
+ $tblColors = Array();
+ $tblColors[0] = $tblColors[1] = $tblColors[2] = $tblColors[3] = $tblColors[4] = $tblColors[5] = $tblColors[6] = $tblColors[7] = $tblColors[8] = "";
+ $tblColors[$currentoption] = "current";
+ if (file_exists("".XOOPS_ROOT_PATH."/modules/".$xoopsModule->getVar("dirname")."/language/".$xoopsConfig["language"]."/modinfo.php")) {
+ include_once("".XOOPS_ROOT_PATH."/modules/".$xoopsModule->getVar("dirname")."/language/".$xoopsConfig["language"]."/modinfo.php");
+ } else {
+ include_once("".XOOPS_ROOT_PATH."/modules/".$xoopsModule->getVar("dirname")."/english/modinfo.php");
+ }
+
+ echo "<div id=\"buttontop\">
+ <table style=\"width: 100%; padding: 0;\" cellspacing=\"0\">
+ <tr>
+ <td style=\"font-size: 10px; text-align: left; color: #2F5376; padding: 0 6px; line-height: 18px;\">
+ <a class=\"nobutton\" href=\"".XOOPS_URL."/modules/system/admin.php?fct=preferences&op=showmod&mod=".$myts->displayTarea($xoopsModule->getVar("mid"))."\">_AM_TXMETEO_GENERALSET</a>
+ | <a href=\"".XOOPS_URL."/modules/txmeteo/index.php\">_AM_TXMETEO_GOINDEX</a>
+ | <a href=\"".XOOPS_URL."/modules/txmeteo/admin/upgrade.php\">_AM_TXMETEO_UPGRADE</a>
+ </td>
+ <td style=\"font-size: 10px; text-align: right; color: #2F5376; padding: 0 6px; line-height: 18px;\"><b>".$myts->displayTarea($xoopsModule->name())."</b></td>
+ </tr>
+ </table>
+ </div>
+
+ <div id=\"buttonbar\">
+ <ul><li id=\"$tblColors[0]\"><a href=\"".XOOPS_URL."/modules/txmeteo/admin/index.php\"><span>_MI_TXMETEO_MANAGER_INDEX</span></a></li>
+ <li id=\"$tblColors[1]\"><a href=\"".XOOPS_URL."/modules/txmeteo/admin/topic.php\"><span>_MI_TXMETEO_MANAGER_TOPIC</span></a></li>
+
+ <li id=\"$tblColors[2]\"><a href=\"".XOOPS_URL."/modules/txmeteo/admin/permissions.php\"><span>_MI_TXMETEO_MANAGER_PERMISSIONS</span></a></li>
+ <li id=\"$tblColors[3]\"><a href=\"".XOOPS_URL."/modules/txmeteo/admin/about.php\"><span>_MI_TXMETEO_MANAGER_ABOUT</span></a></li>
+ </ul></div>";
+}
+
+$topicHandler =& xoops_getModuleHandler("txmeteo_topic", "txmeteo");
+
+?>
\ No newline at end of file
Added: XoopsModules/txmeteo/release/txmeteo 1.0/admin/index.html
===================================================================
--- XoopsModules/txmeteo/release/txmeteo 1.0/admin/index.html (rev 0)
+++ XoopsModules/txmeteo/release/txmeteo 1.0/admin/index.html 2012-02-07 15:08:09 UTC (rev 8895)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsModules/txmeteo/release/txmeteo 1.0/admin/index.php
===================================================================
--- XoopsModules/txmeteo/release/txmeteo 1.0/admin/index.php (rev 0)
+++ XoopsModules/txmeteo/release/txmeteo 1.0/admin/index.php 2012-02-07 15:08:09 UTC (rev 8895)
@@ -0,0 +1,78 @@
+<?php
+/**
+ * ****************************************************************************
+ * Module g\xE9n\xE9r\xE9 par TDMCreate de la TDM "http://www.tdmxoops.net"
+ * ****************************************************************************
+ * txmeteo - MODULE FOR XOOPS AND IMPRESS CMS
+ * Copyright (c) timgno (http://txmod.webuda.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 timgno (http://txmod.webuda.com)
+ * @license GPL
+ * @package txmeteo
+ * @author timgno (http://txmod.webuda.com)
+ *
+ * Version : 1.00:
+ * ****************************************************************************
+ */
+
+include_once("admin_header.php");
+
+xoops_cp_header();
+
+global $xoopsModule;
+
+//Apelle du menu admin
+if ( !is_readable(XOOPS_ROOT_PATH."/Frameworks/art/functions.admin.php")) {
+txmeteo_adminmenu(0, _AM_TXMETEO_MANAGER_INDEX);
+} else {
+include_once XOOPS_ROOT_PATH."/Frameworks/art/functions.admin.php";
+loadModuleAdminMenu (0, _AM_TXMETEO_MANAGER_INDEX);
+}
+
+ //compte "total"
+ $count_topic = $topicHandler->getCount();
+ //compte "attente"
+ $criteria = new CriteriaCompo();
+ $criteria->add(new Criteria("topic_online", 1));
+ $topic_online = $topicHandler->getCount($criteria);
+
+include_once XOOPS_ROOT_PATH."/modules/txmeteo/class/menu.php";
+
+ $menu = new txmeteoMenu();
+ $menu->addItem("topic", "topic.php", "../images/deco/topic.png", _AM_TXMETEO_MANAGER_TOPIC);
+ $menu->addItem("update", "../../system/admin.php?fct=modulesadmin&op=update&module=txmeteo", "../images/deco/update.png", _AM_TXMETEO_MANAGER_UPDATE);
+ $menu->addItem("permissions", "permissions.php", "../images/deco/permissions.png", _AM_TXMETEO_MANAGER_PERMISSIONS);
+ $menu->addItem("preference", "../../system/admin.php?fct=preferences&op=showmod&mod=".$xoopsModule->getVar("mid").
+ "&&confcat_id=1", "../images/deco/pref.png", _AM_TXMETEO_MANAGER_PREFERENCES);
+ $menu->addItem("about", "about.php", "../images/deco/about.png", _AM_TXMETEO_MANAGER_ABOUT);
+
+ echo $menu->getCSS();
+
+
+echo "<div class=\"CPbigTitle\" style=\"background-image: url(../images/deco/index.png); background-repeat: no-repeat; background-position: left; padding-left: 50px;\"><strong>"._AM_TXMETEO_MANAGER_INDEX."</strong></div><br />
+ <table width=\"100%\" border=\"0\" cellspacing=\"10\" cellpadding=\"4\">
+ <tr>
+ <td valign=\"top\">".$menu->render()."</td>
+ <td valign=\"top\" width=\"60%\">";
+
+ echo "<fieldset>
+ <legend class=\"CPmediumTitle\">"._AM_TXMETEO_MANAGER_TOPIC."</legend>
+ <br />";
+ printf(_AM_TXMETEO_THEREARE_TOPIC, $count_topic);
+ echo "<br /><br />";
+ printf(_AM_TXMETEO_THEREARE_TOPIC_ONLINE, $topic_online);
+ echo "<br />
+ </fieldset><br /><br />";
+ echo "</td></tr></table>";
+include_once("admin_footer.php");
+
+xoops_cp_footer();
+
+?>
\ No newline at end of file
Added: XoopsModules/txmeteo/release/txmeteo 1.0/admin/menu.php
===================================================================
--- XoopsModules/txmeteo/release/txmeteo 1.0/admin/menu.php (rev 0)
+++ XoopsModules/txmeteo/release/txmeteo 1.0/admin/menu.php 2012-02-07 15:08:09 UTC (rev 8895)
@@ -0,0 +1,36 @@
+<?php
+/**
+ * ****************************************************************************
+ * Module g\xE9n\xE9r\xE9 par TDMCreate de la TDM "http://www.tdmxoops.net"
+ * ****************************************************************************
+ * txmeteo - MODULE FOR XOOPS AND IMPRESS CMS
+ * Copyright (c) timgno (http://txmod.webuda.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 timgno (http://txmod.webuda.com)
+ * @license GPL
+ * @package txmeteo
+ * @author timgno (http://txmod.webuda.com)
+ *
+ * Version : 1.00:
+ * ****************************************************************************
+ */
+
+$adminmenu = array();
+$adminmenu[0]["title"] = _MI_TXMETEO_MANAGER_INDEX;
+$adminmenu[0]["link"] = "admin/index.php";
+$adminmenu[1]["title"] = _MI_TXMETEO_MANAGER_TOPIC;
+$adminmenu[1]["link"] = "admin/topic.php";
+$adminmenu[2]["title"] = _MI_TXMETEO_MANAGER_PERMISSIONS;
+$adminmenu[2]["link"] = "admin/permissions.php";
+
+$adminmenu[3]["title"] = _MI_TXMETEO_MANAGER_ABOUT;
+$adminmenu[3]["link"] = "admin/about.php";
+
+?>
\ No newline at end of file
Added: XoopsModules/txmeteo/release/txmeteo 1.0/admin/permissions.php
===================================================================
--- XoopsModules/txmeteo/release/txmeteo 1.0/admin/permissions.php (rev 0)
+++ XoopsModules/txmeteo/release/txmeteo 1.0/admin/permissions.php 2012-02-07 15:08:09 UTC (rev 8895)
@@ -0,0 +1,97 @@
+<?php
+/**
+ * ****************************************************************************
+ * Module g\xE9n\xE9r\xE9 par TDMCreate de la TDM "http://www.tdmxoops.net"
+ * ****************************************************************************
+ * txmeteo - MODULE FOR XOOPS AND IMPRESS CMS
+ * Copyright (c) timgno (http://txmod.webuda.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 timgno (http://txmod.webuda.com)
+ * @license GPL
+ * @package txmeteo
+ * @author timgno (http://txmod.webuda.com)
+ *
+ * Version : 1.00:
+ * ****************************************************************************
+ */
+
+include("admin_header.php");
+
+if( !empty($_POST["submit"]) )
+{
+ redirect_header( XOOPS_URL."/modules/".$xoopsModule->dirname()."/admin/permissions.php" , 1 , _MP_GPERMUPDATED );
+}
+
+xoops_cp_header();
+
+global $xoopsDB;
+
+if ( !is_readable(XOOPS_ROOT_PATH . "/Frameworks/art/functions.admin.php")) {
+txmeteo_adminmenu(2,_AM_TXMETEO_MANAGER_PERMISSIONS);
+} else {
+include_once XOOPS_ROOT_PATH."/Frameworks/art/functions.admin.php";
+loadModuleAdminMenu (2,_AM_TXMETEO_MANAGER_PERMISSIONS);
+}
+
+//menu
+echo "<div class=\"CPbigTitle\" style=\"background-image: url(../images/deco/permissions.png); background-repeat: no-repeat; background-position: left; padding-left: 50px;\">
+ <strong>"._AM_TXMETEO_MANAGER_PERMISSIONS."</strong>
+ </div><br />";
+
+ $permtoset= isset($_POST["permtoset"]) ? intval($_POST["permtoset"]) : 1;
+ $selected=array("","","");
+ $selected[$permtoset-1]=" selected";
+
+echo "
+<form method=\"post\" name=\"fselperm\" action=\"permissions.php\">
+ <table border=0>
+ <tr>
+ <td>
+ <select name=\"permtoset\" onChange=\"javascript: document.fselperm.submit()\">
+ <option value=\"1\"".$selected[0].">"._AM_TXMETEO_PERMISSIONS_ACCESS."</option>
+ <option value=\"2\"".$selected[1].">"._AM_TXMETEO_PERMISSIONS_SUBMIT."</option>
+ </select>
+ </td>
+ </tr>
+ </table>
+</form>";
+
+$module_id = $xoopsModule->getVar("mid");
+
+ switch($permtoset)
+ {
+ case 1:
+ $title_of_form = _AM_TXMETEO_PERMISSIONS_ACCESS;
+ $perm_name = "txmeteo_access";
+ $perm_desc = "";
+ break;
+ case 2:
+ $title_of_form = _AM_TXMETEO_PERMISSIONS_SUBMIT;
+ $perm_name = "txmeteo_submit";
+ $perm_desc = "";
+ break;
+ }
+
+ $permform = new XoopsGroupPermForm($title_of_form, $module_id, $perm_name, $perm_desc, "admin/permissions.php");
+ $xt = new XoopsTopic( $xoopsDB -> prefix("txmeteo_topic") );
+ $alltopics =& $xt->getTopicsList();
+
+ foreach ($alltopics as $topic_id => $topic)
+ {
+ $permform->addItem($topic_id, $topic["title"], $topic["pid"]);
+ }
+ echo $permform->render();
+ echo "<br /><br /><br /><br />\n";
+ unset ($permform);
+
+echo "<br /><br />
+<div align=\"center\"><a href=\"http://www.tdmxoops.net\" target=\"_blank\"><img src=\"http://www.tdmxoops.net/images/logo_modules.gif\" alt=\"TDM\" title=\"TDM\"></a></div>
+";
+?>
\ No newline at end of file
Added: XoopsModules/txmeteo/release/txmeteo 1.0/admin/topic.php
===================================================================
--- XoopsModules/txmeteo/release/txmeteo 1.0/admin/topic.php (rev 0)
+++ XoopsModules/txmeteo/release/txmeteo 1.0/admin/topic.php 2012-02-07 15:08:09 UTC (rev 8895)
@@ -0,0 +1,257 @@
+<?php
+/**
+ * ****************************************************************************
+ * Module g\xE9n\xE9r\xE9 par TDMCreate de la TDM "http://www.tdmxoops.net"
+ * ****************************************************************************
+ * txmeteo - MODULE FOR XOOPS AND IMPRESS CMS
+ * Copyright (c) timgno (http://txmod.webuda.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 timgno (http://txmod.webuda.com)
+ * @license GPL
+ * @package txmeteo
+ * @author timgno (http://txmod.webuda.com)
+ *
+ * Version : 1.00:
+ * ****************************************************************************
+ */
+
+include_once("admin_header.php");
+
+xoops_cp_header();
+
+if (isset($_REQUEST["op"])) {
+ $op = $_REQUEST["op"];
+} else {
+ @$op = "show_list_topic";
+}
+
+//Menu admin
+if ( !is_readable(XOOPS_ROOT_PATH . "/Frameworks/art/functions.admin.php") ) {
+txmeteo_adminmenu(1, _AM_TXMETEO_MANAGER_TOPIC);
+} else {
+include_once XOOPS_ROOT_PATH."/Frameworks/art/functions.admin.php";
+loadModuleAdminMenu (1, _AM_TXMETEO_MANAGER_TOPIC);
+}
+
+//Sous menu
+echo "<div class=\"CPbigTitle\" style=\"background-image: url(../images/deco/topic.png); background-repeat: no-repeat; background-position: left; padding-left: 50px;\">
+ <strong>"._AM_TXMETEO_MANAGER_TOPIC."</strong>
+ </div><br /><br>";
+switch ($op)
+{
+ case "save_topic":
+ if ( !$GLOBALS["xoopsSecurity"]->check() ) {
+ redirect_header("topic.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors()));
+ }
+ if (isset($_REQUEST["topic_id"])) {
+ $obj =& $topicHandler->get($_REQUEST["topic_id"]);
+ } else {
+ $obj =& $topicHandler->create();
+ }
+
+ //Form topic_pid
+ $obj->setVar("topic_pid", $_REQUEST["topic_pid"]);
+ //Form topic_title
+ $obj->setVar("topic_title", $_REQUEST["topic_title"]);
+ //Form topic_desc
+ $obj->setVar("topic_desc", $_REQUEST["topic_desc"]);
+ //Form topic_img
+ include_once XOOPS_ROOT_PATH."/class/uploader.php";
+ $uploaddir_topic_img = XOOPS_ROOT_PATH."/uploads/txmeteo/topic/topic_img/";
+ $uploader_topic_img = new XoopsMediaUploader($uploaddir_topic_img, $xoopsModuleConfig["topic_img_mimetypes"], $xoopsModuleConfig["topic_img_size"], null, null);
+
+ if ($uploader_topic_img->fetchMedia("topic_img")) {
+ $uploader_topic_img->setPrefix("topic_img_") ;
+ $uploader_topic_img->fetchMedia("topic_img");
+ if (!$uploader_topic_img->upload()) {
+ $errors = $uploader_topic_img->getErrors();
+ redirect_header("javascript:history.go(-1)",3, $errors);
+ } else {
+ $obj->setVar("topic_img", $uploader_topic_img->getSavedFileName());
+ }
+ } else {
+ $obj->setVar("topic_img", $_REQUEST["topic_img"]);
+ }
+ //Form topic_weight
+ $obj->setVar("topic_weight", $_REQUEST["topic_weight"]);
+ //Form topic_color
+ $obj->setVar("topic_color", $_REQUEST["topic_color"]);
+ //Form topic_submitter
+ $obj->setVar("topic_submitter", $_REQUEST["topic_submitter"]);
+ //Form topic_date_created
+ $obj->setVar("topic_date_created", strtotime($_REQUEST["topic_date_created"]));
+ //Form topic_online
+ $verif_topic_online = ($_REQUEST["topic_online"] == 1) ? "1" : "0";
+ $obj->setVar("topic_online", $verif_topic_online);
+
+
+ if ($topicHandler->insert($obj)) {
+ redirect_header("topic.php?op=show_list_topic", 2, _AM_TXMETEO_FORMOK);
+ }
+ //include_once("../include/forms.php");
+ echo $obj->getHtmlErrors();
+ $form =& $obj->getForm();
+ break;
+
+ case "edit_topic":
+ $obj = $topicHandler->get($_REQUEST["topic_id"]);
+ $form = $obj->getForm();
+ break;
+
+ case "delete_topic":
+ $obj =& $topicHandler->get($_REQUEST["topic_id"]);
+ if (isset($_REQUEST["ok"]) && $_REQUEST["ok"] == 1) {
+ if ( !$GLOBALS["xoopsSecurity"]->check() ) {
+ redirect_header("topic.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors()));
+ }
+ if ($topicHandler->delete($obj)) {
+ redirect_header("topic.php", 3, _AM_TXMETEO_FORMDELOK);
+ } else {
+ echo $obj->getHtmlErrors();
+ }
+ } else {
+ xoops_confirm(array("ok" => 1, "topic_id" => $_REQUEST["topic_id"], "op" => "delete_topic"), $_SERVER["REQUEST_URI"], sprintf(_AM_TXMETEO_FORMSUREDEL, $obj->getVar("topic")));
+ }
+ break;
+
+ case "update_online_topic":
+
+ if (isset($_REQUEST["topic_id"])) {
+ $obj =& $topicHandler->get($_REQUEST["topic_id"]);
+ }
+ $obj->setVar("topic_online", $_REQUEST["topic_online"]);
+
+ if ($topicHandler->insert($obj)) {
+ redirect_header("topic.php", 3, _AM_TXMETEO_FORMOK);
+ }
+ echo $obj->getHtmlErrors();
+
+ break;
+
+ case "default":
+ default:
+
+ $criteria = new CriteriaCompo();
+ $criteria->setSort("topic_id");
+ $criteria->setOrder("ASC");
+ $numrows = $topicHandler->getCount();
+ $topic_arr = $topicHandler->getall($criteria);
+
+ //Fonction qui permet afficher les cat\xE9gories enfants
+ function txmeteo_display_children($topic_id = 0, $topic_arr, $prefix = "", $order = "", &$class)
+ {
+ $topicHandler =& xoops_getModuleHandler("txmeteo_topic", "txmeteo");
+ $prefix = $prefix."<img src=\"".XOOPS_URL."/modules/txmeteo/images/deco/arrow.gif\">";
+ foreach (array_keys($topic_arr) as $i)
+ {
+ $topic_id = $topic_arr[$i]->getVar("topic_id");
+ $topic_img = $topic_arr[$i]->getVar("topic_img");
+ $topic_title = $topic_arr[$i]->getVar("topic_title");
+ $topic_weight = $topic_arr[$i]->getVar("topic_weight");
+ echo "<tr class=\"".$class."\">";
+ echo "<td align=\"left\">".$prefix." ".$topic_arr[$i]->getVar("topic_title")."</td>";
+ echo "<td align=\"center\"><img src=\"".XOOPS_URL."/uploads/txmeteo/topic/topic_img/".$topic_arr[$i]->getVar("topic_img")."\" height=\"30px\" title=\"topic_img\" alt=\"topic_img\"></td>";
+ echo "<td align=\"center\">".$topic_arr[$i]->getVar("topic_weight")."</td>";
+ echo "<td align=\"center\"><span style=\"background-color:".$topic_arr[$i]->getVar("topic_color")."\"> </span> -> ".$topic_arr[$i]->getVar("topic_color")."</td>";
+
+ $online = $topic_arr[$i]->getVar("topic_online");
+
+ if( $online == 1 ) {
+ echo "<td align=\"center\"><a href=\"./topic.php?op=update_online_topic&topic_id=".$topic_arr[$i]->getVar("topic_id")."&topic_online=0\"><img src=\"./../images/deco/on.gif\" border=\"0\" alt=\""._AM_TXMETEO_ON."\" title=\""._AM_TXMETEO_ON."\"></a></td>";
+ } else {
+ echo "<td align=\"center\"><a href=\"./topic.php?op=update_online_topic&topic_id=".$topic_arr[$i]->getVar("topic_id")."&topic_online=1\"><img src=\"./../images/deco/off.gif\" border=\"0\" alt=\""._AM_TXMETEO_OFF."\" title=\""._AM_TXMETEO_OFF."\"></a></td>";
+ }
+ echo "<td align=\"center\" width=\"10%\">
+ <a href=\"topic.php?op=edit_topic&topic_id=".$topic_arr[$i]->getVar("topic_id")."\"><img src=\"../images/deco/edit.gif\" alt=\""._AM_TXMETEO_EDIT."\" title=\""._AM_TXMETEO_EDIT."\"></a>
+ <a href=\"topic.php?op=delete_topic&topic_id=".$topic_arr[$i]->getVar("topic_id")."\"><img src=\"../images/deco/delete.gif\" alt=\""._AM_TXMETEO_DELETE."\" title=\""._AM_TXMETEO_DELETE."\"></a>
+ </td>
+ </tr>";
+ $class = ($class == "even") ? "odd" : "even";
+ $criteria = new CriteriaCompo();
+ $criteria->add(new Criteria("topic_pid", $topic_arr[$i]->getVar("topic_id")));
+ $criteria->setSort("topic_title");
+ $criteria->setOrder("ASC");
+ $topic_pid = $topicHandler->getall($criteria);
+ $num_pid = $topicHandler->getCount();
+ if ( $num_pid != 0 )
+ {
+ txmeteo_display_children($topic_id, $topic_pid, $prefix, $order, $class);
+ }
+ }
+ }
+
+ //Affichage du tableau
+ if ($numrows>0)
+ {
+ echo "<table width=\"100%\" cellspacing=\"1\" class=\"outer\">
+ <tr>
+ <th align=\"center\">"._AM_TXMETEO_TOPIC_TITLE."</th>
+ <th align=\"center\">"._AM_TXMETEO_TOPIC_IMG."</th>
+ <th align=\"center\">"._AM_TXMETEO_TOPIC_WEIGHT."</th>
+ <th align=\"center\">"._AM_TXMETEO_TOPIC_COLOR."</th>
+ <th align=\"center\">"._AM_TXMETEO_TOPIC_ONLINE."</th>
+
+ <th align=\"center\" width=\"10%\">"._AM_TXMETEO_FORMACTION."</th>
+ </tr>";
+ $class = "odd";
+ $prefix = "<img src=\"".XOOPS_URL."/modules/txmeteo/images/deco/arrow.gif\">";
+ foreach (array_keys($topic_arr) as $i)
+ {
+ if ( $topic_arr[$i]->getVar("topic_pid") == 0 )
+ {
+ $topic_id = $topic_arr[$i]->getVar("topic_id");
+ $topic_img = $topic_arr[$i]->getVar("topic_img");
+ $topic_title = $topic_arr[$i]->getVar("topic_title");
+ $topic_weight = $topic_arr[$i]->getVar("topic_weight");
+ echo "<tr class=\"".$class."\">";
+ echo "<td align=\"left\">".$prefix." ".$topic_arr[$i]->getVar("topic_title")."</td>";
+ echo "<td align=\"center\"><img src=\"".XOOPS_URL."/uploads/txmeteo/topic/topic_img/".$topic_arr[$i]->getVar("topic_img")."\" height=\"30px\" title=\"topic_img\" alt=\"topic_img\"></td>";
+ echo "<td align=\"center\">".$topic_arr[$i]->getVar("topic_weight")."</td>";
+ echo "<td align=\"center\"><span style=\"background-color:".$topic_arr[$i]->getVar("topic_color")."\"> </span> -> ".$topic_arr[$i]->getVar("topic_color")."</td>";
+
+ $online = $topic_arr[$i]->getVar("topic_online");
+
+ if( $online == 1 ) {
+ echo "<td align=\"center\"><a href=\"./topic.php?op=update_online_topic&topic_id=".$topic_arr[$i]->getVar("topic_id")."&topic_online=0\"><img src=\"./../images/deco/on.gif\" border=\"0\" alt=\""._AM_TXMETEO_ON."\" title=\""._AM_TXMETEO_ON."\"></a></td>";
+ } else {
+ echo "<td align=\"center\"><a href=\"./topic.php?op=update_online_topic&topic_id=".$topic_arr[$i]->getVar("topic_id")."&topic_online=1\"><img src=\"./../images/deco/off.gif\" border=\"0\" alt=\""._AM_TXMETEO_OFF."\" title=\""._AM_TXMETEO_OFF."\"></a></td>";
+ }
+ echo "<td align=\"center\" width=\"10%\">
+ <a href=\"topic.php?op=edit_topic&topic_id=".$topic_arr[$i]->getVar("topic_id")."\"><img src=\"../images/deco/edit.gif\" alt=\""._AM_TXMETEO_EDIT."\" title=\""._AM_TXMETEO_EDIT."\"></a>
+ <a href=\"topic.php?op=delete_topic&topic_id=".$topic_arr[$i]->getVar("topic_id")."\"><img src=\"../images/deco/delete.gif\" alt=\""._AM_TXMETEO_DELETE."\" title=\""._AM_TXMETEO_DELETE."\"></a>
+ </td>
+ </tr>";
+ $class = ($class == "even") ? "odd" : "even";
+ $criteria = new CriteriaCompo();
+ $criteria->add(new Criteria("topic_pid", $topic_id));
+ $criteria->setSort("topic_title");
+ $criteria->setOrder("ASC");
+ $topic_pid = $topicHandler->getall($criteria);
+ $num_pid = $topicHandler->getCount();
+
+ if ( $num_pid != 0)
+ {
+ txmeteo_display_children($topic_id, $topic_pid, $prefix, "topic_title", $class);
+ }
+ }
+ }
+ echo "</table><br><br>";
+ }
+
+ // Affichage du formulaire
+ $obj =& $topicHandler->create();
+ $form = $obj->getForm();
+}
+echo "<br /><br />
+<div align=\"center\"><a href=\"http://www.tdmxoops.net\" target=\"_blank\"><img src=\"http://www.tdmxoops.net/images/logo_modules.gif\" alt=\"TDM\" title=\"TDM\"></a></div>
+";
+xoops_cp_footer();
+
+?>
\ No newline at end of file
Added: XoopsModules/txmeteo/release/txmeteo 1.0/blocks/index.html
===================================================================
--- XoopsModules/txmeteo/release/txmeteo 1.0/blocks/index.html (rev 0)
+++ XoopsModules/txmeteo/release/txmeteo 1.0/blocks/index.html 2012-02-07 15:08:09 UTC (rev 8895)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsModules/txmeteo/release/txmeteo 1.0/class/index.html
===================================================================
--- XoopsModules/txmeteo/release/txmeteo 1.0/class/index.html (rev 0)
+++ XoopsModules/txmeteo/release/txmeteo 1.0/class/index.html 2012-02-07 15:08:09 UTC (rev 8895)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsModules/txmeteo/release/txmeteo 1.0/class/menu.php
===================================================================
--- XoopsModules/txmeteo/release/txmeteo 1.0/class/menu.php (rev 0)
+++ XoopsModules/txmeteo/release/txmeteo 1.0/class/menu.php 2012-02-07 15:08:09 UTC (rev 8895)
@@ -0,0 +1,175 @@
+<?php
+/**
+ * ****************************************************************************
+ * Module g\xE9n\xE9r\xE9 par TDMCreate de la TDM "http://www.tdmxoops.net"
+ * ****************************************************************************
+ * txmeteo - MODULE FOR XOOPS AND IMPRESS CMS
+ * Copyright (c) timgno (http://txmod.webuda.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 timgno (http://txmod.webuda.com)
+ * @license GPL
+ * @package txmeteo
+ * @author timgno (http://txmod.webuda.com)
+ *
+ * Version : 1.00:
+ * ****************************************************************************
+ */
+
+class txmeteoMenu
+{
+ public $Width = 100;
+ public $Height = 100;
+ public $BgColor = "transparent";
+ public $OverBgColor = "#FFF6C1";
+ public $BorderWidth = 1;
+ public $BorderColor = "#CCCCCC";
+ public $OverBorderColor = "#FF9900";
+ public $BorderStyle = "solid";
+ public $OverBorderStyle = "solid";
+ public $Font = "Tahoma, Arial, Helvetica";
+ public $FontColor = "#666666";
+ public $OverFontColor = "#1E90FF";
+ public $FontDeco = "none";
+ public $OverFontDeco = "none";
+ public $FontSize = 11;
+ public $FontWeight = "bold";
+ public $FontExtra = "Tahoma, Arial, Helvetica";
+ public $FontExtraColor = "#A98952";
+ public $OverFontExtraColor = "#0033FF";
+ public $FontExtraDeco = "underline";
+ public $OverFontExtraDeco = "underline";
+ public $FontExtraSize = 9;
+ public $FontExtraWeight = "normal";
+ public $TextAlign = "center";
+ private $_items = array();
+
+ public function addItem($id, $link="", $icon="", $name="", $extra="", $alt=""){
+ if (isset($this->_items[$id])) return false;
+ $rtn["link"] = $link;
+ $rtn["icon"] = $icon;
+ $rtn["name"] = $name;
+ $rtn["extra"] = $extra;
+ $rtn["alt"] = $alt;
+ $this->_items[$id] = $rtn;
+ return true;
+ }
+
+ public function setLink($id, $link){
+ if (isset($this->_items[$id])){
+ $this->_items[$id]["link"] = $link;
+ return true;
+ } else {
+ return false;
+ }
+ }
+
+ public function setIcon($id, $icon){
+ if (isset($this->_items[$id])){
+ $this->_items[$id]["icon"] = $icon;
+ return true;
+ } else {
+ return false;
+ }
+ }
+
+ public function setName($id, $name){
+ if (isset($this->_items[$id])){
+ $this->_items[$id]["name"] = $name;
+ return true;
+ } else {
+ return false;
+ }
+ }
+
+ public function setExtra($id, $extra){
+ if (isset($this->_items[$id])){
+ $this->_items[$id]["extra"] = $extra;
+ return true;
+ } else {
+ return false;
+ }
+ }
+
+ public function setAlt($id, $alt){
+ if (isset($this->_items[$id])){
+ $this->_items[$id]["alt"] = $alt;
+ return true;
+ } else {
+ return false;
+ }
+ }
+
+ public function getCSS($ws = true){
+ if ($ws) $csscode = "<style type=\"text/css\">\n<!--";
+ $csscode .= "div.rmmenuicon{
+ margin: 3px;
+ font-family: $this->Font;
+ text-align: ".$this->TextAlign.";
+ }
+ div.rmmenuicon a {
+ display: block; float: left;
+ height: ".$this->Height."px !important;
+ height: ".$this->Height."px;
+ width: ".$this->Width."px !important;
+ width: ".$this->Width."px;
+ vertical-align: middle;
+ text-decoration : none;
+ border: ".$this->BorderWidth."px $this->BorderStyle $this->BorderColor;
+ padding: 2px 5px 1px 5px;
+ margin: 3px;
+ color: $this->FontColor;
+ }
+ div.rmmenuicon img { margin-top: 8px; margin-bottom: 8px; }
+ div.rmmenuicon a span {
+ font-size: ".$this->FontSize."px;
+ font-weight: $this->FontWeight;
+ display: block;
+ }
+ div.rmmenuicon a span.uno{
+ font-size: ".$this->FontExtraSize."px;
+ font-weight: $this->FontExtraWeight;
+ text-decoration: $this->FontExtraDeco;
+ color: $this->FontExtraColor;
+ }
+ div.rmmenuicon a:hover{
+ background-color: $this->OverBgColor;
+ border: ".$this->BorderWidth."px $this->BorderStyle $this->OverBorderColor;
+ color: $this->OverFontColor;
+ }
+ div.rmmenuicon a:hover span{
+ text-decoration: $this->OverFontDeco;
+ }
+ div.rmmenuicon a:hover span.uno{
+ text-decoration: $this->OverFontExtraDeco;
+ color: $this->OverFontExtraColor;
+ }";
+ if ($ws) $csscode .= "\n-->\n</style>";
+ return $csscode;
+ }
+
+ public function render(){
+
+ $ret = "<div class=\"rmmenuicon\">";
+ foreach ($this->_items as $k => $v){
+ $ret .= "<a href=\"".$v["link"]."\" title=\"".($v["alt"]!="" ? $v["alt"] : $v["name"])."\">".($v["icon"]!="" ? "<img src=\"".$v["icon"]."\" alt=\"".$v["name"]."\" /> " : "");
+ if ($v["name"] != "") $ret .= "<span>".$v["name"]."</span>";
+ if ($v["extra"] != "") $ret .= "<span class=\"uno\">".$v["extra"]."</span>";
+ if ($v["extra"] != "") $ret .= "<span class=\"uno\">".$v["extra"]."</span>";
+ $ret .= "</a>";
+ }
+ $ret .= "</div><div style=\"clear: both;\"></div>";
+ return $ret;
+ }
+
+ public function display(){
+ echo $this->render();
+ }
+}
+?>
\ No newline at end of file
Added: XoopsModules/txmeteo/release/txmeteo 1.0/class/object.php
===================================================================
--- XoopsModules/txmeteo/release/txmeteo 1.0/class/object.php (rev 0)
+++ XoopsModules/txmeteo/release/txmeteo 1.0/class/object.php 2012-02-07 15:08:09 UTC (rev 8895)
@@ -0,0 +1,412 @@
+<?php
+/**
+ * ****************************************************************************
+ * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS
+ * - Licence GPL Copyright (c) (http://www.tdmxoops.net)
+ *
+ * Cette licence, contient des limitations!!!
+ *
+ * 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.
+ *
+ * @license TDM GPL license
+ * @author TDM TEAM DEV MODULE
+ *
+ * ****************************************************************************
+ */
+
+class XoopsPersistableObjectHandler extends XoopsObjectHandler{
+
+ /**
+ * Information about the class, the handler is managing
+ *
+ * @var string
+ */
+ var $table;
+ var $keyName;
+ var $className;
+ var $identifierName;
+
+
+ /**
+ * Constructor - called from child classes
+ * @param object $db {@link XoopsDatabase} object
+ * @param string $tablename Name of database table
+ * @param string $classname Name of Class, this handler is managing
+ * @param string $keyname Name of the property, holding the key
+ *
+ * @return void
+ */
+ function XoopsPersistableObjectHandler(&$db, $tablename, $classname, $keyname, $idenfierName = false) {
+ $this->XoopsObjectHandler($db);
+ $this->table = $db->prefix($tablename);
+ $this->keyName = $keyname;
+ $this->className = $classname;
+ if ($idenfierName != false) {
+ $this->identifierName = $idenfierName;
+ }
+ }
+
+ /**
+ * create a new user
+ *
+ * @param bool $isNew Flag the new objects as "new"?
+ *
+ * @return object
+ */
+ function &create($isNew = true) {
+ $obj =& new $this->className();
+ if ($isNew === true) {
+ $obj->setNew();
+ }
+ return $obj;
+ }
+
+ /**
+ * retrieve an object
+ *
+ * @param mixed $id ID of the object - or array of ids for joint keys. Joint keys MUST be given in the same order as in the constructor
+ * @param bool $as_object whether to return an object or an array
+ * @return mixed reference to the object, FALSE if failed
+ */
+ function &get($id, $as_object=true) {
+ if (is_array($this->keyName)) {
+ $criteria = new CriteriaCompo();
+ for ($i = 0; $i < count($this->keyName); $i++) {
+ $criteria->add(new Criteria($this->keyName[$i], intval($id[$i])));
+ }
+ } else {
+ $criteria = new Criteria($this->keyName, intval($id));
+ }
+ $criteria->setLimit(1);
+ $obj_array = $this->getObjects($criteria, false, $as_object);
+ if (count($obj_array) != 1) {
+ $obj = $this->create();
+ return $obj;
+ }
+ return $obj_array[0];
+ }
+
+ /**
+ * retrieve objects from the database
+ *
+ * @param object $criteria {@link CriteriaElement} conditions to be met
+ * @param bool $id_as_key use the ID as key for the array?
+ * @param bool $as_object return an array of objects?
+ *
+ * @return array
+ */
+ function getObjects($criteria=null, $id_as_key=false, $as_object=true){
+ $ret = array();
+ $limit = $start = 0;
+ $sql = 'SELECT * FROM '.$this->table;
+ if (isset($criteria) && is_subclass_of($criteria, 'criteriaelement')) {
+ $sql .= ' '.$criteria->renderWhere();
+ if ($criteria->getSort() != '') {
+ $sql .= ' ORDER BY '.$criteria->getSort().' '.$criteria->getOrder();
+ }
+ $limit = $criteria->getLimit();
+ $start = $criteria->getStart();
+ }
+ $result = $this->db->query($sql, $limit, $start);
+ if (!$result) {
+ return $ret;
+ }
+ return $this->convertResultSet($result, $id_as_key, $as_object);
+ }
+
+ /**
+ * Convert a database resultset to a returnable array
+ *
+ * @param object $result database resultset
+ * @param bool $id_as_key - should NOT be used with joint keys
+ * @param bool $as_object
+ *
+ * @return array
+ */
+ function convertResultSet($result, $id_as_key = false, $as_object = true) {
+ $ret = array();
+ while ($myrow = $this->db->fetchArray($result)) {
+ $obj =& $this->create(false);
+ $obj->assignVars($myrow);
+ if (!$id_as_key) {
+ if ($as_object) {
+ $ret[] =& $obj;
+ } else {
+ $row = array();
+ $vars = $obj->getVars();
+ foreach (array_keys($vars) as $i) {
+ $row[$i] = $obj->getVar($i);
+ }
+ $ret[] = $row;
+ }
+ } else {
+ if ($as_object) {
+ $ret[$myrow[$this->keyName]] =& $obj;
+ } else {
+ $row = array();
+ $vars = $obj->getVars();
+ foreach (array_keys($vars) as $i) {
+ $row[$i] = $obj->getVar($i);
+ }
+ $ret[$myrow[$this->keyName]] = $row;
+ }
+ }
+ unset($obj);
+ }
+ return $ret;
+ }
+
+ /**
+ * Retrieve a list of objects as arrays - DON'T USE WITH JOINT KEYS
+ *
+ * @param object $criteria {@link CriteriaElement} conditions to be met
+ * @param int $limit Max number of objects to fetch
+ * @param int $start Which record to start at
+ *
+ * @return array
+ */
+ function getList($criteria = null, $limit = 0, $start = 0) {
+ $ret = array();
+ if ($criteria == null) {
+ $criteria = new CriteriaCompo();
+ }
+
+ if ($criteria->getSort() == '') {
+ $criteria->setSort($this->identifierName);
+ }
+
+ $sql = 'SELECT '.$this->keyName;
+ if(!empty($this->identifierName)){
+ $sql .= ', '.$this->identifierName;
+ }
+ $sql .= ' FROM '.$this->table;
+ if (isset($criteria) && is_subclass_of($criteria, 'criteriaelement')) {
+ $sql .= ' '.$criteria->renderWhere();
+ if ($criteria->getSort() != '') {
+ $sql .= ' ORDER BY '.$criteria->getSort().' '.$criteria->getOrder();
+ }
+ $limit = $criteria->getLimit();
+ $start = $criteria->getStart();
+ }
+ $result = $this->db->query($sql, $limit, $start);
+ if (!$result) {
+ return $ret;
+ }
+ $myts =& MyTextSanitizer::getInstance();
+ while ($myrow = $this->db->fetchArray($result)) {
+ //identifiers should be textboxes, so sanitize them like that
+ $ret[$myrow[$this->keyName]] = empty($this->identifierName)?1:$myts->htmlSpecialChars($myrow[$this->identifierName]);
+ }
+ return $ret;
+ }
+
+ /**
+ * count objects matching a condition
+ *
+ * @param object $criteria {@link CriteriaElement} to match
+ * @return int count of objects
+ */
+ function getCount($criteria=null){
+ $field = "";
+ $groupby = false;
+ if (isset($criteria) && is_subclass_of($criteria, 'criteriaelement')) {
+ if ($criteria->groupby != "") {
+ $groupby = true;
+ $field = $criteria->groupby.", "; //Not entirely secure unless you KNOW that no criteria's groupby clause is going to be mis-used
+ }
+ }
+ $sql = 'SELECT '.$field.'COUNT(*) FROM '.$this->table;
+ if (isset($criteria) && is_subclass_of($criteria, 'criteriaelement')) {
+ $sql .= ' '.$criteria->renderWhere();
+ if ($criteria->groupby != "") {
+ $sql .= $criteria->getGroupby();
+ }
+ }
+ $result = $this->db->query($sql);
+ if (!$result) {
+ return 0;
+ }
+ if ($groupby == false) {
+ list($count) = $this->db->fetchRow($result);
+ return $count;
+ } else {
+ $ret = array();
+ while (list($id, $count) = $this->db->fetchRow($result)) {
+ $ret[$id] = $count;
+ }
+ return $ret;
+ }
+ }
+
+ /**
+ * delete an object from the database
+ *
+ * @param object $obj reference to the object to delete
+ * @param bool $force
+ * @return bool FALSE if failed.
+ */
+ function delete(&$obj, $force = false){
+ if (is_array($this->keyName)) {
+ $clause = array();
+ for ($i = 0; $i < count($this->keyName); $i++) {
+ $clause[] = $this->keyName[$i]." = ".$obj->getVar($this->keyName[$i]);
+ }
+ $whereclause = implode(" AND ", $clause);
+ } else {
+ $whereclause = $this->keyName." = ".$obj->getVar($this->keyName);
+ }
+ $sql = "DELETE FROM ".$this->table." WHERE ".$whereclause;
+ if (false != $force) {
+ $result = $this->db->queryF($sql);
+ } else {
+ $result = $this->db->query($sql);
+ }
+ if (!$result) {
+ return false;
+ }
+ return true;
+ }
+
+ /**
+ * insert a new object in the database
+ *
+ * @param object $obj reference to the object
+ * @param bool $force whether to force the query execution despite security settings
+ * @param bool $checkObject check if the object is dirty and clean the attributes
+ * @return bool FALSE if failed, TRUE if already present and unchanged or successful
+ */
+
+ function insert(&$obj, $force=false, $checkObject=true){
+ if ($checkObject != false) {
+ if (!is_object($obj)) {
+ var_dump($obj);
+ return false;
+ }
+ /**
+ * @TODO: Change to if (!(class_exists($this->className) && $obj instanceof $this->className)) when going fully PHP5
+ */
+ if (!is_a($obj, $this->className)) {
+ $obj->setErrors(get_class($obj)." Differs from ".$this->className);
+ return false;
+ }
+ if (!$obj->isDirty()) {
+ $obj->setErrors("Not dirty"); //will usually not be outputted as errors are not displayed when the method returns true, but it can be helpful when troubleshooting code - Mith
+ return true;
+ }
+ }
+ if (!$obj->cleanVars()) {
+ return false;
+ }
+
+ foreach ($obj->cleanVars as $k => $v) {
+ if ($obj->vars[$k]['data_type'] == XOBJ_DTYPE_INT) {
+ $cleanvars[$k] = intval($v);
+ } elseif ( is_array( $v ) ) {
+ $cleanvars[ $k ] = $this->db->quoteString( implode( ',', $v ) );
+ } else {
+ $cleanvars[$k] = $this->db->quoteString($v);
+ }
+ }
+ if ($obj->isNew()) {
+ if (!is_array($this->keyName)) {
+ if ($cleanvars[$this->keyName] < 1) {
+ $cleanvars[$this->keyName] = $this->db->genId($this->table.'_'.$this->keyName.'_seq');
+ }
+ }
+ $sql = "INSERT INTO ".$this->table." (".implode(',', array_keys($cleanvars)).") VALUES (".implode(',', array_values($cleanvars)) .")";
+ } else {
+ $sql = "UPDATE ".$this->table." SET";
+ foreach ($cleanvars as $key => $value) {
+ if ((!is_array($this->keyName) && $key == $this->keyName) || (is_array($this->keyName) && in_array($key, $this->keyName))) {
+ continue;
+ }
+ if (isset($notfirst) ) {
+ $sql .= ",";
+ }
+ $sql .= " ".$key." = ".$value;
+ $notfirst = true;
+ }
+ if (is_array($this->keyName)) {
+ $whereclause = "";
+ for ($i = 0; $i < count($this->keyName); $i++) {
+ if ($i > 0) {
+ $whereclause .= " AND ";
+ }
+ $whereclause .= $this->keyName[$i]." = ".$obj->getVar($this->keyName[$i]);
+ }
+ } else {
+ $whereclause = $this->keyName." = ".$obj->getVar($this->keyName);
+ }
+ $sql .= " WHERE ".$whereclause;
+ }
+ if (false != $force) {
+ $result = $this->db->queryF($sql);
+ } else {
+ $result = $this->db->query($sql);
+ }
+ if (!$result) {
+ return false;
+ }
+ if ($obj->isNew() && !is_array($this->keyName)) {
+ $obj->assignVar($this->keyName, $this->db->getInsertId());
+ }
+ return true;
+ }
+
+ /**
+ * Change a value for objects with a certain criteria
+ *
+ * @param string $fieldname Name of the field
+ * @param string $fieldvalue Value to write
+ * @param object $criteria {@link CriteriaElement}
+ * @return bool
+ */
+ function updateAll($fieldname, $fieldvalue, $criteria = null, $force = false){
+ $set_clause = $fieldname . ' = ';
+ if ( is_numeric( $fieldvalue ) ) {
+ $set_clause .= $fieldvalue;
+ } elseif ( is_array( $fieldvalue ) ) {
+ $set_clause .= $this->db->quoteString( implode( ',', $fieldvalue ) );
+ } else {
+ $set_clause .= $this->db->quoteString( $fieldvalue );
+ }
+ $sql = 'UPDATE '.$this->table.' SET '.$set_clause;
+ if (isset($criteria) && is_subclass_of($criteria, 'criteriaelement')) {
+ $sql .= ' '.$criteria->renderWhere();
+ }
+ if (false != $force) {
+ $result = $this->db->queryF($sql);
+ } else {
+ $result = $this->db->query($sql);
+ }
+ if (!$result) {
+ return false;
+ }
+ return true;
+ }
+
+ /**
+ * delete all objects meeting the conditions
+ *
+ * @param object $criteria {@link CriteriaElement} with conditions to meet
+ * @return bool
+ */
+ function deleteAll($criteria = null){
+ if (isset($criteria) && is_subclass_of($criteria, 'criteriaelement')) {
+ $sql = 'DELETE FROM '.$this->table;
+ $sql .= ' '.$criteria->renderWhere();
+ if (!$this->db->queryF($sql)) {
+ return false;
+ }
+ $rows = $this->db->getAffectedRows();
+ return $rows > 0 ? $rows : true;
+ }
+ return false;
+ }
+}
+?>
\ No newline at end of file
Added: XoopsModules/txmeteo/release/txmeteo 1.0/class/topic.php
===================================================================
--- XoopsModules/txmeteo/release/txmeteo 1.0/class/topic.php (rev 0)
+++ XoopsModules/txmeteo/release/txmeteo 1.0/class/topic.php 2012-02-07 15:08:09 UTC (rev 8895)
@@ -0,0 +1,128 @@
+<?php
+/**
+ * ****************************************************************************
+ * Module g\xE9n\xE9r\xE9 par TDMCreate de la TDM "http://www.tdmxoops.net"
+ * ****************************************************************************
+ * txmeteo - MODULE FOR XOOPS AND IMPRESS CMS
+ * Copyright (c) timgno (http://txmod.webuda.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 timgno (http://txmod.webuda.com)
+ * @license GPL
+ * @package txmeteo
+ * @author timgno (http://txmod.webuda.com)
+ *
+ * Version : 1.00:
+ * ****************************************************************************
+ */
+
+
+ if (!defined("XOOPS_ROOT_PATH")) {
+ die("XOOPS root path not defined");
+ }
+
+ if (!class_exists("XoopsPersistableObjectHandler")) {
+ include_once XOOPS_ROOT_PATH."/class/xoopsobject.php";
+ }
+
+ class txmeteo_topic extends XoopsObject
+ {
+ //Constructor
+ function __construct()
+ {
+ $this->XoopsObject();
+ $this->initVar("topic_id",XOBJ_DTYPE_INT,null,false,11);
+ $this->initVar("topic_pid",XOBJ_DTYPE_INT,null,false,5);
+ $this->initVar("topic_title",XOBJ_DTYPE_TXTBOX,null,false);
+ $this->initVar("topic_desc",XOBJ_DTYPE_TXTAREA, null, false);
+ $this->initVar("topic_img",XOBJ_DTYPE_TXTBOX,null,false);
+ $this->initVar("topic_weight",XOBJ_DTYPE_INT,null,false,5);
+ $this->initVar("topic_color",XOBJ_DTYPE_TXTBOX,null,false);
+ $this->initVar("topic_submitter",XOBJ_DTYPE_INT,null,false,10);
+ $this->initVar("topic_date_created",XOBJ_DTYPE_INT,null,false,10);
+ $this->initVar("topic_online",XOBJ_DTYPE_INT,null,...
[truncated message content] |
|
From: <be...@us...> - 2012-02-06 23:37:08
|
Revision: 8894
http://xoops.svn.sourceforge.net/xoops/?rev=8894&view=rev
Author: beckmi
Date: 2012-02-06 23:36:59 +0000 (Mon, 06 Feb 2012)
Log Message:
-----------
Adding Lexikon
Added Paths:
-----------
XoopsModules/lexikon/
XoopsModules/lexikon/branches/
XoopsModules/lexikon/releases/
XoopsModules/lexikon/trunk/
XoopsModules/lexikon/trunk/lexikon/
XoopsModules/lexikon/trunk/lexikon/admin/
XoopsModules/lexikon/trunk/lexikon/admin/about.php
XoopsModules/lexikon/trunk/lexikon/admin/admin.php
XoopsModules/lexikon/trunk/lexikon/admin/admin_header.php
XoopsModules/lexikon/trunk/lexikon/admin/category.php
XoopsModules/lexikon/trunk/lexikon/admin/entry.php
XoopsModules/lexikon/trunk/lexikon/admin/functions.php
XoopsModules/lexikon/trunk/lexikon/admin/importdictionary.php
XoopsModules/lexikon/trunk/lexikon/admin/importglossaire.php
XoopsModules/lexikon/trunk/lexikon/admin/importwiwimod.php
XoopsModules/lexikon/trunk/lexikon/admin/importwordbook.php
XoopsModules/lexikon/trunk/lexikon/admin/importxwords.php
XoopsModules/lexikon/trunk/lexikon/admin/index.html
XoopsModules/lexikon/trunk/lexikon/admin/index.php
XoopsModules/lexikon/trunk/lexikon/admin/menu.php
XoopsModules/lexikon/trunk/lexikon/admin/myblockform.php
XoopsModules/lexikon/trunk/lexikon/admin/myblocksadmin.php
XoopsModules/lexikon/trunk/lexikon/admin/myblocksadmin2.php
XoopsModules/lexikon/trunk/lexikon/admin/mygroupperm.php
XoopsModules/lexikon/trunk/lexikon/admin/mygrouppermform.php
XoopsModules/lexikon/trunk/lexikon/admin/preferences.php
XoopsModules/lexikon/trunk/lexikon/admin/statistics.php
XoopsModules/lexikon/trunk/lexikon/admin/submissions.php
XoopsModules/lexikon/trunk/lexikon/admin/upgrade.php
XoopsModules/lexikon/trunk/lexikon/authorlist.php
XoopsModules/lexikon/trunk/lexikon/blocks/
XoopsModules/lexikon/trunk/lexikon/blocks/categories_block.php
XoopsModules/lexikon/trunk/lexikon/blocks/entries_initial.php
XoopsModules/lexikon/trunk/lexikon/blocks/entries_new.php
XoopsModules/lexikon/trunk/lexikon/blocks/entries_spot.php
XoopsModules/lexikon/trunk/lexikon/blocks/entries_top.php
XoopsModules/lexikon/trunk/lexikon/blocks/index.html
XoopsModules/lexikon/trunk/lexikon/blocks/random_term.php
XoopsModules/lexikon/trunk/lexikon/category.php
XoopsModules/lexikon/trunk/lexikon/changelog.txt
XoopsModules/lexikon/trunk/lexikon/class/
XoopsModules/lexikon/trunk/lexikon/class/index.html
XoopsModules/lexikon/trunk/lexikon/class/keyhighlighter.class.php
XoopsModules/lexikon/trunk/lexikon/comment_delete.php
XoopsModules/lexikon/trunk/lexikon/comment_edit.php
XoopsModules/lexikon/trunk/lexikon/comment_new.php
XoopsModules/lexikon/trunk/lexikon/comment_post.php
XoopsModules/lexikon/trunk/lexikon/comment_reply.php
XoopsModules/lexikon/trunk/lexikon/content.php
XoopsModules/lexikon/trunk/lexikon/entry.php
XoopsModules/lexikon/trunk/lexikon/gpl.txt
XoopsModules/lexikon/trunk/lexikon/header.php
XoopsModules/lexikon/trunk/lexikon/images/
XoopsModules/lexikon/trunk/lexikon/images/addthis_button0-bm.gif
XoopsModules/lexikon/trunk/lexikon/images/addthis_button1-bm.gif
XoopsModules/lexikon/trunk/lexikon/images/arrow.gif
XoopsModules/lexikon/trunk/lexikon/images/arrow2.gif
XoopsModules/lexikon/trunk/lexikon/images/bg.gif
XoopsModules/lexikon/trunk/lexikon/images/blank.png
XoopsModules/lexikon/trunk/lexikon/images/bookmark/
XoopsModules/lexikon/trunk/lexikon/images/bookmark/blinklist.gif
XoopsModules/lexikon/trunk/lexikon/images/bookmark/delicious.gif
XoopsModules/lexikon/trunk/lexikon/images/bookmark/diggman.gif
XoopsModules/lexikon/trunk/lexikon/images/bookmark/furl.gif
XoopsModules/lexikon/trunk/lexikon/images/bookmark/google.gif
XoopsModules/lexikon/trunk/lexikon/images/bookmark/index.html
XoopsModules/lexikon/trunk/lexikon/images/bookmark/newsvine.gif
XoopsModules/lexikon/trunk/lexikon/images/bookmark/reddit.gif
XoopsModules/lexikon/trunk/lexikon/images/bookmark/simpy.png
XoopsModules/lexikon/trunk/lexikon/images/bookmark/spurl.gif
XoopsModules/lexikon/trunk/lexikon/images/bookmark/technorati.png
XoopsModules/lexikon/trunk/lexikon/images/bookmark/wong.gif
XoopsModules/lexikon/trunk/lexikon/images/bookmark/yahoomyweb.gif
XoopsModules/lexikon/trunk/lexikon/images/bubble_bottom.gif
XoopsModules/lexikon/trunk/lexikon/images/bubble_middle.gif
XoopsModules/lexikon/trunk/lexikon/images/bubble_top.gif
XoopsModules/lexikon/trunk/lexikon/images/close12.gif
XoopsModules/lexikon/trunk/lexikon/images/comments.gif
XoopsModules/lexikon/trunk/lexikon/images/delete.gif
XoopsModules/lexikon/trunk/lexikon/images/dialog-important.png
XoopsModules/lexikon/trunk/lexikon/images/edit.gif
XoopsModules/lexikon/trunk/lexikon/images/friend.gif
XoopsModules/lexikon/trunk/lexikon/images/icon/
XoopsModules/lexikon/trunk/lexikon/images/icon/delete.gif
XoopsModules/lexikon/trunk/lexikon/images/icon/edit.gif
XoopsModules/lexikon/trunk/lexikon/images/icon/index.html
XoopsModules/lexikon/trunk/lexikon/images/icon/off.gif
XoopsModules/lexikon/trunk/lexikon/images/icon/on.gif
XoopsModules/lexikon/trunk/lexikon/images/index.html
XoopsModules/lexikon/trunk/lexikon/images/left_both.gif
XoopsModules/lexikon/trunk/lexikon/images/lx.png
XoopsModules/lexikon/trunk/lexikon/images/lx_slogo.png
XoopsModules/lexikon/trunk/lexikon/images/magnifier.gif
XoopsModules/lexikon/trunk/lexikon/images/open12.gif
XoopsModules/lexikon/trunk/lexikon/images/print.gif
XoopsModules/lexikon/trunk/lexikon/images/rarrow.gif
XoopsModules/lexikon/trunk/lexikon/images/rarrow.png
XoopsModules/lexikon/trunk/lexikon/images/right_both.gif
XoopsModules/lexikon/trunk/lexikon/images/rss.gif
XoopsModules/lexikon/trunk/lexikon/images/square-green.gif
XoopsModules/lexikon/trunk/lexikon/images/square-red.gif
XoopsModules/lexikon/trunk/lexikon/images/uploads/
XoopsModules/lexikon/trunk/lexikon/images/uploads/blank.png
XoopsModules/lexikon/trunk/lexikon/images/uploads/index.html
XoopsModules/lexikon/trunk/lexikon/images/uploads/xoops.gif
XoopsModules/lexikon/trunk/lexikon/images/uploads/xoops.png
XoopsModules/lexikon/trunk/lexikon/include/
XoopsModules/lexikon/trunk/lexikon/include/.htaccess
XoopsModules/lexikon/trunk/lexikon/include/blocksadmin.inc.php
XoopsModules/lexikon/trunk/lexikon/include/comment_functions.php
XoopsModules/lexikon/trunk/lexikon/include/common.inc.php
XoopsModules/lexikon/trunk/lexikon/include/functions.php
XoopsModules/lexikon/trunk/lexikon/include/gtickets.php
XoopsModules/lexikon/trunk/lexikon/include/index.html
XoopsModules/lexikon/trunk/lexikon/include/notification.inc.php
XoopsModules/lexikon/trunk/lexikon/include/onupdate.inc.php
XoopsModules/lexikon/trunk/lexikon/include/requestform.php
XoopsModules/lexikon/trunk/lexikon/include/search.inc.php
XoopsModules/lexikon/trunk/lexikon/include/sitemap.plugin.php
XoopsModules/lexikon/trunk/lexikon/include/storyform.inc.php
XoopsModules/lexikon/trunk/lexikon/include/syndication.inc.php
XoopsModules/lexikon/trunk/lexikon/include/updateblock.inc.php
XoopsModules/lexikon/trunk/lexikon/include/waiting.plugin.php
XoopsModules/lexikon/trunk/lexikon/index.php
XoopsModules/lexikon/trunk/lexikon/js/
XoopsModules/lexikon/trunk/lexikon/js/balloontooltip.js
XoopsModules/lexikon/trunk/lexikon/js/index.html
XoopsModules/lexikon/trunk/lexikon/js/popup.js
XoopsModules/lexikon/trunk/lexikon/js/shadowtooltip.js
XoopsModules/lexikon/trunk/lexikon/js/tooltipscript2.js
XoopsModules/lexikon/trunk/lexikon/language/
XoopsModules/lexikon/trunk/lexikon/language/.htaccess
XoopsModules/lexikon/trunk/lexikon/language/english/
XoopsModules/lexikon/trunk/lexikon/language/english/admin.php
XoopsModules/lexikon/trunk/lexikon/language/english/blocks.php
XoopsModules/lexikon/trunk/lexikon/language/english/index.html
XoopsModules/lexikon/trunk/lexikon/language/english/mail_template/
XoopsModules/lexikon/trunk/lexikon/language/english/mail_template/category_newterm_notify.tpl
XoopsModules/lexikon/trunk/lexikon/language/english/mail_template/category_termsubmit_notify.tpl
XoopsModules/lexikon/trunk/lexikon/language/english/mail_template/global_termrequest_notify.tpl
XoopsModules/lexikon/trunk/lexikon/language/english/mail_template/global_termsubmit_notify.tpl
XoopsModules/lexikon/trunk/lexikon/language/english/mail_template/index.html
XoopsModules/lexikon/trunk/lexikon/language/english/mail_template/lexikon_newcat_notify.tpl
XoopsModules/lexikon/trunk/lexikon/language/english/mail_template/lexikon_newpost_notify.tpl
XoopsModules/lexikon/trunk/lexikon/language/english/mail_template/term_approve_notify.tpl
XoopsModules/lexikon/trunk/lexikon/language/english/main.php
XoopsModules/lexikon/trunk/lexikon/language/english/modinfo.php
XoopsModules/lexikon/trunk/lexikon/language/german/
XoopsModules/lexikon/trunk/lexikon/language/german/admin.php
XoopsModules/lexikon/trunk/lexikon/language/german/blocks.php
XoopsModules/lexikon/trunk/lexikon/language/german/index.html
XoopsModules/lexikon/trunk/lexikon/language/german/mail_template/
XoopsModules/lexikon/trunk/lexikon/language/german/mail_template/category_newterm_notify.tpl
XoopsModules/lexikon/trunk/lexikon/language/german/mail_template/category_termsubmit_notify.tpl
XoopsModules/lexikon/trunk/lexikon/language/german/mail_template/global_termrequest_notify.tpl
XoopsModules/lexikon/trunk/lexikon/language/german/mail_template/global_termsubmit_notify.tpl
XoopsModules/lexikon/trunk/lexikon/language/german/mail_template/index.html
XoopsModules/lexikon/trunk/lexikon/language/german/mail_template/lexikon_newcat_notify.tpl
XoopsModules/lexikon/trunk/lexikon/language/german/mail_template/lexikon_newpost_notify.tpl
XoopsModules/lexikon/trunk/lexikon/language/german/mail_template/term_approve_notify.tpl
XoopsModules/lexikon/trunk/lexikon/language/german/main.php
XoopsModules/lexikon/trunk/lexikon/language/german/modinfo.php
XoopsModules/lexikon/trunk/lexikon/language/index.html
XoopsModules/lexikon/trunk/lexikon/letter.php
XoopsModules/lexikon/trunk/lexikon/linkterms.css
XoopsModules/lexikon/trunk/lexikon/notification_update.php
XoopsModules/lexikon/trunk/lexikon/popup.php
XoopsModules/lexikon/trunk/lexikon/print.php
XoopsModules/lexikon/trunk/lexikon/profile.php
XoopsModules/lexikon/trunk/lexikon/readme.txt
XoopsModules/lexikon/trunk/lexikon/request.php
XoopsModules/lexikon/trunk/lexikon/rss.php
XoopsModules/lexikon/trunk/lexikon/search.php
XoopsModules/lexikon/trunk/lexikon/sql/
XoopsModules/lexikon/trunk/lexikon/sql/index.html
XoopsModules/lexikon/trunk/lexikon/sql/mysql.sql
XoopsModules/lexikon/trunk/lexikon/style.css
XoopsModules/lexikon/trunk/lexikon/submit.php
XoopsModules/lexikon/trunk/lexikon/syndication.php
XoopsModules/lexikon/trunk/lexikon/templates/
XoopsModules/lexikon/trunk/lexikon/templates/blocks/
XoopsModules/lexikon/trunk/lexikon/templates/blocks/categories_block.html
XoopsModules/lexikon/trunk/lexikon/templates/blocks/entries_initial.html
XoopsModules/lexikon/trunk/lexikon/templates/blocks/entries_new.html
XoopsModules/lexikon/trunk/lexikon/templates/blocks/entries_random.html
XoopsModules/lexikon/trunk/lexikon/templates/blocks/entries_spot.html
XoopsModules/lexikon/trunk/lexikon/templates/blocks/entries_top.html
XoopsModules/lexikon/trunk/lexikon/templates/blocks/index.html
XoopsModules/lexikon/trunk/lexikon/templates/index.html
XoopsModules/lexikon/trunk/lexikon/templates/lx_adminmenu.html
XoopsModules/lexikon/trunk/lexikon/templates/lx_authorlist.html
XoopsModules/lexikon/trunk/lexikon/templates/lx_bookmark.html
XoopsModules/lexikon/trunk/lexikon/templates/lx_category.html
XoopsModules/lexikon/trunk/lexikon/templates/lx_content.html
XoopsModules/lexikon/trunk/lexikon/templates/lx_entry.html
XoopsModules/lexikon/trunk/lexikon/templates/lx_header.html
XoopsModules/lexikon/trunk/lexikon/templates/lx_index.html
XoopsModules/lexikon/trunk/lexikon/templates/lx_letter.html
XoopsModules/lexikon/trunk/lexikon/templates/lx_profile.html
XoopsModules/lexikon/trunk/lexikon/templates/lx_request.html
XoopsModules/lexikon/trunk/lexikon/templates/lx_rss.xml
XoopsModules/lexikon/trunk/lexikon/templates/lx_search.html
XoopsModules/lexikon/trunk/lexikon/templates/lx_submit.html
XoopsModules/lexikon/trunk/lexikon/templates/lx_syndication.html
XoopsModules/lexikon/trunk/lexikon/xoops_version.php
Added: XoopsModules/lexikon/trunk/lexikon/admin/about.php
===================================================================
--- XoopsModules/lexikon/trunk/lexikon/admin/about.php (rev 0)
+++ XoopsModules/lexikon/trunk/lexikon/admin/about.php 2012-02-06 23:36:59 UTC (rev 8894)
@@ -0,0 +1,159 @@
+<?php
+/**
+ * $Id: about.php v 1.5 23 August 2004 hsalazar Exp $
+ * Module: lexikon - glossary module
+ * Version: v 1.5
+ * Release Date:
+ * Author: hsalazar
+ * License: GNU
+ */
+
+include 'admin_header.php';
+$myts =& MyTextSanitizer::getInstance();
+
+xoops_cp_header();
+
+$module_handler =& xoops_gethandler('module');
+$versioninfo =& $module_handler->get($xoopsModule->getVar('mid'));
+echo "
+ <style type=\"text/css\">
+ label,text {
+ display: block;
+ float: left;
+ margin-bottom: 2px;
+ margin-top: 2px;
+ }
+ label {
+ text-align: right;
+ width: 150px;
+ padding-right: 20px;
+ }
+ br {
+ clear: left;
+ }
+</style>";
+/**
+ * display module info
+ */
+
+function about() {
+ $op = 'default';
+ global $xoopsConfig, $xoopsModuleConfig, $xoopsModule, $versioninfo;
+
+ echo "<br clear=\"all\" />";
+ echo "<img src='".XOOPS_URL."/modules/".$xoopsModule->dirname()."/".$versioninfo->getInfo('image')."' alt='' hspace='0' vspace='0' align='left' style='margin-right: 10px; '>";
+ echo "<div style='margin-top: 10px; color: #33538e; margin-bottom: 4px; font-size: 18px; line-height: 18px; font-weight: bold; display: block;'>".$versioninfo->getInfo('name')." v. ".$versioninfo->getInfo('version')."</div>";
+ if ($versioninfo->getInfo('author_realname') != '') {
+ $author_name = $versioninfo->getInfo('author')." (".$versioninfo->getInfo('author_realname').")";
+ } else {
+ $author_name = $versioninfo->getInfo('author');
+ }
+ echo "<br clear=\"all\" /><BR />";
+
+ echo "<div style='padding: 8px;'>";
+ echo "<table width='100%' cellspacing='2' cellpadding='2' border='0' class='outer'>";
+ echo "<tr>";
+ echo "<td colspan='2' class='even' align='left'><b>" . $versioninfo->getInfo( 'name' ) . " " . $versioninfo->getInfo( 'version' ) . "</b></td>";
+ echo "</tr></table>";
+ echo "<br clear=\"all\" />";
+
+ echo "<label>" . _AM_LX_ABOUT_RELEASEDATE . ":</label><text>" . $versioninfo->getInfo( 'release' ) . "</text><br />";
+ echo "<label>" . _AM_LX_ABOUT_AUTHOR . ":</label><text>" . $versioninfo->getInfo( 'author' ) . "</text><br />";
+ echo "<label>" . _AM_LX_ABOUT_CREDITS . ":</label><text>" . $versioninfo->getInfo( 'credits' ) . "</text><br />";
+ echo "<label>" . _AM_LX_ABOUT_LICENSE . ":</label><text><a href=\"".$versioninfo->getInfo( 'license_file' )."\" target=\"_blank\" >" . $versioninfo->getInfo( 'license' ) . "</a></text>\n";
+ echo "</div>";
+ echo "<br clear=\"all\" />";
+
+ // information
+ echo "<div style='padding: 8px;'>";
+ echo "<table width='100%' cellspacing='2' cellpadding='2' border='0' class='outer'>";
+ echo "<tr>";
+ echo "<td colspan='2' class='even' align='left'><b>". _AM_LX_ABOUT_MODULE_INFO ."</b></td>";
+ echo "</tr></table>";
+
+ echo "<label>" . _AM_LX_ABOUT_MODULE_STATUS . ":</label><text>" . $versioninfo->getInfo( 'module_status' ) . "</text><br />";
+ echo "<label>" . _AM_LX_ABOUT_WEBSITE . ":</label><text>" . "<a href='" . $versioninfo->getInfo( 'module_website_url' ) . "' target='_blank'>" . $versioninfo->getInfo( 'module_website_name' ) . "</a>" . "</text><br />";
+
+ If ($versioninfo->getInfo('submit_bug') != '') {
+ echo "<label>" . _AM_LX_ABOUT_SUBMIT_BUG . "</label><text><a href='" . $versioninfo->getInfo('submit_bug') . "' target='blank'>" . _AM_LX_ABOUT_SUBMIT_BUG_TEXT . "</a></text><BR />";
+ }
+ If ($versioninfo->getInfo('submit_feature') != '') {
+ echo "<label>" . _AM_LX_ABOUT_SUBMIT_FEATURE . "</label><text'><a href='" . $versioninfo->getInfo('submit_feature') . "' target='blank'>" . _AM_LX_ABOUT_SUBMIT_FEATURE_TEXT . "</a></text><BR />";
+ }
+ echo "</div>";
+ echo "<br clear=\"all\" />";
+
+
+ echo "<div style='padding: 8px;'>";
+ echo "<table width='100%' cellspacing='2' cellpadding='2' border='0' class='outer'>";
+ echo "<tr>";
+ echo "<td colspan='2' class='even' align='left'><b>". _AM_LX_ABOUT_DISCLAIMER ."</b></td>";
+ echo "</tr></table>";
+ echo "<div>". _AM_LX_ABOUT_DISCLAIMER_TEXT . "</div>";
+ echo "</div>";
+ echo "<br clear=\"all\" />";
+ $file = XOOPS_ROOT_PATH. "/modules/" . $xoopsModule->dirname()."/changelog.txt";
+ if ( is_readable( $file ) ) {
+ echo "<div style='padding: 8px;'>";
+ echo "<table width='100%' cellspacing='2' cellpadding='2' border='0' class='outer'>";
+ echo "<tr>";
+ echo "<td colspan='2' class='even' align='left'><b>". _AM_LX_ABOUT_CHANGELOG ."</b></td>";
+ echo "</tr></table>";
+
+ echo "". implode("<br />", file( $file )) . "";
+ echo "</div>";
+
+ echo "<br clear=\"all\" />";
+ }
+
+}
+
+/**
+ * readme file
+ */
+
+function readme() {
+ global $xoopsConfig, $xoopsModuleConfig, $xoopsModule, $versioninfo;
+
+ echo "<br clear=\"all\" />";
+ echo "<img src='".XOOPS_URL."/modules/".$xoopsModule->dirname()."/".$versioninfo->getInfo('image')."' alt='' hspace='0' vspace='0' align='left' style='margin-right: 10px; '></a>";
+ echo "<div style='margin-top: 10px; color: #33538e; margin-bottom: 4px; font-size: 18px; line-height: 18px; font-weight: bold; display: block;'>".$versioninfo->getInfo('name')." v. ".$versioninfo->getInfo('version')."</div>";
+ if ($versioninfo->getInfo('author_realname') != '') {
+ $author_name = $versioninfo->getInfo('author')." (".$versioninfo->getInfo('author_realname').")";
+ } else {
+ $author_name = $versioninfo->getInfo('author');
+ }
+ echo "<br clear=\"all\" /><BR />";
+
+
+ $file = XOOPS_ROOT_PATH. "/modules/" . $xoopsModule->dirname()."/readme.txt";
+ if ( is_readable( $file ) ) {
+ echo "<div style='padding: 8px;'>";
+ echo "<table width='100%' cellspacing='2' cellpadding='2' border='0' class='outer'>";
+ echo "<tr>";
+ echo "<td colspan='2' class='even' align='left'><b>". _AM_LX_ABOUT_README ."</b></td>";
+ echo "</tr></table>";
+
+
+ echo "". implode("<br />", file( $file )) . "";
+ echo "</div>";
+ echo "<br clear=\"all\" />";
+ }
+
+}
+
+/* -- Available operations -- */
+$op = isset($_GET['op']) ? $_GET['op'] : (isset($_POST['op']) ? $_POST['op'] : '');
+switch ( $op ) {
+ case "readme":
+ lx_adminMenu(47);
+ readme();
+ break;
+ case "about":
+ default:
+ lx_adminMenu(11);
+ about();
+ break;
+}
+xoops_cp_footer();
+?>
\ No newline at end of file
Added: XoopsModules/lexikon/trunk/lexikon/admin/admin.php
===================================================================
--- XoopsModules/lexikon/trunk/lexikon/admin/admin.php (rev 0)
+++ XoopsModules/lexikon/trunk/lexikon/admin/admin.php 2012-02-06 23:36:59 UTC (rev 8894)
@@ -0,0 +1,160 @@
+<?php
+// $Id: admin.php,v 1.7 2003/04/11 13:00:53 okazu Exp $
+// ------------------------------------------------------------------------ //
+// XOOPS - PHP Content Management System //
+// Copyright (c) 2000 XOOPS.org //
+// <http://www.xoops.org/> //
+// ------------------------------------------------------------------------ //
+// This program is free software; you can redistribute it and/or modify //
+// it under the terms of the GNU General Public License as published by //
+// the Free Software Foundation; either version 2 of the License, or //
+// (at your option) any later version. //
+// //
+// You may not change or alter any portion of this comment or credits //
+// of supporting developers from this source code or any supporting //
+// source code which is considered copyrighted (c) material of the //
+// original comment or credit authors. //
+// //
+// This program is distributed in the hope that it will be useful, //
+// but WITHOUT ANY WARRANTY; without even the implied warranty of //
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
+// GNU General Public License for more details. //
+// //
+// You should have received a copy of the GNU General Public License //
+// along with this program; if not, write to the Free Software //
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
+// ------------------------------------------------------------------------ //
+// Author: Kazumi Ono (AKA onokazu) //
+// URL: http://www.myweb.ne.jp/, http://www.xoops.org/, http://jp.xoops.org/ //
+// Project: The XOOPS Project //
+// ------------------------------------------------------------------------- //
+
+$admin_mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+$fct = empty( $_POST['fct'] ) ? '' : trim( $_POST['fct'] ) ;
+$fct = empty( $_GET['fct'] ) ? $fct : trim( $_GET['fct'] ) ;
+if( empty( $fct ) ) $fct = 'preferences' ;
+//if (isset($fct) && $fct == "users") {
+// $xoopsOption['pagetype'] = "user";
+//}
+include "../../../mainfile.php";
+// include "../../mainfile.php"; GIJ
+include XOOPS_ROOT_PATH."/include/cp_functions.php";
+
+include_once XOOPS_ROOT_PATH."/class/xoopsmodule.php";
+include_once "../include/gtickets.php" ;// GIJ
+
+$admintest = 0;
+
+if (is_object($xoopsUser)) {
+ $xoopsModule =& XoopsModule::getByDirname("system");
+ if ( !$xoopsUser->isAdmin($xoopsModule->mid()) ) {
+ redirect_header(XOOPS_URL.'/user.php',3,_NOPERM);
+ exit();
+ }
+ $admintest=1;
+} else {
+ redirect_header(XOOPS_URL.'/user.php',3,_NOPERM);
+ exit();
+}
+
+// include system category definitions
+include_once XOOPS_ROOT_PATH."/modules/system/constants.php";
+$error = false;
+if ($admintest != 0) {
+ if (isset($fct) && $fct != '') {
+ if (file_exists(XOOPS_ROOT_PATH."/modules/system/admin/".$fct."/xoops_version.php")) {
+
+ if ( file_exists(XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin.php") ) {
+ include XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin.php";
+ } else {
+ include XOOPS_ROOT_PATH."/modules/system/language/english/admin.php";
+ }
+
+ if (file_exists(XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin/".$fct.".php")) {
+ include XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin/".$fct.".php";
+ } elseif (file_exists(XOOPS_ROOT_PATH."/modules/system/language/english/admin/".$fct.".php")) {
+ include XOOPS_ROOT_PATH."/modules/system/language/english/admin/".$fct.".php";
+ }
+ include XOOPS_ROOT_PATH."/modules/system/admin/".$fct."/xoops_version.php";
+ $sysperm_handler =& xoops_gethandler('groupperm');
+ $category = !empty($modversion['category']) ? intval($modversion['category']) : 0;
+ unset($modversion);
+ if ($category > 0) {
+ $groups = $xoopsUser->getGroups();
+ if (in_array(XOOPS_GROUP_ADMIN, $groups) || false != $sysperm_handler->checkRight('system_admin', $category, $groups, $xoopsModule->getVar('mid'))){
+// if (file_exists(XOOPS_ROOT_PATH."/modules/system/admin/".$fct."/main.php")) {
+// include_once XOOPS_ROOT_PATH."/modules/system/admin/".$fct."/main.php"; GIJ
+ if (file_exists("../include/{$fct}.inc.php")) {
+ include_once "../include/{$fct}.inc.php" ;
+ } else {
+ $error = true;
+ }
+ } else {
+ $error = true;
+ }
+ } elseif ($fct == 'version') {
+ if (file_exists(XOOPS_ROOT_PATH."/modules/system/admin/version/main.php")) {
+ include_once XOOPS_ROOT_PATH."/modules/system/admin/version/main.php";
+ } else {
+ $error = true;
+ }
+ } else {
+ $error = true;
+ }
+ } else {
+ $error = true;
+ }
+ } else {
+ $error = true;
+ }
+}
+
+if (false != $error) {
+ xoops_cp_header();
+ echo "<h4>System Configuration</h4>";
+ echo '<table class="outer" cellpadding="4" cellspacing="1">';
+ echo '<tr>';
+ $groups = $xoopsUser->getGroups();
+ $all_ok = false;
+ if (!in_array(XOOPS_GROUP_ADMIN, $groups)) {
+ $sysperm_handler =& xoops_gethandler('groupperm');
+ $ok_syscats = $sysperm_handler->getItemIds('system_admin', $groups);
+ } else {
+ $all_ok = true;
+ }
+ $admin_dir = XOOPS_ROOT_PATH."/modules/system/admin";
+ $handle = opendir($admin_dir);
+ $counter = 0;
+ $class = 'even';
+ while ($file = readdir($handle)) {
+ if (strtolower($file) != 'cvs' && !preg_match("/[.]/", $file) && is_dir($admin_dir.'/'.$file)) {
+ include $admin_dir.'/'.$file.'/xoops_version.php';
+ if ($modversion['hasAdmin']) {
+ $category = isset($modversion['category']) ? intval($modversion['category']) : 0;
+ if (false != $all_ok || in_array($modversion['category'], $ok_syscats)) {
+ echo "<td class='$class' align='center' valign='bottom' width='19%'>";
+ echo "<a href='".XOOPS_URL."/modules/system/admin.php?fct=".$file."'><b>" .trim($modversion['name'])."</b></a>\n";
+ echo "</td>";
+ $counter++;
+ $class = ($class == 'even') ? 'odd' : 'even';
+ }
+ if ( $counter > 4 ) {
+ $counter = 0;
+ echo "</tr>";
+ echo "<tr>";
+ }
+ }
+ unset($modversion);
+ }
+ }
+ while ($counter < 5) {
+ echo '<td class="'.$class.'"> </td>';
+ $class = ($class == 'even') ? 'odd' : 'even';
+ $counter++;
+ }
+ echo '</tr></table>';
+ xoops_cp_footer();
+}
+
+?>
\ No newline at end of file
Added: XoopsModules/lexikon/trunk/lexikon/admin/admin_header.php
===================================================================
--- XoopsModules/lexikon/trunk/lexikon/admin/admin_header.php (rev 0)
+++ XoopsModules/lexikon/trunk/lexikon/admin/admin_header.php 2012-02-06 23:36:59 UTC (rev 8894)
@@ -0,0 +1,37 @@
+<?php
+/**
+ * $Id: admin_header.php v 1.0 8 May 2004 hsalazar Exp $
+ * Module: lexikon - glossary module
+ * Version: v 1.00
+ * Release Date: 8 May 2004
+ * Author: hsalazar
+ * Licence: GNU
+ */
+
+include("../../../mainfile.php");
+include '../../../include/cp_header.php';
+
+if ( file_exists("../language/".$xoopsConfig['language']."/main.php") ) {
+ include "../language/".$xoopsConfig['language']."/main.php";
+} else {
+ include "../language/english/main.php";
+}
+include_once XOOPS_ROOT_PATH."/modules/lexikon/include/functions.php";
+include_once XOOPS_ROOT_PATH."/modules/lexikon/admin/functions.php";
+include_once XOOPS_ROOT_PATH."/class/xoopsmodule.php";
+include_once XOOPS_ROOT_PATH."/class/xoopstree.php";
+include_once XOOPS_ROOT_PATH."/class/xoopslists.php";
+include_once XOOPS_ROOT_PATH."/class/xoopsformloader.php";
+$myts =& MyTextSanitizer::getInstance();
+
+if ( is_object( $xoopsUser) ) {
+ $xoopsModule = XoopsModule::getByDirname("lexikon");
+ if ( !$xoopsUser->isAdmin($xoopsModule->mid()) ) {
+ redirect_header(XOOPS_URL."/",1,_NOPERM);
+ exit();
+ }
+} else {
+ redirect_header(XOOPS_URL."/",1,_NOPERM);
+ exit();
+}
+?>
\ No newline at end of file
Added: XoopsModules/lexikon/trunk/lexikon/admin/category.php
===================================================================
--- XoopsModules/lexikon/trunk/lexikon/admin/category.php (rev 0)
+++ XoopsModules/lexikon/trunk/lexikon/admin/category.php 2012-02-06 23:36:59 UTC (rev 8894)
@@ -0,0 +1,362 @@
+<?php
+/**
+ * $Id: category.php v 1.0 8 May 2004 hsalazar Exp $
+ * Module: lexikon - glossary module
+ * Version: v 1.00
+ * Release Date: 8 May 2004
+ * Author: hsalazar
+ * Licence: GNU
+ */
+
+// -- General Stuff -- //
+include( "admin_header.php" );
+$myts =& MyTextSanitizer::getInstance();
+xoops_cp_header();
+$op = '';
+
+
+/* -- Available operations -- */
+
+function categoryDefault() {
+ $op = 'default';
+ include_once XOOPS_ROOT_PATH . "/class/xoopslists.php";
+ include_once XOOPS_ROOT_PATH . '/class/pagenav.php';
+
+ $startentry = isset( $_GET['startentry'] ) ? intval( $_GET['startentry'] ) : 0;
+ $startcat = isset( $_GET['startcat'] ) ? intval( $_GET['startcat'] ) : 0;
+ $startsub = isset( $_GET['startsub'] ) ? intval( $_GET['startsub'] ) : 0;
+ $datesub = isset( $_GET['datesub'] ) ? intval( $_GET['datesub'] ) : 0;
+
+ global $xoopsUser, $xoopsConfig, $xoopsDB, $xoopsModuleConfig, $xoopsModule, $entryID;
+
+ $myts =& MyTextSanitizer::getInstance();
+ lx_adminMenu(1, _AM_LX_CATS);
+ $result01 = $xoopsDB -> query( "SELECT COUNT(*)
+ FROM " . $xoopsDB -> prefix( "lxcategories" ) . " " );
+ list( $totalcategories ) = $xoopsDB -> fetchRow( $result01 );
+
+ $result02 = $xoopsDB -> query( "SELECT COUNT(*)
+ FROM " . $xoopsDB -> prefix( "lxentries" ) . "
+ WHERE submit = 0" );
+ list( $totalpublished ) = $xoopsDB -> fetchRow( $result02 );
+
+ $result03 = $xoopsDB -> query( "SELECT COUNT(*)
+ FROM " . $xoopsDB -> prefix( "lxentries" ) . "
+ WHERE submit = '1' AND request = '0' " );
+ list( $totalsubmitted ) = $xoopsDB -> fetchRow( $result03 );
+
+ $result04 = $xoopsDB -> query( "SELECT COUNT(*)
+ FROM " . $xoopsDB -> prefix( "lxentries" ) . "
+ WHERE submit = '1' AND request = '1' " );
+ list( $totalrequested ) = $xoopsDB -> fetchRow( $result04 );
+
+ echo "<table width='100%' class='outer' style=\"margin-top: 6px; clear:both;\" cellspacing='2' cellpadding='3' border='0' ><tr>";
+ echo "<td class='odd'>" . _AM_LX_TOTALENTRIES . "</td><td align='center' class='even'>" . $totalpublished . "</td>";
+ if ($xoopsModuleConfig['multicats'] == 1) {
+ echo "<td class='odd'>" . _AM_LX_TOTALCATS . "</td><td align='center' class='even'>" . $totalcategories . "</td>";
+ }
+ echo "<td class='odd'>" . _AM_LX_TOTALSUBM . "</td><td align='center' class='even'>" . $totalsubmitted . "</td>
+ <td class='odd'>" . _AM_LX_TOTALREQ . "</td><td align='center' class='even'>" . $totalrequested . "</td>
+ </tr></table>
+ <br /><br />";
+
+ if ($xoopsModuleConfig['multicats'] == 1) {
+ /**
+ * Code to show existing categories
+ **/
+
+ lx_collapsableBar('lexikoncat', 'lexikoncaticon');
+ echo " <img onclick=\"toggle('cattable'); toggleIcon('cattableicon');\" id='lexikoncaticon' name='lexikoncaticon' src='" . XOOPS_URL . "/modules/lexikon/images/close12.gif' alt='' /></a> <A href='category.php?op=addcat'>"._AM_LX_CREATECAT."</a><br /><br />";
+ echo" <div id='lexikoncat' style='float:left; width:100%;'>
+ <table class='outer' width='100%' border='0'>
+ <tr>
+ <td colspan='7' class='odd'>
+ <strong>". _AM_LX_SHOWCATS . ' (' . $totalcategories . ')'. "</strong></td></TR>";
+ echo "<tr>";
+ // create existing columns table //doppio
+ $resultC1 = $xoopsDB -> query( "SELECT COUNT(*)
+ FROM " . $xoopsDB -> prefix( "lxcategories" ) . " " );
+ list( $numrows ) = $xoopsDB -> fetchRow( $resultC1 );
+
+ $sql = "SELECT *
+ FROM " . $xoopsDB -> prefix( "lxcategories" ) . "
+ ORDER BY weight";
+ $resultC2 = $xoopsDB -> query( $sql, $xoopsModuleConfig['perpage'], $startcat );
+
+ echo "<td width='40' class='odd' align='center'><b>" . _AM_LX_ID . "</b></td>
+ <td class='odd' align='center'><b>" . _AM_LX_WEIGHT . "</b></td>
+ <td width='30%' class='odd' align='center'><b>" . _AM_LX_CATNAME . "</b></td>
+ <td width='10' class='odd' align='center'><b>" . _AM_LX_ENTRIES . "</b></td>
+ <td width='*' class='odd' align='center'><b>" . _AM_LX_DESCRIP . "</b></td>
+ <td width='60' class='odd' align='center'><b>" . _AM_LX_ACTION . "</b></td>
+ </tr>";
+
+ if ( $numrows > 0 ) // That is, if there ARE columns in the system
+ {
+ while ( list( $categoryID, $name, $description, $total, $weight ) = $xoopsDB -> fetchrow( $resultC2 ) )
+ //while ( list( $categoryID, $name, $description, $total, $weight, ) = $xoopsDB -> fetchrow( $resultC2 ) )
+ {
+ $name = $myts -> htmlSpecialChars( $name );
+ $description = $myts -> htmlSpecialChars(xoops_substr( strip_tags( $description ),0,60));
+ $modify = "<a href='category.php?op=mod&categoryID=" . $categoryID . "'><img src=" . XOOPS_URL . "/modules/" . $xoopsModule->dirname() . "/images/icon/edit.gif width='24' height='24' ALT='"._AM_LX_EDITCAT."'></a>";
+ $delete = "<a href='category.php?op=del&categoryID=" . $categoryID . "'><img src=" . XOOPS_URL . "/modules/" . $xoopsModule->dirname() . "/images/icon/delete.gif width='24' height='24' ALT='"._AM_LX_DELETECAT."'></a>";
+
+ echo "<tr>
+ <td class='even' align='center'>" . $categoryID . "</td>
+ <td class='odd' width='10' align='center'>" . $weight . "</td>
+ <td class='odd' align='left'><a href='../category.php?categoryID=" . $categoryID . "'>" . $name . "</td>
+ <td class='odd' align='left'>" . $total . "</td>
+ <td class='odd' align='left'>" . $description . "</td>
+ <td class='even' align='center'> $modify $delete </td>
+ </tr></DIV>";
+ }
+ }
+ else // that is, $numrows = 0, there's no columns yet
+ {
+ echo "<tr>";
+ echo "<td class='odd' align='center' colspan= '7'>"._AM_LX_NOCATS."</td>";
+ echo "</tr></DIV>";
+ $categoryID = '0';
+ }
+ echo "</table>\n";
+ $pagenav = new XoopsPageNav( $numrows, $xoopsModuleConfig['perpage'], $startcat, 'startcat');
+ echo '<div style="text-align:right;">' . $pagenav -> renderNav(8) . '</div>';
+ echo "<br /><br />\n";
+ echo "</div>";
+ } else {
+ redirect_header( "index.php", 1, sprintf( _AM_LX_SINGLECAT, '' ) );
+ }
+}
+
+
+/**
+ * Code to edit categories
+ **/
+function categoryEdit( $categoryID = '' ) {
+ $weight = 1;
+ $name = '';
+ $description = '';
+ $logourl = '';
+
+ Global $xoopsUser, $xoopsConfig, $xoopsDB, $xoopsModuleConfig, $xoopsModule;
+
+ // If there is a parameter, and the id exists, retrieve data: we're editing a column
+ if ( $categoryID ) {
+ $result = $xoopsDB -> query( "
+ SELECT categoryID, name, description, total, weight,logourl
+ FROM " . $xoopsDB -> prefix( "lxcategories" ) . "
+ WHERE categoryID = '$categoryID'" );
+
+ list( $categoryID, $name, $description, $total, $weight, $logourl ) = $xoopsDB -> fetchrow( $result );
+ $myts =& MyTextSanitizer::getInstance();
+ $name = $myts->htmlSpecialChars($name);
+
+ if ( $xoopsDB -> getRowsNum( $result ) == 0 ) {
+ redirect_header( "index.php", 1, _AM_LX_NOCATTOEDIT );
+ exit();
+ }
+ //$myts =& MyTextSanitizer::getInstance();
+ lx_adminMenu(1, _AM_LX_CATS);
+
+ echo "<h3 style=\"color: #2F5376; margin-top: 6px; \">" . _AM_LX_CATSHEADER . "</h3>";
+ $sform = new XoopsThemeForm( _AM_LX_MODCAT . ": $name" , "op", xoops_getenv( 'PHP_SELF' ) );
+ } else {
+ //$myts =& MyTextSanitizer::getInstance();
+ lx_adminMenu(1, _AM_LX_CATS);
+
+ echo "<h3 style=\"color: #2F5376; margin-top: 6px; \">" . _AM_LX_CATSHEADER . "</h3>";
+ $sform = new XoopsThemeForm( _AM_LX_NEWCAT, "op", xoops_getenv( 'PHP_SELF' ) );
+ }
+
+ $sform -> setExtra( 'enctype="multipart/form-data"' );
+ $sform -> addElement( new XoopsFormText( _AM_LX_CATNAME, 'name', 50, 80, $name ), true );
+
+ $editor = lx_getWysiwygForm( _AM_LX_CATDESCRIPT, 'description', $description, 7, 60 );
+ $sform -> addElement( $editor,true );
+ unset($editor);
+
+ $sform -> addElement( new XoopsFormText( _AM_LX_CATPOSIT, 'weight', 4, 4, $weight ), true );
+ $sform -> addElement( new XoopsFormHidden( 'categoryID', $categoryID ) );
+ //CategoryImage
+ if ($xoopsModuleConfig['useshots'] == 1) {
+ $mydirname = basename ( dirname( dirname( __FILE__ ) ) ) ;
+ $uploadir="/modules/" . $mydirname. "/images/uploads/";
+ $catimg_array = XoopsLists::getImgListAsArray(XOOPS_ROOT_PATH."/modules/".$mydirname."/images/uploads/");
+
+ $image_option=new XoopsFormSelect('', 'logourl', $logourl);
+ $image_option->addOption('',_AM_LX_NONE);
+ $image_option->addOptionArray($catimg_array);
+ $imgtray = new XoopsFormElementTray(_AM_LX_SHOTIMAGE,'');
+ $image_option->setExtra("onchange='showImgSelected(\"logourlex\", \"logourl\", \"" . $uploadir . "\", \"\", \"" . XOOPS_URL . "\")'" );
+ $imgtray->addElement($image_option,false);
+ $imgtray -> addElement( new XoopsFormLabel( '', "<img src='../images/uploads/" . $logourl . "' name='logourlex' id='logourlex' alt='' />" ) );
+ $sform->addElement($imgtray);
+ }
+ $button_tray = new XoopsFormElementTray( '', '' );
+ $hidden = new XoopsFormHidden( 'op', 'addcategory' );
+ $button_tray -> addElement( $hidden );
+
+ // No ID for column -- then it's new column, button says 'Create'
+ if ( !$categoryID ) {
+ $butt_create = new XoopsFormButton( '', '', _AM_LX_CREATE, 'submit' );
+ $butt_create->setExtra('onclick="this.form.elements.op.value=\'addcategory\'"');
+ $button_tray->addElement( $butt_create );
+
+ $butt_clear = new XoopsFormButton( '', '', _AM_LX_CLEAR, 'reset' );
+ $button_tray->addElement( $butt_clear );
+
+ $butt_cancel = new XoopsFormButton( '', '', _AM_LX_CANCEL, 'button' );
+ $butt_cancel->setExtra('onclick="history.go(-1)"');
+ $button_tray->addElement( $butt_cancel );
+ } else // button says 'Update'
+ {
+ $butt_create = new XoopsFormButton( '', '', _AM_LX_MODIFY, 'submit' );
+ $butt_create->setExtra('onclick="this.form.elements.op.value=\'addcategory\'"');
+ $button_tray->addElement( $butt_create );
+
+ $butt_cancel = new XoopsFormButton( '', '', _AM_LX_CANCEL, 'button' );
+ $butt_cancel->setExtra('onclick="history.go(-1)"');
+ $button_tray->addElement( $butt_cancel );
+ }
+
+ $sform -> addElement( $button_tray );
+ $sform -> display();
+ unset( $hidden );
+// xoops_cp_footer();
+// break;
+}
+
+/**
+ * Code to delete existing categories
+ **/
+function categoryDelete($categoryID = '') {
+ //global $xoopsDB, $xoopsConfig;
+ global $xoopsConfig, $xoopsDB, $xoopsModule;
+ $idc = isset($_POST['categoryID']) ? intval($_POST['categoryID']) : intval($_GET['categoryID']);
+ if ($idc == '') $idc = $_GET['categoryID'];
+ if ($idc <= 0) {
+ header('location: category.php');
+ die();
+ }
+
+ $ok = isset($_POST['ok']) ? intval($_POST['ok']) : 0;
+ $result = $xoopsDB -> query( "SELECT categoryID, name FROM " . $xoopsDB -> prefix( "lxcategories" ) . " WHERE categoryID = $idc" );
+ list( $categoryID, $name ) = $xoopsDB -> fetchrow( $result );
+ // confirmed, so delete
+ if ( $ok == 1 ) {
+ //get all entries in the category
+ $result3=$xoopsDB->query("SELECT entryID from ".$xoopsDB->prefix("lxentries")." where categoryID = $idc");
+ //now for each entry, delete the coments
+ while ( list($entryID)=$xoopsDB->fetchRow($result3) ) {
+ xoops_comment_delete($xoopsModule->getVar('mid'), $entryID);
+ xoops_notification_deletebyitem($xoopsModule->getVar('mid'), 'term', $entryID);
+ }
+ $xoopsDB->query("DELETE FROM ".$xoopsDB->prefix('lxcategories')." WHERE categoryID='$idc'");
+ $result2 = $xoopsDB -> query( "DELETE FROM " .$xoopsDB -> prefix("lxentries")." WHERE categoryID = $idc");
+ // delete notifications
+ xoops_notification_deletebyitem($xoopsModule->getVar('mid'), 'global', $categoryID);
+ xoops_notification_deletebyitem($xoopsModule->getVar('mid'), 'category', $categoryID);
+ redirect_header("category.php",1,sprintf( _AM_LX_CATISDELETED, $name ) );
+ exit();
+ } else {
+ //xoops_cp_header();
+ xoops_confirm(array('op' => 'del', 'categoryID' => $categoryID, 'ok' => 1, 'name' => $name ), 'category.php', _AM_LX_DELETETHISCAT . "<br /><br>" . $name, _AM_LX_DELETE );
+ }
+}
+
+
+
+function categorySave ($categoryID = '') {
+ Global $xoopsUser, $xoopsModuleConfig, $xoopsConfig, $xoopsDB, $myts, $categoryID;
+ $categoryID = isset( $_POST['categoryID'] ) ? intval( $_POST['categoryID'] ) : intval( $_GET['categoryID'] );
+ $weight = isset($_POST['weight'] ) ? intval($_POST['weight']) : intval($_GET['weight']);
+ $name = isset($_POST['name'] ) ? htmlSpecialChars($_POST['name']) : htmlSpecialChars($_GET['name']);
+ $description = isset($_POST['description'] ) ? htmlSpecialChars($_POST['description']) : htmlSpecialChars($_GET['description']);
+ $description = $myts -> xoopsCodeDecode($myts->censorString($description), $allowimage = 1);
+ $name = $myts->addSlashes($_POST['name']);
+ $logourl = $myts->addSlashes($_POST["logourl"]);
+
+ // Run the query and update the data
+ if ( !$_POST['categoryID'] ) {
+ if ( $xoopsDB -> query( "INSERT INTO " . $xoopsDB -> prefix( "lxcategories" ) . " (categoryID, name, description, weight, logourl) VALUES ('', '$name', '$description', '$weight', '$logourl')" ) ) {
+ $newid = $xoopsDB->getInsertId();
+ // Increment author's posts count (only if it's a new definition)
+ if (is_object($xoopsUser) && empty($categoryID)) {
+ $member_handler = &xoops_gethandler('member');
+ $submitter =& $member_handler -> getUser($uid);
+ if (is_object($submitter) ) {
+ $submitter -> setVar('posts',$submitter -> getVar('posts') + 1);
+ $res=$member_handler -> insertUser($submitter, true);
+ unset($submitter);
+ }
+ }
+ //notification
+ if(!empty($xoopsModuleConfig['notification_enabled']) ){
+ if ($newid == 0) {
+ $newid = $xoopsDB -> getInsertId();
+ }
+ global $xoopsModule;
+ $notification_handler =& xoops_gethandler('notification');
+ $tags = array();
+ $tags['ITEM_NAME'] = $name;
+ $tags['ITEM_URL'] = XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname') . '/category.php?categoryID=' . $newid;
+ $notification_handler->triggerEvent( 'global', 0, 'new_category', $tags);
+ }
+ redirect_header( "category.php", 1, _AM_LX_CATCREATED );
+ exit();
+ } else {
+ redirect_header( "index.php", 1, _AM_LX_NOTUPDATED );
+ exit();
+ }
+ } else {
+ if ( $xoopsDB -> queryF( "UPDATE " . $xoopsDB -> prefix( "lxcategories" ) . " SET name = '$name', description = '$description', weight = '$weight' , logourl = '$logourl' WHERE categoryID = '$categoryID'" ) ) {
+ redirect_header( "category.php", 1, _AM_LX_CATMODIFIED );
+ exit();
+ } else {
+ redirect_header( "index.php", 1, _AM_LX_NOTUPDATED );
+ exit();
+ }
+ }
+}
+
+
+/**
+ * Available operations
+ **/
+
+$op = 'default';
+if (isset($_POST['op'])) {
+ $op=$_POST['op'];
+} else {
+ if (isset($_GET['op'])) {
+ $op=$_GET['op'];
+ }
+}
+
+
+switch ( $op ) {
+case "mod":
+ $categoryID = isset( $_POST['categoryID'] ) ? intval( $_POST['categoryID'] ) : intval( $_GET['categoryID'] );
+ categoryEdit( $categoryID );
+ break;
+
+case "addcat":
+ categoryEdit();
+ break;
+
+case "addcategory":
+ categorySave();
+ break;
+
+case "del":
+ categoryDelete();
+ break;
+
+
+case "default":
+default:
+ categoryDefault();
+ break;
+}
+xoops_cp_footer();
+?>
\ No newline at end of file
Added: XoopsModules/lexikon/trunk/lexikon/admin/entry.php
===================================================================
--- XoopsModules/lexikon/trunk/lexikon/admin/entry.php (rev 0)
+++ XoopsModules/lexikon/trunk/lexikon/admin/entry.php 2012-02-06 23:36:59 UTC (rev 8894)
@@ -0,0 +1,491 @@
+<?php
+/**
+ * $Id: entry.php v 1.0 8 May 2004 hsalazar Exp $
+ * Module: lexikon - glossary module
+ * Version: v 1.00
+ * Release Date: 8 May 2004
+ * Author: hsalazar
+ * Modifs: yerres
+ * Licence: GNU
+ */
+
+
+include( "admin_header.php" );
+$myts =& MyTextSanitizer::getInstance();
+xoops_cp_header();
+
+$op = '';
+
+/* -- Available operations -- */
+function entryDefault() {
+ global $xoopsUser, $xoopsConfig, $xoopsDB, $xoopsModuleConfig, $xoopsModule, $entryID, $_GET;
+ include_once XOOPS_ROOT_PATH . "/class/xoopslists.php";
+ include_once XOOPS_ROOT_PATH . '/class/pagenav.php';
+ lx_adminMenu(2, _AM_LX_ENTRIES);
+
+ $startentry = isset( $_GET['startentry'] ) ? intval( $_GET['startentry'] ) : 0;
+ $startcat = isset( $_GET['startcat'] ) ? intval( $_GET['startcat'] ) : 0;
+ $startsub = isset( $_GET['startsub'] ) ? intval( $_GET['startsub'] ) : 0;
+ $datesub = isset( $_GET['datesub'] ) ? intval( $_GET['datesub'] ) : 0;
+ #$entryID =
+
+ $myts =& MyTextSanitizer::getInstance();
+
+ $result01 = $xoopsDB -> query( "SELECT COUNT(*)
+ FROM " . $xoopsDB -> prefix( "lxcategories" ) . " " );
+ list( $totalcategories ) = $xoopsDB -> fetchRow( $result01 );
+
+ $result02 = $xoopsDB -> query( "SELECT COUNT(*)
+ FROM " . $xoopsDB -> prefix( "lxentries" ) . "
+ WHERE submit = 0" );
+ list( $totalpublished ) = $xoopsDB -> fetchRow( $result02 );
+
+ $result03 = $xoopsDB -> query( "SELECT COUNT(*)
+ FROM " . $xoopsDB -> prefix( "lxentries" ) . "
+ WHERE submit = '1' AND request = '0' " );
+ list( $totalsubmitted ) = $xoopsDB -> fetchRow( $result03 );
+
+ $result04 = $xoopsDB -> query( "SELECT COUNT(*)
+ FROM " . $xoopsDB -> prefix( "lxentries" ) . "
+ WHERE submit = '1' AND request = '1' " );
+ list( $totalrequested ) = $xoopsDB -> fetchRow( $result04 );
+
+ echo "<table width='100%' class='outer' style=\"margin-top: 6px; clear:both;\" cellspacing='2' cellpadding='3' border='0' ><tr>";
+ echo "<td class='odd'>" . _AM_LX_TOTALENTRIES . "</td><td align='center' class='even'>" . $totalpublished . "</td>";
+ if ($xoopsModuleConfig['multicats'] == 1) {
+ echo "<td class='odd'>" . _AM_LX_TOTALCATS . "</td><td align='center' class='even'>" . $totalcategories . "</td>";
+ }
+ echo "<td class='odd'>" . _AM_LX_TOTALSUBM . "</td><td align='center' class='even'>" . $totalsubmitted . "</td>
+ <td class='odd'>" . _AM_LX_TOTALREQ . "</td><td align='center' class='even'>" . $totalrequested . "</td>
+ </tr></table>
+ <br /><br />";
+
+
+ /**
+ * Code to show existing terms
+ **/
+
+ // create existing terms table
+ $resultA1 = $xoopsDB -> query( "SELECT COUNT(*)
+ FROM " . $xoopsDB -> prefix( "lxentries" ) . "
+ WHERE submit = 0" );
+ list( $numrows ) = $xoopsDB -> fetchRow( $resultA1 );
+
+ $sql = "SELECT entryID, categoryID, term, uid, datesub, offline
+ FROM ".$xoopsDB->prefix('lxentries')."
+ WHERE submit = 0
+ ORDER BY entryID DESC";
+ $resultA2 = $xoopsDB -> query( $sql, $xoopsModuleConfig['perpage'], $startentry );
+ $result = $xoopsDB->query($sql, $xoopsModuleConfig['perpage']);
+
+ lx_collapsableBar('lexikonent', 'lexikonenticon');
+ echo " <img onclick=\"toggle('toptable'); toggleIcon('toptableicon');\" id='lexikonenticon' name='lexikonenticon' src='" . XOOPS_URL . "/modules/lexikon/images/close12.gif' alt='' /></a> <A href='entry.php?op=add'>". _AM_LX_CREATEENTRY ."</A><br /><br/>";
+ echo " <div id='lexikonent' style='float:left; width:100%;'>
+ <table class='outer' width='100%' border='0'>
+ <tr>
+ <td colspan='7' class='odd'>
+ <strong>". _AM_LX_SHOWENTRIES . ' (' . $totalpublished . ')'. "</strong></td></TR>";
+ echo "<tr>";
+
+ echo "<td width='40' class='odd' align='center'><b>" . _AM_LX_ENTRYID . "</A></b></td>";
+ if ($xoopsModuleConfig['multicats'] == 1) {
+ echo "<td width='20%' class='odd' align='center'><b>" . _AM_LX_ENTRYCATNAME . "</b></td>";
+ }
+ echo "<td width='*' class='odd' align='center'><b>" . _AM_LX_ENTRYTERM . "</b></td>
+ <td width='90' class='odd' align='center'><b>" . _AM_LX_SUBMITTER . "</b></td>
+ <td width='90' class='odd' align='center'><b>" . _AM_LX_ENTRYCREATED . "</b></td>
+ <td width='30' class='odd' align='center'><b>" . _AM_LX_STATUS . "</b></td>
+ <td width='60' class='odd' align='center'><b>" . _AM_LX_ACTION . "</b></td>
+ </tr>";
+
+ if ( $numrows > 0 ) // That is, if there ARE entries in the system
+ {
+ while ( list( $entryID, $categoryID, $term, $uid, $created, $offline ) = $xoopsDB -> fetchrow( $resultA2 ) ) {
+ $resultA3 = $xoopsDB -> query( "SELECT name
+ FROM " . $xoopsDB -> prefix( "lxcategories" ) . "
+ WHERE categoryID = '$categoryID'" );
+ list( $name ) = $xoopsDB -> fetchrow( $resultA3 );
+
+ $sentby = xoops_getLinkedUnameFromId($uid);
+ $catname = $myts -> htmlSpecialChars( $name );
+ $term = $myts -> htmlSpecialChars( $term );
+ $created= formatTimestamp( $created, 's' );
+ $modify = "<a href='entry.php?op=mod&entryID=" . $entryID . "'><img src=" . XOOPS_URL . "/modules/" . $xoopsModule->dirname() . "/images/icon/edit.gif width='24' height='24' ALT='"._AM_LX_EDITENTRY."'></a>";
+ $delete = "<a href='entry.php?op=del&entryID=" . $entryID . "'><img src=" . XOOPS_URL . "/modules/" . $xoopsModule->dirname() . "/images/icon/delete.gif width='24' height='24' ALT='"._AM_LX_DELETEENTRY."'></a>";
+
+ if ( $offline == 0 ) {
+ $status = "<img src=" . XOOPS_URL . "/modules/" . $xoopsModule->dirname() . "/images/icon/on.gif alt='"._AM_LX_ENTRYISON."'>";
+ } else {
+ $status = "<img src=" . XOOPS_URL . "/modules/" . $xoopsModule->dirname() . "/images/icon/off.gif alt='"._AM_LX_ENTRYISOFF."'>";
+ }
+ echo "<tr>";
+ echo "<td class='even' align='center'>" . $entryID . "</td>";
+
+ if ($xoopsModuleConfig['multicats'] == 1) {
+ echo "<td class='odd' align='left'>" . $catname . "</td>";
+ }
+ //echo "<td class='$class'align='left'>" . $term . "</td>";
+ echo "<td class='odd'align='left'><a href='../entry.php?entryID=" . $entryID . "'>" . $term . "</td>
+ <td class='odd' align='center'>" . $sentby . "</td>
+ <td class='odd' align='center'>" . $created . "</td>
+ <td class='odd' align='center'>" . $status . "</td>
+ <td class='even' align='center'> $modify $delete </td>
+ </tr></DIV>";
+ }
+ }
+ else // that is, $numrows = 0, there's no entries yet
+ {
+ echo "<tr>";
+ echo "<td class='odd' align='center' colspan= '7'>"._AM_LX_NOTERMS."</td>";
+ echo "</tr></DIV></DIV>";
+ }
+ echo "</table>\n";
+ $pagenav = new XoopsPageNav( $numrows, $xoopsModuleConfig['perpage'], $startentry, 'startentry');
+ echo '<div style="text-align:right;">' . $pagenav -> renderNav(8) . '</div>';
+ echo "<br /><BR>\n";
+ echo "</div>";
+}
+
+
+// -- Edit function -- //
+function entryEdit( $entryID = '' ) {
+ global $xoopsUser, $xoopsConfig, $xoopsDB, $xoopsModuleConfig, $xoopsModule, $XOOPS_URL;
+
+ /**
+ * Clear all variables before we start
+ */
+ if(!isset($block)) { $block = 1; }
+ if(!isset($html)) { $html = 1; }
+ if(!isset($smiley)) { $smiley = 1; }
+ if(!isset($xcodes)) { $xcodes = 1; }
+ if(!isset($breaks)) { $breaks = 1; }
+ if(!isset($offline)) { $offline = 0; }
+ if(!isset($submit)) { $submit = 0; }
+ if(!isset($request)) { $request = 0; }
+ if(!isset($notifypub)) { $notifypub = 1; }
+ if(!isset($categoryID)) { $categoryID = 1; }
+ if(!isset($term)) { $term = ""; }
+ if(!isset($init)) { $init = ""; }
+
+ if (!isset($definition)) {
+ $definition = _AM_LX_WRITEHERE;
+ }
+ if(!isset($ref)) { $ref = ""; }
+ if(!isset($url)) { $url = ""; }
+ if(!isset($datesub)) { $datesub = 0; }
+
+ // If there is a parameter, and the id exists, retrieve data: we're editing an entry
+ if ( $entryID ) {
+ $result = $xoopsDB -> query( "
+ SELECT categoryID, term, init, definition, ref, url, uid, submit, datesub, html, smiley, xcodes, breaks, block, offline, notifypub, request
+ FROM " . $xoopsDB -> prefix( "lxentries" ) . "
+ WHERE entryID = '$entryID'" );
+ list( $categoryID, $term, $init, $definition, $ref, $url, $uid, $submit, $datesub, $html, $smiley, $xcodes, $breaks, $block, $offline, $notifypub, $request ) = $xoopsDB -> fetchrow( $result );
+
+ $myts =& MyTextSanitizer::getInstance();
+ $term = $myts->stripSlashesGPC($myts->htmlSpecialChars($term));
+
+ if ( !$xoopsDB -> getRowsNum( $result ) ) {
+ redirect_header( "index.php", 1, _AM_LX_NOENTRYTOEDIT );
+ exit();
+ }
+ lx_adminMenu(2, _AM_LX_ENTRIES);
+
+ echo "<h3 style=\"color: #2F5376; margin-top: 6px; \">" . _AM_LX_ADMINENTRYMNGMT . "</h3>";
+ $sform = new XoopsThemeForm( _AM_LX_MODENTRY . ": $term" , "op", xoops_getenv( 'PHP_SELF' ) );
+ } else // there's no parameter, so we're adding an entry
+ {
+ $result01 = $xoopsDB -> query( "SELECT COUNT(*) FROM " . $xoopsDB -> prefix( "lxcategories" ) . " " );
+ list( $totalcats ) = $xoopsDB -> fetchRow( $result01 );
+ if ( $totalcats == 0 && $xoopsModuleConfig['multicats'] == 1 ) {
+ redirect_header( "index.php", 1, _AM_LX_NEEDONECOLUMN );
+ exit();
+ }
+ lx_adminMenu(2, _AM_LX_ENTRIES);
+ $uid = $xoopsUser->getVar('uid');
+ echo "<h3 style=\"color: #2F5376; margin-top: 6px; \">" . _AM_LX_ADMINENTRYMNGMT . "</h3>";
+ $sform = new XoopsThemeForm( _AM_LX_NEWENTRY, "op", xoops_getenv( 'PHP_SELF' ) );
+ }
+
+ $sform -> setExtra( 'enctype="multipart/form-data"' );
+ // Category selector
+ if ($xoopsModuleConfig['multicats'] == 1) {
+ $mytree = new XoopsTree( $xoopsDB->prefix( "lxcategories" ), "categoryID" , "0" );
+ $categoryselect = new XoopsFormSelect(_AM_LX_CATNAME, 'categoryID', $categoryID);
+ $tbl = array();
+ $tbl = $mytree->getChildTreeArray(0,'name');
+ foreach($tbl as $oneline) {
+ if ($oneline['prefix']=='.') {
+ $oneline['prefix']='';
+ }
+ $oneline['prefix'] = str_replace('.','-',$oneline['prefix']);
+ $categoryselect->addOption($oneline['categoryID'], $oneline['prefix'].' '.$oneline['name']);
+ }
+ $sform->addElement($categoryselect,true);
+ }
+
+ // Author selector
+ ob_start();
+ lx_getuserForm( intval($uid) );
+ $sform -> addElement( new XoopsFormLabel( _AM_LX_AUTHOR, ob_get_contents() ) );
+ ob_end_clean();
+
+ // Initial selector
+ ob_start();
+ lx_getinit( intval($init) );
+ $sform -> addElement( new XoopsFormLabel( _AM_LX_INIT, ob_get_contents() ) );
+ ob_end_clean();
+
+ // Term, definition, reference and related URL
+ $sform -> addElement( new XoopsFormText( _AM_LX_ENTRYTERM, 'term', 50, 80, $term ), true );
+
+ // set editor according to the module's form_options
+ $editor = lx_getWysiwygForm( _AM_LX_ENTRYDEF, 'definition', $definition, 15, 60 );
+ if ($definition == _MD_LX_WRITEHERE) {
+ $editor -> setExtra( 'onfocus="this.select()"' );
+ }
+ $sform -> addElement( $editor,true );
+ unset($editor);
+
+ $sform -> addElement( new XoopsFormTextArea( _AM_LX_ENTRYREFERENCE, 'ref', $ref, 5, 60 ), false );
+ $sform -> addElement( new XoopsFormText( _AM_LX_ENTRYURL, 'url', 50, 80, $url ), false );
+
+ // Code to take entry offline, for maintenance purposes
+ $offline_radio = new XoopsFormRadioYN(_AM_LX_SWITCHOFFLINE, 'offline', $offline, ' '._AM_LX_YES.'', ' '._AM_LX_NO.'');
+ $sform -> addElement($offline_radio);
+
+ // Code to put entry in block
+ $block_radio = new XoopsFormRadioYN( _AM_LX_BLOCK, 'block', $block , ' ' . _AM_LX_YES . '', ' ' . _AM_LX_NO . '' );
+ $sform -> addElement( $block_radio );
+
+ // VARIOUS OPTIONS
+ $options_tray = new XoopsFormElementTray(_AM_LX_OPTIONS,'<br />');
+
+ $html_checkbox = new XoopsFormCheckBox( '', 'html', $html );
+ $html_checkbox -> addOption( 1, _AM_LX_DOHTML );
+ $options_tray -> addElement( $html_checkbox );
+
+ $smiley_checkbox = new XoopsFormCheckBox( '', 'smiley', $smiley );
+ $smiley_checkbox -> addOption( 1, _AM_LX_DOSMILEY );
+ $options_tray -> addElement( $smiley_checkbox );
+
+ $xcodes_checkbox = new XoopsFormCheckBox( '', 'xcodes', $xcodes );
+ $xcodes_checkbox -> addOption( 1, _AM_LX_DOXCODE );
+ $options_tray -> addElement( $xcodes_checkbox );
+
+ $breaks_checkbox = new XoopsFormCheckBox( '', 'breaks', $breaks );
+ $breaks_checkbox -> addOption( 1, _AM_LX_BREAKS );
+ $options_tray -> addElement( $breaks_checkbox );
+
+ $sform -> addElement( $options_tray );
+
+ $sform -> addElement( new XoopsFormHidden( 'entryID', $entryID ) );
+
+ $button_tray = new XoopsFormElementTray( '', '' );
+ $hidden = new XoopsFormHidden( 'op', 'addentry' );
+ $button_tray -> addElement( $hidden );
+
+
+ if ( !$entryID ) // there's no entryID? Then it's a new entry
+ {
+
+ $butt_create = new XoopsFormButton( '', '', _AM_LX_CREATE, 'submit' );
+ $butt_create->setExtra('onclick="this.form.elements.op.value=\'addentry\'"');
+ $button_tray->addElement( $butt_create );
+
+ $butt_clear = new XoopsFormButton( '', '', _AM_LX_CLEAR, 'reset' );
+ $button_tray->addElement( $butt_clear );
+
+ $butt_cancel = new XoopsFormButton( '', '', _AM_LX_CANCEL, 'button' );
+ $butt_cancel->setExtra('onclick="history.go(-1)"');
+ $button_tray->addElement( $butt_cancel );
+ } else // else, we're editing an existing entry
+ {
+ $butt_create = new XoopsFormButton( '', '', _AM_LX_MODIFY, 'submit' );
+ $butt_create->setExtra('onclick="this.form.elements.op.value=\'addentry\'"');
+ $button_tray->addElement( $butt_create );
+
+ $butt_cancel = new XoopsFormButton( '', '', _AM_LX_CANCEL, 'button' );
+ $butt_cancel->setExtra('onclick="history.go(-1)"');
+ $button_tray->addElement( $butt_cancel );
+ }
+
+ $sform -> addElement( $button_tray );
+ $sform -> display();
+ unset( $hidden );
+}
+
+
...
[truncated message content] |
|
From: <be...@us...> - 2012-02-06 21:57:19
|
Revision: 8893
http://xoops.svn.sourceforge.net/xoops/?rev=8893&view=rev
Author: beckmi
Date: 2012-02-06 21:57:09 +0000 (Mon, 06 Feb 2012)
Log Message:
-----------
Adding Newsslider module.
Added Paths:
-----------
XoopsModules/newsslider/
XoopsModules/newsslider/branches/
XoopsModules/newsslider/releases/
XoopsModules/newsslider/trunk/
XoopsModules/newsslider/trunk/newsslider/
XoopsModules/newsslider/trunk/newsslider/admin/
XoopsModules/newsslider/trunk/newsslider/admin/admin.php
XoopsModules/newsslider/trunk/newsslider/admin/admin_header.php
XoopsModules/newsslider/trunk/newsslider/admin/functions.php
XoopsModules/newsslider/trunk/newsslider/admin/index.html
XoopsModules/newsslider/trunk/newsslider/admin/index.php
XoopsModules/newsslider/trunk/newsslider/admin/menu.php
XoopsModules/newsslider/trunk/newsslider/admin/myblockform.php
XoopsModules/newsslider/trunk/newsslider/admin/myblocksadmin.php
XoopsModules/newsslider/trunk/newsslider/admin/myblocksadmin2.php
XoopsModules/newsslider/trunk/newsslider/admin/mygroupperm.php
XoopsModules/newsslider/trunk/newsslider/admin/mygrouppermform.php
XoopsModules/newsslider/trunk/newsslider/admin/mymenu.php
XoopsModules/newsslider/trunk/newsslider/blocks/
XoopsModules/newsslider/trunk/newsslider/blocks/index.html
XoopsModules/newsslider/trunk/newsslider/blocks/news_bxslider.php
XoopsModules/newsslider/trunk/newsslider/blocks/news_feature.php
XoopsModules/newsslider/trunk/newsslider/blocks/news_glider.php
XoopsModules/newsslider/trunk/newsslider/blocks/news_s3slider.php
XoopsModules/newsslider/trunk/newsslider/blocks/news_scrolling.php
XoopsModules/newsslider/trunk/newsslider/bx_styles.css
XoopsModules/newsslider/trunk/newsslider/changelog.txt
XoopsModules/newsslider/trunk/newsslider/gpl.txt
XoopsModules/newsslider/trunk/newsslider/images/
XoopsModules/newsslider/trunk/newsslider/images/attention.gif
XoopsModules/newsslider/trunk/newsslider/images/bg.gif
XoopsModules/newsslider/trunk/newsslider/images/bxslider/
XoopsModules/newsslider/trunk/newsslider/images/bxslider/blue_auto.png
XoopsModules/newsslider/trunk/newsslider/images/bxslider/blue_next.png
XoopsModules/newsslider/trunk/newsslider/images/bxslider/blue_pager.png
XoopsModules/newsslider/trunk/newsslider/images/bxslider/blue_prev.png
XoopsModules/newsslider/trunk/newsslider/images/bxslider/gray_auto.png
XoopsModules/newsslider/trunk/newsslider/images/bxslider/gray_next.png
XoopsModules/newsslider/trunk/newsslider/images/bxslider/gray_pager.png
XoopsModules/newsslider/trunk/newsslider/images/bxslider/gray_prev.png
XoopsModules/newsslider/trunk/newsslider/images/bxslider/green_auto.png
XoopsModules/newsslider/trunk/newsslider/images/bxslider/green_next.png
XoopsModules/newsslider/trunk/newsslider/images/bxslider/green_pager.png
XoopsModules/newsslider/trunk/newsslider/images/bxslider/green_prev.png
XoopsModules/newsslider/trunk/newsslider/images/bxslider/index.html
XoopsModules/newsslider/trunk/newsslider/images/bxslider/orange_auto.png
XoopsModules/newsslider/trunk/newsslider/images/bxslider/orange_next.png
XoopsModules/newsslider/trunk/newsslider/images/bxslider/orange_pager.png
XoopsModules/newsslider/trunk/newsslider/images/bxslider/orange_prev.png
XoopsModules/newsslider/trunk/newsslider/images/bxslider/purple_auto.png
XoopsModules/newsslider/trunk/newsslider/images/bxslider/purple_next.png
XoopsModules/newsslider/trunk/newsslider/images/bxslider/purple_pager.png
XoopsModules/newsslider/trunk/newsslider/images/bxslider/purple_prev.png
XoopsModules/newsslider/trunk/newsslider/images/bxslider/red_auto.png
XoopsModules/newsslider/trunk/newsslider/images/bxslider/red_next.png
XoopsModules/newsslider/trunk/newsslider/images/bxslider/red_pager.png
XoopsModules/newsslider/trunk/newsslider/images/bxslider/red_prev.png
XoopsModules/newsslider/trunk/newsslider/images/bxslider/yellow_auto.png
XoopsModules/newsslider/trunk/newsslider/images/bxslider/yellow_next.png
XoopsModules/newsslider/trunk/newsslider/images/bxslider/yellow_pager.png
XoopsModules/newsslider/trunk/newsslider/images/bxslider/yellow_prev.png
XoopsModules/newsslider/trunk/newsslider/images/image1-small.jpg
XoopsModules/newsslider/trunk/newsslider/images/image1.jpg
XoopsModules/newsslider/trunk/newsslider/images/image2-small.jpg
XoopsModules/newsslider/trunk/newsslider/images/image2.jpg
XoopsModules/newsslider/trunk/newsslider/images/image3-small.jpg
XoopsModules/newsslider/trunk/newsslider/images/image3.jpg
XoopsModules/newsslider/trunk/newsslider/images/image4-small.jpg
XoopsModules/newsslider/trunk/newsslider/images/image4.jpg
XoopsModules/newsslider/trunk/newsslider/images/image5-small.jpg
XoopsModules/newsslider/trunk/newsslider/images/image5.jpg
XoopsModules/newsslider/trunk/newsslider/images/index.html
XoopsModules/newsslider/trunk/newsslider/images/left_both.gif
XoopsModules/newsslider/trunk/newsslider/images/right_both.gif
XoopsModules/newsslider/trunk/newsslider/images/s3/
XoopsModules/newsslider/trunk/newsslider/images/s3/image1.jpg
XoopsModules/newsslider/trunk/newsslider/images/s3/image2.jpg
XoopsModules/newsslider/trunk/newsslider/images/s3/image3.jpg
XoopsModules/newsslider/trunk/newsslider/images/s3/image4.jpg
XoopsModules/newsslider/trunk/newsslider/images/s3/image5.jpg
XoopsModules/newsslider/trunk/newsslider/images/s3/image6.jpg
XoopsModules/newsslider/trunk/newsslider/images/s3/image7.jpg
XoopsModules/newsslider/trunk/newsslider/images/selected-item.gif
XoopsModules/newsslider/trunk/newsslider/images/slogo.png
XoopsModules/newsslider/trunk/newsslider/images/square-blue-left.gif
XoopsModules/newsslider/trunk/newsslider/images/square-blue-right.gif
XoopsModules/newsslider/trunk/newsslider/images/square-gray-left.gif
XoopsModules/newsslider/trunk/newsslider/images/square-gray-right.gif
XoopsModules/newsslider/trunk/newsslider/images/transparent-bg.gif
XoopsModules/newsslider/trunk/newsslider/images/transparent-bg.png
XoopsModules/newsslider/trunk/newsslider/include/
XoopsModules/newsslider/trunk/newsslider/include/.htaccess
XoopsModules/newsslider/trunk/newsslider/include/blocksadmin.inc.php
XoopsModules/newsslider/trunk/newsslider/include/gtickets.php
XoopsModules/newsslider/trunk/newsslider/include/index.html
XoopsModules/newsslider/trunk/newsslider/include/onupdate.inc.php
XoopsModules/newsslider/trunk/newsslider/include/updateblock.inc.php
XoopsModules/newsslider/trunk/newsslider/index.html
XoopsModules/newsslider/trunk/newsslider/js/
XoopsModules/newsslider/trunk/newsslider/js/domticker.js
XoopsModules/newsslider/trunk/newsslider/js/featuredcontentglider.js
XoopsModules/newsslider/trunk/newsslider/js/index.html
XoopsModules/newsslider/trunk/newsslider/js/jquery-easing-1.3.pack.js
XoopsModules/newsslider/trunk/newsslider/js/jquery-ui.min.js
XoopsModules/newsslider/trunk/newsslider/js/jquery.bxSlider.min.js
XoopsModules/newsslider/trunk/newsslider/js/jquery.easing.1.3.js
XoopsModules/newsslider/trunk/newsslider/js/pausescroller.js
XoopsModules/newsslider/trunk/newsslider/js/s3Slider.js
XoopsModules/newsslider/trunk/newsslider/js/s3SliderPacked.js
XoopsModules/newsslider/trunk/newsslider/language/
XoopsModules/newsslider/trunk/newsslider/language/english/
XoopsModules/newsslider/trunk/newsslider/language/english/admin.php
XoopsModules/newsslider/trunk/newsslider/language/english/blocks.php
XoopsModules/newsslider/trunk/newsslider/language/english/index.html
XoopsModules/newsslider/trunk/newsslider/language/english/main.php
XoopsModules/newsslider/trunk/newsslider/language/english/modinfo.php
XoopsModules/newsslider/trunk/newsslider/language/german/
XoopsModules/newsslider/trunk/newsslider/language/german/admin.php
XoopsModules/newsslider/trunk/newsslider/language/german/blocks.php
XoopsModules/newsslider/trunk/newsslider/language/german/index.html
XoopsModules/newsslider/trunk/newsslider/language/german/main.php
XoopsModules/newsslider/trunk/newsslider/language/german/modinfo.php
XoopsModules/newsslider/trunk/newsslider/language/index.html
XoopsModules/newsslider/trunk/newsslider/readme.txt
XoopsModules/newsslider/trunk/newsslider/s3_style.css
XoopsModules/newsslider/trunk/newsslider/style.css
XoopsModules/newsslider/trunk/newsslider/templates/
XoopsModules/newsslider/trunk/newsslider/templates/blocks/
XoopsModules/newsslider/trunk/newsslider/templates/blocks/index.html
XoopsModules/newsslider/trunk/newsslider/templates/blocks/news_bxslider.html
XoopsModules/newsslider/trunk/newsslider/templates/blocks/news_feature.html
XoopsModules/newsslider/trunk/newsslider/templates/blocks/news_glider.html
XoopsModules/newsslider/trunk/newsslider/templates/blocks/news_s3slider.html
XoopsModules/newsslider/trunk/newsslider/templates/blocks/news_scrolling.html
XoopsModules/newsslider/trunk/newsslider/templates/index.html
XoopsModules/newsslider/trunk/newsslider/xoops_version.php
Added: XoopsModules/newsslider/trunk/newsslider/admin/admin.php
===================================================================
--- XoopsModules/newsslider/trunk/newsslider/admin/admin.php (rev 0)
+++ XoopsModules/newsslider/trunk/newsslider/admin/admin.php 2012-02-06 21:57:09 UTC (rev 8893)
@@ -0,0 +1,172 @@
+<?php
+// $Id: admin.php,v 1.7 2003/04/11 13:00:53 okazu Exp $
+// ------------------------------------------------------------------------ //
+// XOOPS - PHP Content Management System //
+// Copyright (c) 2000 XOOPS.org //
+// <http://www.xoops.org/> //
+// ------------------------------------------------------------------------ //
+// This program is free software; you can redistribute it and/or modify //
+// it under the terms of the GNU General Public License as published by //
+// the Free Software Foundation; either version 2 of the License, or //
+// (at your option) any later version. //
+// //
+// You may not change or alter any portion of this comment or credits //
+// of supporting developers from this source code or any supporting //
+// source code which is considered copyrighted (c) material of the //
+// original comment or credit authors. //
+// //
+// This program is distributed in the hope that it will be useful, //
+// but WITHOUT ANY WARRANTY; without even the implied warranty of //
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
+// GNU General Public License for more details. //
+// //
+// You should have received a copy of the GNU General Public License //
+// along with this program; if not, write to the Free Software //
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
+// ------------------------------------------------------------------------ //
+// Author: Kazumi Ono (AKA onokazu) //
+// URL: http://www.myweb.ne.jp/, http://www.xoops.org/, http://jp.xoops.org/ //
+// Project: The XOOPS Project //
+// ------------------------------------------------------------------------- //
+
+#global $xoopsConfig;
+
+$admin_mydirname = basename( dirname( dirname( __FILE__ ) ) ) ;
+
+$fct = empty( $_POST['fct'] ) ? '' : trim( $_POST['fct'] ) ;
+$fct = empty( $_GET['fct'] ) ? $fct : trim( $_GET['fct'] ) ;
+if ( empty( $fct ) ) $fct = 'preferences' ;
+//if (isset($fct) && $fct == "users") {
+// $xoopsOption['pagetype'] = "user";
+//}
+include "../../../mainfile.php";
+// include "../../mainfile.php"; GIJ
+include XOOPS_ROOT_PATH."/include/cp_functions.php";
+
+include_once XOOPS_ROOT_PATH."/class/xoopsmodule.php";
+include_once "../include/gtickets.php" ;// GIJ
+
+$admintest = 0;
+
+if (is_object($xoopsUser)) {
+ $xoopsModule =& XoopsModule::getByDirname("system");
+ if ( !$xoopsUser->isAdmin($xoopsModule->mid()) ) {
+ redirect_header(XOOPS_URL.'/user.php',3,_NOPERM);
+ exit();
+ }
+ $admintest=1;
+} else {
+ redirect_header(XOOPS_URL.'/user.php',3,_NOPERM);
+ exit();
+}
+
+// include system category definitions
+include_once XOOPS_ROOT_PATH."/modules/system/constants.php";
+$error = false;
+if ($admintest != 0) {
+ if (isset($fct) && $fct != '') {
+ if (file_exists(XOOPS_ROOT_PATH."/modules/system/admin/".$fct."/xoops_version.php")) {
+
+ if ( file_exists(XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin.php") ) {
+ include XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin.php";
+ } else {
+ include XOOPS_ROOT_PATH."/modules/system/language/english/admin.php";
+ }
+
+ if (file_exists(XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin/".$fct.".php")) {
+ include XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin/".$fct.".php";
+ }
+ elseif (file_exists(XOOPS_ROOT_PATH."/modules/system/language/english/admin/".$fct.".php")) {
+ include XOOPS_ROOT_PATH."/modules/system/language/english/admin/".$fct.".php";
+ }
+ include XOOPS_ROOT_PATH."/modules/system/admin/".$fct."/xoops_version.php";
+ // addendum for Xoops 2.3+
+ if (file_exists(XOOPS_ROOT_PATH . '/modules/newsslider/language/' . $xoopsConfig['language'] . '/main.php')) {
+ include_once XOOPS_ROOT_PATH . '/modules/newsslider/language/' . $xoopsConfig['language'] . '/main.php';
+ } else {
+ include_once XOOPS_ROOT_PATH . '/modules/newsslider/language/english/main.php';
+ }
+
+ $sysperm_handler =& xoops_gethandler('groupperm');
+ $category = !empty($modversion['category']) ? intval($modversion['category']) : 0;
+ unset($modversion);
+ if ($category > 0) {
+ $groups = $xoopsUser->getGroups();
+ if (in_array(XOOPS_GROUP_ADMIN, $groups) || false != $sysperm_handler->checkRight('system_admin', $category, $groups, $xoopsModule->getVar('mid'))) {
+// if (file_exists(XOOPS_ROOT_PATH."/modules/system/admin/".$fct."/main.php")) {
+// include_once XOOPS_ROOT_PATH."/modules/system/admin/".$fct."/main.php"; GIJ
+ if (file_exists("../include/{$fct}.inc.php")) {
+ include_once "../include/{$fct}.inc.php" ;
+ } else {
+ $error = true;
+ }
+ } else {
+ $error = true;
+ }
+ }
+ elseif ($fct == 'version') {
+ if (file_exists(XOOPS_ROOT_PATH."/modules/system/admin/version/main.php")) {
+ include_once XOOPS_ROOT_PATH."/modules/system/admin/version/main.php";
+ } else {
+ $error = true;
+ }
+ }
+ else {
+ $error = true;
+ }
+ } else {
+ $error = true;
+ }
+ } else {
+ $error = true;
+ }
+}
+
+if (false != $error) {
+ xoops_cp_header();
+ echo "<h4>System Configuration</h4>";
+ echo '<table class="outer" cellpadding="4" cellspacing="1">';
+ echo '<tr>';
+ $groups = $xoopsUser->getGroups();
+ $all_ok = false;
+ if (!in_array(XOOPS_GROUP_ADMIN, $groups)) {
+ $sysperm_handler =& xoops_gethandler('groupperm');
+ $ok_syscats = $sysperm_handler->getItemIds('system_admin', $groups);
+ } else {
+ $all_ok = true;
+ }
+ $admin_dir = XOOPS_ROOT_PATH."/modules/system/admin";
+ $handle = opendir($admin_dir);
+ $counter = 0;
+ $class = 'even';
+ while ($file = readdir($handle)) {
+ if (strtolower($file) != 'cvs' && !preg_match("/[.]/", $file) && is_dir($admin_dir.'/'.$file)) {
+ include $admin_dir.'/'.$file.'/xoops_version.php';
+ if ($modversion['hasAdmin']) {
+ $category = isset($modversion['category']) ? intval($modversion['category']) : 0;
+ if (false != $all_ok || in_array($modversion['category'], $ok_syscats)) {
+ echo "<td class='$class' align='center' valign='bottom' width='19%'>";
+ echo "<a href='".XOOPS_URL."/modules/system/admin.php?fct=".$file."'><b>" .trim($modversion['name'])."</b></a>\n";
+ echo "</td>";
+ $counter++;
+ $class = ($class == 'even') ? 'odd' : 'even';
+ }
+ if ( $counter > 4 ) {
+ $counter = 0;
+ echo "</tr>";
+ echo "<tr>";
+ }
+ }
+ unset($modversion);
+ }
+ }
+ while ($counter < 5) {
+ echo '<td class="'.$class.'"> </td>';
+ $class = ($class == 'even') ? 'odd' : 'even';
+ $counter++;
+ }
+ echo '</tr></table>';
+ xoops_cp_footer();
+}
+
+?>
\ No newline at end of file
Added: XoopsModules/newsslider/trunk/newsslider/admin/admin_header.php
===================================================================
--- XoopsModules/newsslider/trunk/newsslider/admin/admin_header.php (rev 0)
+++ XoopsModules/newsslider/trunk/newsslider/admin/admin_header.php 2012-02-06 21:57:09 UTC (rev 8893)
@@ -0,0 +1,36 @@
+<?php
+/**
+ * $Id: admin_header.php v 1.0 21 Jan 2012 Yerres Exp $
+ * Module: newsslider
+ * Version: 1.1
+ * Author: yerres
+ * Licence: GNU
+ */
+
+include("../../../mainfile.php");
+include '../../../include/cp_header.php';
+global $xoopsModule,$xoopsConfig;
+
+if (file_exists(XOOPS_ROOT_PATH . '/modules/newsslider/language/' . $xoopsConfig['language'] . '/main.php')) {
+ include_once XOOPS_ROOT_PATH . '/modules/newsslider/language/' . $xoopsConfig['language'] . '/main.php';
+} else {
+ include_once XOOPS_ROOT_PATH . '/modules/newsslider/language/english/main.php';
+}
+
+
+include_once XOOPS_ROOT_PATH."/modules/".$xoopsModule->dirname()."/admin/functions.php";
+
+$myts =& MyTextSanitizer::getInstance();
+
+if ( is_object( $xoopsUser) ) {
+ $xoopsModule = XoopsModule::getByDirname("newsslider");
+ if ( !$xoopsUser->isAdmin($xoopsModule->mid()) ) {
+ redirect_header(XOOPS_URL."/",1,_NOPERM);
+ exit();
+ }
+} else {
+ redirect_header(XOOPS_URL."/",1,_NOPERM);
+ exit();
+}
+
+?>
\ No newline at end of file
Added: XoopsModules/newsslider/trunk/newsslider/admin/functions.php
===================================================================
--- XoopsModules/newsslider/trunk/newsslider/admin/functions.php (rev 0)
+++ XoopsModules/newsslider/trunk/newsslider/admin/functions.php 2012-02-06 21:57:09 UTC (rev 8893)
@@ -0,0 +1,89 @@
+<?php
+/**
+ * $Id: functions.php v 1.0 21 Jan 2012 Yerres Exp $
+ * Module: newsslider
+ * Version: 1.1
+ * Author: yerres
+ * Licence: GNU
+ */
+
+if ( is_object( $xoopsUser) ) {
+ $xoopsModule = XoopsModule::getByDirname("newsslider");
+ if ( !$xoopsUser->isAdmin($xoopsModule->mid()) ) {
+ redirect_header(XOOPS_URL."/",1,_NOPERM);
+ exit();
+ }
+} else {
+ redirect_header(XOOPS_URL."/",1,_NOPERM);
+ exit();
+}
+
+/**
+ * Function used to display an horizontal menu inside the admin panel
+ * Enable webmasters to navigate thru the module's features.
+ * Each time you select an option in the admin panel of the news module, this option is highlighted in this menu
+ * @orig author: hsalazar, The smartfactory
+ * @copyright (c) The Xoops Project - www.xoops.org
+ */
+
+function nws_adminmenu($currentoption = 0, $breadcrumb = '') {
+ echo "
+ <style type='text/css'>
+ #buttontop { float:left; width:100%; background: #DAE0D2; 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: #DAE0D2 url('" . XOOPS_URL . "/modules/newsslider/images/bg.gif') repeat-x left bottom; font-size: 12px; 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 5px 0; list-style:none; }
+ #buttonbar li { display:inline; margin:0; padding:0; }
+ #buttonbar a { float:left; background:url('" . XOOPS_URL . "/modules/newsslider/images/left_both.gif') no-repeat left top; margin:0; padding:0 0 0 9px; border-bottom:1px solid #000; text-decoration:none; white-space: nowrap}
+ #buttonbar a span { float:left; display:block; background:url('" . XOOPS_URL . "/modules/newsslider/images/right_both.gif') no-repeat right top; padding:5px 15px 4px 6px; font-weight:bold; color:#765; white-space: nowrap}
+ /* 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>
+ ";
+
+
+ global $xoopsModule, $xoopsConfig;
+ $myts = &MyTextSanitizer::getInstance();
+
+ $tblColors = Array_Fill(0,8,'');
+ $tblColors[$currentoption] = 'current';
+
+ if (file_exists(XOOPS_ROOT_PATH . '/modules/newsslider/language/' . $xoopsConfig['language'] . '/modinfo.php')) {
+ include_once XOOPS_ROOT_PATH . '/modules/newsslider/language/' . $xoopsConfig['language'] . '/modinfo.php';
+ } else {
+ include_once XOOPS_ROOT_PATH . '/modules/newsslider/language/english/modinfo.php';
+ }
+
+ include 'menu.php';
+
+ echo '<div id="buttontop">';
+ echo '<table style="width: 100%; padding: 0;" cellspacing="0"><tr>';
+ echo '<td style="font-size: 10px; text-align: left; color: #2F5376; padding: 0 6px; line-height: 18px;">';
+ for( $i=0; $i<count($headermenu); $i++ ){
+ echo '<a class="nobutton" href="' . $headermenu[$i]['link'] .'">' . $headermenu[$i]['title'] . '</a> ';
+ if ($i < count($headermenu)-1) {
+ echo "| ";
+ }
+ }
+ echo '</td>';
+ echo '<td style="font-size: 12px; text-align: right; color: #2F5376; padding: 0 6px; line-height: 18px; font-weight: bold;">' . $breadcrumb . '</td>';
+ echo '</tr></table>';
+ echo '</div>';
+
+ echo '<div id="buttonbar">';
+ echo "<ul>";
+
+ for( $i=0; $i<count($adminmenu); $i++ ){
+ echo '<li id="' . $tblColors[$i] . '"><a href="' . XOOPS_URL . '/modules/newsslider/' . $adminmenu[$i]['link'] . '"><span>' . $adminmenu[$i]['title'] . '</span></a></li>';
+ }
+ echo '</ul></div>';
+ echo '<div style="float: left; width: 100%; text-align: center; margin: 0px; padding: 0px">';
+ echo '</div>';
+}
+?>
\ No newline at end of file
Added: XoopsModules/newsslider/trunk/newsslider/admin/index.html
===================================================================
--- XoopsModules/newsslider/trunk/newsslider/admin/index.html (rev 0)
+++ XoopsModules/newsslider/trunk/newsslider/admin/index.html 2012-02-06 21:57:09 UTC (rev 8893)
@@ -0,0 +1 @@
+<script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsModules/newsslider/trunk/newsslider/admin/index.php
===================================================================
--- XoopsModules/newsslider/trunk/newsslider/admin/index.php (rev 0)
+++ XoopsModules/newsslider/trunk/newsslider/admin/index.php 2012-02-06 21:57:09 UTC (rev 8893)
@@ -0,0 +1,18 @@
+<?php
+/**
+ * $Id: index.php v 1.0 21 Jan 2012 Yerres Exp $
+ * Module: slider
+ * Version: v 1.00
+ * Licence: GNU
+ */
+
+include_once "admin_header.php";
+
+xoops_cp_header();
+nws_adminmenu (0,_CPHOME);
+
+echo "<P>"._AM_NWS_INTRO."</P><br/>";
+
+xoops_cp_footer();
+exit();
+?>
\ No newline at end of file
Added: XoopsModules/newsslider/trunk/newsslider/admin/menu.php
===================================================================
--- XoopsModules/newsslider/trunk/newsslider/admin/menu.php (rev 0)
+++ XoopsModules/newsslider/trunk/newsslider/admin/menu.php 2012-02-06 21:57:09 UTC (rev 8893)
@@ -0,0 +1,29 @@
+<?php
+/**
+ * $Id: menu.php v 1.0 21 Jan 2012 Yerres Exp $
+ * Module: newsslider
+ * Version: 1.1
+ * Author: Yerres
+ * Licence: GNU
+ */
+global $xoopsModule;
+$module_handler =& xoops_gethandler("module");
+$xoopsModule =& XoopsModule::getByDirname('newsslider');
+$modid =& $module_handler->get($xoopsModule->getVar("mid"));
+
+$i = 0;
+if (strstr(XOOPS_VERSION, "XOOPS 2.0")){
+ $adminmenu[$i]['title'] = _NWS_MENU;
+ $adminmenu[$i]['link'] = "admin/myblocksadmin.php";
+} else {
+ $adminmenu[$i]['title'] = _NWS_MENU;// uncomment if necessary, this can cause errors
+ $adminmenu[$i]['link'] = '../../modules/system/admin.php?fct=blocksadmin&op=list&filter=1&selgen=' . $xoopsModule->getVar('mid') . '&selmod=-2&selgrp=-1&selvis=-1';
+ //$adminmenu[$i]['link'] = '../../modules/system/admin.php?fct=blocksadmin&op=list';
+}
+
+if (isset($xoopsModule)) {
+ $i=0;
+ $headermenu[$i]['title'] = _MI_NWS_UPDATEMODULE;
+ $headermenu[$i]['link'] = XOOPS_URL . "/modules/system/admin.php?fct=modulesadmin&op=update&module=" . $xoopsModule->getVar('dirname');
+}
+?>
\ No newline at end of file
Added: XoopsModules/newsslider/trunk/newsslider/admin/myblockform.php
===================================================================
--- XoopsModules/newsslider/trunk/newsslider/admin/myblockform.php (rev 0)
+++ XoopsModules/newsslider/trunk/newsslider/admin/myblockform.php 2012-02-06 21:57:09 UTC (rev 8893)
@@ -0,0 +1,141 @@
+<?php
+// $Id: myblockform.php,v 1.8 2003/03/10 13:32:05 okazu Exp $
+// ------------------------------------------------------------------------ //
+// XOOPS - PHP Content Management System //
+// Copyright (c) 2000 XOOPS.org //
+// <http://www.xoops.org/> //
+// ------------------------------------------------------------------------ //
+// This program is free software; you can redistribute it and/or modify //
+// it under the terms of the GNU General Public License as published by //
+// the Free Software Foundation; either version 2 of the License, or //
+// (at your option) any later version. //
+// //
+// You may not change or alter any portion of this comment or credits //
+// of supporting developers from this source code or any supporting //
+// source code which is considered copyrighted (c) material of the //
+// original comment or credit authors. //
+// //
+// This program is distributed in the hope that it will be useful, //
+// but WITHOUT ANY WARRANTY; without even the implied warranty of //
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
+// GNU General Public License for more details. //
+// //
+// You should have received a copy of the GNU General Public License //
+// along with this program; if not, write to the Free Software //
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
+// ------------------------------------------------------------------------ //
+
+if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;
+
+$usespaw = empty( $_GET['usespaw'] ) ? 0 : 1 ;
+
+require_once XOOPS_ROOT_PATH."/class/xoopsformloader.php";
+//$form = new XoopsThemeForm($block['form_title'], 'blockform', XOOPS_URL."/modules/blocksadmin/admin/admin.php" ) ;
+$form = new XoopsThemeForm($block['form_title'], 'blockform', "admin.php" ) ;
+if (isset($block['name'])) {
+ $form->addElement(new XoopsFormLabel(_AM_NAME, $block['name']));
+}
+$side_select = new XoopsFormSelect(_AM_BLKTYPE, "bside", $block['side']);
+// xoops 2013
+// $side_select->addOptionArray(array(0 => _AM_SBLEFT, 1 => _AM_SBRIGHT, 3 => _AM_CBLEFT, 4 => _AM_CBRIGHT, 5 => _AM_CBCENTER, ));
+$side_select->addOptionArray(array(0 => _AM_SBLEFT, 1 => _AM_SBRIGHT, 3 => _AM_CBLEFT, 4 => _AM_CBRIGHT, 5 => _AM_CBCENTER, 7 => _AM_CBBOTTOMLEFT, 8 => _AM_CBBOTTOMRIGHT, 9 => _AM_CBBOTTOM, ));
+$form->addElement($side_select);
+$form->addElement(new XoopsFormText(_AM_WEIGHT, "bweight", 2, 5, $block['weight']));
+$form->addElement(new XoopsFormRadioYN(_AM_VISIBLE, 'bvisible', $block['visible']));
+$mod_select = new XoopsFormSelect(_AM_VISIBLEIN, "bmodule", $block['modules'], 5, true);
+$module_handler =& xoops_gethandler('module');
+$criteria = new CriteriaCompo(new Criteria('hasmain', 1));
+$criteria->add(new Criteria('isactive', 1));
+$module_list =& $module_handler->getList($criteria);
+$module_list[-1] = _AM_TOPPAGE;
+$module_list[0] = _AM_ALLPAGES;
+ksort($module_list);
+$mod_select->addOptionArray($module_list);
+$form->addElement($mod_select);
+$form->addElement(new XoopsFormText(_AM_TITLE, 'btitle', 50, 255, $block['title']), false);
+
+if ( $block['is_custom'] ) {
+
+ // Custom Block's textarea
+ $notice_for_tags = '<span style="font-size:x-small;font-weight:bold;">'._AM_USEFULTAGS.'</span><br /><span style="font-size:x-small;font-weight:normal;">'.sprintf(_AM_BLOCKTAG1, '{X_SITEURL}', XOOPS_URL.'/').'</span>' ;
+ $current_op = @$_GET['op'] == 'clone' ? 'clone' : 'edit' ;
+ $uri_to_myself = XOOPS_URL . "/modules/blocksadmin/admin/admin.php?fct=blocksadmin&op=$current_op&bid={$block['bid']}" ;
+ // $can_use_spaw = check_browser_can_use_spaw() ;
+ $can_use_spaw = true ;
+ if( $usespaw && $can_use_spaw ) {
+ // SPAW Config
+ include XOOPS_ROOT_PATH.'/common/spaw/spaw_control.class.php' ;
+ ob_start() ;
+ $sw = new SPAW_Wysiwyg( 'bcontent' , $block['content'] ) ;
+ $sw->show() ;
+ $textarea = new XoopsFormLabel( _AM_CONTENT , ob_get_contents() ) ;
+ $textarea->setDescription( $notice_for_tags . "<br /><br /><a href='$uri_to_myself&usespaw=0'>NORMAL</a>" ) ;
+ ob_end_clean() ;
+ } else {
+ $myts =& MyTextSanitizer::getInstance();
+ $textarea = new XoopsFormDhtmlTextArea(_AM_CONTENT, 'bcontent', $myts->htmlSpecialChars( $block['content'] ) , 15, 70);
+ if( $can_use_spaw ) {
+ $textarea->setDescription( $notice_for_tags . "<br /><br /><a href='$uri_to_myself&usespaw=1'>SPAW</a>" ) ;
+ } else {
+ $textarea->setDescription( $notice_for_tags ) ;
+ }
+ }
+ $form->addElement($textarea, true);
+
+ $ctype_select = new XoopsFormSelect(_AM_CTYPE, 'bctype', $block['ctype']);
+ $ctype_select->addOptionArray(array('H' => _AM_HTML, 'P' => _AM_PHP, 'S' => _AM_AFWSMILE, 'T' => _AM_AFNOSMILE));
+ $form->addElement($ctype_select);
+} else {
+ if ($block['template'] != '' && ! defined('XOOPS_ORETEKI') ) {
+ $tplfile_handler =& xoops_gethandler('tplfile');
+ $btemplate =& $tplfile_handler->find($GLOBALS['xoopsConfig']['template_set'], 'block', $block['bid']);
+ if (count($btemplate) > 0) {
+ $form->addElement(new XoopsFormLabel(_AM_CONTENT, '<a href="'.XOOPS_URL.'/modules/system/admin.php?fct=tplsets&op=edittpl&id='.$btemplate[0]->getVar('tpl_id').'">'._AM_EDITTPL.'</a>'));
+ } else {
+ $btemplate2 =& $tplfile_handler->find('default', 'block', $block['bid']);
+ if (count($btemplate2) > 0) {
+ $form->addElement(new XoopsFormLabel(_AM_CONTENT, '<a href="'.XOOPS_URL.'/modules/system/admin.php?fct=tplsets&op=edittpl&id='.$btemplate2[0]->getVar('tpl_id').'" target="_blank">'._AM_EDITTPL.'</a>'));
+ }
+ }
+ }
+ if ($block['edit_form'] != false) {
+ $form->addElement(new XoopsFormLabel(_AM_OPTIONS, $block['edit_form']));
+ }
+}
+$cache_select = new XoopsFormSelect(_AM_BCACHETIME, 'bcachetime', $block['cachetime']);
+$cache_select->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, '2592000' => _MONTH));
+$form->addElement($cache_select);
+if (isset($block['bid'])) {
+ $form->addElement(new XoopsFormHidden('bid', $block['bid']));
+}
+// $form->addElement(new XoopsFormHidden('options', $block['options']));
+$form->addElement(new XoopsFormHidden('op', $block['op']));
+$form->addElement(new XoopsFormHidden('fct', 'blocksadmin'));
+$button_tray = new XoopsFormElementTray('', ' ');
+if ($block['is_custom']) {
+ $button_tray->addElement(new XoopsFormButton('', 'previewblock', _PREVIEW, "submit"));
+}
+$button_tray->addElement(new XoopsFormButton('', 'submitblock', $block['submit_button'], "submit"));
+$form->addElement($button_tray);
+
+
+// checks browser compatibility with the control
+function check_browser_can_use_spaw() {
+ $browser = $_SERVER['HTTP_USER_AGENT'] ;
+ // check if msie
+ if( eregi( "MSIE[^;]*" , $browser , $msie ) ) {
+ // get version
+ if( eregi( "[0-9]+\.[0-9]+" , $msie[0] , $version ) ) {
+ // check version
+ if( (float)$version[0] >= 5.5 ) {
+ // finally check if it's not opera impersonating ie
+ if( ! eregi( "opera" , $browser ) ) {
+ return true ;
+ }
+ }
+ }
+ }
+ return false ;
+}
+
+?>
\ No newline at end of file
Added: XoopsModules/newsslider/trunk/newsslider/admin/myblocksadmin.php
===================================================================
--- XoopsModules/newsslider/trunk/newsslider/admin/myblocksadmin.php (rev 0)
+++ XoopsModules/newsslider/trunk/newsslider/admin/myblocksadmin.php 2012-02-06 21:57:09 UTC (rev 8893)
@@ -0,0 +1,331 @@
+<?php
+// ------------------------------------------------------------------------- //
+// myblocksadmin.php //
+// - XOOPS block admin for each modules - //
+// GIJOE <http://www.peak.ne.jp/> //
+// ------------------------------------------------------------------------- //
+
+include_once( '../../../include/cp_header.php' ) ;
+
+if (strstr(XOOPS_VERSION, "XOOPS 2.2")) {
+ include 'myblocksadmin2.php' ;
+ exit ;
+}
+
+include_once( 'mygrouppermform.php' ) ;
+include_once( XOOPS_ROOT_PATH.'/class/xoopsblock.php' ) ;
+include_once "../include/gtickets.php" ;// GIJ
+
+$xoops_system_path = XOOPS_ROOT_PATH . '/modules/system' ;
+
+// language files
+$language = $xoopsConfig['language'] ;
+if( ! file_exists( "$xoops_system_path/language/$language/admin/blocksadmin.php") ) $language = 'english' ;
+
+// to prevent from notice that constants already defined
+$error_reporting_level = error_reporting( 0 ) ;
+include_once( "$xoops_system_path/constants.php" ) ;
+include_once( "$xoops_system_path/language/$language/admin.php" ) ;
+include_once( "$xoops_system_path/language/$language/admin/blocksadmin.php" ) ;
+
+error_reporting( $error_reporting_level ) ;
+
+$group_defs = file( "$xoops_system_path/language/$language/admin/groups.php" ) ;
+foreach( $group_defs as $def ) {
+ if( strstr( $def , '_AM_ACCESSRIGHTS' ) || strstr( $def , '_AM_ACTIVERIGHTS' ) ) eval( $def ) ;
+}
+// check $xoopsModule
+if( ! is_object( $xoopsModule ) ) redirect_header( XOOPS_URL.'/user.php' , 1 , _NOPERM ) ;
+
+// set target_module if specified by $_GET['dirname']
+$module_handler =& xoops_gethandler('module');
+if( ! empty( $_GET['dirname'] ) ) {
+ $target_module =& $module_handler->getByDirname($_GET['dirname']);
+}/* else if( ! empty( $_GET['mid'] ) ) {
+ $target_module =& $module_handler->get( intval( $_GET['mid'] ) );
+}*/
+
+if( ! empty( $target_module ) && is_object( $target_module ) ) {
+ // specified by dirname
+ $target_mid = $target_module->getVar( 'mid' ) ;
+ $target_mname = $target_module->getVar( 'name' ) . " " . sprintf( "(%2.2f)" , $target_module->getVar('version') / 100.0 ) ;
+ $query4redirect = '?dirname='.urlencode(strip_tags($_GET['dirname'])) ;
+} else if( isset( $_GET['mid'] ) && $_GET['mid'] == 0 || $xoopsModule->getVar('dirname') == 'blocksadmin' ) {
+ $target_mid = 0 ;
+ $target_mname = '' ;
+ $query4redirect = '?mid=0' ;
+} else {
+ $target_mid = $xoopsModule->getVar( 'mid' ) ;
+ $target_mname = $xoopsModule->getVar( 'name' ) ;
+ $query4redirect = '' ;
+}
+
+// check access right (needs system_admin of BLOCK)
+$sysperm_handler =& xoops_gethandler('groupperm');
+if (!$sysperm_handler->checkRight('system_admin', XOOPS_SYSTEM_BLOCK, $xoopsUser->getGroups())) redirect_header( XOOPS_URL.'/user.php' , 1 , _NOPERM ) ;
+
+// get blocks owned by the module (Imported from xoopsblock.php then modified)
+//$block_arr =& XoopsBlock::getByModule( $target_mid ) ;
+$db =& Database::getInstance();
+$sql = "SELECT * FROM ".$db->prefix("newblocks")." WHERE mid='$target_mid' ORDER BY visible DESC,side,weight";
+$result = $db->query($sql);
+$block_arr = array();
+while( $myrow = $db->fetchArray($result) ) {
+ $block_arr[] = new XoopsBlock($myrow);
+}
+
+function list_blocks() {
+ global $query4redirect , $block_arr , $xoopsGTicket ;
+
+ // cachetime options
+ $cachetimes = 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, '2592000' => _MONTH);
+
+ // displaying TH
+ echo "
+ <form action='admin.php' name='blockadmin' method='post'>
+ <table width='95%' class='outer' cellpadding='4' cellspacing='1'>
+ <tr valign='middle'>
+ <th>"._AM_TITLE."</th>
+ <th align='center' nowrap='nowrap'>"._AM_SIDE."<div style='font-size:smaller'>"._AM_LEFT."-"._AM_CENTER."-"._AM_RIGHT."</div></th>
+ <th align='center'>"._AM_WEIGHT."</th>
+ <th align='center'>"._AM_VISIBLEIN."</th>
+ <th align='center'>"._AM_BCACHETIME."</th>
+ <th align='right'>"._AM_ACTION."</th>
+ </tr>\n" ;
+
+ // blocks displaying loop
+ $class = 'even' ;
+ $block_configs = get_block_configs() ;
+ foreach( array_keys( $block_arr ) as $i ) {
+ $sseln = $ssel0 = $ssel1 = $ssel2 = $ssel3 = $ssel4 = $ssel5 = $ssel6 = $ssel7 = "";
+ $scoln = $scol0 = $scol1 = $scol2 = $scol3 = $scol4 = $ssel5 = $ssel6 = $ssel7 = "";
+
+ $weight = $block_arr[$i]->getVar("weight") ;
+ $title = $block_arr[$i]->getVar("title") ;
+ $name = $block_arr[$i]->getVar("name") ;
+ $bcachetime = $block_arr[$i]->getVar("bcachetime") ;
+ $bid = $block_arr[$i]->getVar("bid") ;
+
+ // visible and side
+ if ( $block_arr[$i]->getVar("visible") != 1 ) {
+ $sseln = " checked='checked'";
+ $scoln = "#FF9966";
+ } else switch( $block_arr[$i]->getVar("side") ) {
+ default :
+ case XOOPS_SIDEBLOCK_LEFT :
+ $ssel0 = " checked='checked'";
+ $scol0 = "#00FF00";
+ break ;
+ case XOOPS_SIDEBLOCK_RIGHT :
+ $ssel1 = " checked='checked'";
+ $scol1 = "#00FF00";
+ break ;
+ case XOOPS_CENTERBLOCK_LEFT :
+ $ssel2 = " checked='checked'";
+ $scol2 = "#00FF00";
+ break ;
+ case XOOPS_CENTERBLOCK_RIGHT :
+ $ssel4 = " checked='checked'";
+ $scol4 = "#00FF00";
+ break ;
+ case XOOPS_CENTERBLOCK_CENTER :
+ $ssel3 = " checked='checked'";
+ $scol3 = "#00FF00";
+ break ;
+ case XOOPS_CENTERBLOCK_BOTTOMLEFT :
+ $ssel5 = " checked='checked'";
+ $scol5 = "#00FF00";
+ break ;
+ case XOOPS_CENTERBLOCK_BOTTOMRIGHT :
+ $ssel6 = " checked='checked'";
+ $scol6 = "#00FF00";
+ break ;
+ case XOOPS_CENTERBLOCK_BOTTOM :
+ $ssel7 = " checked='checked'";
+ $scol7 = "#00FF00";
+ break ;
+ }
+
+ // bcachetime
+ $cachetime_options = '' ;
+ foreach( $cachetimes as $cachetime => $cachetime_name ) {
+ if( $bcachetime == $cachetime ) {
+ $cachetime_options .= "<option value='$cachetime' selected='selected'>$cachetime_name</option>\n" ;
+ } else {
+ $cachetime_options .= "<option value='$cachetime'>$cachetime_name</option>\n" ;
+ }
+ }
+
+ // target modules
+ $db =& Database::getInstance();
+ $result = $db->query( "SELECT module_id FROM ".$db->prefix('block_module_link')." WHERE block_id='$bid'" ) ;
+ $selected_mids = array();
+ while ( list( $selected_mid ) = $db->fetchRow( $result ) ) {
+ $selected_mids[] = intval( $selected_mid ) ;
+ }
+ $module_handler =& xoops_gethandler('module');
+ $criteria = new CriteriaCompo(new Criteria('hasmain', 1));
+ $criteria->add(new Criteria('isactive', 1));
+ $module_list =& $module_handler->getList($criteria);
+ $module_list[-1] = _AM_TOPPAGE;
+ $module_list[0] = _AM_ALLPAGES;
+ ksort($module_list);
+ $module_options = '' ;
+ foreach( $module_list as $mid => $mname ) {
+ if( in_array( $mid , $selected_mids ) ) {
+ $module_options .= "<option value='$mid' selected='selected'>$mname</option>\n" ;
+ } else {
+ $module_options .= "<option value='$mid'>$mname</option>\n" ;
+ }
+ }
+
+ // delete link if it is cloned block
+ if( $block_arr[$i]->getVar("block_type") == 'D' || $block_arr[$i]->getVar("block_type") == 'C' ) {
+ $delete_link = "<br /><a href='admin.php?fct=blocksadmin&op=delete&bid=$bid'>"._DELETE."</a>" ;
+ } else {
+ $delete_link = '' ;
+ }
+
+ // clone link if it is marked as cloneable block
+ // $modversion['blocks'][n]['can_clone']
+ if( $block_arr[$i]->getVar("block_type") == 'D' || $block_arr[$i]->getVar("block_type") == 'C' ) {
+ $can_clone = true ;
+ } else {
+ $can_clone = false ;
+ foreach( $block_configs as $bconf ) {
+ if( $block_arr[$i]->getVar("show_func") == $bconf['show_func'] && $block_arr[$i]->getVar("func_file") == $bconf['file'] && ( empty( $bconf['template'] ) || $block_arr[$i]->getVar("template") == $bconf['template'] ) ) {
+ if( ! empty( $bconf['can_clone'] ) ) $can_clone = true ;
+ }
+ }
+ }
+ if( $can_clone ) {
+ $clone_link = "<br /><a href='admin.php?fct=blocksadmin&op=clone&bid=$bid'>"._CLONE."</a>" ;
+ } else {
+ $clone_link = '' ;
+ }
+
+ // displaying part
+ echo "
+ <tr valign='middle'>
+ <td class='$class'>
+ $name
+ <br />
+ <input type='text' name='title[$bid]' value='$title' size='20' />
+ </td>
+ <td class='$class' align='center' nowrap='nowrap' width='125px'>
+ <div align='center' >
+ <input type='radio' name='side[$bid]' value='".XOOPS_CENTERBLOCK_LEFT."'$ssel2 />
+ <input type='radio' name='side[$bid]' value='".XOOPS_CENTERBLOCK_CENTER."'$ssel3 />
+ <input type='radio' name='side[$bid]' value='".XOOPS_CENTERBLOCK_RIGHT."'$ssel4 />
+ </div>
+ <div>
+ <span style='float:right'><input type='radio' name='side[$bid]' value='".XOOPS_SIDEBLOCK_RIGHT."'$ssel1 /></span>
+ <div align='left'><input type='radio' name='side[$bid]' value='".XOOPS_SIDEBLOCK_LEFT."'$ssel0 /></div>
+ </div>
+ <div align='center'>
+ <input type='radio' name='side[$bid]' value='".XOOPS_CENTERBLOCK_BOTTOMLEFT."'$ssel5 />
+ <input type='radio' name='side[$bid]' value='".XOOPS_CENTERBLOCK_BOTTOM."'$ssel7 />
+ <input type='radio' name='side[$bid]' value='".XOOPS_CENTERBLOCK_BOTTOMRIGHT."'$ssel6 />
+ </div>
+ <br />
+ <div style='float:left;width:30%;'> </div>
+ <div style='float:left;background-color:$scoln;'>
+ <input type='radio' name='side[$bid]' value='-1' $sseln />
+ </div>
+ <div style='float:left;'>"._NONE."</div>
+ </td>
+ <td class='$class' align='center'>
+ <input type='text' name=weight[$bid] value='$weight' size='3' maxlength='5' style='text-align:right;' />
+ </td>
+ <td class='$class' align='center'>
+ <select name='bmodule[$bid][]' size='5' multiple='multiple'>
+ $module_options
+ </select>
+ </td>
+ <td class='$class' align='center'>
+ <select name='bcachetime[$bid]' size='1'>
+ $cachetime_options
+ </select>
+ </td>
+ <td class='$class' align='right'>
+ <a href='admin.php?fct=blocksadmin&op=edit&bid=$bid'>"._EDIT."</a>{$delete_link}{$clone_link}
+ <input type='hidden' name='bid[$bid]' value='$bid' />
+ </td>
+ </tr>\n" ;
+
+ $class = ( $class == 'even' ) ? 'odd' : 'even' ;
+ }
+
+ echo "
+ <tr>
+ <td class='foot' align='center' colspan='6'>
+ <input type='hidden' name='query4redirect' value='$query4redirect' />
+ <input type='hidden' name='fct' value='blocksadmin' />
+ <input type='hidden' name='op' value='order' />
+ ".$xoopsGTicket->getTicketHtml( __LINE__ , 1800 , 'myblocksadmin' )."
+ <input type='submit' name='submit' value='"._SUBMIT."' />
+ </td>
+ </tr>
+ </table>
+ </form>\n" ;
+ echo "</div>";
+}
+
+
+function get_block_configs() {
+ $error_reporting_level = error_reporting( 0 ) ;
+ if( preg_match( '/^[.0-9a-zA-Z_-]+$/' , @$_GET['dirname'] ) ) {
+ include dirname(dirname(dirname(__FILE__))).'/'.$_GET['dirname'].'/xoops_version.php' ;
+ } else {
+ include '../xoops_version.php' ;
+ }
+ error_reporting( $error_reporting_level ) ;
+ if( empty( $modversion['blocks'] ) ) return array() ;
+ else return $modversion['blocks'] ;
+}
+
+
+function list_groups() {
+ global $target_mid , $target_mname , $block_arr ;
+ $item_list = array() ;
+ foreach( array_keys( $block_arr ) as $i ) {
+ $item_list[ $block_arr[$i]->getVar("bid") ] = $block_arr[$i]->getVar("title") ;
+ }
+
+ $form = new MyXoopsGroupPermForm( _MD_AM_ADGS , 1 , 'block_read' , '' ) ;
+ if( $target_mid > 1 ) {
+ $form->addAppendix( 'module_admin' , $target_mid , $target_mname . ' ' . _AM_ACTIVERIGHTS ) ;
+ $form->addAppendix( 'module_read' , $target_mid , $target_mname .' ' . _AM_ACCESSRIGHTS ) ;
+ }
+ foreach( $item_list as $item_id => $item_name) {
+ $form->addItem( $item_id , $item_name ) ;
+ }
+ echo $form->render() ;
+ echo "</div>";
+}
+
+
+
+if( ! empty( $_POST['submit'] ) ) {
+ if ( ! $xoopsGTicket->check( true , 'myblocksadmin' ) ) {
+ redirect_header(XOOPS_URL.'/',3,$xoopsGTicket->getErrors());
+ }
+
+ include( "mygroupperm.php" ) ;
+ redirect_header( XOOPS_URL."/modules/".$xoopsModule->dirname()."/admin/myblocksadmin.php$query4redirect" , 1 , _MD_AM_DBUPDATED );
+}
+
+xoops_cp_header() ;
+include_once XOOPS_ROOT_PATH."/modules/".$xoopsModule->dirname()."/admin/functions.php";
+nws_adminmenu (0, _AM_BADMIN);
+
+if( ! empty( $block_arr ) ) {
+ echo "<h4 style='text-align:left;'>$target_mname : "._AM_BADMIN."</h4>\n" ;
+ list_blocks() ;
+}
+
+list_groups() ;
+xoops_cp_footer() ;
+
+
+?>
Added: XoopsModules/newsslider/trunk/newsslider/admin/myblocksadmin2.php
===================================================================
--- XoopsModules/newsslider/trunk/newsslider/admin/myblocksadmin2.php (rev 0)
+++ XoopsModules/newsslider/trunk/newsslider/admin/myblocksadmin2.php 2012-02-06 21:57:09 UTC (rev 8893)
@@ -0,0 +1,348 @@
+<?php
+// ------------------------------------------------------------------------- //
+// myblocksadmin_for_2.2.php //
+// - XOOPS block admin for each modules - //
+// GIJOE <http://www.peak.ne.jp/> //
+// ------------------------------------------------------------------------- //
+
+if ( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;
+
+include_once( '../../../include/cp_header.php' ) ;
+
+include_once( 'mygrouppermform.php' ) ;
+include_once( XOOPS_ROOT_PATH.'/class/xoopsblock.php' ) ;
+include_once "../include/gtickets.php" ;
+
+$xoops_system_path = XOOPS_ROOT_PATH . '/modules/system' ;
+
+// language files
+$language = $xoopsConfig['language'] ;
+if ( ! file_exists( "$xoops_system_path/language/$language/admin/blocksadmin.php") ) $language = 'english' ;
+
+// to prevent from notice that constants already defined
+$error_reporting_level = error_reporting( 0 ) ;
+include_once( "$xoops_system_path/constants.php" ) ;
+include_once( "$xoops_system_path/language/$language/admin.php" ) ;
+include_once( "$xoops_system_path/language/$language/admin/blocksadmin.php" ) ;
+error_reporting( $error_reporting_level ) ;
+
+$group_defs = file( "$xoops_system_path/language/$language/admin/groups.php" ) ;
+foreach( $group_defs as $def ) {
+ if ( strstr( $def , '_AM_NWS_ACCESSRIGHTS' ) || strstr( $def , '_AM_NWS_ACTIVERIGHTS' ) ) eval( $def ) ;
+}
+
+
+// check $xoopsModule
+if ( ! is_object( $xoopsModule ) ) redirect_header( XOOPS_URL.'/user.php' , 1 , _NOPERM ) ;
+
+// set target_module if specified by $_GET['dirname']
+$module_handler =& xoops_gethandler('module');
+if ( ! empty( $_GET['dirname'] ) ) {
+ $target_module =& $module_handler->getByDirname($_GET['dirname']);
+}/* else if( ! empty( $_GET['mid'] ) ) {
+ $target_module =& $module_handler->get( intval( $_GET['mid'] ) );
+}*/
+
+if ( ! empty( $target_module ) && is_object( $target_module ) ) {
+ // specified by dirname
+ $target_mid = $target_module->getVar( 'mid' ) ;
+ $target_mname = $target_module->getVar( 'name' ) . " " . sprintf( "(%2.2f)" , $target_module->getVar('version') / 100.0 ) ;
+ $query4redirect = '?dirname='.urlencode(strip_tags($_GET['dirname'])) ;
+} else if ( isset( $_GET['mid'] ) && $_GET['mid'] == 0 || $xoopsModule->getVar('dirname') == 'blocksadmin' ) {
+ $target_mid = 0 ;
+ $target_mname = '' ;
+ $query4redirect = '?mid=0' ;
+} else {
+ $target_mid = $xoopsModule->getVar( 'mid' ) ;
+ $target_mname = $xoopsModule->getVar( 'name' ) ;
+ $query4redirect = '' ;
+}
+
+// check access right (needs system_admin of BLOCK)
+$sysperm_handler =& xoops_gethandler('groupperm');
+if (!$sysperm_handler->checkRight('system_admin', XOOPS_SYSTEM_BLOCK, $xoopsUser->getGroups())) redirect_header( XOOPS_URL.'/user.php' , 1 , _NOPERM ) ;
+
+// get blocks owned by the module (Imported from xoopsblock.php then modified)
+$db =& Database::getInstance();
+$sql = "SELECT bid,name,show_func,func_file,template FROM ".$db->prefix("newblocks")." WHERE mid='$target_mid'";
+$result = $db->query($sql);
+$block_arr = array();
+while ( list( $bid , $bname , $show_func , $func_file , $template ) = $db->fetchRow( $result ) ) {
+ $block_arr[$bid] = array(
+ 'name' => $bname ,
+ 'show_func' => $show_func ,
+ 'func_file' => $func_file ,
+ 'template' => $template
+ ) ;
+}
+
+
+// for 2.2
+function list_blockinstances() {
+ global $query4redirect , $block_arr , $xoopsGTicket ;
+
+ $myts =& MyTextSanitizer::getInstance() ;
+
+ // cachetime options
+ $cachetimes = 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, '2592000' => _MONTH);
+
+ // displaying TH
+ echo "
+ <form action='admin.php' name='blockadmin' method='post'>
+ <table width='95%' class='outer' cellpadding='4' cellspacing='1'>
+ <tr valign='middle'>
+ <th>"._AM_NWS_TITLE."</th>
+ <th align='center' nowrap='nowrap'>"._AM_NWS_SIDE."</th>
+ <th align='center'>"._AM_NWS_WEIGHT."</th>
+ <th align='center'>"._AM_NWS_VISIBLEIN."</th>
+ <th align='center'>"._AM_NWS_BCACHETIME."</th>
+ <th align='right'>"._AM_NWS_ACTION."</th>
+ </tr>\n" ;
+
+ // get block instances
+ $crit = new Criteria("bid", "(".implode(",",array_keys($block_arr)).")", "IN");
+ $criteria = new CriteriaCompo($crit);
+ $criteria->setSort('visible DESC, side ASC, weight');
+ $instance_handler =& xoops_gethandler('blockinstance');
+ $instances =& $instance_handler->getObjects($criteria, true, true);
+
+ //Get modules and pages for visible in
+ $module_list[_AM_SYSTEMLEVEL]["0-2"] = _AM_ADMINBLOCK;
+ $module_list[_AM_SYSTEMLEVEL]["0-1"] = _AM_NWS_TOPPAGE;
+ $module_list[_AM_SYSTEMLEVEL]["0-0"] = _AM_NWS_ALLPAGES;
+ $criteria = new CriteriaCompo(new Criteria('hasmain', 1));
+ $criteria->add(new Criteria('isactive', 1));
+ $module_handler =& xoops_gethandler('module');
+ $module_main =& $module_handler->getObjects($criteria, true, true);
+ if (count($module_main) > 0) {
+ foreach (array_keys($module_main) as $mid) {
+ $module_list[$module_main[$mid]->getVar('name')][$mid."-0"] = _AM_ALLMODULEPAGES;
+ $pages = $module_main[$mid]->getInfo("pages");
+ if ($pages == false) {
+ $pages = $module_main[$mid]->getInfo("sub");
+ }
+ if (is_array($pages) && $pages != array()) {
+ foreach ($pages as $id => $pageinfo) {
+ $module_list[$module_main[$mid]->getVar('name')][$mid."-".$id] = $pageinfo['name'];
+ }
+ }
+ }
+ }
+
+ // blocks displaying loop
+ $class = 'even' ;
+ $block_configs = get_block_configs() ;
+ foreach( array_keys( $instances ) as $i ) {
+ $sseln = $ssel0 = $ssel1 = $ssel2 = $ssel3 = $ssel4 = "";
+ $scoln = $scol0 = $scol1 = $scol2 = $scol3 = $scol4 = "#FFFFFF";
+
+ $weight = $instances[$i]->getVar("weight") ;
+ $title = $instances[$i]->getVar("title") ;
+ $bcachetime = $instances[$i]->getVar("bcachetime") ;
+ $bid = $instances[$i]->getVar("bid") ;
+ $name = $myts->makeTboxData4Edit( $block_arr[$bid]['name'] ) ;
+
+ $visiblein = $instances[$i]->getVisibleIn();
+
+ // visible and side
+ if ( $instances[$i]->getVar("visible") != 1 ) {
+ $sseln = " checked='checked'";
+ $scoln = "#FF0000";
+ } else switch ( $instances[$i]->getVar("side") ) {
+ default :
+ case XOOPS_SIDEBLOCK_LEFT :
+ $ssel0 = " checked='checked'";
+ $scol0 = "#00FF00";
+ break ;
+ case XOOPS_SIDEBLOCK_RIGHT :
+ $ssel1 = " checked='checked'";
+ $scol1 = "#00FF00";
+ break ;
+ case XOOPS_CENTERBLOCK_LEFT :
+ $ssel2 = " checked='checked'";
+ $scol2 = "#00FF00";
+ break ;
+ case XOOPS_CENTERBLOCK_RIGHT :
+ $ssel4 = " checked='checked'";
+ $scol4 = "#00FF00";
+ break ;
+ case XOOPS_CENTERBLOCK_CENTER :
+ $ssel3 = " checked='checked'";
+ $scol3 = "#00FF00";
+ break ;
+ }
+
+ // bcachetime
+ $cachetime_options = '' ;
+ foreach( $cachetimes as $cachetime => $cachetime_name ) {
+ if ( $bcachetime == $cachetime ) {
+ $cachetime_options .= "<option value='$cachetime' selected='selected'>$cachetime_name</option>\n" ;
+ } else {
+ $cachetime_options .= "<option value='$cachetime'>$cachetime_name</option>\n" ;
+ }
+ }
+
+ $module_options = '' ;
+ foreach( $module_list as $mname => $module ) {
+ $module_options .= "<optgroup label='$mname'>\n" ;
+ foreach( $module as $mkey => $mval ) {
+ if ( in_array( $mkey , $visiblein ) ) {
+ $module_options .= "<option value='$mkey' selected='selected'>$mval</option>\n" ;
+ } else {
+ $module_options .= "<option label='$mval' value='$mkey'>$mval</option>\n" ;
+ }
+ }
+ $module_options .= "</optgroup>\n" ;
+ }
+
+ // delete link if it is cloned block
+ $delete_link = "<br /><a href='".XOOPS_URL."/modules/system/admin.php?fct=blocksadmin&op=delete&id=$i&selmod=$mid'>"._DELETE."</a>" ;
+
+ // displaying part
+ echo "
+ <tr valign='middle'>
+ <td class='$class'>
+ $name
+ <br />
+ <input type='text' name='title[$i]' value='$title' size='20' />
+ </td>
+ <td class='$class' align='center' nowrap='nowrap' width='125px'>
+ <div style='float:left;background-color:$scol0;'>
+ <input type='radio' name='side[$i]' value='".XOOPS_SIDEBLOCK_LEFT."' style='background-color:$scol0;' $ssel0 />
+ </div>
+ <div style='float:left;'>-</div>
+ <div style='float:left;background-color:$scol2;'>
+ <input type='radio' name='side[$i]' value='".XOOPS_CENTERBLOCK_LEFT."' style='background-color:$scol2;' $ssel2 />
+ </div>
+ <div style='float:left;background-color:$scol3;'>
+ <input type='radio' name='side[$i]' value='".XOOPS_CENTERBLOCK_CENTER."' style='background-color:$scol3;' $ssel3 />
+ </div>
+ <div style='float:left;background-color:$scol4;'>
+ <input type='radio' name='side[$i]' value='".XOOPS_CENTERBLOCK_RIGHT."' style='background-color:$scol4;' $ssel4 />
+ </div>
+ <div style='float:left;'>-</div>
+ <div style='float:left;background-color:$scol1;'>
+ <input type='radio' name='side[$i]' value='".XOOPS_SIDEBLOCK_RIGHT."' style='background-color:$scol1;' $ssel1 />
+ </div>
+ <br />
+ <br />
+ <div style='float:left;width:40px;'> </div>
+ <div style='float:left;background-color:$scoln;'>
+ <input type='radio' name='side[$i]' value='-1' style='background-color:$scoln;' $sseln />
+ </div>
+ <div style='float:left;'>"._NONE."</div>
+ </td>
+ <td class='$class' align='center'>
+ <input type='text' name=weight[$i] value='$weight' size='3' maxlength='5' style='text-align:right;' />
+ </td>
+ <td class='$class' align='center'>
+ <select name='bmodule[$i][]' size='5' multiple='multiple'>
+ $module_options
+ </select>
+ </td>
+ <td class='$class' align='center'>
+ <select name='bcachetime[$i]' size='1'>
+ $cachetime_options
+ </select>
+ </td>
+ <td class='$class' align='right'>
+ <a href='".XOOPS_URL."/modules/system/admin.php?fct=blocksadmin&op=edit&id=$i'>"._EDIT."</a>{$delete_link}
+ <input type='hidden' name='id[$i]' value='$i' />
+ </td>
+ </tr>\n" ;
+
+ $class = ( $class == 'even' ) ? 'odd' : 'even' ;
+ }
+
+ // list block classes for add (not instances)
+ foreach( $block_arr as $bid => $block ) {
+
+ $description4show = '' ;
+ foreach( $block_configs as $bconf ) {
+ if ( $block['show_func'] == $bconf['show_func'] && $block['func_file'] == $bconf['file'] && ( empty( $bconf['template'] ) || $block['template'] == $bconf['template'] ) ) {
+ if ( ! empty( $bconf['description'] ) ) $description4show = $myts->makeTboxData4Show( $bconf['description'] ) ;
+ }
+ }
+
+ echo "
+ <tr>
+ <td class='$class' align='left'>
+ ".$myts->makeTboxData4Edit($block['name'])."
+ </td>
+ <td class='$class' align='left' colspan='4'>
+ $description4show
+ </td>
+ <td class='$class' align='center'>
+ <input type='submit' name='addblock[$bid]' value='"._ADD."' />
+ </td>
+ </tr>
+ \n" ;
+ $class = ( $class == 'even' ) ? 'odd' : 'even' ;
+ }
+
+ echo "
+ <tr>
+ <td class='foot' align='center' colspan='6'>
+ <input type='hidden' name='query4redirect' value='$query4redirect' />
+ <input type='hidden' name='fct' value='blocksadmin' />
+ <input type='hidden' name='op' value='order2' />
+ ".$xoopsGTicket->getTicketHtml( __LINE__ , 1800 , 'myblocksadmin' )."
+ <input type='submit' name='submit' value='"._SUBMIT."' />
+ </td>
+ </tr>
+ </table>
+ </form>\n" ;
+}
+
+
+// for 2.2
+function list_groups2() {
+ global $target_mid , $target_mname , $xoopsDB ;
+
+ $r...
[truncated message content] |
|
From: <dj...@us...> - 2012-02-06 14:52:02
|
Revision: 8892
http://xoops.svn.sourceforge.net/xoops/?rev=8892&view=rev
Author: djculex
Date: 2012-02-06 14:51:51 +0000 (Mon, 06 Feb 2012)
Log Message:
-----------
Standardising code
- Shorten lines to max 80 characters
- Renaming variables to fix /^[a-z_][a-zA-Z0-9]*$/
- Removing unused globals
- Indenting properly
Modified Paths:
--------------
XoopsModules/smallworld/trunk/smallworld/admin/about.php
XoopsModules/smallworld/trunk/smallworld/admin/admin_footer.php
XoopsModules/smallworld/trunk/smallworld/admin/admin_header.php
XoopsModules/smallworld/trunk/smallworld/admin/admintool.php
XoopsModules/smallworld/trunk/smallworld/admin/div_useradmin.php
XoopsModules/smallworld/trunk/smallworld/admin/help.php
XoopsModules/smallworld/trunk/smallworld/admin/index.php
XoopsModules/smallworld/trunk/smallworld/admin/main.php
XoopsModules/smallworld/trunk/smallworld/admin/menu.php
XoopsModules/smallworld/trunk/smallworld/admin/moduleinfo.php
XoopsModules/smallworld/trunk/smallworld/admin/useradmin.php
Removed Paths:
-------------
XoopsModules/smallworld/trunk/smallworld/admin/admin_header2.php
Modified: XoopsModules/smallworld/trunk/smallworld/admin/about.php
===================================================================
--- XoopsModules/smallworld/trunk/smallworld/admin/about.php 2012-02-06 14:06:57 UTC (rev 8891)
+++ XoopsModules/smallworld/trunk/smallworld/admin/about.php 2012-02-06 14:51:51 UTC (rev 8892)
@@ -1,30 +1,36 @@
<?php
/**
* You may not change or alter any portion of this comment or credits
-* of supporting developers from this source code or any supporting source code
-* which is considered copyrighted (c) material of the original comment or credit authors.
+* 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: http://www.fsf.org/copyleft/gpl.html GNU public license
-* @module: Smallworld
-* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...>
-* @copyright: 2011 Culex
-* @Repository path: $HeadURL$
-* @Last committed: $Revision$
-* @Last changed by: $Author$
-* @Last changed date: $Date$
-* @ID: $Id$
+* @copyright: The XOOPS Project http://sourceforge.net/projects/xoops/
+* @license: http://www.fsf.org/copyleft/gpl.html GNU public license
+* @packet: Modules
+* @sub-packet: Smallworld
+* @since: Xoops 2.5.4
+* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...>
+* @copyright: 2011 Culex
+* @Last committed: $Revision$
+* @Last changed by: $Author$
+* @Last changed date: $Date$
+* @ID: $Id$
**/
-
+
include_once dirname(__FILE__) . '/admin_header.php';
xoops_cp_header();
global $xoTheme;
-$xoTheme->addStylesheet(XOOPS_URL . '/modules/smallworld/css/SmallworldAdmin.css');
-$xoTheme->addScript(XOOPS_URL . '/modules/smallworld/js/adminsmallworld.js');
+$xoTheme->addStylesheet(
+ XOOPS_URL . '/modules/smallworld/css/SmallworldAdmin.css'
+);
+$xoTheme->addScript(
+ XOOPS_URL . '/modules/smallworld/js/adminsmallworld.js'
+);
$aboutAdmin = new ModuleAdmin();
Modified: XoopsModules/smallworld/trunk/smallworld/admin/admin_footer.php
===================================================================
--- XoopsModules/smallworld/trunk/smallworld/admin/admin_footer.php 2012-02-06 14:06:57 UTC (rev 8891)
+++ XoopsModules/smallworld/trunk/smallworld/admin/admin_footer.php 2012-02-06 14:51:51 UTC (rev 8892)
@@ -1,32 +1,36 @@
<?php
/**
* You may not change or alter any portion of this comment or credits
-* of supporting developers from this source code or any supporting source code
-* which is considered copyrighted (c) material of the original comment or credit authors.
+* 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: http://www.fsf.org/copyleft/gpl.html GNU public license
-* @module: Smallworld
-* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...>
-* @copyright: 2011 Culex
-* @Repository path: $HeadURL$
-* @Last committed: $Revision$
-* @Last changed by: $Author$
-* @Last changed date: $Date$
-* @ID: $Id$
+* @copyright: The XOOPS Project http://sourceforge.net/projects/xoops/
+* @license: http://www.fsf.org/copyleft/gpl.html GNU public license
+* @packet: Modules
+* @sub-packet: Smallworld
+* @since: Xoops 2.5.4
+* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...>
+* @copyright: 2011 Culex
+* @Last committed: $Revision$
+* @Last changed by: $Author$
+* @Last changed date: $Date$
+* @ID: $Id$
**/
echo "<div class='adminfooter'>\n"
- ." <div style='text-align: center;'>\n"
- ." <a href='http://www.xoops.org' target='_blank'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n"
- ." </div>\n"
- ." " . _AM_SMALLWORLD_FOOTER . "\n"
- ."</div>";
+ . " <div style='text-align: center;'>\n"
+ . " <a href='http://www.xoops.org' target='_blank'>"
+ . "<img src='" . $pathIconBig . "/xoopsmicrobutton.gif' "
+ . "alt='XOOPS' title='XOOPS'></a>\n"
+ . " </div>\n"
+ . " " . _AM_SMALLWORLD_FOOTER . "\n"
+ . "</div>";
-echo "<span style='margin: 27%; height: 50px; position: relative;'>"._AM_SMALLWORLD_SP."</span>";
+echo "<span style='margin: 27%; height: 50px; position: relative;'>"
+ . _AM_SMALLWORLD_SP."</span>";
-
xoops_cp_footer();
\ No newline at end of file
Modified: XoopsModules/smallworld/trunk/smallworld/admin/admin_header.php
===================================================================
--- XoopsModules/smallworld/trunk/smallworld/admin/admin_header.php 2012-02-06 14:06:57 UTC (rev 8891)
+++ XoopsModules/smallworld/trunk/smallworld/admin/admin_header.php 2012-02-06 14:51:51 UTC (rev 8892)
@@ -1,38 +1,41 @@
<?php
/**
* You may not change or alter any portion of this comment or credits
-* of supporting developers from this source code or any supporting source code
-* which is considered copyrighted (c) material of the original comment or credit authors.
+* 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: http://www.fsf.org/copyleft/gpl.html GNU public license
-* @module: Smallworld
-* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...>
-* @copyright: 2011 Culex
-* @Repository path: $HeadURL$
-* @Last committed: $Revision$
-* @Last changed by: $Author$
-* @Last changed date: $Date$
-* @ID: $Id$
+* @copyright: The XOOPS Project http://sourceforge.net/projects/xoops/
+* @license: http://www.fsf.org/copyleft/gpl.html GNU public license
+* @packet: Modules
+* @sub-packet: Smallworld
+* @since: Xoops 2.5.4
+* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...>
+* @copyright: 2011 Culex
+* @Last committed: $Revision$
+* @Last changed by: $Author$
+* @Last changed date: $Date$
+* @ID: $Id$
**/
$path = dirname(dirname(dirname(dirname(__FILE__))));
-include_once $path . '/mainfile.php';
-include_once $path . '/include/cp_functions.php';
-include_once $path . '/kernel/module.php';
+require_once $path . '/mainfile.php';
+require_once $path . '/include/cp_functions.php';
+require_once $path . '/kernel/module.php';
require_once $path . '/include/cp_header.php';
global $xoopsModule;
$pathModuleAdmin = $xoopsModule->getInfo('dirmoduleadmin');
-$pathIcon16 = '../' . $xoopsModule->getInfo('icons16');
-$pathIcon32 = '../' . $xoopsModule->getInfo('icons32');
+$pathIconSmall = '../' . $xoopsModule->getInfo('icons16');
+$pathIconBig = '../' . $xoopsModule->getInfo('icons32');
+$modAurl = '/Frameworks/moduleclasses/moduleadmin/moduleadmin.php';
-if (file_exists($GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'))) {
- include_once $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php');
+if (file_exists($GLOBALS['xoops']->path($modAurl))) {
+ require_once $GLOBALS['xoops']->path($modAurl);
} else {
redirect_header("../../../admin.php", 5, _AM_MODULEADMIN_MISSING, false);
}
Deleted: XoopsModules/smallworld/trunk/smallworld/admin/admin_header2.php
===================================================================
--- XoopsModules/smallworld/trunk/smallworld/admin/admin_header2.php 2012-02-06 14:06:57 UTC (rev 8891)
+++ XoopsModules/smallworld/trunk/smallworld/admin/admin_header2.php 2012-02-06 14:51:51 UTC (rev 8892)
@@ -1,44 +0,0 @@
-<?php
-/**
-* You may not change or alter any portion of this comment or credits
-* of supporting developers from this source code or any supporting source code
-* which is considered copyrighted (c) material of the original comment or credit authors.
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-*
-* @copyright: The XOOPS Project http://sourceforge.net/projects/xoops/
-* @license: http://www.fsf.org/copyleft/gpl.html GNU public license
-* @module: Smallworld
-* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...>
-* @copyright: 2011 Culex
-* @Repository path: $HeadURL$
-* @Last committed: $Revision$
-* @Last changed by: $Author$
-* @Last changed date: $Date$
-* @ID: $Id$
-**/
-
- include '../../../mainfile.php';
- include_once XOOPS_ROOT_PATH.'/class/xoopsmodule.php';
- include XOOPS_ROOT_PATH.'/include/cp_functions.php';
- if ( $xoopsUser ) {
- $xoopsModule = XoopsModule::getByDirname("smallworld");
-
- if ( !$xoopsUser->isAdmin($xoopsModule->mid()) ) {
- redirect_header(XOOPS_URL."/",2,_NOPERM);
- exit();
- }
- }
- else {
- redirect_header(XOOPS_URL."/",2,_NOPERM);
- exit();
- }
-
- if ( file_exists("../language/".$xoopsConfig['language']."/admin.php") ) {
- include("../language/".$xoopsConfig['language']."/admin.php");
- }
- else {
- include("../language/english/admin.php");
- }
-?>
\ No newline at end of file
Modified: XoopsModules/smallworld/trunk/smallworld/admin/admintool.php
===================================================================
--- XoopsModules/smallworld/trunk/smallworld/admin/admintool.php 2012-02-06 14:06:57 UTC (rev 8891)
+++ XoopsModules/smallworld/trunk/smallworld/admin/admintool.php 2012-02-06 14:51:51 UTC (rev 8892)
@@ -1,55 +1,68 @@
<?php
/**
* You may not change or alter any portion of this comment or credits
-* of supporting developers from this source code or any supporting source code
-* which is considered copyrighted (c) material of the original comment or credit authors.
+* 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: http://www.fsf.org/copyleft/gpl.html GNU public license
-* @module: Smallworld
-* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...>
-* @copyright: 2011 Culex
-* @Repository path: $HeadURL$
-* @Last committed: $Revision$
-* @Last changed by: $Author$
-* @Last changed date: $Date$
-* @ID: $Id$
+* @copyright: The XOOPS Project http://sourceforge.net/projects/xoops/
+* @license: http://www.fsf.org/copyleft/gpl.html GNU public license
+* @packet: Modules
+* @sub-packet: Smallworld
+* @since: Xoops 2.5.4
+* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...>
+* @copyright: 2011 Culex
+* @Last committed: $Revision$
+* @Last changed by: $Author$
+* @Last changed date: $Date$
+* @ID: $Id$
**/
+require_once(XOOPS_ROOT_PATH."/modules/smallworld/include/functions.php");
+require_once(XOOPS_ROOT_PATH."/modules/smallworld/class/class_collector.php");
require_once 'admin_header.php';
-global $xoopsDB, $xoTheme, $xoopsLogger ;
+global $xoopsDB, $xoopsLogger;
+
$xoopsLogger->activated = false;
-include_once(XOOPS_ROOT_PATH."/modules/smallworld/include/functions.php");
-include_once(XOOPS_ROOT_PATH."/modules/smallworld/class/class_collector.php");
if ($_POST['type'] == 'addtime') {
- $userid = intval($_POST['userid']);
- $amount = intval($_POST['amount']);
- $test = "SELECT * FROM ".$xoopsDB->prefix('smallworld_admin')." WHERE userid = '".$userid."' AND (inspect_start+inspect_stop) > ".time()."";
- $result = $xoopsDB->queryF($test);
- if ($xoopsDB->getRowsNum($result) < 1) {
- $sql = "UPDATE ".$xoopsDB->prefix('smallworld_admin')." SET inspect_start = '".time()."', inspect_stop = '".$amount."' WHERE userid='".$userid."'";
- $result = $xoopsDB->queryF($sql);
- } else {
- $sql = "UPDATE ".$xoopsDB->prefix('smallworld_admin')." SET inspect_stop = (inspect_stop + ".$amount.") WHERE userid='".$userid."'";
- $result = $xoopsDB->queryF($sql);
- }
-
+ $userid = intval($_POST['userid']);
+ $amount = intval($_POST['amount']);
+ $test = "SELECT * FROM "
+ . $xoopsDB->prefix('smallworld_admin')
+ . " WHERE userid = '".$userid
+ . "' AND (inspect_start+inspect_stop) > ".time()."";
+ $result = $xoopsDB->queryF($test);
+ if ($xoopsDB->getRowsNum($result) < 1) {
+ $sql = "UPDATE ".$xoopsDB->prefix('smallworld_admin')
+ . " SET inspect_start = '".time()
+ . "', inspect_stop = '".$amount
+ . "' WHERE userid='".$userid."'";
+ $result = $xoopsDB->queryF($sql);
+ } else {
+ $sql = "UPDATE ".$xoopsDB->prefix('smallworld_admin')
+ . " SET inspect_stop = (inspect_stop + "
+ . $amount.") WHERE userid='"
+ . $userid."'";
+ $result = $xoopsDB->queryF($sql);
+ }
+
}
if ($_POST['type'] == 'deletetime') {
- $sql = "UPDATE ".$xoopsDB->prefix('smallworld_admin')." SET inspect_start = '', inspect_stop = '' WHERE userid='".intval($_POST['deluserid'])."'";
- $result = $xoopsDB->queryF($sql);
+ $sql = "UPDATE ".$xoopsDB->prefix('smallworld_admin')
+ . " SET inspect_start = '', inspect_stop = '' WHERE userid='"
+ . intval($_POST['deluserid'])."'";
+ $result = $xoopsDB->queryF($sql);
}
if ($_POST['type'] == 'deleteUser') {
- $db = new SmallWorldDB;
-
- $userid = intval($_POST['deluserid']);
- $db->deleteAccount ($userid);
-
-}
-?>
\ No newline at end of file
+ $db = new SmallWorldDB;
+
+ $userid = intval($_POST['deluserid']);
+ $db->deleteAccount($userid);
+
+}
\ No newline at end of file
Modified: XoopsModules/smallworld/trunk/smallworld/admin/div_useradmin.php
===================================================================
--- XoopsModules/smallworld/trunk/smallworld/admin/div_useradmin.php 2012-02-06 14:06:57 UTC (rev 8891)
+++ XoopsModules/smallworld/trunk/smallworld/admin/div_useradmin.php 2012-02-06 14:51:51 UTC (rev 8892)
@@ -1,72 +1,86 @@
<?php
/**
* You may not change or alter any portion of this comment or credits
-* of supporting developers from this source code or any supporting source code
-* which is considered copyrighted (c) material of the original comment or credit authors.
+* 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: http://www.fsf.org/copyleft/gpl.html GNU public license
-* @module: Smallworld
-* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...>
-* @copyright: 2011 Culex
-* @Repository path: $HeadURL$
-* @Last committed: $Revision$
-* @Last changed by: $Author$
-* @Last changed date: $Date$
-* @ID: $Id$
+* @copyright: The XOOPS Project http://sourceforge.net/projects/xoops/
+* @license: http://www.fsf.org/copyleft/gpl.html GNU public license
+* @packet: Modules
+* @sub-packet: Smallworld
+* @since: Xoops 2.5.4
+* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...>
+* @copyright: 2011 Culex
+* @Last committed: $Revision$
+* @Last changed by: $Author$
+* @Last changed date: $Date$
+* @ID: $Id$
**/
require_once 'admin_header.php';
-global $xoopsDB, $xoTheme, $xoopsLogger ;
+require_once(XOOPS_ROOT_PATH."/modules/smallworld/include/functions.php");
+require_once(XOOPS_ROOT_PATH."/modules/smallworld/class/class_collector.php");
+global $xoopsLogger;
$xoopsLogger->activated = false;
-include_once(XOOPS_ROOT_PATH."/modules/smallworld/include/functions.php");
-include_once(XOOPS_ROOT_PATH."/modules/smallworld/class/class_collector.php");
-$Tpl = new XoopsTpl();
+$tpl = new XoopsTpl();
$admin = new SmallworldAdmin();
-$allusers_inspect = $admin->getAllUsers('yes');
- if (!empty($allusers_inspect)) {
- foreach ($allusers_inspect as $data) {
- $ai['id'] = $data['id'];
- $ai['userid'] = $data['userid'];
- $ai['username'] = $data['username'];
- $ai['realname'] = $data['realname'];
- $ai['userimage'] = smallworld_getAvatarLink ($data['userid'],$data['userimage']);
- $ai['avatar_size'] = getimagesize($ai['userimage']);
- $ai['avatar_highwide'] = smallworld_imageResize($ai['avatar_size'][0], $ai['avatar_size'][1], 50);
- $ai['ip'] = $data['ip'];
- $ai['complaint'] = $data['complaint'];
- $ai['inspect_start'] = $data['inspect_start'];
- $ai['inspect_stop'] = $data['inspect_stop'];
- $ai['userinspect_timetotal'] = ($data['inspect_start'] + $data['inspect_stop'])-time();
- $Tpl->append('allusersinspect', $ai);
- }
- }
- $Tpl->assign('allusersinspectcounter',count($ai));
+$allusersInspect = $admin->getAllUsers('yes');
+ if (!empty($allusersInspect)) {
+ foreach ($allusersInspect as $data) {
+ $ai['id'] = $data['id'];
+ $ai['userid'] = $data['userid'];
+ $ai['username'] = $data['username'];
+ $ai['realname'] = $data['realname'];
+ $ai['userimage'] = smallworld_getAvatarLink(
+ $data['userid'], $data['userimage']
+ );
+ $ai['avatar_size'] = getimagesize($ai['userimage']);
+ $ai['avatar_highwide'] = smallworld_imageResize(
+ $ai['avatar_size'][0], $ai['avatar_size'][1], 50
+ );
+ $ai['ip'] = $data['ip'];
+ $ai['complaint'] = $data['complaint'];
+ $ai['inspect_start'] = $data['inspect_start'];
+ $ai['inspect_stop'] = $data['inspect_stop'];
+ $ai['userinspect_timetotal'] = ($data['inspect_start'] +
+ $data['inspect_stop']) - time();
+ $tpl->append('allusersinspect', $ai);
+ }
+ }
+ $tpl->assign('allusersinspectcounter', count($ai));
-$allusers_noinspect = $admin->getAllUsers('no');
- if (!empty($allusers_noinspect)) {
- foreach ($allusers_noinspect as $data) {
- $ani['id'] = $data['id'];
- $ani['userid'] = $data['userid'];
- $ani['username'] = $data['username'];
- $ani['realname'] = $data['realname'];
- $ani['userimage'] = smallworld_getAvatarLink ($data['userid'],$data['userimage']);
- $ani['avatar_size'] = getimagesize($ani['userimage']);
- $ani['avatar_highwide'] = smallworld_imageResize($ani['avatar_size'][0], $ani['avatar_size'][1], 50);
- $ani['ip'] = $data['ip'];
- $ani['complaint'] = $data['complaint'];
- $ani['inspect_start'] = '';
- $ani['inspect_stop'] = '';
- $ani['userinspect_timetotal'] = '';
- $Tpl->append('allusersnoinspect', $ani);
- }
- }
- $Tpl->assign('allusersnoinspectcounter',count($ani));
+$allusersNoinspect = $admin->getAllUsers('no');
+ if (!empty($allusersNoinspect)) {
+ foreach ($allusersNoinspect as $data) {
+ $ani['id'] = $data['id'];
+ $ani['userid'] = $data['userid'];
+ $ani['username'] = $data['username'];
+ $ani['realname'] = $data['realname'];
+ $ani['userimage'] = smallworld_getAvatarLink(
+ $data['userid'], $data['userimage']
+ );
+ $ani['avatar_size'] = getimagesize($ani['userimage']);
+ $ani['avatar_highwide'] = smallworld_imageResize(
+ $ani['avatar_size'][0], $ani['avatar_size'][1], 50
+ );
+ $ani['ip'] = $data['ip'];
+ $ani['complaint'] = $data['complaint'];
+ $ani['inspect_start'] = '';
+ $ani['inspect_stop'] = '';
+ $ani['userinspect_timetotal'] = '';
+ $tpl->append('allusersnoinspect', $ani);
+ }
+ }
+ $tpl->assign('allusersnoinspectcounter', count($ani));
-$Tpl->display(XOOPS_ROOT_PATH .'/modules/smallworld/templates/smallworld_alluserstodiv.html');
-?>
\ No newline at end of file
+$tpl->display(
+ XOOPS_ROOT_PATH
+ . '/modules/smallworld/templates/'
+ . 'smallworld_alluserstodiv.html'
+);
\ No newline at end of file
Modified: XoopsModules/smallworld/trunk/smallworld/admin/help.php
===================================================================
--- XoopsModules/smallworld/trunk/smallworld/admin/help.php 2012-02-06 14:06:57 UTC (rev 8891)
+++ XoopsModules/smallworld/trunk/smallworld/admin/help.php 2012-02-06 14:51:51 UTC (rev 8892)
@@ -1,64 +1,121 @@
<?php
/**
* You may not change or alter any portion of this comment or credits
-* of supporting developers from this source code or any supporting source code
-* which is considered copyrighted (c) material of the original comment or credit authors.
+* 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: http://www.fsf.org/copyleft/gpl.html GNU public license
-* @module: Smallworld
-* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...>
-* @copyright: 2011 Culex
-* @Repository path: $HeadURL$
-* @Last committed: $Revision$
-* @Last changed by: $Author$
-* @Last changed date: $Date$
-* @ID: $Id$
+* @copyright: The XOOPS Project http://sourceforge.net/projects/xoops/
+* @license: http://www.fsf.org/copyleft/gpl.html GNU public license
+* @packet: Modules
+* @sub-packet: Smallworld
+* @since: Xoops 2.5.4
+* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...>
+* @copyright: 2011 Culex
+* @Last committed: $Revision$
+* @Last changed by: $Author$
+* @Last changed date: $Date$
+* @ID: $Id$
**/
require_once 'admin_header.php';
require_once '../../../include/cp_header.php';
-include_once(XOOPS_ROOT_PATH."/modules/smallworld/include/functions.php");
-include_once(XOOPS_ROOT_PATH."/modules/smallworld/class/class_collector.php");
-
+require_once(XOOPS_ROOT_PATH . "/modules/smallworld/include/functions.php");
+require_once(
+ XOOPS_ROOT_PATH . "/modules/smallworld/class/class_collector.php"
+);
require_once XOOPS_ROOT_PATH . '/class/template.php';
-if (!isset($xoopsTpl)) {$xoopsTpl = new XoopsTpl();}
-$xoopsTpl->xoops_setCaching(0);
+if (!isset($xoopsTpl)) {
+ $xoopsTpl = new XoopsTpl();
+}
+
+$xoopsTpl->caching = 0;
xoops_cp_header();
+global $xoTheme;
-$admin = new SmallworldAdmin();
-$tpl = new XoopsTpl();
+// template assignments
+
+ // help file from admin
+ $xoopsTpl->assign(
+ 'lang_hlp_requirements_t',
+ _AM_SMALLWORLD_HELP_HEADER_REQUIREMENTS
+ );
+
+ $xoopsTpl->assign(
+ 'lang_hlp_requirements',
+ _AM_SMALLWORLD_HELP_REQUIREMENTS
+ );
+
+ $xoopsTpl->assign(
+ 'lang_hlp_recommended_t',
+ _AM_SMALLWORLD_HELP_HEADER_RECOMMENDED
+ );
+
+ $xoopsTpl->assign(
+ 'lang_hlp_recommended',
+ _AM_SMALLWORLD_HELP_RECOMMENDED
+ );
+
+ $xoopsTpl->assign(
+ 'lang_hlp_installation_t',
+ _AM_SMALLWORLD_HELP_HEADER_INSTALLATION
+ );
+
+ $xoopsTpl->assign(
+ 'lang_hlp_firsttime',
+ _AM_SMALLWORLD_HELP_FIRSTTIMEINSTALL
+ );
+
+ $xoopsTpl->assign(
+ 'lang_hlp_hostedplatform_t',
+ _AM_SMALLWORLD_HELP_HEADER_HOSTED_PLATFORM
+ );
+
+ $xoopsTpl->assign(
+ 'lang_hlp_hostedplatform',
+ _AM_SMALLWORLD_HELP_HOSTED_PLATFORM
+ );
+
+ $xoopsTpl->assign(
+ 'lang_hlp_upgrading_t',
+ _AM_SMALLWORLD_HELP_HEADER_UPGRADING
+ );
+
+ $xoopsTpl->assign(
+ 'lang_hlp_upgrading',
+ _AM_SMALLWORLD_HELP_UPGRADING
+ );
+
-// template assignments
- $xoopsTpl->assign('lang_help',_AM_SMALLWORLD_HELP);
-
- // help file from admin
- $xoopsTpl->assign('lang_hlp_about',_AM_SMALLWORLD_HELP_ABOUT);
- $xoopsTpl->assign('lang_hlp_preface',_AM_SMALLWORLD_HELP_PREFACE);
- $xoopsTpl->assign('lang_hlp_requirements_t',_AM_SMALLWORLD_HELP_HEADER_REQUIREMENTS);
- $xoopsTpl->assign('lang_hlp_requirements',_AM_SMALLWORLD_HELP_REQUIREMENTS);
- $xoopsTpl->assign('lang_hlp_recommended_t',_AM_SMALLWORLD_HELP_HEADER_RECOMMENDED);
- $xoopsTpl->assign('lang_hlp_recommended',_AM_SMALLWORLD_HELP_RECOMMENDED);
- $xoopsTpl->assign('lang_hlp_installation_t',_AM_SMALLWORLD_HELP_HEADER_INSTALLATION);
- $xoopsTpl->assign('lang_hlp_firsttime',_AM_SMALLWORLD_HELP_FIRSTTIMEINSTALL);
- $xoopsTpl->assign('lang_hlp_hostedplatform_t',_AM_SMALLWORLD_HELP_HEADER_HOSTED_PLATFORM);
- $xoopsTpl->assign('lang_hlp_hostedplatform',_AM_SMALLWORLD_HELP_HOSTED_PLATFORM);
- $xoopsTpl->assign('lang_hlp_upgrading_t',_AM_SMALLWORLD_HELP_HEADER_UPGRADING);
- $xoopsTpl->assign('lang_hlp_upgrading',_AM_SMALLWORLD_HELP_UPGRADING);
- $xoopsTpl->assign('lang_hlp_faq_t',_AM_SMALLWORLD_HELP_HEADER_FAQ);
- $xoopsTpl->assign('lang_hlp_commen1_t',_AM_SMALLWORLD_HELP_HEADER_COMMENPROBLEMS1);
- $xoopsTpl->assign('lang_hlp_commen1',_AM_SMALLWORLD_HELP_COMMENPROBLEMS1);
- $xoopsTpl->assign('lang_hlp_contacts_t',_AM_SMALLWORLD_HELP_HEADER_CONTACTS);
- $xoopsTpl->assign('lang_hlp_otherhelp',_AM_SMALLWORLD_HELP_OTHERHELP);
-
- $xoopsTpl->display(XOOPS_ROOT_PATH .'/modules/smallworld/templates/admin_help.html');
-
- global $xoTheme;
- $xoTheme->addStyleSheet('modules/smallworld/css/SmallworldAdmin.css');
-
-xoops_cp_footer();
-?>
+ $xoopsTpl->assign(
+ 'lang_hlp_commen1_t',
+ _AM_SMALLWORLD_HELP_HEADER_COMMENPROBLEMS1
+ );
+
+ $xoopsTpl->assign(
+ 'lang_hlp_commen1',
+ _AM_SMALLWORLD_HELP_COMMENPROBLEMS1
+ );
+
+ $xoopsTpl->assign(
+ 'lang_hlp_contacts_t',
+ _AM_SMALLWORLD_HELP_HEADER_CONTACTS
+ );
+
+ $xoopsTpl->assign('lang_help', _AM_SMALLWORLD_HELP);
+ $xoopsTpl->assign('lang_hlp_about', _AM_SMALLWORLD_HELP_ABOUT);
+ $xoopsTpl->assign('lang_hlp_preface', _AM_SMALLWORLD_HELP_PREFACE);
+ $xoopsTpl->assign('lang_hlp_faq_t', _AM_SMALLWORLD_HELP_HEADER_FAQ);
+ $xoopsTpl->assign('lang_hlp_otherhelp', _AM_SMALLWORLD_HELP_OTHERHELP);
+
+ $xoTheme->addStyleSheet('modules/smallworld/css/SmallworldAdmin.css');
+
+ $xoopsTpl->display(
+ XOOPS_ROOT_PATH .'/modules/smallworld/templates/admin_help.html'
+ );
+
+xoops_cp_footer();
\ No newline at end of file
Modified: XoopsModules/smallworld/trunk/smallworld/admin/index.php
===================================================================
--- XoopsModules/smallworld/trunk/smallworld/admin/index.php 2012-02-06 14:06:57 UTC (rev 8891)
+++ XoopsModules/smallworld/trunk/smallworld/admin/index.php 2012-02-06 14:51:51 UTC (rev 8892)
@@ -1,201 +1,331 @@
<?php
/**
* You may not change or alter any portion of this comment or credits
-* of supporting developers from this source code or any supporting source code
-* which is considered copyrighted (c) material of the original comment or credit authors.
+* 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: http://www.fsf.org/copyleft/gpl.html GNU public license
-* @module: Smallworld
-* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...>
-* @copyright: 2011 Culex
-* @Repository path: $HeadURL$
-* @Last committed: $Revision$
-* @Last changed by: $Author$
-* @Last changed date: $Date$
-* @ID: $Id$
+* @copyright: The XOOPS Project http://sourceforge.net/projects/xoops/
+* @license: http://www.fsf.org/copyleft/gpl.html GNU public license
+* @packet: Modules
+* @sub-packet: Smallworld
+* @since: Xoops 2.5.4
+* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...>
+* @copyright: 2011 Culex
+* @Last committed: $Revision$
+* @Last changed by: $Author$
+* @Last changed date: $Date$
+* @ID: $Id$
**/
+require_once dirname(__FILE__) . '/admin_header.php';
-//require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/include/cp_header.php';
-include_once dirname(__FILE__) . '/admin_header.php';
-
xoops_cp_header();
-global $xoTheme;
-$xoTheme->addStylesheet(XOOPS_URL . '/modules/smallworld/css/SmallworldAdmin.css');
-$xoTheme->addScript(XOOPS_URL . '/modules/smallworld/js/adminsmallworld.js');
+global $xoTheme;
+
+$xoTheme->addStylesheet(
+ XOOPS_URL . '/modules/smallworld/css/SmallworldAdmin.css'
+);
+$xoTheme->addScript(
+ XOOPS_URL . '/modules/smallworld/js/adminsmallworld.js'
+);
- $indexAdmin = new ModuleAdmin();
-
-
+$indexAdmin = new ModuleAdmin();
$admin = new SmallworldAdmin();
// Find oldest message and apply to template
$dfm = $admin->oldestMsg();
-if ($dfm==0) {
- $dfm = _AM_SMALLWORLD_NONEYET;
+if ($dfm == 0) {
+ $dfm = _AM_SMALLWORLD_NONEYET;
} else {
- $dfm = date(_SHORTDATESTRING, $admin->oldestMsg());
+ $dfm = date(_SHORTDATESTRING, $admin->oldestMsg());
}
$dateoffirstmessage = $dfm;
// Get days number
$totaldays = $admin->CountDays();
+
// get average messages per day
-$avgperday = $admin->AvgMsgDay ($totaldays);
+$avgperday = $admin->AvgMsgDay($totaldays);
+
// Smallworld version number
-$installversion = $admin->ModuleInstallVersion ();
+$installversion = $admin->ModuleInstallVersion();
+
// Smallworld install date
-$installdate = $admin->ModuleInstallDate ();
-//check current version of Smallworld, return desc,link,version if new available
-$installCheck = $admin->doCheckUpdate ();
+$installdate = $admin->ModuleInstallDate();
+
+// check current version of Smallworld,
+// return desc,link,version if new available
+$installCheck = $admin->doCheckUpdate();
+
// Count members using Smallworld
-$sumallusers = $admin->TotalUsers ();
+$sumallusers = $admin->TotalUsers();
+
// Find list of most active users (total)
$maAllround = $admin->mostactiveusers_allround();
- $ma_cnt = 0;
- if (!empty($maAllround)) {
- $count = count($maAllround['cnt']);
- } else {
- $count=0;
- }
- $mat_cnt = 0;
- if ($count != 0) {
- $ma_cnt = 1;
- $ma = "<table class='smallworldadmin'><tr>";
- $ma .= "<td><b>"._AM_SMALLWORLD_STATS_POS."</b></td><td><b>"._AM_SMALLWORLD_STATS_IMG."</b></td><td><b>"._AM_SMALLWORLD_STATS_AMOUNT."</b></td><td><b>"._AM_SMALLWORLD_STATS_NAME."</b></td></tr>";
- $i = 1;
- while ($i < count($maAllround)-1) {
- $ma .= vsprintf('<tr><td>%s</td>',array($maAllround['counter'][$i]));
- $ma .= vsprintf('<td>%s</td>',array($maAllround['img'][$i]));
- $ma .= vsprintf('<td>%s</td>',array($maAllround['cnt'][$i]));
- $ma .= vsprintf('<td>%s</td></tr>',array($maAllround['from'][$i]));
- $i++;
- }
- $ma .= "</tr></table>";
- } else {
- $maAllround = 0;
- }
+$maCnt = 0;
+if (!empty($maAllround)) {
+ $count = count($maAllround['cnt']);
+} else {
+ $count = 0;
+}
+$matCnt = 0;
+if ($count != 0) {
+ $maCnt = 1;
+ $ma = "<table class='smallworldadmin'><tr>";
+ $ma .= "<td><b>"._AM_SMALLWORLD_STATS_POS."</b></td>"
+ . "<td><b>"._AM_SMALLWORLD_STATS_IMG."</b></td>"
+ . "<td><b>"._AM_SMALLWORLD_STATS_AMOUNT."</b></td>"
+ . "<td><b>"._AM_SMALLWORLD_STATS_NAME."</b></td>"
+ . "</tr>";
+ $i = 1;
+ $maAllroundCount = count($maAllround) - 1;
+ while ($i < $maAllroundCount) {
+ $ma .= vsprintf(
+ '<tr><td>%s</td>', array($maAllround['counter'][$i])
+ );
+ $ma .= vsprintf(
+ '<td>%s</td>', array($maAllround['img'][$i])
+ );
+ $ma .= vsprintf(
+ '<td>%s</td>', array($maAllround['cnt'][$i])
+ );
+ $ma .= vsprintf(
+ '<td>%s</td></tr>', array($maAllround['from'][$i])
+ );
+ $i++;
+ }
+ $ma .= "</tr></table>";
+} else {
+ $maAllround = 0;
+}
+
// Find list of most active users (24 hours)
$maToday = $admin->mostactiveusers_today();
- if (!empty($maToday)) {
- $count = count($maToday['cnt']);
- } else {
- $count=0;
- }
- $mat_cnt = 0;
- if ($count != 0) {
- $mat_cnt = 1;
- $mat = "<table class='smallworldadmin'><tr>";
- $mat .= "<td><b>"._AM_SMALLWORLD_STATS_POS."</b></td><td><b>"._AM_SMALLWORLD_STATS_IMG."</b></td><td><b>"._AM_SMALLWORLD_STATS_AMOUNT."</b></td><td><b>"._AM_SMALLWORLD_STATS_NAME."</b></td></tr>";
- $i = 1;
- while ($i <= count(array($maToday))) {
- $mat .= vsprintf('<tr><td>%s</td>',array($maToday['counter'][$i]));
- $mat .= vsprintf('<td>%s</td>',array($maToday['img'][$i]));
- $mat .= vsprintf('<td>%s</td>',array($maToday['cnt'][$i]));
- $mat .= vsprintf('<td>%s</td></tr>',array($maToday['from'][$i]));
- $i++;
- }
- $mat .= "</tr></table>";
- } else {
- $mat = 0;
- }
+if (!empty($maToday)) {
+ $count = count($maToday['cnt']);
+} else {
+ $count = 0;
+}
+$matCnt = 0;
+if ($count != 0) {
+ $matCnt = 1;
+ $mat = "<table class='smallworldadmin'><tr>";
+ $mat .= "<td><b>"._AM_SMALLWORLD_STATS_POS."</b></td>"
+ . "<td><b>"._AM_SMALLWORLD_STATS_IMG."</b></td>"
+ . "<td><b>"._AM_SMALLWORLD_STATS_AMOUNT."</b></td>"
+ . "<td><b>"._AM_SMALLWORLD_STATS_NAME."</b></td></tr>";
+ $i = 1;
+ $matodayCount = count(array($maToday));
+ while ($i <= $matodayCount) {
+ $mat .= vsprintf(
+ '<tr><td>%s</td>', array($maToday['counter'][$i])
+ );
+ $mat .= vsprintf(
+ '<td>%s</td>', array($maToday['img'][$i])
+ );
+ $mat .= vsprintf(
+ '<td>%s</td>', array($maToday['cnt'][$i])
+ );
+ $mat .= vsprintf(
+ '<td>%s</td></tr>', array($maToday['from'][$i])
+ );
+ $i++;
+ }
+ $mat .= "</tr></table>";
+} else {
+ $mat = 0;
+}
+
// FInd list of best rated users overall
$topusers = $admin->topratedusers('up');
- if (!empty($topusers)){
- $count = count($topusers['cnt']);
- } else {
- $count = 0;
- }
- $top_cnt = 0;
- if ($count != 0) {
- $top_cnt = 1;
- $top = "<table class='smallworldadmin'><tr>";
- $top .= "<td><b>"._AM_SMALLWORLD_STATS_POS."</b></td><td><b>"._AM_SMALLWORLD_STATS_IMG."</b></td><td><b>"._AM_SMALLWORLD_STATS_AMOUNT."</b></td><td><b>"._AM_SMALLWORLD_STATS_NAME."</b></td></tr>";
- $i = 1;
- while ($i <= $count) {
- $top .= vsprintf('<tr><td>%s</td>',array($topusers['counter'][$i]));
- $top .= vsprintf('<td>%s</td>',array($topusers['img'][$i]));
- $top .= vsprintf('<td>%s</td>',array($topusers['cnt'][$i]));
- $top .= vsprintf('<td>%s</td></tr>',array($topusers['user'][$i]));
- $i++;
- }
- $top .= "</tr></table>";
- } else {
- $top = 0;
- }
+if (!empty($topusers)) {
+ $count = count($topusers['cnt']);
+} else {
+ $count = 0;
+}
+$topCnt = 0;
+if ($count != 0) {
+ $topCnt = 1;
+ $top = "<table class='smallworldadmin'><tr>";
+ $top .= "<td><b>"._AM_SMALLWORLD_STATS_POS."</b></td>"
+ . "<td><b>"._AM_SMALLWORLD_STATS_IMG."</b></td>"
+ . "<td><b>"._AM_SMALLWORLD_STATS_AMOUNT."</b></td>"
+ . "<td><b>"._AM_SMALLWORLD_STATS_NAME."</b></td></tr>";
+ $i = 1;
+ while ($i <= $count) {
+ $top .= vsprintf(
+ '<tr><td>%s</td>', array($topusers['counter'][$i])
+ );
+ $top .= vsprintf(
+ '<td>%s</td>', array($topusers['img'][$i])
+ );
+ $top .= vsprintf(
+ '<td>%s</td>', array($topusers['cnt'][$i])
+ );
+ $top .= vsprintf(
+ '<td>%s</td></tr>', array($topusers['user'][$i])
+ );
+ $i++;
+ }
+ $top .= "</tr></table>";
+} else {
+ $top = 0;
+}
// FInd list of worst rated users overall
$lowusers = $admin->topratedusers('down');
- $low_cnt = 0;
- if (!empty($lowusers)) {
- $count = count($lowusers['cnt']);
- } else {
- $count=0;
- }
- if ($count != 0) {
- $low_cnt = 1;
- $low = "<table class='smallworldadmin'><tr>";
- $low .= "<td><b>"._AM_SMALLWORLD_STATS_POS."</b></td><td><b>"._AM_SMALLWORLD_STATS_IMG."</b></td><td><b>"._AM_SMALLWORLD_STATS_AMOUNT."</b></td><td><b>"._AM_SMALLWORLD_STATS_NAME."</b></td></tr>";
- $i = 1;
- while ($i <= $count) {
- $low .= vsprintf('<tr><td>%s</td>',array($lowusers['counter'][$i]));
- $low .= vsprintf('<td>%s</td>',array($lowusers['img'][$i]));
- $low .= vsprintf('<td>%s</td>',array($lowusers['cnt'][$i]));
- $low .= vsprintf('<td>%s</td></tr>',array($lowusers['user'][$i]));
- $i++;
- }
- $low .= "</tr></table>";
- } else {
- $low = 0;
- }
+$lowCnt = 0;
+if (!empty($lowusers)) {
+ $count = count($lowusers['cnt']);
+} else {
+ $count = 0;
+}
+if ($count != 0) {
+ $lowCnt = 1;
+ $low = "<table class='smallworldadmin'><tr>";
+ $low .= "<td><b>"._AM_SMALLWORLD_STATS_POS."</b></td>"
+ . "<td><b>"._AM_SMALLWORLD_STATS_IMG."</b></td>"
+ . "<td><b>"._AM_SMALLWORLD_STATS_AMOUNT."</b></td>"
+ . "<td><b>"._AM_SMALLWORLD_STATS_NAME."</b></td></tr>";
+ $i = 1;
+ while ($i <= $count) {
+ $low .= vsprintf(
+ '<tr><td>%s</td>', array($lowusers['counter'][$i])
+ );
+ $low .= vsprintf(
+ '<td>%s</td>', array($lowusers['img'][$i])
+ );
+ $low .= vsprintf(
+ '<td>%s</td>', array($lowusers['cnt'][$i])
+ );
+ $low .= vsprintf(
+ '<td>%s</td></tr>', array($lowusers['user'][$i])
+ );
+ $i++;
+ }
+ $low .= "</tr></table>";
+} else {
+ $low = 0;
+}
-//-----------------------
-
// template assignments
- $xoopsTpl->assign('lang_moduleinfo', _AM_SMALLWORLD_MODULEINFO);
- $xoopsTpl->assign('lang_installversion', _AM_SMALLWORLD_MODULEINSTALL);
- $xoopsTpl->assign('lang_installversion_status', _AM_SMALLWORLD_UPDATE_STATUS);
- $xoopsTpl->assign('lang_installdate', _AM_SMALLWORLD_INSTALLDATE);
+$xoopsTpl->assign('lang_moduleinfo', _AM_SMALLWORLD_MODULEINFO);
+$xoopsTpl->assign('lang_installversion', _AM_SMALLWORLD_MODULEINSTALL);
- //$xoopsTpl->assign('installversion', $installversion);
- //$xoopsTpl->assign('installdate', $installdate);
- //$xoopsTpl->assign('installversion_status',$installCheck);
- //$xoopsTpl->display(XOOPS_ROOT_PATH .'/modules/smallworld/templates/admin_moduleinfo.html');
-//-----------------------
-
+$xoopsTpl->assign(
+ 'lang_installversion_status',
+ _AM_SMALLWORLD_UPDATE_STATUS
+);
+$xoopsTpl->assign(
+ 'lang_installdate',
+ _AM_SMALLWORLD_INSTALLDATE
+);
+
+// AdminModule assignments
$indexAdmin->addInfoBox(_AM_SMALLWORLD_MODULEINFO);
-$indexAdmin->addInfoBoxLine(_AM_SMALLWORLD_MODULEINFO, "<class='smallworldadmin'>"._AM_SMALLWORLD_MODULEINSTALL." : %s</br>",$installversion,'Green','default');
-$indexAdmin->addInfoBoxLine(_AM_SMALLWORLD_MODULEINFO, "<class='smallworldadmin'>"._AM_SMALLWORLD_INSTALLDATE.": %s",$installdate,'Green','default');
-$indexAdmin->addInfoBoxLine(_AM_SMALLWORLD_MODULEINFO, "<class='smallworldadmin'>"."%s",$installCheck,'Green','default');
-
$indexAdmin->addInfoBox(_AM_SMALLWORLD_USERSTATS);
-$indexAdmin->addInfoBoxLine( _AM_SMALLWORLD_USERSTATS, "<class='smallworldadmin'>"._AM_SMALLWORLD_DATEOFFIRSTMESSAGE." : %s</br>",$dateoffirstmessage,'Green','default');
-$indexAdmin->addInfoBoxLine( _AM_SMALLWORLD_USERSTATS, "<class='smallworldadmin'>"._AM_SMALLWORLD_TOTALUSERS." : %s</br>",$sumallusers, 'Red','default');
+$indexAdmin->addInfoBoxLine(
+ _AM_SMALLWORLD_MODULEINFO,
+ "<class='smallworldadmin'>"._AM_SMALLWORLD_MODULEINSTALL." : %s</br>",
+ $installversion,
+ 'Green',
+ 'default'
+);
+
+$indexAdmin->addInfoBoxLine(
+ _AM_SMALLWORLD_MODULEINFO,
+ "<class='smallworldadmin'>"._AM_SMALLWORLD_INSTALLDATE.": %s",
+ $installdate,
+ 'Green',
+ 'default'
+);
+
+$indexAdmin->addInfoBoxLine(
+ _AM_SMALLWORLD_MODULEINFO,
+ "<class='smallworldadmin'>"."%s",
+ $installCheck,
+ 'Green',
+ 'default'
+);
+
+$indexAdmin->addInfoBoxLine(
+ _AM_SMALLWORLD_USERSTATS,
+ "<class='smallworldadmin'>"
+ . _AM_SMALLWORLD_DATEOFFIRSTMESSAGE." : %s</br>",
+ $dateoffirstmessage,
+ 'Green',
+ 'default'
+);
+
+$indexAdmin->addInfoBoxLine(
+ _AM_SMALLWORLD_USERSTATS,
+ "<class='smallworldadmin'>"
+ . _AM_SMALLWORLD_TOTALUSERS." : %s</br>",
+ $sumallusers,
+ 'Red',
+ 'default'
+);
+
if ($avgperday > 0) {
- $indexAdmin->addInfoBoxLine( _AM_SMALLWORLD_USERSTATS, "<class='smallworldadmin'>"._AM_SMALLWORLD_AVERAGEMSGPERDAY." : %s</br>", $avgperday, 'Red','default');
+ $indexAdmin->addInfoBoxLine(
+ _AM_SMALLWORLD_USERSTATS,
+ "<class='smallworldadmin'>"
+ . _AM_SMALLWORLD_AVERAGEMSGPERDAY." : %s</br>",
+ $avgperday,
+ 'Red',
+ 'default'
+ );
}
-if ($mat_cnt != 0 ) {
- $indexAdmin->addInfoBoxLine( _AM_SMALLWORLD_USERSTATS, "<p class='smallworldadmin'>"._AM_SMALLWORLD_TOPCHATTERS_TODAY." : %s</p>", $mat, 'Red','default');
+if ($matCnt != 0) {
+ $indexAdmin->addInfoBoxLine(
+ _AM_SMALLWORLD_USERSTATS,
+ "<p class='smallworldadmin'>"
+ . _AM_SMALLWORLD_TOPCHATTERS_TODAY." : %s</p>",
+ $mat,
+ 'Red',
+ 'default'
+ );
}
-if ($ma_cnt != 0 ) {
- $indexAdmin->addInfoBoxLine( _AM_SMALLWORLD_USERSTATS, "<p class='smallworldadmin'>"._AM_SMALLWORLD_TOPCHATTERS." : %s</p>", $ma, 'Red','default');
+if ($maCnt != 0) {
+ $indexAdmin->addInfoBoxLine(
+ _AM_SMALLWORLD_USERSTATS,
+ "<p class='smallworldadmin'>"
+ . _AM_SMALLWORLD_TOPCHATTERS." : %s</p>",
+ $ma,
+ 'Red',
+ 'default'
+ );
}
-if ($top_cnt != 0 ) {
- $indexAdmin->addInfoBoxLine( _AM_SMALLWORLD_USERSTATS, "<p class='smallworldadmin'>"._AM_SMALLWORLD_TOPRATEDUSERS." : %s</p>", $top, 'Red','default');
+
+if ($topCnt != 0) {
+ $indexAdmin->addInfoBoxLine(
+ _AM_SMALLWORLD_USERSTATS,
+ "<p class='smallworldadmin'>"
+ . _AM_SMALLWORLD_TOPRATEDUSERS." : %s</p>",
+ $top,
+ 'Red',
+ 'default'
+ );
}
-if ($low_cnt != 0 ) {
-$indexAdmin->addInfoBoxLine( _AM_SMALLWORLD_USERSTATS, "<p class='smallworldadmin'>"._AM_SMALLWORLD_BOTTOMRATEDUSERS." : %s</p>", $low, 'Red','default');
+if ($lowCnt != 0) {
+ $indexAdmin->addInfoBoxLine(
+ _AM_SMALLWORLD_USERSTATS,
+ "<p class='smallworldadmin'>"
+ . _AM_SMALLWORLD_BOTTOMRATEDUSERS." : %s</p>",
+ $low,
+ 'Red',
+ 'default'
+ );
}
- echo $indexAdmin->addNavigation('index.php');
- echo $indexAdmin->renderIndex();
-include "admin_footer.php";
-?>
\ No newline at end of file
+echo $indexAdmin->addNavigation('index.php');
+echo $indexAdmin->renderIndex();
+require_once "admin_footer.php";
\ No newline at end of file
Modified: XoopsModules/smallworld/trunk/smallworld/admin/main.php
===================================================================
--- XoopsModules/smallworld/trunk/smallworld/admin/main.php 2012-02-06 14:06:57 UTC (rev 8891)
+++ XoopsModules/smallworld/trunk/smallworld/admin/main.php 2012-02-06 14:51:51 UTC (rev 8892)
@@ -1,60 +1,61 @@
<?php
/**
* You may not change or alter any portion of this comment or credits
-* of supporting developers from this source code or any supporting source code
-* which is considered copyrighted (c) material of the original comment or credit authors.
+* 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: http://www.fsf.org/copyleft/gpl.html GNU public license
-* @module: Smallworld
-* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...>
-* @copyright: 2011 Culex
-* @Repository path: $HeadURL$
-* @Last committed: $Revision$
-* @Last changed by: $Author$
-* @Last changed date: $Date$
-* @ID: $Id$
+* @copyright: The XOOPS Project http://sourceforge.net/projects/xoops/
+* @license: http://www.fsf.org/copyleft/gpl.html GNU public license
+* @packet: Modules
+* @sub-packet: Smallworld
+* @since: Xoops 2.5.4
+* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...>
+* @copyright: 2011 Culex
+* @Last committed: $Revision$
+* @Last changed by: $Author$
+* @Last changed date: $Date$
+* @ID: $Id$
**/
require_once 'admin_header.php';
require_once '../../../include/cp_header.php';
-include_once(XOOPS_ROOT_PATH."/modules/smallworld/include/functions.php");
-include_once(XOOPS_ROOT_PATH."/modules/smallworld/class/class_collector.php");
-
+require_once XOOPS_ROOT_PATH . "/modules/smallworld/include/functions.php";
+require_once XOOPS_ROOT_PATH
+ . "/modules/smallworld/class/class_collector.php";
require_once XOOPS_ROOT_PATH . '/class/template.php';
-if (!isset($xoopsTpl)) {$xoopsTpl = new XoopsTpl();}
-$xoopsTpl->xoops_setCaching(0);
+global $xoopsConfig, $xoTheme, $xoopsModule;
+if (!isset($xoopsTpl)) {
+ $xoopsTpl = new XoopsTpl();
+}
+$xoopsTpl->caching = 0;
+
xoops_cp_header();
-if (isset($_POST['xim_admin_message'])) {$_POST['xim_admin_message'] = '';}
-
-$admin = new SmallworldAdmin();
-$tpl = new XoopsTpl();
-
$ai = array();
$ani = array();
// --------------- First tab in admin ---------------
// Find oldest message and apply to template
-$dateoffirstmessage = date('d-m-Y H:i:s',$admin->oldestMsg());
+$dateoffirstmessage = date('d-m-Y H:i:s', $admin->oldestMsg());
// Get days number
$totaldays = $admin->CountDays();
// get average messages per day
-$avgperday = $admin->AvgMsgDay ($totaldays);
+$avgperday = $admin->AvgMsgDay($totaldays);
// XIM version number
-$installversion = $admin->ModuleInstallVersion ();
+$installversion = $admin->ModuleInstallVersion();
// XIM install date
-$installdate = $admin->ModuleInstallDate ();
+$installdate = $admin->ModuleInstallDate();
//check current version of XIM, return desc,link,version if new available
-$installCheck = $admin->doCheckUpdate ();
+$installCheck = $admin->doCheckUpdate();
// Count members using XIM
-$sumallusers = $admin->TotalUsers ();
+$sumallusers = $admin->TotalUsers();
// Find list of most active users (total)
$admin->mostactiveusers_allround();
// Find list of most active users (24 hours)
@@ -66,122 +67,196 @@
// FInd list of worst rated users overall
$admin->topratedusers('down');
-$allusers_inspect = $admin->getAllUsers('yes');
- if (!empty($allusers_inspect)) {
- foreach ($allusers_inspect as $data) {
- $ai['id'] = $data['id'];
- $ai['userid'] = $data['userid'];
- $ai['username'] = $data['username'];
- $ai['realname'] = $data['realname'];
- $ai['userimage'] = smallworld_getAvatarLink ($data['userid'],$data['userimage']);
- $ai['avatar_size'] = getimagesize($ai['userimage']);
- $ai['avatar_highwide'] = smallworld_imageResize($ai['avatar_size'][0], $ai['avatar_size'][1], 50);
- $ai['ip'] = $data['ip'];
- $ai['complaint'] = $data['complaint'];
- $ai['inspect_start'] = $data['inspect_start'];
- $ai['inspect_stop'] = $data['inspect_stop'];
- $ai['userinspect_timetotal'] = ($data['inspect_start'] + $data['inspect_stop'])-time();
- $xoopsTpl->append('allusersinspect', $ai);
- }
- }
- $xoopsTpl->assign('allusersinspectcounter',count($ai));
+$allusersInspect = $admin->getAllUsers('yes');
+if (!empty($allusersInspect)) {
+ foreach ($allusersInspect as $data) {
+ $ai['id'] = $data['id'];
+ $ai['userid'] = $data['userid'];
+ $ai['username'] = $data['username'];
+ $ai['realname'] = $data['realname'];
+ $ai['userimage'] = smallworld_getAvatarLink(
+ $data['userid'], $data['userimage']
+ );
+ $ai['avatar_size'] = getimagesize($ai['userimage']);
+ $ai['avatar_highwide'] = smallworld_imageResize(
+ $ai['avatar_size'][0], $ai['avatar_size'][1], 50
+ );
+ $ai['ip'] = $data['ip'];
+ $ai['complaint'] = $data['complaint'];
+ $ai['inspect_start'] = $data['inspect_start'];
+ $ai['inspect_stop'] = $data['inspect_stop'];
+ $ai['userinspect_timetotal'] = ($data['inspect_start'] +
+ $data['inspect_stop']) - time();
+ $xoopsTpl->append('allusersinspect', $ai);
+ }
+}
+$xoopsTpl->assign('allusersinspectcounter', count($ai));
-$allusers_noinspect = $admin->getAllUsers('no');
- if (!empty($allusers_noinspect)) {
- foreach ($allusers_noinspect as $data) {
- $ani['id'] = $data['id'];
- $ani['userid'] = $data['userid'];
- $ani['username'] = $data['username'];
- $ani['realname'] = $data['realname'];
- $ani['userimage'] = smallworld_getAvatarLink ($data['userid'],$data['userimage']);
- $ani['avatar_size'] = getimagesize($ani['userimage']);
- $ani['avatar_highwide'] = smallworld_imageResize($ani['avatar_size'][0], $ani['avatar_size'][1], 50);
- $ani['ip'] = $data['ip'];
- $ani['complaint'] = $data['complaint'];
- $ani['inspect_start'] = '';
- $ani['inspect_stop'] = '';
- $ani['userinspect_timetotal'] = '';
- $xoopsTpl->append('allusersnoinspect', $ani);
- }
- }
- $xoopsTpl->assign('allusersnoinspectcounter',count($ani));
+$allusersNoinspect = $admin->getAllUsers('no');
+if (!empty($allusersNoinspect)) {
+ foreach ($allusersNoinspect as $data) {
+ $ani['id'] = $data['id'];
+ $ani['userid'] = $data['userid'];
+ $ani['username'] = $data['username'];
+ $ani['realname'] = $data['realname'];
+ $ani['userimage'] = smallworld_getAvatarLink(
+ $data['userid'], $data['userimage']
+ );
+ $ani['avatar_size'] = getimagesize($ani['userimage']);
+ $ani['avatar_highwide'] = smallworld_imageResize(
+ $ani['avatar_size'][0], $ani['avatar_size'][1], 50
+ );
+ $ani['ip'] = $data['ip'];
+ $ani['complaint'] = $data['complaint'];
+ $ani['inspect_start'] = '';
+ $ani['inspect_stop'] = '';
+ $ani['userinspect_timetotal'] = '';
+ $xoopsTpl->append('allusersnoinspect', $ani);
+ }
+}
+$xoopsTpl->assign('allusersnoinspectcounter', count($ani));
// ---------------- end of tabs ---------------- //
// template assignments
- // tab titles
- $xoopsTpl->assign('lang_statistics', _AM_SMALLWORLD_STATISTICS_TITLE);
- $xoopsTpl->assign('lang_moduleinfo', _AM_SMALLWORLD_MODULEINFO);
- $xoopsTpl->assign('lang_userstats', _AM_SMALLWORLD_USERSTATS);
- $xoopsTpl->assign('lang_installversion', _AM_SMALLWORLD_MODULEINSTALL);
- $xoopsTpl->assign('lang_installversion_status', _AM_SMALLWORLD_UPDATE_STATUS);
- $xoopsTpl->assign('lang_installdate', _AM_SMALLWORLD_INSTALLDATE);
- $xoopsTpl->assign('lang_dateoffirstmessage', _AM_SMALLWORLD_DATEOFFIRSTMESSAGE);
- $xoopsTpl->assign('lang_totalusers', _AM_SMALLWORLD_TOTALUSERS);
- $xoopsTpl->assign('lang_averagemsgperday', _AM_SMALLWORLD_AVERAGEMSGPERDAY);
- $xoopsTpl->assign('lang_topchatters',_AM_SMALLWORLD_TOPCHATTERS);
- $xoopsTpl->assign('lang_topchatterstoday',_AM_SMALLWORLD_TOPCHATTERS_TODAY);
- $xoopsTpl->assign('lang_toprated',_AM_SMALLWORLD_TOPRATEDUSERS);
- $xoopsTpl->assign('lang_bottomrated',_AM_SMALLWORLD_BOTTOMRATEDUSERS);
- $xoopsTpl->assign('lang_useradmin',_AM_SMALLWORLD_USERADMIN_TITLE);
- $xoopsTpl->assign('lang_help',_AM_SMALLWORLD_HELP);
- $xoopsTpl->assign('lang_prefs',_MI_SYSTEM_ADMENU6);
- $xoopsTpl->assign('lang_prefslink',"<a href='../../system/admin.php?fct=preferences&op=showmod&mod=".$xoopsModule ->getVar('mid')."'>"._MI_SYSTEM_ADMENU6."</a>");
-
- // help file from admin
- $xoopsTpl->assign('lang_hlp_about',_AM_SMALLWORLD_HELP_ABOUT);
- $xoopsTpl->assign('lang_hlp_preface',_AM_SMALLWORLD_HELP_PREFACE);
- $xoopsTpl->assign('lang_hlp_requirements_t',_AM_SMALLWORLD_HELP_HEADER_REQUIREMENTS);
- $xoopsTpl->assign('lang_hlp_requirements',_AM_SMALLWORLD_HELP_REQUIREMENTS);
- $xoopsTpl->assign('lang_hlp_recommended_t',_AM_SMALLWORLD_HELP_HEADER_RECOMMENDED);
- $xoopsTpl->assign('lang_hlp_recommended',_AM_SMALLWORLD_HELP_RECOMMENDED);
- $xoopsTpl->assign('lang_hlp_installation_t',_AM_SMALLWORLD_HELP_HEADER_INSTALLATION);
- $xoopsTpl->assign('lang_hlp_firsttime',_AM_SMALLWORLD_HELP_FIRSTTIMEINSTALL);
- $xoopsTpl->assign('lang_hlp_hostedplatform_t',_AM_SMALLWORLD_HELP_HEADER_HOSTED_PLATFORM);
- $xoopsTpl->assign('lang_hlp_hostedplatform',_AM_SMALLWORLD_HELP_HOSTED_PLATFORM);
- $xoopsTpl->assign('lang_hlp_upgrading_t',_AM_SMALLWORLD_HELP_HEADER_UPGRADING);
- $xoopsTpl->assign('lang_hlp_upgrading',_AM_SMALLWORLD_HELP_UPGRADING);
- $xoopsTpl->assign('lang_hlp_faq_t',_AM_SMALLWORLD_HELP_HEADER_FAQ);
- $xoopsTpl->assign('lang_hlp_commen1_t',_AM_SMALLWORLD_HELP_HEADER_COMMENPROBLEMS1);
- $xoopsTpl->assign('lang_hlp_commen1',_AM_SMALLWORLD_HELP_COMMENPROBLEMS1);
- $xoopsTpl->assign('lang_hlp_contacts_t',_AM_SMALLWORLD_HELP_HEADER_CONTACTS);
- $xoopsTpl->assign('lang_hlp_otherhelp',_AM_SMALLWORLD_HELP_OTHERHELP);
- $xoopsTpl->assign('installversion', $installversion);
- $xoopsTpl->assign('installdate', $installdate);
- $xoopsTpl->assign('installversion_status',$installCheck);
- $xoopsTpl->assign('dateoffirstmessage', $dateoffirstmessage);
- $xoopsTpl->assign('totalusers', $sumallusers);
- $xoopsTpl->assign('averagemsgperday', $avgperday);
- $xoopsTpl->display('db:smallworld_admin.html');
-
- global $xoTheme;
- //Check Language
- $lang = $xoopsConfig['language'];
- // GET various variables from language folder
- if ( file_exists(XOOPS_ROOT_PATH.'/modules/smallworld/language/js/'.$lang.'/variables.js')) {
- $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/language/'.$lang.'/js/variables.js');
- } else {
- $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/language/english/js/variables.js');
- }
-
-$adminscript= <<<SCRIPT
- var smallworld_url="XOOPS_URL/modules/smallworld/";
- var $ = jQuery();
+$xoopsTpl->assign('lang_statistics', _AM_SMALLWORLD_STATISTICS_TITLE);
+$xoopsTpl->assign('lang_moduleinfo', _AM_SMALLWORLD_MODULEINFO);
+$xoopsTpl->assign('lang_userstats', _AM_SMALLWORLD_USERSTATS);
+$xoopsTpl->assign('lang_installversion', _AM_SMALLWORLD_MODULEINSTALL);
+$xoopsTpl->assign('lang_installdate', _AM_SMALLWORLD_INSTALLDATE);
+$xoopsTpl->assign('lang_totalusers', _AM_SMALLWORLD_TOTALUSERS);
+$xoopsTpl->assign('lang_topchatters', _AM_SMALLWORLD_TOPCHATTERS);
+$xoopsTpl->assign('lang_toprated', _AM_SMALLWORLD_TOPRATEDUSERS);
+$xoopsTpl->assign('lang_bottomrated', _AM_SMALLWORLD_BOTTOMRATEDUSERS);
+$xoopsTpl->assign('lang_useradmin', _AM_SMALLWORLD_USERADMIN_TITLE);
+$xoopsTpl->assign('lang_help', _AM_SMALLWORLD_HELP);
+$xoopsTpl->assign('lang_prefs', _MI_SYSTEM_ADMENU6);
+$xoopsTpl->assign('lang_installversion_status', _AM_SMALLWORLD_UPDATE_STATUS);
+$xoopsTpl->assign('lang_averagemsgperday', _AM_SMALLWORLD_AVERAGEMSGPERDAY);
+$xoopsTpl->assign('lang_topchatterstoday', _AM_SMALLWORLD_TOPCHATTERS_TODAY);
+
+// help file from admin
+$xoopsTpl->assign('lang_hlp_about', _AM_SMALLWORLD_HELP_ABOUT);
+$xoopsTpl->assign('lang_hlp_preface', _AM_SMALLWORLD_HELP_PREFACE);
+$xoopsTpl->assign('lang_hlp_requirements', _AM_SMALLWORLD_HELP_REQUIREMENTS);
+$xoopsTpl->assign('lang_hlp_recommended', _AM_SMALLWORLD_HELP_RECOMMENDED);
+$xoopsTpl->assign('lang_hlp_firsttime', _AM_SMALLWORLD_HELP_FIRSTTIMEINSTALL);
+$xoopsTpl->assign('lang_hlp_upgrading', _AM_SMALLWORLD_HELP_UPGRADING);
+$xoopsTpl->assign('lang_hlp_faq_t', _AM_SMALLWORLD_HELP_HEADER_FAQ);
+$xoopsTpl->assign('lang_hlp_commen1', _AM_SMALLWORLD_HELP_COMMENPROBLEMS1);
+$xoopsTpl->assign('lang_hlp_contacts_t', _AM_SMALLWORLD_HELP_HEADER_CONTACTS);
+$xoopsTpl->assign('lang_hlp_otherhelp', _AM_SMALLWORLD_HELP_OTHERHELP);
+$xoopsTpl->assign('installversion', $installversion);
+$xoopsTpl->assign('installdate', $installdate);
+$xoopsTpl->assign('installversion_status', $installCheck);
+$xoopsTpl->assign('dateoffirstmessage', $dateoffirstmessage);
+$xoopsTpl->assign('totalusers', $sumallusers);
+$xoopsTpl->assign('averagemsgperday', $avgperday);
+
+$xoopsTpl->assign(
+ 'lang_hlp_upgrading_t',
+ _AM_SMALLWORLD_HELP_HEADER_UPGRADING
+);
+
+$xoopsTpl->assign(
+ 'lang_dateoffirstmessage',
+ _AM_SMALLWORLD_DATEOFFIRSTMESSAGE
+);
+
+$xoopsTpl->assign(
+ 'lang_hlp_hostedplatform_t',
+ _AM_SMALLWORLD_HELP_HEADER_HOSTED_PLATFORM
+);
+
+$xoopsTpl->assign(
+ 'lang_hlp_installation_t',
+ _AM_SMALLWORLD_HELP_HEADER_INSTALLATION
+);
+
+$xoopsTpl->assign(
+ 'lang_hlp_requirements_t',
+ _AM_SMALLWORLD_HELP_HEADER_REQUIREMENTS
+);
+
+$xoopsTpl->assign(
+ 'lang_hlp_recommended_t',
+ _AM_SMALLWORLD_HELP_HEADER_RECOMMENDED
+);
+
+$xoopsTpl->assign(
+ 'lang_hlp_commen1_t',
+ _AM_SMALLWORLD_HELP_HEADER_COMMENPROBLEMS1
+);
+
+$xoopsTpl->assign(
+ 'lang_hlp_hostedplatform',
+ _AM_SMALLWORLD_HELP_HOSTED_PLATFORM
+);
+
+$xoopsTpl->assign(
+ 'lang_prefslink',
+ "<a href='../../system/admin.php?fct=preferences&op=showmod&mod="
+ . $xoopsModule->getVar('mid') . "'>"
+ . _MI_SYSTEM_ADMENU6 . "</a>"
+);
+
+$xoopsTpl->display('db:smallworld_admin.html');
+
+//Check Language
+$lang = $xoopsConfig['language'];
+
+// GET various variables from language folder
+if (file_exists(
+ XOOPS_ROOT_PATH
+ . '/modules/smallworld/language/js/'. $lang . '/variable...
[truncated message content] |
|
From: <txm...@us...> - 2012-02-06 14:07:20
|
Revision: 8891
http://xoops.svn.sourceforge.net/xoops/?rev=8891&view=rev
Author: txmodxoops
Date: 2012-02-06 14:06:57 +0000 (Mon, 06 Feb 2012)
Log Message:
-----------
Updated revision
Minor Revision
Added Files donations.php, language/italian/main.php
Revision Files
Added Paths:
-----------
XoopsModules/moduleclasses/branches/timgno/
XoopsModules/moduleclasses/branches/timgno/moduleclasses/
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/1day.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/ASC.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/DESC.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/access.list.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/attach.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/close12.gif
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/current.bans.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/delete.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/document_analysis.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/document_edit.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/document_export.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/document_import.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/document_traslate.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/down.gif
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/down.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/download.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/edit.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/edit_champs.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/editchamps.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/editcopy.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/editcut.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/editpaste.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/film.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/flowplayer.mimetypes.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/flowplayer.video.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/forum.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/green.gif
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/green_ball.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/green_off.gif
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/grey_ball.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/index.html
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/inserttable.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/lawsuit.category.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/lawsuit.dashboard.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/lawsuit.edit.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/lawsuit.elements.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/lawsuit.list.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/lawsuit.pages.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/lawsuit.permissions.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/lawsuit.reports.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/lawsuit.validation.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/lightblue_ball.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/lightgreen_ball.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/mail_delete.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/mail_forward.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/mail_generic.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/mail_new.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/mail_notread.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/mail_read.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/mail_replay.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/myalbum.admission.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/myalbum.batch.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/myalbum.export.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/myalbum.import.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/myalbum.index.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/myalbum.permissions.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/myalbum.photomanager.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/myalbum.redothumbs.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/off.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/on.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/open12.gif
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/orange_ball.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/pdf.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/pdficon_small.gif
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/pixel.gif
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/printer.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/red.gif
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/red_ball.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/red_off.gif
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/rss.gif
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/search.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/speedtest.results.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/topic.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/translate_makefile.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/uitabs.items.list.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/uitabs.items.new.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/uitabs.tabs.list.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/uitabs.tabs.new.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/up.gif
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/vod.cart.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/vod.category.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/vod.currency.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/vod.log.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/vod.mimetypes.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/vod.useragents.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/vod.video.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/wflinks.blockadmin.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/wflinks.brokenlink.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/wflinks.category.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/wflinks.index.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/wflinks.indexpage.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/wflinks.linkload.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/wflinks.permissions.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/wflinks.upload.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/wflinks.votedata.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/xforum.block.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/xforum.category.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/xforum.digest.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/xforum.field.permissions.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/xforum.fields.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/xforum.forum.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/xforum.permissions.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/xforum.prune.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/xforum.reorder.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/xforum.report.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/xforum.sync.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/xforum.vote.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/xoopspoll.add.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/xoopspoll.dashboard.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/xoopspoll.list.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/xortify.log.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/xpayment.discounts.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/xpayment.gateways.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/xpayment.groups.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/xpayment.invoices.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/xpayment.permissions.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/xpayment.taxes.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/xpayment.transactions.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16/yellow_ball.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/16x16.zip
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/16 colors.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/1downarrow.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/1leftarrow.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/1rightarrow.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/1uparrow.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/256 colors.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/2downarrow.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/2leftarrow.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/2rightarrow.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/2uparrow.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/3d bar chart.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/3d chart.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/3d graph.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/3floppy_mount.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/3floppy_unmount.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/5floppy_mount.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/5floppy_unmount.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/About.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Add Appointment.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Add Green Button.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Add To Favorite.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Add folder.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Add.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Angle.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Apply.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Appointment Cool.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Appointment Urgent.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Arc.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Arrow.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Attach.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Audio CD.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Audio Document.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Back.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Backup Green Button.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Bandwidth.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Bitmap editor.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Blue Ball.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Brightness.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Brush.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/CD.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/CMYK.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Camera.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Cancel Red Button.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Cancel.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Chart xy.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Check boxes.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Circle.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Clear Green Button.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Clear.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Clipboard.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Close file.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Close folder.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Close.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Coffe.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Coffee.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Coherence.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Color balance.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Color filter.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Color layers.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Color palette.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Color profile.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Color test.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Color.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Comment.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Contrast.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Copy.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Create.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Critical details.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Curve points.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Curve.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Cut.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Danger.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Decrease time.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Delete frame.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Delete frames.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Delete.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Designer.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Desktop.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Diagram.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Discussion.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Document.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Donate.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Down.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Download image.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Download.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Dropper.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/E-mail.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Edit page.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Edit text.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Edit.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Eject Blue Button.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Ellipse.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Equipment.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Erase.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Eraser.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Error.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Exit.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Export To Audio Document.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Export To Document.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Export To Movie Document.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Export To Picture Document.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Favorite.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Favourites.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Feather.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/File exetension.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Fill.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Find.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Fine brush.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Flip horizontally.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Flip vertically.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Flip.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Flow block.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Flower.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Folder.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Form.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Forward Mail.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Forward.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Frames.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Fullscreen.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Funnel.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Gear Alt.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Gear.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Get Document.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Get Info Blue Button.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Get Info Purple Button.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Get Mail.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Go down.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Go up.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Gpadient.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Graphic designer.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Graphic file.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Graphic tools.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Green Ball.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Grey Ball.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Grid.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/HSL.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/HSV.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Help Blue Button.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Help Purple Button.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Help book.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Help.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Hexagon.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Hide.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Hint.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Hints.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/History.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Home.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Homepage.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Ico.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Icon wizard.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Import Audio Document.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Import Document.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Import Movie Document.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Import Picture Document.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Increase time.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Index.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Info.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Internet History.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Key.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Knife.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/LAB color model.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Layers.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Left-right.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Left.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Line.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/List.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Lock color.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Lock transparency.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Lock.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Magic hat.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Mail.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Measure.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Menu Item.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Menu.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Microsoft flag.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Minus Green Button.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Minus Red Button.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Monitor.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Monitors.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Mouse pointer.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Mouse.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Move.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Movie CD.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Movie Document.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Movie.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Mr. Bomb.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Network.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/New Document.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/New Mail.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/New clip art.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/New file.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/New frame.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/New frame1.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/New image.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/New imagelist.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/New video.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/No.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Objects.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Ok.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Open colors.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Open file.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Open v2.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Open.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Orange Ball.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Paint over pixels.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Painter.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Pantone.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Paste.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Pause All.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Pause Blue Button.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Pause Green Button.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Pause.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Pen.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Pencil.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Pick color.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Picture CD.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Picture Document.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Picture.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Pie chart.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Pin.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Pinion.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Pixel editor.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Pixels.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Play All.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Play Blue Button.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Play Green Button.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Play.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Plugin Green Button.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Preview.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Print.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Problem.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Properties.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Purple Ball.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/RGB.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Record Button.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Record Red Button.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Red Ball.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Red book.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Red eye removing.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Redo.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Refresh.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Registration.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Registry.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Remove Appointment.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Remove Document.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Remove.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Rename Document.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Rename.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Replace pixels.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Resize image.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Restangle.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Revert.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Right.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Rotate CCW.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Rotate CW.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Rotate left.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Rotate right.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Rotation.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Rounded rectangle.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Run.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Save as.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Save color.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Save data.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Save image.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Save picture.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Save.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Scan film.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Scan image.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Scanner.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Scenario.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Script.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Search computer.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Search folder.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Search online.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Search text.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Search.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Select gpadient.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Selection.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Send Document.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Send Mail.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Settings.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Sharpness.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Show.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Sizes.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Smiley Blue.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Smiley Sad Blue.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Smiley Sad.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Smiley Star Pink.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Smiley Star Sad.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Smiley Star.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Smiley.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Smooth line.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Smooth.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Spell checking.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Spiral.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Spotlight Blue Button.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Spray.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Square.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Star.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Stop All.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Stop Green Button.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Stop Red Button.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Stop playing.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Stop.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Synchronize.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Tag.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Target.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Target1.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Terminal.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Test line.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Text color.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Text replace.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Text tool.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Time.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Tip of the day.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/To do list.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Tools.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Touch.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Transfer Document.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Transfer.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Transparency.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Transparent background.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Transparent color.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Trash Empty.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Trash Full.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Triangle.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/True color.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Undo.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Units.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Universal Binary.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Unlock.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Unread Mail Alt.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Unread Mail.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Up-down.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Up.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Upload image.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/User.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Users.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Wait.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Warning.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Web Browser.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Web designer.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Webcam.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Wide brush.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Wizard.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Work area.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Write Document.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Writing pencil.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Wrong.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/YUV color space.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Yellow Ball.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Yes.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Zoom auto.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Zoom in.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Zoom out.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/Zoom.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/about_kde.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/access.list.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/access.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/access_key.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/access_soft.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/account.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/acroread.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/adddatabase.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/addlink.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/addmodule.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/addtable.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/administration.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/aktion.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/album.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/alert.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/amarok.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/amor.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/applixware.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/ark.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/arts.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/artsaudiomanager.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/artsbuilder.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/artscontrol.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/artsenvironment.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/artsmediatypes.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/artsmidimanager.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/atlantik.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/attach1.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/background.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/banner.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/bell.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/bg_button.gif
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/blank.gif
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/blend.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/block.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/blockdevice.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/bookcase.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/bookmark.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/bookmark_add.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/bookmark_folder.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/bookmark_toolbar.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/bookmarks_list_add.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/bottom.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/brokenlink.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/browser.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/bug.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/builder.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/button.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/button_accept.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/button_cancel.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/button_ok.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/cache.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/calculator.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/camera_mount.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/camera_test.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/camera_unmount.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/cart_add.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/cash_stack.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/category.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/cdaudio_mount.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/cdaudio_unmount.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/cdrom_mount.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/cdrom_unmount.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/cdwriter_mount.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/cdwriter_unmount.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/chardevice.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/chat.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/clanbomber.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/clock.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/cloner32.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/color_fill.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/color_line.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/colorize.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/colors.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/compfile.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/compfile1.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/configure.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/connect_creating.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/connect_established.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/connect_no.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/content.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/contents.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/cookie.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/core.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/current.bans.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/date.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/decrypted.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/delivery.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/digest.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/digikam.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/discount.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/display.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/document_export.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/document_import.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/document_traslate.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/download_manager.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/dvd_mount.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/dvd_unmount.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/edit_add.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/edit_remove.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/editcopy.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/editcut.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/editdelete.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/editpaste.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/editshred.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/edittrash.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/edu_languages.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/edu_mathematics.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/edu_miscellaneous.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/edu_science.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/emacs.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/email.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/email1.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/encrypted.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/endturn.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/energy.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/enhanced_browsing.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/event.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/evolution.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/exec.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/exec1.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/execute.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/export.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/export32.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/extention.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/faq.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/fields.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/file-manager.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/file_broken.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/file_compiler.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/file_important.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/file_locked.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/file_temporary.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/fileclose.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/fileexport.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/filenew.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/fileopen.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/fileprint.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/filequickprint.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/filesave.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/filesaveas.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/fileshare.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/filetypes.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/finish.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/firewall.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/flashkard.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/flowplayer.mimetypes.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/flowplayer.video.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder1_html.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_blue.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_blue_open.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_cool.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_cyan.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_cyan_open.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_download.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_favorite.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_font.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_games.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_green.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_green_open.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_grey.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_grey_open.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_home.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_html.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_image.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_important.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_locked.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_mail.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_man.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_midi.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_new.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_open.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_orange.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_orange_open.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_photo.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_print.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_print2.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_red.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_red_open.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_sound.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_tar.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_txt.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_txt1.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_video.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_violet.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_violet_open.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_yellow.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/folder_yellow_open.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/fonts.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/forums.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/frameprint.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/fsview.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/ftp.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/gaim.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/galeon.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/general_permissions.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/gimp.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/gimp2.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/globe.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/gnome.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/gnome_apps.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/gnome_apps2.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/go.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/gohome.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/groupmod.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/hdd_mount.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/hdd_unmount.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/help1.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/help_index.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/highlight.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/history_clear.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/hwinfo.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/hwinfo1.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/iChat Alt.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/iChat.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/icons.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/iconthemes.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/identity.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/identity1.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/import.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/important.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/index.html
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/indeximg.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/input_devices_settings.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/insert_table_row.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/ipod.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/irkick.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/irkick1.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/irkickflash.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/irkickoff.png
XoopsModules/moduleclasses/branches/timgno/moduleclasses/icons/32/joystick.png
XoopsModules/moduleclasses...
[truncated message content] |
|
From: <be...@us...> - 2012-02-06 11:09:36
|
Revision: 8890
http://xoops.svn.sourceforge.net/xoops/?rev=8890&view=rev
Author: beckmi
Date: 2012-02-06 11:09:25 +0000 (Mon, 06 Feb 2012)
Log Message:
-----------
Making Category Tab "look & feel" compatible with other Tabs
Modified Paths:
--------------
XoopsModules/extcal/branches/jjdai/extcal/admin/cat.php
XoopsModules/extcal/branches/jjdai/extcal/templates/admin/extcal_admin_cat_list.html
Modified: XoopsModules/extcal/branches/jjdai/extcal/admin/cat.php
===================================================================
--- XoopsModules/extcal/branches/jjdai/extcal/admin/cat.php 2012-02-06 06:49:23 UTC (rev 8889)
+++ XoopsModules/extcal/branches/jjdai/extcal/admin/cat.php 2012-02-06 11:09:25 UTC (rev 8890)
@@ -54,6 +54,9 @@
xoops_cp_header();
+ $catHandler = xoops_getmodulehandler(_EXTCAL_CLS_CAT, _EXTCAL_MODULE);
+ $cat = $catHandler->getCat($cat_id, true);
+
$form = new XoopsThemeForm(_AM_EXTCAL_ADD_CATEGORY, 'add_cat', 'cat.php?op=enreg', 'post', true);
$form->addElement(new XoopsFormText(_AM_EXTCAL_NAME, 'cat_name', 30, 255), true);
$form->addElement(new XoopsFormDhtmlTextArea(_AM_EXTCAL_DESCRIPTION, 'cat_desc', ''), false);
@@ -238,6 +241,11 @@
case 'list':
default:
xoops_cp_header();
+ $categoryAdmin = new ModuleAdmin();
+ echo $categoryAdmin->addNavigation('cat.php');
+
+ $categoryAdmin->addItemButton('Add Category', 'cat.php?op=new&id=0', 'add' , '');
+ echo $categoryAdmin->renderButton('right', '');
$catHandler = xoops_getmodulehandler(_EXTCAL_CLS_CAT, _EXTCAL_MODULE);
$cats =$catHandler->getAllCatById($xoopsUser);
Modified: XoopsModules/extcal/branches/jjdai/extcal/templates/admin/extcal_admin_cat_list.html
===================================================================
--- XoopsModules/extcal/branches/jjdai/extcal/templates/admin/extcal_admin_cat_list.html 2012-02-06 06:49:23 UTC (rev 8889)
+++ XoopsModules/extcal/branches/jjdai/extcal/templates/admin/extcal_admin_cat_list.html 2012-02-06 11:09:25 UTC (rev 8890)
@@ -1,23 +1,30 @@
-<div id="photowalls_Title" class="bold shadowlight alignmiddle">
- <div id="photowalls_WaterMarks"><{$smarty.const._AM_EXTCAL_MANAGER_CATS}></div>
- <div class="photowalls_Action"></div>
-</div>
-<table class="width90 floatcenter0" summary="<{$smarty.const._MI_EXTCAL_MANAGER_CATS}>">
+
+<table class="width90 outer floatcenter0" summary="<{$smarty.const._MI_EXTCAL_MANAGER_CATS}>">
<thead>
<tr>
<th>#</th>
<th><{$smarty.const._AM_EXTCAL_NAME}></th>
<th ><{$smarty.const._AM_EXTCAL_WEIGHT}></th>
- <th class="txtcenter"><{$smarty.const._EDIT}></th>
- <th class="txtcenter"><{$smarty.const._DELETE}></th>
+ <th class="txtcenter"><{$smarty.const._AM_EXTCAL_ACTION}></th>
+
</tr>
</thead>
<tbody>
+
<{foreach item=cat from=$cats}>
- <tr>
+
+ <{if $i++ is odd by 1}>
+ <{assign var='colour' value=even}>
+ <{else}>
+ <{assign var='colour' value=odd}>
+ <{/if}>
+
+
+ <tr class="<{$colour}>">
+
<td align='center'>
<{$cat.cat_id}>
</td>
@@ -36,14 +43,13 @@
<a class="tooltip" href="<{$smarty.const._EXTCAL_PATH_BO}>cat.php?op=edit&cat_id=<{$cat.cat_id}>" title="<{$smarty.const._EDIT}>">
<img src="<{$smarty.const._EXTCAL_PATH_ICONS16}>edit.png" alt="">
</a>
- </td>
- <td class="txtcenter">
+
<a class="tooltip" class="tooltip" href="<{$smarty.const._EXTCAL_PATH_BO}>cat.php?op=delete&cat_id=<{$cat.cat_id}>" title="<{$smarty.const._AM_WAL_DELETE_WALL}>">
<img src="<{$smarty.const._EXTCAL_PATH_ICONS16}>delete.png" alt="">
</a>
</td>
-
+
</tr>
<{/foreach}>
@@ -52,10 +58,10 @@
</tbody>
</table>
-
+<!--
<form name="frmCatNew" id="frmCatNew" action="cat.php?op=new&id=0" method="post">
<fieldset>
<div class="txtcenter"><input type="submit" value="<{$smarty.const._ADD}>" name="B1" title="<{$smarty.const._ADD}>"></div>
- </fieldset>
+ </fieldset>-->
</form>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <txm...@us...> - 2012-02-06 06:49:29
|
Revision: 8889
http://xoops.svn.sourceforge.net/xoops/?rev=8889&view=rev
Author: txmodxoops
Date: 2012-02-06 06:49:23 +0000 (Mon, 06 Feb 2012)
Log Message:
-----------
Added more defines for repetives variables
Files: global.php, modules.php language
Modified Paths:
--------------
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/global.php
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/modules.php
Modified: XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/global.php
===================================================================
--- XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/global.php 2012-02-06 06:13:15 UTC (rev 8888)
+++ XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/global.php 2012-02-06 06:49:23 UTC (rev 8889)
@@ -1,5 +1,5 @@
<?php
-// $Id: global.php 5683 2010-11-01 11:03:22Z kris_fr $
+// $Id: global.php 8889 2010-11-01 11:03:22Z kris_fr $
// _LANGCODE: it
// _CHARSET : UTF-8
// Translator: Xoops Italia Team - www.xoopsitalia.org
@@ -57,6 +57,8 @@
//%%%%% Common Phrases %%%%%
define("_NO","No");
define("_YES","Si");
+define("_ONLINE", "Online");
+define("_OFFLINE", "Offline");
define("_EDIT","Modifica");
define("_DELETE","Elimina");
define("_SUBMIT","Invia");
@@ -109,8 +111,8 @@
define("_MD_STRTYOPENG","Non è possibile modificare questa scelta in seguito!");
define("_MD_ASFILE","Come file nella cartella 'uploads'");
define("_MD_INDB","Come dato binario (blob) nel database");
-define ("_MD_IMGMAIN","Categoria");
-define ("_MD_EDITIMGCAT", "Modifica categoria");
+define("_MD_IMGMAIN","Categoria");
+define("_MD_EDITIMGCAT", "Modifica categoria");
define('_IMGMANAGER', 'Gestore immagini');
define('_NUMIMAGES', '%s immagine(i)');
define('_ADDIMAGE', 'Nuova Immagine');
@@ -209,7 +211,7 @@
'latin_swedish' decommentare la linea successiva e commentare: define('_CHARSET', 'UTF-8'), per preservare la visualizzazione delle parole accentate nel sito.*/
//define('_CHARSET', 'ISO-8859-1');
define('_CHARSET', 'UTF-8');
-define('_LANGCODE', 'it');
+define('_LANGCODE', 'it_IT');
// cambiare da 0 a 1 se questa lingua \xE8 multi-bytes (non modificare)
define('XOOPS_USE_MULTIBYTES', '0');
/**
@@ -217,4 +219,24 @@
**/
define('_RESET', 'Reset');
define('_RE', 'Re:');
+// Module vars
+define("_ID","Id");
+define("_PID","Sub Id");
+define("_ABOUT","Informazioni");
+define("_WEIGHT","Peso");
+define("_CATEGORY","Categoria");
+define("_CATEGORIES","Categorie");
+define("_PERMISSION","Permesso");
+define("_PERMISSIONS","Permessi");
+define("_DASHBOARD","Cruscotto");
+define("_SUBMITTER","Inviato da");
+define("_CREATED","Creato il");
+define("_PUBLISHED","Pubblicato il");
+define("_PUBLISHER","Pubblicatore");
+define("_EXPIRED","Terminato");
+define("_STATUS","Stato");
+define("_KEYWORDS","Parole chiave");
+define("_WAITING","In attesa");
+define("_FORMACTION","Azione");
+define("_FORMUPLOAD","Carica File");
?>
\ No newline at end of file
Modified: XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/modules.php
===================================================================
--- XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/modules.php 2012-02-06 06:13:15 UTC (rev 8888)
+++ XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/modules.php 2012-02-06 06:49:23 UTC (rev 8889)
@@ -1,17 +1,25 @@
<?php
-// $Id: modules.php 8887 2012-02-06 07:03:22Z timgno $
+// $Id: modules.php 8888 2012-02-06 07:03:22Z timgno $
// _LANGCODE: it
// _CHARSET : UTF-8
+// Module vars
+define("_ID","Id");
+define("_PID","Sub Id");
define("_ABOUT","Informazioni");
define("_WEIGHT","Peso");
define("_CATEGORY","Categoria");
define("_CATEGORIES","Categorie");
define("_PERMISSION","Permesso");
-define("_PERMISSION","Permessi");
+define("_PERMISSIONS","Permessi");
define("_DASHBOARD","Cruscotto");
define("_SUBMITTER","Inviato da");
-define("_CREATED","Creato");
-define("_PUBLISHED","Pubblicato");
+define("_CREATED","Creato il");
+define("_PUBLISHED","Pubblicato il");
define("_PUBLISHER","Pubblicatore");
define("_EXPIRED","Terminato");
+define("_STATUS","Stato");
+define("_KEYWORDS","Parole chiave");
+define("_WAITING","In attesa");
+define("_FORMACTION","Azione");
+define("_FORMUPLOAD","Carica File");
?>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <txm...@us...> - 2012-02-06 06:13:22
|
Revision: 8888
http://xoops.svn.sourceforge.net/xoops/?rev=8888&view=rev
Author: txmodxoops
Date: 2012-02-06 06:13:15 +0000 (Mon, 06 Feb 2012)
Log Message:
-----------
Added more defines for repetives variables
Modified Paths:
--------------
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/modules.php
Modified: XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/modules.php
===================================================================
--- XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/modules.php 2012-02-06 06:07:05 UTC (rev 8887)
+++ XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/modules.php 2012-02-06 06:13:15 UTC (rev 8888)
@@ -1,16 +1,17 @@
<?php
-// $Id: modules.php 5683 2012-02-06 07:03:22Z timgno $
+// $Id: modules.php 8887 2012-02-06 07:03:22Z timgno $
// _LANGCODE: it
// _CHARSET : UTF-8
define("_ABOUT","Informazioni");
define("_WEIGHT","Peso");
define("_CATEGORY","Categoria");
define("_CATEGORIES","Categorie");
-define("_SUBJECT","Oggetto");
-define("_MESSAGEICON","Icona del messaggio");
-define("_COMMENTS","Commenti");
-define("_POSTANON","Invia come anonimo");
-define("_DISABLESMILEY","Disabilita faccine");
-define("_DISABLEHTML","Disabilita tag HTML");
-define("_PREVIEW","Anteprima");
+define("_PERMISSION","Permesso");
+define("_PERMISSION","Permessi");
+define("_DASHBOARD","Cruscotto");
+define("_SUBMITTER","Inviato da");
+define("_CREATED","Creato");
+define("_PUBLISHED","Pubblicato");
+define("_PUBLISHER","Pubblicatore");
+define("_EXPIRED","Terminato");
?>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <txm...@us...> - 2012-02-06 06:07:12
|
Revision: 8887
http://xoops.svn.sourceforge.net/xoops/?rev=8887&view=rev
Author: txmodxoops
Date: 2012-02-06 06:07:05 +0000 (Mon, 06 Feb 2012)
Log Message:
-----------
New defines for all modules forms
Added Paths:
-----------
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/modules.php
Added: XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/modules.php
===================================================================
--- XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/modules.php (rev 0)
+++ XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/modules.php 2012-02-06 06:07:05 UTC (rev 8887)
@@ -0,0 +1,16 @@
+<?php
+// $Id: modules.php 5683 2012-02-06 07:03:22Z timgno $
+// _LANGCODE: it
+// _CHARSET : UTF-8
+define("_ABOUT","Informazioni");
+define("_WEIGHT","Peso");
+define("_CATEGORY","Categoria");
+define("_CATEGORIES","Categorie");
+define("_SUBJECT","Oggetto");
+define("_MESSAGEICON","Icona del messaggio");
+define("_COMMENTS","Commenti");
+define("_POSTANON","Invia come anonimo");
+define("_DISABLESMILEY","Disabilita faccine");
+define("_DISABLEHTML","Disabilita tag HTML");
+define("_PREVIEW","Anteprima");
+?>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <be...@us...> - 2012-02-05 22:14:45
|
Revision: 8886
http://xoops.svn.sourceforge.net/xoops/?rev=8886&view=rev
Author: beckmi
Date: 2012-02-05 22:14:39 +0000 (Sun, 05 Feb 2012)
Log Message:
-----------
Adding check for "can delete", to ensure that System module doesn't show the "Uninstall" icon
Modified Paths:
--------------
XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/system_modules_table.html
Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/system_modules_table.html
===================================================================
--- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/system_modules_table.html 2012-02-05 21:43:56 UTC (rev 8885)
+++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/system_modules_table.html 2012-02-05 22:14:39 UTC (rev 8886)
@@ -24,7 +24,9 @@
<a id="active-table-<{$module->getVar('mid')}>" class="tooltip" href="javascript:;" onclick="module_Disable(<{$module->getVar('mid')}>,'','');" title="<{if $module->getVar('isactive')}><{$smarty.const._AM_SYSTEM_MODULES_ENABLE}><{else}><{$smarty.const._AM_SYSTEM_MODULES_DISABLE}><{/if}>"><span id="active-icon-<{$module->getVar('mid')}>" class="icon <{if $module->getVar('isactive')}>icon-tick<{else}>icon-cross<{/if}>"></span></a>
<{/if}>
<a class="tooltip" href="javascript:" onclick="module_Update(<{$module->getVar('mid')}>)" title="<{$smarty.const._AM_SYSTEM_MODULES_UPDATE}>"><span class="icon icon-arrow-refresh-small"></span></a>
+ <{if $module->getInfo('can_delete')}>
<a class="tooltip" href="javascript:" onclick="module_Uninstall(<{$module->getVar('mid')}>)" title="<{$smarty.const._AM_SYSTEM_MODULES_UNINSTALL}>"><span class="icon icon-application-delete"></span></a>
+ <{/if}>
</span>
</td>
</tr>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <JJ...@us...> - 2012-02-05 21:44:04
|
Revision: 8885
http://xoops.svn.sourceforge.net/xoops/?rev=8885&view=rev
Author: JJDai
Date: 2012-02-05 21:43:56 +0000 (Sun, 05 Feb 2012)
Log Message:
-----------
05-02-2012 JJDai(fr)
Correction Css infobulle en conflit avec le natif de xoops_module_update_extcal
Ajout de la s?\195?\169lection de l'ic?\195?\180ne des infobulles
Modified Paths:
--------------
XoopsModules/extcal/branches/jjdai/extcal/admin/cat.php
XoopsModules/extcal/branches/jjdai/extcal/admin/event.php
XoopsModules/extcal/branches/jjdai/extcal/admin/index.php
XoopsModules/extcal/branches/jjdai/extcal/class/cat.php
XoopsModules/extcal/branches/jjdai/extcal/class/colorTools.php
XoopsModules/extcal/branches/jjdai/extcal/class/event.php
XoopsModules/extcal/branches/jjdai/extcal/class/pear/Calendar/docs/examples/index.html
XoopsModules/extcal/branches/jjdai/extcal/css/infobulle.css
XoopsModules/extcal/branches/jjdai/extcal/docs/changelog.txt
XoopsModules/extcal/branches/jjdai/extcal/include/constantes.php
XoopsModules/extcal/branches/jjdai/extcal/include/functions.php
XoopsModules/extcal/branches/jjdai/extcal/include/update_function.php
XoopsModules/extcal/branches/jjdai/extcal/language/english/admin.php
XoopsModules/extcal/branches/jjdai/extcal/language/french/admin.php
XoopsModules/extcal/branches/jjdai/extcal/language/french/changelog.txt
XoopsModules/extcal/branches/jjdai/extcal/language/spanish/admin.php
XoopsModules/extcal/branches/jjdai/extcal/post.php
XoopsModules/extcal/branches/jjdai/extcal/sql/mysql.sql
XoopsModules/extcal/branches/jjdai/extcal/templates/extcal_info_bulle.html
XoopsModules/extcal/branches/jjdai/extcal/xoops_version.php
Added Paths:
-----------
XoopsModules/extcal/branches/jjdai/extcal/css/images/Award.png
XoopsModules/extcal/branches/jjdai/extcal/css/images/Bow tie.png
XoopsModules/extcal/branches/jjdai/extcal/css/images/Cinema.png
XoopsModules/extcal/branches/jjdai/extcal/css/images/Coffee.png
XoopsModules/extcal/branches/jjdai/extcal/css/images/Dating.png
XoopsModules/extcal/branches/jjdai/extcal/css/images/Dollar.png
XoopsModules/extcal/branches/jjdai/extcal/css/images/Game_strategy.png
XoopsModules/extcal/branches/jjdai/extcal/css/images/Hamburger.png
XoopsModules/extcal/branches/jjdai/extcal/css/images/Hint.png
XoopsModules/extcal/branches/jjdai/extcal/css/images/Home.png
XoopsModules/extcal/branches/jjdai/extcal/css/images/Kids.png
XoopsModules/extcal/branches/jjdai/extcal/css/images/Music.png
XoopsModules/extcal/branches/jjdai/extcal/css/images/View.png
XoopsModules/extcal/branches/jjdai/extcal/css/images/index.html
XoopsModules/extcal/branches/jjdai/extcal/versions/extcal_2_37.php
Modified: XoopsModules/extcal/branches/jjdai/extcal/admin/cat.php
===================================================================
--- XoopsModules/extcal/branches/jjdai/extcal/admin/cat.php 2012-02-05 19:31:41 UTC (rev 8884)
+++ XoopsModules/extcal/branches/jjdai/extcal/admin/cat.php 2012-02-05 21:43:56 UTC (rev 8885)
@@ -27,7 +27,8 @@
'cat_name'=>$cat_name,
'cat_desc'=>$cat_desc,
'cat_weight'=>$cat_weight,
- 'cat_color'=>substr($cat_color,1)
+ 'cat_color'=>substr($cat_color,1),
+ 'cat_icone'=>$cat_icone
);
@@ -40,7 +41,8 @@
'cat_name'=>$cat_name,
'cat_desc'=>$cat_desc,
'cat_weight'=>$cat_weight,
- 'cat_color'=>substr($cat_color,1)
+ 'cat_color'=>substr($cat_color,1),
+ 'cat_icone'=>$cat_icone
);
$catHandler->createCat($varArr);
redirect_header("cat.php", 3, _AM_EXTCAL_CAT_CREATED, false);
@@ -57,8 +59,17 @@
$form->addElement(new XoopsFormDhtmlTextArea(_AM_EXTCAL_DESCRIPTION, 'cat_desc', ''), false);
$form->addElement(new XoopsFormText(_AM_EXTCAL_WEIGHT, 'cat_weight', 30, 5, 0), false);
$form->addElement(new XoopsFormColorPicker(_AM_EXTCAL_COLOR, 'cat_color',"#FF0000"));
+
+ $file_path = XOOPS_ROOT_PATH . '/modules/extcal/css/images';
+ $tf= XoopsLists::getImgListAsArray($file_path);
+ array_unshift ($tf,"--- aucun ---");
+ $xfIcones = new XoopsFormSelect(_AM_EXTCAL_ICONE, "cat_icone", $cat->getVar('cat_icone'), '') ;
+ $xfIcones->addOptionArray($tf);
+ $form->addElement($xfIcones, false);
+
$form->addElement(new XoopsFormButton("", "form_submit", _SEND, "submit"), false);
$form->display();
+
@@ -86,6 +97,14 @@
new XoopsFormColorPicker(_AM_EXTCAL_COLOR, 'cat_color',
'#' . $cat->getVar('cat_color'))
);
+
+ $file_path = XOOPS_ROOT_PATH . '/modules/extcal/css/images';
+ $tf = XoopsLists::getImgListAsArray($file_path);
+ array_unshift ($tf,"--- aucun ---");
+ $xfIcones = new XoopsFormSelect(_AM_EXTCAL_ICONE, "cat_icone", $cat->getVar('cat_icone'), '') ;
+ $xfIcones->addOptionArray($tf);
+ $form->addElement($xfIcones, false);
+
$form->addElement(new XoopsFormHidden('cat_id', $cat->getVar('cat_id')), false);
$form->addElement(new XoopsFormButton("", "form_submit", _SEND, "submit"), false);
$form->display();
Modified: XoopsModules/extcal/branches/jjdai/extcal/admin/event.php
===================================================================
--- XoopsModules/extcal/branches/jjdai/extcal/admin/event.php 2012-02-05 19:31:41 UTC (rev 8884)
+++ XoopsModules/extcal/branches/jjdai/extcal/admin/event.php 2012-02-05 21:43:56 UTC (rev 8885)
@@ -87,7 +87,8 @@
'event_picture2'=>@$event_picture2,
'event_price'=>@$_POST['event_price'],
'event_etablissement'=>$_POST['event_etablissement'],
- 'dohtml' => $extcalConfig['allow_html']
+ 'dohtml' => $extcalConfig['allow_html'],
+ 'event_icone'=>$_POST['event_icone']
);
// Event edited
@@ -399,7 +400,7 @@
echo '</td>';
echo '</tr>';
} else {
- echo '<tr><td colspan="5">' . _AM_NO_PENDING_EVENT . '</td></tr>';
+ echo '<tr><td colspan="5">' . _AM_EXTCAL_NO_PENDING_EVENT . '</td></tr>';
}
echo '</table>';
echo '</form>';
Modified: XoopsModules/extcal/branches/jjdai/extcal/admin/index.php
===================================================================
--- XoopsModules/extcal/branches/jjdai/extcal/admin/index.php 2012-02-05 19:31:41 UTC (rev 8884)
+++ XoopsModules/extcal/branches/jjdai/extcal/admin/index.php 2012-02-05 21:43:56 UTC (rev 8885)
@@ -210,7 +210,7 @@
echo '</tr>';
}
} else {
- echo '<tr><td colspan="4">' . _AM_NO_PENDING_EVENT . '</td></tr>';
+ echo '<tr><td colspan="4">' . _AM_EXTCAL_NO_PENDING_EVENT . '</td></tr>';
}
echo '</table></fieldset><br />';
Modified: XoopsModules/extcal/branches/jjdai/extcal/class/cat.php
===================================================================
--- XoopsModules/extcal/branches/jjdai/extcal/class/cat.php 2012-02-05 19:31:41 UTC (rev 8884)
+++ XoopsModules/extcal/branches/jjdai/extcal/class/cat.php 2012-02-05 21:43:56 UTC (rev 8885)
@@ -21,6 +21,7 @@
$this->initVar('cat_desc', XOBJ_DTYPE_TXTAREA, null, false);
$this->initVar('cat_color', XOBJ_DTYPE_TXTBOX, '000000', false, 255);
$this->initVar('cat_weight', XOBJ_DTYPE_INT, 0, false);
+ $this->initVar('cat_icone', XOBJ_DTYPE_TXTBOX, '', false, 50);
}
}
Modified: XoopsModules/extcal/branches/jjdai/extcal/class/colorTools.php
===================================================================
--- XoopsModules/extcal/branches/jjdai/extcal/class/colorTools.php 2012-02-05 19:31:41 UTC (rev 8884)
+++ XoopsModules/extcal/branches/jjdai/extcal/class/colorTools.php 2012-02-05 21:43:56 UTC (rev 8885)
@@ -18,13 +18,13 @@
) {
- $t10 = $this->hexa2rgbA($colorHexa);
+ $t10 = ColorTools::hexa2rgbA($colorHexa);
- $t10[1] = $this->bornerValeur($t10[1] + $incrementRouge, $plancherRouge, $plafondRouge);
- $t10[2] = $this->bornerValeur($t10[2] + $incrementVert, $plancherVert, $plafondVert);
- $t10[3] = $this->bornerValeur($t10[3] + $incrementBleu, $plancherBleu, $plafondBleu);
+ $t10[1] = ColorTools::bornerValeur($t10[1] + $incrementRouge, $plancherRouge, $plafondRouge);
+ $t10[2] = ColorTools::bornerValeur($t10[2] + $incrementVert, $plancherVert, $plafondVert);
+ $t10[3] = ColorTools::bornerValeur($t10[3] + $incrementBleu, $plancherBleu, $plafondBleu);
- $newColorHexa = $this->getHexaColorFromA($t10);
+ $newColorHexa = ColorTools::getHexaColorFromA($t10);
return $newColorHexa;
@@ -41,7 +41,7 @@
$tMin = Array('', $plancher, $plancher, $plancher);
$tMax = Array('', $plafond, $plafond, $plafond);
- $t10 = $this->hexa2rgbA($colorHexa);
+ $t10 = ColorTools::hexa2rgbA($colorHexa);
// echo "<hr>";
// ext_echoArray($t10);
$max = $plancher;
@@ -69,13 +69,13 @@
// echo "{$colorHexa}-{$plancher}-{$plafond}<br>";
// echo "{$min}-{$max}-{$increment}<br>";
- $t10[1] = $this->bornerValeur($t10[1] + $min, $plancher, $plafond);
- $t10[2] = $this->bornerValeur($t10[2] + $min, $plancher, $plafond);
- $t10[3] = $this->bornerValeur($t10[3] + $min, $plancher, $plafond);
+ $t10[1] = ColorTools::bornerValeur($t10[1] + $min, $plancher, $plafond);
+ $t10[2] = ColorTools::bornerValeur($t10[2] + $min, $plancher, $plafond);
+ $t10[3] = ColorTools::bornerValeur($t10[3] + $min, $plancher, $plafond);
// ext_echoArray($t10);
- $newColorHexa = $this->getHexaColorFromA($t10);
+ $newColorHexa = ColorTools::getHexaColorFromA($t10);
// echo "colorHexa = {$newColorHexa}-{$colorHexa}<br>";
return $newColorHexa;
}
@@ -91,7 +91,7 @@
$tMax = Array('', $plafond, $plafond, $plafond);
- $t10 = $this->hexa2rgbA($colorHexa);
+ $t10 = ColorTools::hexa2rgbA($colorHexa);
$max = 255;
For ($h = 1 ; $h <= 3 ; $h++){
@@ -114,11 +114,11 @@
}
}
- $t10[1] = $this->bornerValeur($t10[1] - $min, $plancher, $plafond);
- $t10[2] = $this->bornerValeur($t10[2] - $min, $plancher, $plafond);
- $t10[2] = $this->bornerValeur($t10[3] - $min, $plancher, $plafond);
+ $t10[1] = ColorTools::bornerValeur($t10[1] - $min, $plancher, $plafond);
+ $t10[2] = ColorTools::bornerValeur($t10[2] - $min, $plancher, $plafond);
+ $t10[2] = ColorTools::bornerValeur($t10[3] - $min, $plancher, $plafond);
- $colorHexa = $this->getHexaColorFromA($t10);
+ $colorHexa = ColorTools::getHexaColorFromA($t10);
return $colorHexa;
@@ -152,7 +152,7 @@
***************************************************************/
Function rgb2hexa($r, $g, $b, $prefixe = ''){
- $colorHexa = $this->getHexaColorFromA(Array($prefixe, $r, $g, $b));
+ $colorHexa = ColorTools::getHexaColorFromA(Array($prefixe, $r, $g, $b));
return $colorHexa;
@@ -190,7 +190,7 @@
***************************************************************/
Function hexa2rgb($colorHexa, &$r, &$v, &$b, &$diese){
- $t = $this->hexa2rgbA($colorHexa);
+ $t = ColorTools::hexa2rgbA($colorHexa);
$r = $t[1];
$v = $t[2];
$v = $t[3];
Modified: XoopsModules/extcal/branches/jjdai/extcal/class/event.php
===================================================================
--- XoopsModules/extcal/branches/jjdai/extcal/class/event.php 2012-02-05 19:31:41 UTC (rev 8884)
+++ XoopsModules/extcal/branches/jjdai/extcal/class/event.php 2012-02-05 21:43:56 UTC (rev 8885)
@@ -46,6 +46,7 @@
//$this->initVar("event_price",XOBJ_DTYPE_OTHER,null,false,10);
$this->initVar('event_price', XOBJ_DTYPE_TXTBOX, '', false);
$this->initVar('event_etablissement', XOBJ_DTYPE_INT, 5, false);
+ $this->initVar('event_icone', XOBJ_DTYPE_TXTBOX, '', false);
$this->externalKey['cat_id'] = array('className' => 'cat', 'getMethodeName' => 'getCat', 'keyName' => 'cat', 'core' => false);
$this->externalKey['event_submitter'] = array('className' => 'user', 'getMethodeName' => 'get', 'keyName' => 'user', 'core' => true);
@@ -304,7 +305,8 @@
$ordre[] = intval($v['event_start']);
$this->formatEventDate($v, $extcalConfig['event_date_week']);
//$v['cat']['cat_light_color'] = $v['cat']['cat_color'];
- $v['cat']['cat_light_color'] = eclaircirCouleur($v['cat']['cat_color'],180,250);
+ $v['cat']['cat_light_color'] = eclaircirCouleur($v['cat']['cat_color'],_EXTCAL_INFOBULLE_RGB_MIN,_EXTCAL_INFOBULLE_RGB_MAX);
+if ($v['event_icone'] == '') $v['event_icone'] = $v['cat']['cat_icone'];
$eventArray[]= $v;
}
array_multisort($eventArray, SORT_ASC, SORT_NUMERIC, $ordre, SORT_ASC, SORT_NUMERIC);
@@ -782,6 +784,7 @@
$event_picture2 = $event->getVar('event_picture2');
$event_price = $event->getVar('event_price');
$event_etablissement = $event->getVar('event_etablissement');
+ $event_icone = $event->getVar('event_icone');
// Configuring recurring form
$eventOptions = explode('|', $event->getVar('event_recur_rules'));
@@ -854,6 +857,7 @@
$event_picture2 = $data['event_picture2'];
$event_price = $data['event_price'];
$event_etablissement = $data['event_etablissement'];
+ $event_icone = $data['event_icone'];
// Configuring recurring form
$eventOptions = explode('|', $this->getRecurRules($_POST));
@@ -926,6 +930,7 @@
$event_price = '';
$event_etablissement = '';
$files = array();
+ $event_icone = '';
}
@@ -948,6 +953,14 @@
}
$form->addElement($catSelect, true);
//-----------------------------------------------------------
+
+ $file_path = XOOPS_ROOT_PATH . '/modules/extcal/css/images';
+ $tf = XoopsLists::getImgListAsArray($file_path);
+ array_unshift ($tf,"--- aucun ---");
+ $xfIcones = new XoopsFormSelect(_AM_EXTCAL_ICONE, "event_icone", $event_icone, '') ;
+ $xfIcones->addOptionArray($tf);
+ $form->addElement($xfIcones, false);
+ //-----------------------------------------------------------
//etablissement
$etablissementHandler = xoops_getmodulehandler(_EXTCAL_CLS_ETABLISSEMENT, _EXTCAL_MODULE);
$etablissement_select = new XoopsFormSelect(_MD_EXTCAL_ETABLISSEMENT, 'event_etablissement', $event_etablissement);
@@ -965,7 +978,7 @@
//$tEts[$etablissement_arr[$i]->getVar('id')] = $etablissement_arr[$i]->getVar('nom');
$tEts[$etablissement_arr[$i]['id']] = $etablissement_arr[$i]['nom'];
}
- //array_unshift($tEts, _MD_EXTCAL_NONE);
+ //array_unshift($tEts, _MD_EXTCAL_NONE);
$etablissement_select->addOptionArray($tEts);
$form->addElement($etablissement_select, true);
@@ -1992,11 +2005,11 @@
$userId,$xoopsUser);
$ret = array();
- while ($myrow = $xoopsDB->fetchArray($result)) {
+ while ($myrow = $xoopsDB->fetchArray($result)) {
$myrow['cat']['cat_name'] = $myrow['cat_name'];
$myrow['cat']['cat_color'] = $myrow['cat_color'];
- $myrow['cat']['cat_light_color'] = eclaircirCouleur($myrow['cat']['cat_color'],180,250);
-
+ $myrow['cat']['cat_light_color'] = eclaircirCouleur($myrow['cat']['cat_color'],_EXTCAL_INFOBULLE_RGB_MIN,_EXTCAL_INFOBULLE_RGB_MAX);
+if ($myrow['event_icone'] == '') $myrow['event_icone'] = $myrow['cat']['cat_icone'];
$ret[] = $myrow;
}
return $ret;
Modified: XoopsModules/extcal/branches/jjdai/extcal/class/pear/Calendar/docs/examples/index.html
===================================================================
--- XoopsModules/extcal/branches/jjdai/extcal/class/pear/Calendar/docs/examples/index.html 2012-02-05 19:31:41 UTC (rev 8884)
+++ XoopsModules/extcal/branches/jjdai/extcal/class/pear/Calendar/docs/examples/index.html 2012-02-05 21:43:56 UTC (rev 8885)
@@ -19,7 +19,7 @@
<body>
<h1>PEAR::Calendar Examples</h1>
-<p>$Id: index.html 1500 2011-08-05 09:36:20Z kris_fr $</p>
+<p>$Id: index.html 166574 2004-08-17 09:10:53Z hfuecks $</p>
<ul>
<li><a href="1.php">1.php</a> [<a href="1.phps">src</a>] - shows basic usage, passing all the way down from <code>Calendar_Year</code> to <code>Calendar_Second</code> - more of a quick test it's working</li>
<li><a href="2.php">2.php</a> [<a href="2.phps">src</a>] - shows how to build a tabular month using <code>Calendar_Month_Weeks</code>, <code>Calendar_Week</code>, <code>Calendar_Day</code> as well as selecting some dates.</li>
Added: XoopsModules/extcal/branches/jjdai/extcal/css/images/Award.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extcal/branches/jjdai/extcal/css/images/Award.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extcal/branches/jjdai/extcal/css/images/Bow tie.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extcal/branches/jjdai/extcal/css/images/Bow tie.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extcal/branches/jjdai/extcal/css/images/Cinema.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extcal/branches/jjdai/extcal/css/images/Cinema.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extcal/branches/jjdai/extcal/css/images/Coffee.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extcal/branches/jjdai/extcal/css/images/Coffee.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extcal/branches/jjdai/extcal/css/images/Dating.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extcal/branches/jjdai/extcal/css/images/Dating.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extcal/branches/jjdai/extcal/css/images/Dollar.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extcal/branches/jjdai/extcal/css/images/Dollar.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extcal/branches/jjdai/extcal/css/images/Game_strategy.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extcal/branches/jjdai/extcal/css/images/Game_strategy.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extcal/branches/jjdai/extcal/css/images/Hamburger.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extcal/branches/jjdai/extcal/css/images/Hamburger.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extcal/branches/jjdai/extcal/css/images/Hint.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extcal/branches/jjdai/extcal/css/images/Hint.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extcal/branches/jjdai/extcal/css/images/Home.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extcal/branches/jjdai/extcal/css/images/Home.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extcal/branches/jjdai/extcal/css/images/Kids.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extcal/branches/jjdai/extcal/css/images/Kids.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extcal/branches/jjdai/extcal/css/images/Music.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extcal/branches/jjdai/extcal/css/images/Music.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extcal/branches/jjdai/extcal/css/images/View.png
===================================================================
(Binary files differ)
Property changes on: XoopsModules/extcal/branches/jjdai/extcal/css/images/View.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsModules/extcal/branches/jjdai/extcal/css/images/index.html
===================================================================
--- XoopsModules/extcal/branches/jjdai/extcal/css/images/index.html (rev 0)
+++ XoopsModules/extcal/branches/jjdai/extcal/css/images/index.html 2012-02-05 21:43:56 UTC (rev 8885)
@@ -0,0 +1 @@
+<script>history.go(-1);</script>
\ No newline at end of file
Modified: XoopsModules/extcal/branches/jjdai/extcal/css/infobulle.css
===================================================================
--- XoopsModules/extcal/branches/jjdai/extcal/css/infobulle.css 2012-02-05 19:31:41 UTC (rev 8884)
+++ XoopsModules/extcal/branches/jjdai/extcal/css/infobulle.css 2012-02-05 21:43:56 UTC (rev 8885)
@@ -1,55 +1,74 @@
-.tooltip {
- border-bottom: 1px dotted #000000; color: #000000; outline: none;
- cursor: help; text-decoration: none;
+.tooltip54 {
+ border-bottom: 1px dotted #000000;
+ color: #000000;
+ outline: none;
+ cursor: help;
+ text-decoration: none;
position: relative;
}
-.tooltip span {
+.tooltip54 span {
margin-left: -999em;
position: absolute;
}
-.tooltip:hover span {
- border-radius: 5px 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;
- box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1); -webkit-box-shadow: 5px 5px rgba(0, 0, 0, 0.1); -moz-box-shadow: 5px 5px rgba(0, 0, 0, 0.1);
+
+.tooltip54:hover span {
+ border-radius: 5px 5px;
+ -moz-border-radius: 5px;
+ -webkit-border-radius: 5px;
+ box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
+ -webkit-box-shadow: 5px 5px rgba(0, 0, 0, 0.1);
+ -moz-box-shadow: 5px 5px rgba(0, 0, 0, 0.1);
font-family: Calibri, Tahoma, Geneva, sans-serif;
- position: absolute; left: 1em; top: 2em; z-index: 99;
- margin-left: 0; width: 300px;
+ position: absolute;
+ left: 1em;
+ top: 2em;
+ z-index: 99;
+ margin-left: 0;
+ width: 300px;
}
+.tooltip54:hover span[top_contact] {
+ top: 1em;
+}
-
-.tooltip:hover span[width50] {
+.tooltip54:hover span[width50] {
width: 50px;
}
-.tooltip:hover span[width100] {
+.tooltip54:hover span[width100] {
width: 100px;
}
-.tooltip:hover span[width150] {
+.tooltip54:hover span[width150] {
width: 150px;
}
-.tooltip:hover span[width200] {
+.tooltip54:hover span[width200] {
width: 200px;
}
-.tooltip:hover span[width250] {
+.tooltip54:hover span[width250] {
width: 250px;
}
-.tooltip:hover span[width300] {
+.tooltip54:hover span[width300] {
width: 300px;
}
-.tooltip:hover span[width350] {
+.tooltip54:hover span[width350] {
width: 350px;
}
-.tooltip:hover span[width400] {
+.tooltip54:hover span[width400] {
width: 400px;
}
-.tooltip:hover img:first-child {
- border: 0; margin: -10px 0 0 -55px;
- float: left; position: absolute;
+.tooltip54:hover img[iconinfo] {
+ border: 0;
+ margin: -10px 0 0 -55px;
+ float: left;
+ position: absolute;
}
-.tooltip:hover em {
- font-family: Candara, Tahoma, Geneva, sans-serif; font-size: 1.2em; font-weight: bold;
+
+.tooltip54:hover em {
+ font-family: Candara, Tahoma, Geneva, sans-serif;
+ font-size: 1.2em;
+ font-weight: bold;
display: block; padding: 0.2em 0 0.6em 0;
}
.classic { padding: 0.8em 1em; }
@@ -68,7 +87,7 @@
}
-.tooltip:hover img[alinea] {
+.tooltip54:hover img[alinea] {
margin-bottom: 5px;
margin-right: 5px;
position: relative;
@@ -78,3 +97,7 @@
background-repeat: no-repeat;
}
+.tooltip54:hover img[imglien] {
+top:5em;
+left:5em;
+}
Modified: XoopsModules/extcal/branches/jjdai/extcal/docs/changelog.txt
===================================================================
--- XoopsModules/extcal/branches/jjdai/extcal/docs/changelog.txt 2012-02-05 19:31:41 UTC (rev 8884)
+++ XoopsModules/extcal/branches/jjdai/extcal/docs/changelog.txt 2012-02-05 21:43:56 UTC (rev 8885)
@@ -1,3 +1,11 @@
+2012/02/02: Version 2.37 (JJD.fr)
+===================================
+- Ajout du champ icone dans la table event_event
+- Ajout du chmp icone dans la table event_cat
+- Affichage de l'icone de event/cat dans l'infobulle
+- Mis à jour des constantes de langue
+- Patch de mise à jour des tables
+
2012/01/31: Version 2.36 (JJD.fr)
===================================
- Fixed display
Modified: XoopsModules/extcal/branches/jjdai/extcal/include/constantes.php
===================================================================
--- XoopsModules/extcal/branches/jjdai/extcal/include/constantes.php 2012-02-05 19:31:41 UTC (rev 8884)
+++ XoopsModules/extcal/branches/jjdai/extcal/include/constantes.php 2012-02-05 21:43:56 UTC (rev 8885)
@@ -183,11 +183,8 @@
define ("_EXTCAL_MOTIF_DATE", "#(19|20)\d{2}-(0?[1-9]|1[0-2])-(?x)(0?[1-9]|[12][0-9]|3[01])#");
-
-
+define ("_EXTCAL_INFOBULLE_RGB_MIN", 220);
+define ("_EXTCAL_INFOBULLE_RGB_MAX", 250);
-
-
-
?>
Modified: XoopsModules/extcal/branches/jjdai/extcal/include/functions.php
===================================================================
--- XoopsModules/extcal/branches/jjdai/extcal/include/functions.php 2012-02-05 19:31:41 UTC (rev 8884)
+++ XoopsModules/extcal/branches/jjdai/extcal/include/functions.php 2012-02-05 21:43:56 UTC (rev 8885)
@@ -371,76 +371,10 @@
function eclaircirCouleur($color, $plancher, $plafond){
include_once(XOOPS_ROOT_PATH . '/modules/extcal/class/colorTools.php');
- $ct = new ColorTools();
- return $ct->eclaircir($color,$plancher,$plafond);
-// if (substr($color,0,1) == "#"){
-// $color = substr($color,1);
-// $diese = "#";
-// }else{
-// $diese = "";
-// }
-//
-// $r16 = hexdec(substr($color,0,2)); //conversion du canal rouge
-// $v16 = hexdec(substr($color,2,4)); //conversion du canal vert
-// $b16 = hexdec(substr($color,4,6)); //conversion du canal bleu
-//
-//
-//
-// // Initialisation
-// $gain = 0.2; // 0.2 = 20%
-// $gain = 0.1;
-//
-// // Affichage
-// // echo "<div style='background-color:#",$r16,$v16,$b16,"'>";
-// // echo "composante 1 : ".$r16."<br />";
-// // echo "composante 2 : ".$v16."<br />";
-// // echo "composante 3 : ".$b16."<br />";
-// // echo "</div><br />";
-//
-// // Conversion HEX -> DEC
-// $r10 = hexdec($r16);
-// $v10 = hexdec($v16);
-// $b10 = hexdec($b16);
-//
-// // Eclaircissement
-// $r10 = floor($r10 * (0.5));
-// $v10 = floor($v10 * (0.5));
-// $b10 = floor($b10 * (0.5));
-// // $r10 = floor($r10 * (1 + $gain));
-// // $v10 = floor($v10 * (1 + $gain));
-// // $b10 = floor($b10 * (1 + $gain));
-//
-// // Limitations
-// if ($r10>255) $r10=255;
-// if ($v10>255) $v10=255;
-// if ($b10>255) $b10=255;
-//
-// if ($r10<0) $r10=0;
-// if ($v10<0) $v10=0;
-// if ($b10<0) $b10=0;
-//
-// // Conversion DEC -> HEX
-// // $r16 = dechex($r10);
-// // $v16 = dechex($v10);
-// // $b16 = dechex($b10);
-// $r16 = substr('00' . dechex($r10),-2);
-// $v16 = substr('00' . dechex($v10),-2);
-// $b16 = substr('00' . dechex($b10),-2);
-//
-// $newColor = strtoupper($diese.$r16.$v16.$b16);
-//
-// // Affichage
-// // echo "<div style='background-color:#",$r16,$v16,$b16,"'>";
-// // echo "<div>";
-// // echo "composante 1 : ".$r16."<br />";
-// // echo "composante 2 : ".$v16."<br />";
-// // echo "composante 3 : ".$b16."<br />";
-// // echo "</div>";
-// // echo "{$color} : {$newColor}<br>";
-//
-// //$newColor = strtoupper($diese.'220000');
-//
-// return $newColor;
+ //$ct = new ColorTools();
+ //return $ct->eclaircir($color,$plancher,$plafond);
+ return ColorTools::eclaircir($color,$plancher,$plafond);
+
}
/**************************************************************************/
Modified: XoopsModules/extcal/branches/jjdai/extcal/include/update_function.php
===================================================================
--- XoopsModules/extcal/branches/jjdai/extcal/include/update_function.php 2012-02-05 19:31:41 UTC (rev 8884)
+++ XoopsModules/extcal/branches/jjdai/extcal/include/update_function.php 2012-02-05 21:43:56 UTC (rev 8885)
@@ -34,7 +34,8 @@
'2_29' => 229,
'2_33' => 233,
'2_34' => 234,
- '2_35' => 235
+ '2_35' => 235,
+ '2_37' => 237
);
while(list($key,$val) = each($version)){
Modified: XoopsModules/extcal/branches/jjdai/extcal/language/english/admin.php
===================================================================
--- XoopsModules/extcal/branches/jjdai/extcal/language/english/admin.php 2012-02-05 19:31:41 UTC (rev 8884)
+++ XoopsModules/extcal/branches/jjdai/extcal/language/english/admin.php 2012-02-05 21:43:56 UTC (rev 8885)
@@ -115,6 +115,7 @@
define('_AM_EXTCAL_UPDATE_UPGRADE', 'Click here to upgrade module to the newer version');
define('_AM_EXTCAL_VIEW_PERMISSION', 'View permission');
define('_AM_EXTCAL_VIEW_PERMISSION_DESC', 'Select categories that each group is allowed to view');
-define('_AM_NO_PENDING_EVENT', 'No pending Event');
+define('_AM_EXTCAL_NO_PENDING_EVENT', 'No pending Event');
+define('_AM_EXTCAL_ICONE', 'Icône');
?>
Modified: XoopsModules/extcal/branches/jjdai/extcal/language/french/admin.php
===================================================================
--- XoopsModules/extcal/branches/jjdai/extcal/language/french/admin.php 2012-02-05 19:31:41 UTC (rev 8884)
+++ XoopsModules/extcal/branches/jjdai/extcal/language/french/admin.php 2012-02-05 21:43:56 UTC (rev 8885)
@@ -86,7 +86,7 @@
define('_AM_EXTCAL_VIEW_PERMISSION', "Permission d'accés");
define('_AM_EXTCAL_VIEW_PERMISSION_DESC', "Sélectionner les catégories accessibles par groupe");
define('_AM_EXTCAL_WEIGHT', "Poids");
-define('_AM_NO_PENDING_EVENT', "Pas d'évènement en attente");
+define('_AM_EXTCAL_NO_PENDING_EVENT', "Pas d'évènement en attente");
define('_AM_EXTCAL_MANAGER_CATS', "Gestion des La cétogories");
define('_AM_EXTCAL_CLONE_OF', "Copie de l'événement #");
define('_AM_EXTCAL_EDIT_EVENT', "Editer l'évennement");
@@ -116,6 +116,6 @@
define('_AM_EXTCAL_MULTIUPLOADS_NOT_OK', "Le composant multiuploads n'est pas installé.<br /><br /><a href='http://xoops.kiolo.com/modules/mydownloads/'>Télécharger le composant multiuploads ici</a><br /><br />et installer le dans le dossier 'class/xoopsform/'");
define('_AM_EXTCAL_NOPERMSSET', 'Permission cannot be set: There are no Categories created yet! Please create a Category first.');
define('_AM_EXTCAL_REDIRECT_DELOK', 'Supprimé avec succes');
+define('_AM_EXTCAL_ICONE', 'Icône');
-
?>
\ No newline at end of file
Modified: XoopsModules/extcal/branches/jjdai/extcal/language/french/changelog.txt
===================================================================
--- XoopsModules/extcal/branches/jjdai/extcal/language/french/changelog.txt 2012-02-05 19:31:41 UTC (rev 8884)
+++ XoopsModules/extcal/branches/jjdai/extcal/language/french/changelog.txt 2012-02-05 21:43:56 UTC (rev 8885)
@@ -1,3 +1,11 @@
+2012/02/02: Version 2.37 (JJD.fr)
+===================================
+- Ajout du champ icone dans la table event_event
+- Ajout du chmp icone dans la table event_cat
+- Affichage de l'icone de event/cat dans l'infobulle
+- Mis à jour des constantes de langue
+- Patch de mise à jour des tables
+
2012/01/31: Version 2.36 (JJD.fr)
===================================
- Correction d'affichage
Modified: XoopsModules/extcal/branches/jjdai/extcal/language/spanish/admin.php
===================================================================
--- XoopsModules/extcal/branches/jjdai/extcal/language/spanish/admin.php 2012-02-05 19:31:41 UTC (rev 8884)
+++ XoopsModules/extcal/branches/jjdai/extcal/language/spanish/admin.php 2012-02-05 21:43:56 UTC (rev 8885)
@@ -115,6 +115,7 @@
define('_AM_EXTCAL_UPDATE_UPGRADE', 'Haga clic aquí para actualizar el módulo a la versión más reciente');
define('_AM_EXTCAL_VIEW_PERMISSION', 'Permisos de Ver');
define('_AM_EXTCAL_VIEW_PERMISSION_DESC', 'Seleccione las categorías que a cada grupo se les permite ver');
-define('_AM_NO_PENDING_EVENT', 'No hay eventos pendientes');
+define('_AM_EXTCAL_NO_PENDING_EVENT', 'No hay eventos pendientes');
+define('_AM_EXTCAL_ICONE', 'Icone');
?>
\ No newline at end of file
Modified: XoopsModules/extcal/branches/jjdai/extcal/post.php
===================================================================
--- XoopsModules/extcal/branches/jjdai/extcal/post.php 2012-02-05 19:31:41 UTC (rev 8884)
+++ XoopsModules/extcal/branches/jjdai/extcal/post.php 2012-02-05 21:43:56 UTC (rev 8885)
@@ -43,7 +43,8 @@
'event_end' => $_POST['event_end'],
'dohtml' => intval($xoopsModuleConfig['allow_html']),
'event_price' => $_POST['event_price'],
- 'event_organisateur' => $_POST['event_organisateur']
+ 'event_organisateur' => $_POST['event_organisateur'],
+ 'event_icone' => $_POST['event_icone']
);
if (isset($_POST['event_id'])) {
@@ -122,7 +123,8 @@
'event_picture2'=>@$event_picture2,
'event_price'=>@$_POST['event_price'],
'event_etablissement'=>$_POST['event_etablissement'],
- 'dohtml' => $xoopsModuleConfig['allow_html']
+ 'dohtml' => $xoopsModuleConfig['allow_html'],
+ 'event_icone'=>$_POST['event_icone']
);
Modified: XoopsModules/extcal/branches/jjdai/extcal/sql/mysql.sql
===================================================================
--- XoopsModules/extcal/branches/jjdai/extcal/sql/mysql.sql 2012-02-05 19:31:41 UTC (rev 8884)
+++ XoopsModules/extcal/branches/jjdai/extcal/sql/mysql.sql 2012-02-05 21:43:56 UTC (rev 8885)
@@ -4,6 +4,7 @@
`cat_desc` text NOT NULL,
`cat_color` varchar(6) NOT NULL,
`cat_weight` INT NOT NULL DEFAULT '0',
+ `cat_icone` VARCHAR( 50 ) NOT NULL,
PRIMARY KEY (`cat_id`)
) COMMENT='eXtCal By Zoullou' ;
@@ -32,6 +33,7 @@
`event_price` varchar(255) NOT NULL default '',
`event_etablissement` int(5) NOT NULL DEFAULT '0',
`dohtml` tinyint(1) NOT NULL default '0',
+ `event_icone` VARCHAR( 50 ) NOT NULL,
PRIMARY KEY (`event_id`)
) COMMENT='eXtCal By Zoullou' ;
Modified: XoopsModules/extcal/branches/jjdai/extcal/templates/extcal_info_bulle.html
===================================================================
--- XoopsModules/extcal/branches/jjdai/extcal/templates/extcal_info_bulle.html 2012-02-05 19:31:41 UTC (rev 8884)
+++ XoopsModules/extcal/branches/jjdai/extcal/templates/extcal_info_bulle.html 2012-02-05 21:43:56 UTC (rev 8885)
@@ -3,41 +3,23 @@
<div style="height:12px; width:12px; background-color:#<{$event.cat.cat_color}>; border:1px solid black; float:left; margin-right:5px;" >
</div>
-<!--
- <{if $event.event_picture1!=""}>
- <span infoBulle_zone1>
- <img align=left style="border:1px solid #333333;margin-right:6px" src="<{$xoops_url}>/uploads/extcal/<{$event.event_picture1}>" width="150px" height="150px" />
- </span>
- <span infoBulle_zone1 infoBulle_zone2>
- <{else}>
- <span infoBulle_zone1>
- <{/if}>
-
- <{if $showId}>(#<{$event.event_id}>)<{/if}> <{$event.event_title}><br />
- <b><{$smarty.const._MD_EXTCAL_START}></b> <{$event.formated_event_start}><br />
- <b><{$smarty.const._MD_EXTCAL_END}></b> <{$event.formated_event_end}><br />
- </span>
--->
+ <a class="tooltip54" href="<{$xoops_url}>/modules/extcal/event.php?event=<{$event.event_id}>">
+ <{if $showId}>(#<{$event.event_id}>)<{/if}> <{$event.event_title}><br />
+ <span class="custom info" width350 style="background: #<{$event.cat.cat_light_color}>;">
+ <img src="css/images/<{$event.event_icone}>" alt="" iconinfo/>
+ <em><{if $showId}>(#<{$event.event_id}>)<{/if}> <{$event.event_title}></em>
+ <{if $event.event_picture1!=""}>
+ <img src="<{$xoops_url}>/uploads/extcal/<{$event.event_picture1}>" alinea/>
+ <{/if}>
+ <{if $showId}>(#<{$event.event_id}>)<{/if}> <{$event.event_title}><br />
+ <b><{$smarty.const._MD_EXTCAL_START}></b> <{$event.formated_event_start}><br />
+ <b><{$smarty.const._MD_EXTCAL_END}></b> <{$event.formated_event_end}><br />
+ </span>
+ </a>
- <a class="tooltip" href="<{$xoops_url}>/modules/extcal/event.php?event=<{$event.event_id}>">
- <{if $showId}>(#<{$event.event_id}>)<{/if}> <{$event.event_title}><br />
- <span class="custom info" width350 style="background: #<{$event.cat.cat_light_color}>;">
- <img src="css/images/Info.png" alt="Information" />
- <em><{if $showId}>(#<{$event.event_id}>)<{/if}> <{$event.event_title}></em>
- <{if $event.event_picture1!=""}>
- <img src="<{$xoops_url}>/uploads/extcal/<{$event.event_picture1}>" alinea/>
- <{/if}>
- <{if $showId}>(#<{$event.event_id}>)<{/if}> <{$event.event_title}><br />
- <b><{$smarty.const._MD_EXTCAL_START}></b> <{$event.formated_event_start}><br />
- <b><{$smarty.const._MD_EXTCAL_END}></b> <{$event.formated_event_end}><br />
- </span>
- </a>
-
-
-
<{else}>
<div style="height:12px; width:12px; background-color:#<{$event.cat.cat_color}>; border:1px solid black; float:left; margin-right:5px;"
title='<{if $showId}>(#<{$event.event_id}>)<{/if}> <{$event.formated_event_start}> - <{$event.formated_event_end}> : <{$event.event_title}>'>
Added: XoopsModules/extcal/branches/jjdai/extcal/versions/extcal_2_37.php
===================================================================
--- XoopsModules/extcal/branches/jjdai/extcal/versions/extcal_2_37.php (rev 0)
+++ XoopsModules/extcal/branches/jjdai/extcal/versions/extcal_2_37.php 2012-02-05 21:43:56 UTC (rev 8885)
@@ -0,0 +1,61 @@
+<?php
+/**
+ * extcal module
+ *
+ * You may not change or alter any portion of this comment or credits
+ * of supporting developers from this source code or any supporting source code
+ * 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 http://www.fsf.org/copyleft/gpl.html GNU public license
+ * @package extcal
+ * @since 2.2
+ * @author JJDai <http://xoops.kiolo.com>
+ * @version $Id$
+**/
+
+//----------------------------------------------------
+class extcal_2_37{
+//----------------------------------------------------
+
+function __construct(& $module, $options){
+global $xoopsDB;
+
+ $this->alterTable_event();
+ $this->alterTable_cat();
+
+
+
+}
+//----------------------------------------------------
+function alterTable_event(){
+global $xoopsDB;
+ $tbl = $xoopsDB->prefix('extcal_event');
+
+$sql = <<<__sql__
+ALTER TABLE `{$tbl}` ADD `event_icone` VARCHAR(50) NOT NULL;
+__sql__;
+
+ $xoopsDB->queryF($sql);
+}
+
+//-----------------------------------------------------------------
+
+function alterTable_cat(){
+global $xoopsDB;
+ $tbl = $xoopsDB->prefix('extcal_cat');
+
+$sql = <<<__sql__
+ALTER TABLE `{$tbl}` ADD `cat_icone` VARCHAR(50) NOT NULL ;
+__sql__;
+
+ $xoopsDB->queryF($sql);
+
+}
+
+//-----------------------------------------------------------------
+} // fin de la classe
+?>
Modified: XoopsModules/extcal/branches/jjdai/extcal/xoops_version.php
===================================================================
--- XoopsModules/extcal/branches/jjdai/extcal/xoops_version.php 2012-02-05 19:31:41 UTC (rev 8884)
+++ XoopsModules/extcal/branches/jjdai/extcal/xoops_version.php 2012-02-05 21:43:56 UTC (rev 8885)
@@ -16,7 +16,7 @@
// @author Gregory Mage (Aka Mage)
//***************************************************************************************
$modversion['name'] = _MI_EXTCAL_NAME;
-$modversion['version'] = '2.36';
+$modversion['version'] = '2.37';
$modversion['description'] = _MI_EXTCAL_DESC;
$modversion['credits'] = 'Zoullou';
$modversion['author'] = 'Zoullou, Mage, Mamba, JJ Delalandre(JJDai)';
@@ -27,7 +27,7 @@
$modversion['official'] = 0;
$modversion['image'] = 'images/extcal_logo.png';
$modversion['dirname'] = $moduleDirName;
-$modversion['status_version'] = 'Beta 2';
+$modversion['status_version'] = 'Beta';
$modversion['sqlfile']['mysql'] = 'sql/mysql.sql';
$modversion['onInstall'] = 'include/install_function.php';
$modversion['onUpdate'] = 'include/update_function.php';
@@ -42,7 +42,7 @@
$modversion["module_website_url"] = "http://www.xoops.org/";
$modversion["module_website_name"] = "XOOPS";
$modversion["release_date"] = "2012/01/31";
-$modversion['module_status'] = "Beta 2";
+$modversion['module_status'] = "Beta";
$modversion['min_php'] = '5.2';
$modversion['min_xoops'] = "2.5.0";
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <be...@us...> - 2012-02-05 19:31:48
|
Revision: 8884
http://xoops.svn.sourceforge.net/xoops/?rev=8884&view=rev
Author: beckmi
Date: 2012-02-05 19:31:41 +0000 (Sun, 05 Feb 2012)
Log Message:
-----------
- fix some E_STRICT errors
- fix wrong name of an image
- add load language references for admin.php
Modified Paths:
--------------
XoopsCore/branches/2.6.x/2.6.0/htdocs/class/moduleadmin.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/class/registry.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/install/include/createconfigform.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/install/include/functions.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/install/include/install_tpl.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/install/page_moduleinstaller.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/install/page_theme.php
Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/class/moduleadmin.php
===================================================================
--- XoopsCore/branches/2.6.x/2.6.0/htdocs/class/moduleadmin.php 2012-02-05 05:50:29 UTC (rev 8883)
+++ XoopsCore/branches/2.6.x/2.6.0/htdocs/class/moduleadmin.php 2012-02-05 19:31:41 UTC (rev 8884)
@@ -265,7 +265,7 @@
}
if ($this->_obj->getInfo('help')) {
$help = array();
- $help['link'] = '../../modules/system/help.php?mid=' . $this->_obj->getVar('mid', 's') . "&" . $this->_obj->getInfo('help');
+ $help['link'] = 'modules/system/help.php?mid=' . $this->_obj->getVar('mid', 's') . "&" . $this->_obj->getInfo('help');
$help['icon'] = XOOPS_URL . "/media/xoops/images/icons/32/help.png";
$help['title'] = _AM_SYSTEM_HELP;
$xoops->tpl->append('xo_admin_index_menu', $help);
Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/class/registry.php
===================================================================
--- XoopsCore/branches/2.6.x/2.6.0/htdocs/class/registry.php 2012-02-05 05:50:29 UTC (rev 8883)
+++ XoopsCore/branches/2.6.x/2.6.0/htdocs/class/registry.php 2012-02-05 19:31:41 UTC (rev 8884)
@@ -17,7 +17,7 @@
* @package class
* @since 2.6.0
* @author trabis <lus...@gm...>
- * @version $Id:$
+ * @version $Id$
*/
defined('XOOPS_ROOT_PATH') or die('Restricted access');
Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/install/include/createconfigform.php
===================================================================
--- XoopsCore/branches/2.6.x/2.6.0/htdocs/install/include/createconfigform.php 2012-02-05 05:50:29 UTC (rev 8883)
+++ XoopsCore/branches/2.6.x/2.6.0/htdocs/install/include/createconfigform.php 2012-02-05 19:31:41 UTC (rev 8884)
@@ -196,23 +196,23 @@
break;
case 'password':
- $myts =& MyTextSanitizer::getInstance();
+ $myts = MyTextSanitizer::getInstance();
$ele = new XoopsFormPassword($title, $config[$i]->getVar('conf_name'), 50, 255, $myts->htmlspecialchars($config[$i]->getConfValueForOutput()));
break;
case 'color':
- $myts =& MyTextSanitizer::getInstance();
+ $myts = MyTextSanitizer::getInstance();
$ele = new XoopsFormColorPicker($title, $config[$i]->getVar('conf_name'), $myts->htmlspecialchars($config[$i]->getConfValueForOutput()));
break;
case 'hidden':
- $myts =& MyTextSanitizer::getInstance();
+ $myts = MyTextSanitizer::getInstance();
$ele = new XoopsFormHidden($config[$i]->getVar('conf_name'), $myts->htmlspecialchars($config[$i]->getConfValueForOutput()));
break;
case 'textbox':
default:
- $myts =& MyTextSanitizer::getInstance();
+ $myts = MyTextSanitizer::getInstance();
$ele = new XoopsFormText($title, $config[$i]->getVar('conf_name'), 50, 255, $myts->htmlspecialchars($config[$i]->getConfValueForOutput()));
break;
}
Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/install/include/functions.php
===================================================================
--- XoopsCore/branches/2.6.x/2.6.0/htdocs/install/include/functions.php 2012-02-05 05:50:29 UTC (rev 8883)
+++ XoopsCore/branches/2.6.x/2.6.0/htdocs/install/include/functions.php 2012-02-05 19:31:41 UTC (rev 8884)
@@ -95,7 +95,7 @@
*/
function xoPassField($name, $value, $label, $help = '')
{
- $myts =& MyTextSanitizer::getInstance();
+ $myts = MyTextSanitizer::getInstance();
$label = $myts->htmlspecialchars($label, ENT_QUOTES, _INSTALL_CHARSET, false);
$name = $myts->htmlspecialchars($name, ENT_QUOTES, _INSTALL_CHARSET, false);
$value = $myts->htmlspecialchars($value, ENT_QUOTES);
Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/install/include/install_tpl.php
===================================================================
--- XoopsCore/branches/2.6.x/2.6.0/htdocs/install/include/install_tpl.php 2012-02-05 05:50:29 UTC (rev 8883)
+++ XoopsCore/branches/2.6.x/2.6.0/htdocs/install/include/install_tpl.php 2012-02-05 19:31:41 UTC (rev 8884)
@@ -115,7 +115,7 @@
<?php foreach($pages as $page): ?>
<li<?php echo $page['current']? ' class="current"':''; ?><?php echo $page['past']? ' class="past"':''; ?>>
<?php echo $page['name']; ?>
- <span><?php echo $page['index']; ?><?php if($page['past']): ?><img src="./img/oks.png" alt="" /><?php endif; ?></span>
+ <span><?php echo $page['index']; ?><?php if($page['past']): ?><img src="./img/yes.png" alt="" /><?php endif; ?></span>
</li>
<?php endforeach; ?>
</ul>
Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/install/page_moduleinstaller.php
===================================================================
--- XoopsCore/branches/2.6.x/2.6.0/htdocs/install/page_moduleinstaller.php 2012-02-05 05:50:29 UTC (rev 8883)
+++ XoopsCore/branches/2.6.x/2.6.0/htdocs/install/page_moduleinstaller.php 2012-02-05 19:31:41 UTC (rev 8884)
@@ -32,18 +32,21 @@
/* @var $wizard XoopsInstallWizard */
$wizard = $xoops->registry->get('wizard');
+$xoops->loadLanguage('admin', 'system', $wizard->language);
$xoops->loadLanguage('global', '',$wizard->language);
$xoops->loadLanguage('admin/modulesadmin', 'system',$wizard->language);
$pageHasForm = true;
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
- include_once XOOPS_ROOT_PATH . "/modules/system/admin/modulesadmin/modulesadmin.php";
+ include_once XOOPS_ROOT_PATH . "/modules/system/class/module.php";
+ $system_module = new SystemModule();
+
$msgs = array();
foreach ($_REQUEST['modules'] as $dirname => $installmod) {
if ($installmod) {
- $msgs[] = xoops_module_install($dirname);
+ $msgs[] = $system_module->install($dirname);
}
}
@@ -52,7 +55,8 @@
if (count($msgs) > 0) {
$content = "<div class='x2-note successMsg'>" . INSTALLED_MODULES . "</div><ul class='log'>";
foreach ($msgs as $msg) {
- $content .= "<dt>{$msg}</dt>";
+ $tempvar = $msg->modinfo['name'];
+ $content .= "<dt>{$tempvar}</dt>";
}
$content .= "</ul>";
} else {
Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/install/page_theme.php
===================================================================
--- XoopsCore/branches/2.6.x/2.6.0/htdocs/install/page_theme.php 2012-02-05 05:50:29 UTC (rev 8883)
+++ XoopsCore/branches/2.6.x/2.6.0/htdocs/install/page_theme.php 2012-02-05 19:31:41 UTC (rev 8884)
@@ -48,14 +48,16 @@
$wizard->redirectToPage('+1');
}
-
+$xoops->loadLanguage('admin', 'system', $wizard->language);
$xoops->loadLanguage('admin/preferences', 'system', $wizard->language);
$criteria = new CriteriaCompo();
$criteria->add(new Criteria('conf_modid', 0));
$criteria->add(new Criteria('conf_name', 'theme_set'));
-$config = array_pop($config_handler->getConfigs($criteria));
+$tempvar = $config_handler->getConfigs($criteria);
+$config = array_pop($tempvar);
+
include XOOPS_INSTALL_PATH . '/include/createconfigform.php';
$wizard->form = createThemeform($config);
$content = $wizard->CreateForm();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <be...@us...> - 2012-02-05 05:50:41
|
Revision: 8883
http://xoops.svn.sourceforge.net/xoops/?rev=8883&view=rev
Author: beckmi
Date: 2012-02-05 05:50:29 +0000 (Sun, 05 Feb 2012)
Log Message:
-----------
Changes by Roby73:
- GUI 2.5 and rss button and google
- function to fix strotime date in format dd/mm/yyyy
- toolbar for the social network.
Added Paths:
-----------
XoopsModules/AMS - Article Management System/branches/roby73/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/.htaccess
XoopsModules/AMS - Article Management System/branches/roby73/AMS/backend.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/UPGRADE.txt
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/about.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/admin_footer.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/admin_header.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/filterform.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/functions.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/groupperms.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/index.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/main.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/menu.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/seo.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/spotlight.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/archive.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/article.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/blocks/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/blocks/ams_author.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/blocks/ams_bigstory.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/blocks/ams_moderate.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/blocks/ams_spotlight.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/blocks/ams_top.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/blocks/ams_topics.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/blocks/ams_topicsnav.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/blocks/index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/changelog.txt
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/class/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/class/audience.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/class/class.mimetype.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/class/class.newsstory.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/class/class.newstopic.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/class/class.sfiles.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/class/formimageselect.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/class/idgobject.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/class/index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/class/link.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/class/pagenav.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/class/seo.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/class/spotlight.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/class/xoopsstory.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/class/xoopstopic.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/class/xoopstree.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/comment_delete.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/comment_edit.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/comment_new.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/comment_post.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/comment_reply.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/docs/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/docs/credits.txt
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/docs/index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/docs/install.txt
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/docs/lang_diff.txt
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/docs/licence.txt
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/docs/readme.txt
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/header.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/add.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/admin/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/admin/arguments.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/admin/article.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/admin/help.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/admin/index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/admin/level.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/admin/lock.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/admin/see.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/admin/seo.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/ams_logo.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/ams_logo.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/ams_slogo.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/articles.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/bookmarks/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/bookmarks/balatarin.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/bookmarks/blinklist.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/bookmarks/delicious.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/bookmarks/designfloat.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/bookmarks/diggman.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/bookmarks/facebook_share_icon.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/bookmarks/fark.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/bookmarks/furl.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/bookmarks/google-icon.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/bookmarks/google-reader-icon.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/bookmarks/google_buzz_icon.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/bookmarks/index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/bookmarks/mixx.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/bookmarks/myspace.jpg
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/bookmarks/newsvine.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/bookmarks/reddit.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/bookmarks/scriptandstyle.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/bookmarks/simpy.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/bookmarks/spurl.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/bookmarks/stumbleupon.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/bookmarks/technorati.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/bookmarks/twitter_share_icon.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/bookmarks/yahoomyweb.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/discuss.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/discuss.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/edit.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/email.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/email.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/forum.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/home.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/home.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/icon_fb.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/icons/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/icons/index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/icons/off.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/icons/on.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/left.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/left_on.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/new.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/print.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/print.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/rate0.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/rate1.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/rate2.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/rate3.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/rate4.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/rate5.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/right.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/right_on.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/rss.png
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/size.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/spotlight_preview/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/spotlight_preview/ams_block_spotlight_ams_center.html.jpg
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/spotlight_preview/ams_block_spotlight_ams_left.html.jpg
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/spotlight_preview/ams_block_spotlight_ams_right.html.jpg
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/spotlight_preview/ams_block_spotlight_ams_split_2.html.jpg
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/spotlight_preview/ams_block_spotlight_ams_split_3.html.jpg
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/spotlight_preview/ams_block_spotlight_ams_traditional.html.jpg
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/spotlight_preview/index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/topics/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/topics/97305f554ed05da2.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/topics/973063227371fd61.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/topics/index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/topics/topichardware.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/topics/topicnews.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/topics/topicprogramming.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/topics/topicsoftware.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/topics/topictech2.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/topics/xoops.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/topics/xoops_spotlight.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/images/topics/zindoz.gif
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/include/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/include/comment_functions.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/include/date.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/include/functions.inc.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/include/index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/include/notification.inc.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/include/ratingform.inc.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/include/search.inc.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/include/searchform.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/include/storyform.inc.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/include/uninstall.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/include/update.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/include/vars.inc.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/include/versionconflict.inc.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/index.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/dutch/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/dutch/admin.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/dutch/blocks.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/dutch/index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/dutch/mail_template/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/dutch/mail_template/global_newcategory_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/dutch/mail_template/global_newstory_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/dutch/mail_template/global_storysubmit_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/dutch/mail_template/index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/dutch/mail_template/story_approve_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/dutch/mail_template/topic_newstory_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/dutch/main.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/dutch/modinfo.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/english/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/english/admin.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/english/blocks.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/english/index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/english/mail_template/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/english/mail_template/global_newcategory_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/english/mail_template/global_newstory_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/english/mail_template/global_storysubmit_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/english/mail_template/index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/english/mail_template/story_approve_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/english/mail_template/topic_newstory_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/english/main.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/english/modinfo.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/french/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/french/admin.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/french/blocks.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/french/index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/french/mail_template/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/french/mail_template/global_newcategory_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/french/mail_template/global_newstory_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/french/mail_template/global_storysubmit_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/french/mail_template/index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/french/mail_template/story_approve_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/french/mail_template/topic_newstory_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/french/main.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/french/modinfo.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/german/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/german/admin.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/german/blocks.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/german/index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/german/mail_template/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/german/mail_template/global_newcategory_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/german/mail_template/global_newstory_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/german/mail_template/global_storysubmit_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/german/mail_template/index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/german/mail_template/story_approve_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/german/mail_template/topic_newstory_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/german/main.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/german/modinfo.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/italian/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/italian/admin.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/italian/blocks.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/italian/changelog.txt
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/italian/help/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/italian/help/help.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/italian/help/index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/italian/index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/italian/mail_template/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/italian/mail_template/global_newcategory_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/italian/mail_template/global_newstory_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/italian/mail_template/global_storysubmit_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/italian/mail_template/story_approve_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/italian/mail_template/topic_newstory_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/italian/main.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/italian/modinfo.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/spanish/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/spanish/admin.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/spanish/blocks.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/spanish/index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/spanish/info.txt
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/spanish/mail_template/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/spanish/mail_template/global_newcategory_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/spanish/mail_template/global_newstory_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/spanish/mail_template/global_storysubmit_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/spanish/mail_template/index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/spanish/mail_template/story_approve_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/spanish/mail_template/topic_newstory_notify.tpl
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/spanish/main.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/language/spanish/modinfo.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/link.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/notification_update.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/print.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/ratefile.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/rss.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/seo.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/showversion.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/sql/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/sql/index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/sql/mysql.sql
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/sql/upgrade.sql
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/sql/upgradeto300.sql
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/submit.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/templates/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/templates/ams_archive.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/templates/ams_article.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/templates/ams_article.html_
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/templates/ams_block_spotlight_ams_center.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/templates/ams_block_spotlight_ams_left.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/templates/ams_block_spotlight_ams_right.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/templates/ams_block_spotlight_ams_right.html.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/templates/ams_block_spotlight_ams_split_2.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/templates/ams_block_spotlight_ams_split_3.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/templates/ams_block_spotlight_ams_traditional.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/templates/ams_by_topic.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/templates/ams_index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/templates/ams_item.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/templates/ams_ratearticle.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/templates/ams_rss.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/templates/ams_searchform.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/templates/ams_version.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/templates/blocks/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/templates/blocks/ams_block_authors.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/templates/blocks/ams_block_bigstory.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/templates/blocks/ams_block_moderate.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/templates/blocks/ams_block_spotlight.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/templates/blocks/ams_block_top.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/templates/blocks/ams_block_topicnav.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/templates/blocks/ams_block_topics.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/templates/blocks/index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/templates/index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/upgrade/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/upgrade/class/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/upgrade/class/class.newsstory.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/upgrade/class/class.newstopic.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/upgrade/class/dbmanager.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/upgrade/class/index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/upgrade/class/newsupgrade.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/upgrade/index.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/upgrade/language/
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/upgrade/language/index.html
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/upgrade/language/install.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/versions.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/viewlink.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/visit.php
XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/xoops_version.php
Added: XoopsModules/AMS - Article Management System/branches/roby73/AMS/.htaccess
===================================================================
--- XoopsModules/AMS - Article Management System/branches/roby73/AMS/.htaccess (rev 0)
+++ XoopsModules/AMS - Article Management System/branches/roby73/AMS/.htaccess 2012-02-05 05:50:29 UTC (rev 8883)
@@ -0,0 +1,7 @@
+<IfModule mod_rewrite.c>
+Options +FollowSymLinks
+RewriteEngine on
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME} !-d
+RewriteRule op([0-9]+)id([0-9]+)pg([0-9]+)\.htm$ ./modules/AMS/seo.php?novaseo_op=$1&novaseo_id=$2&novaseo_pg=$3 [L,QSA]
+</IfModule>
\ No newline at end of file
Added: XoopsModules/AMS - Article Management System/branches/roby73/AMS/backend.php
===================================================================
--- XoopsModules/AMS - Article Management System/branches/roby73/AMS/backend.php (rev 0)
+++ XoopsModules/AMS - Article Management System/branches/roby73/AMS/backend.php 2012-02-05 05:50:29 UTC (rev 8883)
@@ -0,0 +1,117 @@
+<?php
+/*
+ You may not change or alter any portion of this comment or credits
+ of supporting developers from this source code or any supporting source code
+ which is considered copyrighted (c) material of the original comment or credit authors.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+*/
+
+/**
+ * Xoops Backend
+ *
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license http://www.fsf.org/copyleft/gpl.html GNU public license
+ * @package kernel
+ * @since 2.0.0
+ * @author Kazumi Ono <on...@xo...>
+ * @version $Id: backend.php 3538 2009-08-31 14:16:34Z trabis $
+ */
+include 'mainfile.php';
+
+$GLOBALS['xoopsLogger']->activated = false;
+if (function_exists('mb_http_output')) {
+ mb_http_output('pass');
+}
+header('Content-Type:text/xml; charset=utf-8');
+
+include_once XOOPS_ROOT_PATH.'/class/template.php';
+$tpl = new XoopsTpl();
+$tpl->xoops_setCaching(2);
+$tpl->xoops_setCacheTime(3600);
+$cache_file='db:system_rss.html';
+if(defined('XOOPS_CUBE_LEGACY') && (XOOPS_CUBE_LEGACY==true))
+{
+ $cache_file='db:legacy_rss.html';
+}
+if (!$tpl->is_cached($cache_file)) {
+
+ $tpl->assign('channel_title', xoops_utf8_encode(htmlspecialchars($xoopsConfig['sitename'], ENT_QUOTES)));
+ $tpl->assign('channel_link', XOOPS_URL . '/');
+ $tpl->assign('channel_desc', xoops_utf8_encode(htmlspecialchars($xoopsConfig['slogan'], ENT_QUOTES)));
+ $tpl->assign('channel_lastbuild', formatTimestamp(time(), 'rss'));
+ $tpl->assign('channel_webmaster', $xoopsConfig['adminmail']);
+ $tpl->assign('channel_editor', $xoopsConfig['adminmail']);
+ $tpl->assign('channel_category', 'News');
+ $tpl->assign('channel_generator', 'XOOPS');
+ $tpl->assign('channel_language', _LANGCODE);
+ if(file_exists(XOOPS_ROOT_PATH . '/images/logo.png'))
+ {
+ $tpl->assign('image_url', XOOPS_URL . '/images/logo.png');
+ $dimention = getimagesize(XOOPS_ROOT_PATH . '/images/logo.png');
+ } elseif(file_exists(XOOPS_ROOT_PATH . '/images/logo.gif'))
+ {
+ $tpl->assign('image_url', XOOPS_URL . '/images/logo.gif');
+ $dimention = getimagesize(XOOPS_ROOT_PATH . '/images/logo.gif');
+ }
+ if (empty($dimention[0])) {
+ $width = 88;
+ } else {
+ $width = ($dimention[0] > 144) ? 144 : $dimention[0];
+ }
+ if (empty($dimention[1])) {
+ $height = 31;
+ } else {
+ $height = ($dimention[1] > 400) ? 400 : $dimention[1];
+ }
+ $tpl->assign('image_width', $width);
+ $tpl->assign('image_height', $height);
+
+ if (file_exists($fileinc = XOOPS_ROOT_PATH.'/modules/AMS/class/class.newsstory.php')) {
+ include $fileinc;
+ $sarray = AmsStory::getAllPublished(10, 0, true);
+
+ if (!empty($sarray) && is_array($sarray)) {
+ foreach ($sarray as $story) {
+ //print $story->friendlyurl_enable;exit;
+ if($story->friendlyurl_enable==1)
+ {
+ $story_link = $story->friendlyurl ;
+ $story_guid = $story->friendlyurl ;
+ }else
+ {
+ $story_link = XOOPS_URL . '/modules/AMS/article.php?storyid=' . $story->storyid() ;
+ $story_guid = XOOPS_URL . '/modules/AMS/article.php?storyid=' . $story->storyid() ;
+ }
+ $tpl->append('items', array(
+ 'title' => xoops_utf8_encode(htmlspecialchars($story->title(), ENT_QUOTES)) ,
+ 'link' => $story_link ,
+ 'guid' => $story_guid ,
+ 'pubdate' => formatTimestamp($story->published(), 'rss') ,
+ 'description' => xoops_utf8_encode(htmlspecialchars($story->hometext(), ENT_QUOTES))));
+ }
+ }
+ }
+
+ if (file_exists($fileinc = XOOPS_ROOT_PATH.'/modules/news/class/class.newsstory.php')) {
+ include $fileinc;
+ $sarray = NewsStory::getAllPublished(10, 0, true);
+
+ if (!empty($sarray) && is_array($sarray)) {
+ foreach ($sarray as $story) {
+ $tpl->append('items', array(
+ 'title' => xoops_utf8_encode(htmlspecialchars($story->title(), ENT_QUOTES)) ,
+ 'link' => XOOPS_URL . '/modules/news/article.php?storyid=' . $story->storyid() ,
+ 'guid' => XOOPS_URL . '/modules/news/article.php?storyid=' . $story->storyid() ,
+ 'pubdate' => formatTimestamp($story->published(), 'rss') ,
+ 'description' => xoops_utf8_encode(htmlspecialchars($story->hometext(), ENT_QUOTES))));
+ }
+ }
+ }
+
+
+}
+$tpl->display($cache_file);
+?>
\ No newline at end of file
Added: XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/UPGRADE.txt
===================================================================
--- XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/UPGRADE.txt (rev 0)
+++ XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/UPGRADE.txt 2012-02-05 05:50:29 UTC (rev 8883)
@@ -0,0 +1,34 @@
+UPGRADING INSTRUCTIONS:
+
+Upgrade from AMS 2.41/AMS 2.42/AMS 2.50 Final/AMS 2.51 Final/AMS 2.52 Final
+============================================================================================
+1)click administrator->system admin->modules->AMS update (for XOOPS, it is box with green dot)
+2)do that one more time : click administrator->system admin->modules->AMS update (for XOOPS, it is box with green dot)
+3)go to administrator->AMS->preference. If you already have XOOPS EDITOR and phpp Framework, just press submit without changing anything (it is a MUST to update the database).
+4)If you don't have XOOPS EDITOR please change this:
+ EDITOR : change to DHTML
+ EDITOR CHOICES : select DHTML only
+ ENABLE EDITOR CHOICE TO USER : No (just for to be safe. Not really needed)
+ Then press submit.
+5) Clear your_xoops/cache, your_xoops/templates_c and your_xoops/xoops_data/caches (Xoops 2.3.x/2.4.x only)
+
+
+Upgrade from AMS 2.2
+====================
+1) Upload all files in this package - overwrite existing files
+2) Log in to the site
+3) Point your browser to modules/AMS/upgrade
+4) Select "Update module" - you will be passed on to the module administration's update, but an update script will have run prior to that, so it is important not just going to modules administration and then updating (this is a one-time database update, so if you update the module later, e.g. after changing the templates, you will not need to update the module through here)
+
+In order to import topics, articles, permissions, comments and attachments from an existing News module
+1) Log in as administrator to the site
+2) Go to [yoursite]/modules/AMS/upgrade
+3) Follow instructions on screen
+NOTE: If you decide to import comments from News, they WILL NO LONGER BE IN THE NEWS MODULE.
+Comments are moved - NOT copied
+
+Thank you
+
+Jan Keller Pedersen A.K.A Mithrandir
+email: jk...@we...
+web: www.web-udvikling.dk
\ No newline at end of file
Added: XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/about.php
===================================================================
--- XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/about.php (rev 0)
+++ XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/about.php 2012-02-05 05:50:29 UTC (rev 8883)
@@ -0,0 +1,31 @@
+<?php
+/**
+ * Marquee module
+ *
+ * You may not change or alter any portion of this comment or credits
+ * of supporting developers from this source code or any supporting source code
+ * 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 http://www.fsf.org/copyleft/gpl.html GNU public license
+ * @package Marquee
+ * @since 2.5.0
+ * @author Mage, Mamba
+ * @version $Id $
+ **/
+
+include '../../../include/cp_header.php';
+include 'admin_header.php';
+xoops_cp_header();
+
+$module_info =& $module_handler->get($xoopsModule->getVar("mid"));
+
+$aboutAdmin = new ModuleAdmin();
+
+echo $aboutAdmin->addNavigation('about.php');
+echo $aboutAdmin->renderabout('6KJ7RW5DR3VTJ', false);
+
+include 'admin_footer.php';
Added: XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/admin_footer.php
===================================================================
--- XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/admin_footer.php (rev 0)
+++ XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/admin_footer.php 2012-02-05 05:50:29 UTC (rev 8883)
@@ -0,0 +1,24 @@
+<?php
+/**
+ * MyLinks module
+ *
+ * You may not change or alter any portion of this comment or credits
+ * of supporting developers from this source code or any supporting source code
+ * 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:: http://www.fsf.org/copyleft/gpl.html GNU public license
+ * @package:: mylinks
+ * @subpackage:: admin
+ * @since: 2.5.0
+ * @author:: Magic.Shao <mag...@gm...> - Susheng Yang <ezs...@gm...>
+ * @version:: $Id $
+**/
+global $moduleInfo;
+echo "<div align=\"center\"><a href=\"http://www.xoops.org\" target=\"_blank\"><img src=" . XOOPS_URL ."/". $moduleInfo->getInfo("icons32")."/xoopsmicrobutton.gif"." alt=\"XOOPS\" title=\"XOOPS\"></a></div>";
+echo "<div class='center smallsmall italic pad5'><strong>" . $xoopsModule->getVar("name") . "</strong> is maintained by the <a class='tooltip' rel='external' href='http://www.xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>";
+
+xoops_cp_footer();
Added: XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/admin_header.php
===================================================================
--- XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/admin_header.php (rev 0)
+++ XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/admin_header.php 2012-02-05 05:50:29 UTC (rev 8883)
@@ -0,0 +1,52 @@
+<?php
+/**
+ * MyLinks module
+ *
+ * You may not change or alter any portion of this comment or credits
+ * of supporting developers from this source code or any supporting source code
+ * 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:: http://www.fsf.org/copyleft/gpl.html GNU public license
+ * @package:: mylinks
+ * @subpackage:: admin
+ * @since:: 2.5.0
+ * @author:: Magic.Shao <mag...@gm...> - Susheng Yang <ezs...@gm...>
+ * @version:: $Id $
+**/
+
+require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php';
+require_once XOOPS_ROOT_PATH . '/include/cp_functions.php';
+require '../../../include/cp_header.php';
+
+if ( file_exists($GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'))){
+ include_once $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php');
+ //return true;
+ }else{
+ echo xoops_error("Error: You don't use the Frameworks \"admin module\". Please install this Frameworks");
+ //return false;
+ }
+
+$moduleInfo =& $module_handler->get($xoopsModule->getVar('mid'));
+//$pathIcon16 = XOOPS_URL .'/'. $moduleInfo->getInfo('icons16');
+//$pathIcon32 = XOOPS_URL .'/'. $moduleInfo->getInfo('icons32');
+
+$thisModDir = $xoopsModule->getVar('dirname', 'n');
+xoops_loadLanguage('admin', $thisModDir);
+xoops_loadLanguage('modinfo', $thisModDir);
+xoops_loadLanguage('main', $thisModDir);
+
+if (!isset($xoopsTpl) || !is_object($xoopsTpl)) {
+ include_once XOOPS_ROOT_PATH . '/class/template.php' ;
+ $xoopsTpl = new XoopsTpl() ;
+}
+
+// Define Stylesheet and JScript
+//$xoTheme->addStylesheet( XOOPS_URL . "/modules/" . $xoopsModule->getVar('dirname') . "/css/admin.css" ) ;
+//$xoTheme->addScript("browse.php?Frameworks/jquery/jquery.js");
+//$xoTheme->addScript("browse.php?modules/" . $xoopsModule->getVar("dirname") . "/js/admin.js");
+
+?>
Added: XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/filterform.php
===================================================================
--- XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/filterform.php (rev 0)
+++ XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/filterform.php 2012-02-05 05:50:29 UTC (rev 8883)
@@ -0,0 +1,85 @@
+<?php
+// $Id: storyform.inc.php,v 1.10 2004/05/29 15:10:17 mithyt2 Exp $
+// ------------------------------------------------------------------------ //
+// XOOPS - PHP Content Management System //
+// Copyright (c) 2000 XOOPS.org //
+// <http://www.xoops.org/> //
+// ------------------------------------------------------------------------ //
+// This program is free software; you can redistribute it and/or modify //
+// it under the terms of the GNU General Public License as published by //
+// the Free Software Foundation; either version 2 of the License, or //
+// (at your option) any later version. //
+// //
+// You may not change or alter any portion of this comment or credits //
+// of supporting developers from this source code or any supporting //
+// source code which is considered copyrighted (c) material of the //
+// original comment or credit authors. //
+// //
+// This program is distributed in the hope that it will be useful, //
+// but WITHOUT ANY WARRANTY; without even the implied warranty of //
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
+// GNU General Public License for more details. //
+// //
+// You should have received a copy of the GNU General Public License //
+// along with this program; if not, write to the Free Software //
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
+// ------------------------------------------------------------------------ //
+include_once XOOPS_ROOT_PATH."/class/xoopsformloader.php";
+
+include_once(XOOPS_ROOT_PATH."/class/tree.php");
+
+$fform = new XoopsThemeForm(_AMS_AM_FILTER, "filterform", 'index.php');
+$fform->setExtra('enctype="multipart/form-data"');
+
+$first_row = new XoopsFormElementTray(_OPTIONS);
+
+$first_row->addElement(new XoopsFormText(_AMS_AM_TITLE, 'title', 50, 80, $title));
+global $xoopsDB;
+$xt = new AmsTopic($xoopsDB->prefix("ams_topics"));
+$alltopics = $xt->getAllTopics();
+$topic_obj_tree = new XoopsObjectTree($alltopics, 'topic_id', 'topic_pid');
+$first_row->addElement(new XoopsFormLabel(_AMS_AM_TOPIC, $topic_obj_tree->makeSelBox('topicid', 'topic_title', '--', $topicid, true)));
+
+$author_select = new XoopsFormSelect(_AMS_AM_POSTER, 'author', $author, 5, true);
+$authors = $xt->getAllAuthors();
+//$authors = array_flip($authors);
+
+foreach ($authors as $key => $user_arr) {
+ $author_select->addOption($user_arr['uid'], $user_arr['uname']);
+}
+
+$first_row->addElement($author_select);
+
+$second_row = new XoopsFormElementTray(_AMS_AM_SORTING);
+$status_select = new XoopsFormSelect(_AMS_AM_STATUS, 'status', $status);
+$status_select->addOption('none', '---');
+$status_select->addOption('published', _AMS_AM_PUBLISHED);
+$status_select->addOption('expired', _AMS_AM_EXPIRED);
+$second_row->addElement($status_select);
+
+
+
+$order = (isset($order)) ? $order : "DESC";
+$order_select = new XoopsFormSelect(_AMS_AM_ORDER, 'order', $order);
+$order_select->addOption('DESC', _DESCENDING);
+$order_select->addOption('ASC', _ASCENDING);
+$second_row->addElement($order_select);
+
+$sort = isset($sort) ? $sort : 0;
+$sort_select = new XoopsFormSelect(_AMS_AM_SORT, 'sort', $sort);
+$sort_select->addOption('n.storyid', _AMS_AM_STORYID);
+$sort_select->addOption('n.title', _AMS_AM_TITLE);
+$sort_select->addOption('n.published', _AMS_AM_PUBLISHED);
+$sort_select->addOption('n.counter', _AMS_AM_HITS);
+$sort_select->addOption('n.rating', _AMS_AM_RATING);
+$second_row->addElement($sort_select);
+
+$fform->addElement($first_row);
+$fform->addElement($second_row);
+
+$fform->addElement(new XoopsFormHidden('op', 'newarticle'));
+$button_row = new XoopsFormElementTray('');
+$button_row->addElement(new XoopsFormButton('', 'submit', _AMS_AM_FILTER, 'submit'));
+//$button_row->addElement(new XoopsFormButton('', 'reset', _AMS_AM_RESET, 'reset'));
+$fform->addElement($button_row);
+?>
\ No newline at end of file
Added: XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/functions.php
===================================================================
--- XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/functions.php (rev 0)
+++ XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/functions.php 2012-02-05 05:50:29 UTC (rev 8883)
@@ -0,0 +1,9 @@
+<?php
+
+function table_exists($tablename) {
+ global $xoopsDB;
+ $sql = "SELECT COUNT(*) FROM ".$xoopsDB->prefix($tablename);
+ return $xoopsDB->query($sql);
+}
+
+?>
Added: XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/groupperms.php
===================================================================
--- XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/groupperms.php (rev 0)
+++ XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/groupperms.php 2012-02-05 05:50:29 UTC (rev 8883)
@@ -0,0 +1,66 @@
+<?php
+// $Id: groupperms.php,v 1.7 2004/07/26 17:51:25 hthouzard Exp $
+// ------------------------------------------------------------------------ //
+// XOOPS - PHP Content Management System //
+// Copyright (c) 2000 XOOPS.org //
+// <http://www.xoops.org/> //
+// ------------------------------------------------------------------------ //
+// This program is free software; you can redistribute it and/or modify //
+// it under the terms of the GNU General Public License as published by //
+// the Free Software Foundation; either version 2 of the License, or //
+// (at your option) any later version. //
+// //
+// You may not change or alter any portion of this comment or credits //
+// of supporting developers from this source code or any supporting //
+// source code which is considered copyrighted (c) material of the //
+// original comment or credit authors. //
+// //
+// This program is distributed in the hope that it will be useful, //
+// but WITHOUT ANY WARRANTY; without even the implied warranty of //
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
+// GNU General Public License for more details. //
+// //
+// You should have received a copy of the GNU General Public License //
+// along with this program; if not, write to the Free Software //
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
+// ------------------------------------------------------------------------ //
+include '../../../include/cp_header.php';
+include_once XOOPS_ROOT_PATH . "/modules/AMS/class/class.newstopic.php";
+include_once XOOPS_ROOT_PATH . "/class/xoopslists.php";
+include_once XOOPS_ROOT_PATH.'/class/xoopsform/grouppermform.php';
+include_once "functions.php";
+include 'admin_header.php';
+xoops_cp_header();
+$index_admin = new ModuleAdmin() ;
+echo $index_admin->addNavigation('groupperms.php') ;
+$module_id = $xoopsModule->getVar('mid');
+$xt = new AmsTopic($xoopsDB -> prefix("ams_topics"));
+$allTopics = $xt->getAllTopics();
+$totaltopics = count($allTopics);
+if ($totaltopics > 0) {
+ //Approver Form
+ $approveform = new XoopsGroupPermForm(_AMS_AM_APPROVEFORM, $module_id, "ams_approve", _AMS_AM_APPROVEFORM_DESC);
+
+ //Submitter Form
+ $submitform = new XoopsGroupPermForm(_AMS_AM_SUBMITFORM, $module_id, "ams_submit", _AMS_AM_SUBMITFORM_DESC);
+
+ //Viewer Form
+ $viewform = new XoopsGroupPermForm(_AMS_AM_VIEWFORM, $module_id, "ams_view", _AMS_AM_VIEWFORM_DESC);
+
+
+ foreach ($allTopics as $topic_id => $topic) {
+ $approveform->addItem($topic_id, $topic->topic_title(), $topic->topic_pid());
+ $submitform->addItem($topic_id, $topic->topic_title(), $topic->topic_pid());
+ $viewform->addItem($topic_id, $topic->topic_title(), $topic->topic_pid());
+ }
+
+ echo $approveform->render();
+ unset ($approveform);
+
+ echo $submitform->render();
+ unset ($submitform);
+
+ echo $viewform->render();
+ unset ($viewform);
+}
+include "admin_footer.php";
Added: XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/index.php
===================================================================
--- XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/index.php (rev 0)
+++ XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/index.php 2012-02-05 05:50:29 UTC (rev 8883)
@@ -0,0 +1,28 @@
+<?php
+/**
+ * ****************************************************************************
+ *
+ * You may not change or alter any portion of this comment or credits
+ * of supporting developers from this source code or any supporting source code
+ * which is considered copyrighted (c) material of the original comment or credit authors.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * @copyright XOOPS Project
+ * @license http://www.fsf.org/copyleft/gpl.html GNU public license
+ * @package
+ * @author
+ *
+ * Version : $Id:
+ * ****************************************************************************
+ */
+
+include_once 'admin_header.php';
+xoops_cp_header();
+
+$indexAdmin = new ModuleAdmin();
+echo $indexAdmin->addNavigation('index.php');
+echo $indexAdmin->renderIndex();
+
+include 'admin_footer.php';
Added: XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/main.php
===================================================================
--- XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/main.php (rev 0)
+++ XoopsModules/AMS - Article Management System/branches/roby73/AMS/modules/AMS/admin/main.php 2012-02-05 05:50:29 UTC (rev 8883)
@@ -0,0 +1,913 @@
+<?php
+// $Id: index.php,v 1.17 2004/07/26 17:51:25 hthouzard Exp $
+// ------------------------------------------------------------------------ //
+// XOOPS - PHP Content Management System //
+// Copyright (c) 2000 XOOPS.org //
+// <http://www.xoops.org/> //
+// ------------------------------------------------------------------------ //
+// This program is free software; you can redistribute it and/or modify //
+// it under the terms of the GNU General Public License as published by //
+// the Free Software Foundation; either version 2 of the License, or //
+// (at your option) any later version. //
+// //
+// You may not change or alter any portion of this comment or credits //
+// of supporting developers from this source code or any supporting //
+// source code which is considered copyrighted (c) material of the //
+// original comment or credit authors. //
+// //
+// This program is distributed in the hope that it will be useful, //
+// but WITHOUT ANY WARRANTY; without even the implied warranty of //
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
+// GNU General Public License for more details. //
+// //
+// You should have received a copy of the GNU General Public License //
+// along with this program; if not, write to the Free Software //
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
+// ------------------------------------------------------------------------ //
+
+include '../../../include/cp_header.php';
+include_once XOOPS_ROOT_PATH . "/modules/AMS/class/xoopstopic.php";
+include_once XOOPS_ROOT_PATH . "/class/xoopslists.php";
+include_once XOOPS_ROOT_PATH . "/modules/AMS/class/class.newsstory.php";
+include_once XOOPS_ROOT_PATH . "/modules/AMS/class/class.newstopic.php";
+include_once XOOPS_ROOT_PATH . "/modules/AMS/class/class.sfiles.php";
+include_once XOOPS_ROOT_PATH . '/class/uploader....
[truncated message content] |
|
From: <txm...@us...> - 2012-02-04 15:53:57
|
Revision: 8882
http://xoops.svn.sourceforge.net/xoops/?rev=8882&view=rev
Author: txmodxoops
Date: 2012-02-04 15:53:44 +0000 (Sat, 04 Feb 2012)
Log Message:
-----------
added final version utf-8
Added Paths:
-----------
XoopsLanguages/italian/core/2.5.4/Changelog_Traduzione.txt
XoopsLanguages/italian/core/2.5.4/Istruzioni.txt
XoopsLanguages/italian/core/2.5.4/Note di rilascio.txt
XoopsLanguages/italian/core/2.5.4/extras/
XoopsLanguages/italian/core/2.5.4/extras/Icone_italiane/
XoopsLanguages/italian/core/2.5.4/extras/Icone_italiane/Installazione_icone.txt
XoopsLanguages/italian/core/2.5.4/extras/Icone_italiane/images/
XoopsLanguages/italian/core/2.5.4/extras/Icone_italiane/images/icons/
XoopsLanguages/italian/core/2.5.4/extras/Icone_italiane/images/icons/delete.gif
XoopsLanguages/italian/core/2.5.4/extras/Icone_italiane/images/icons/edit.gif
XoopsLanguages/italian/core/2.5.4/extras/Icone_italiane/images/icons/profile.gif
XoopsLanguages/italian/core/2.5.4/extras/Icone_italiane/images/icons/reply.gif
XoopsLanguages/italian/core/2.5.4/extras/modules/
XoopsLanguages/italian/core/2.5.4/extras/modules/system/
XoopsLanguages/italian/core/2.5.4/extras/modules/system/language/
XoopsLanguages/italian/core/2.5.4/extras/modules/system/language/italian/
XoopsLanguages/italian/core/2.5.4/extras/modules/system/language/italian/admin/
XoopsLanguages/italian/core/2.5.4/extras/modules/system/language/italian/admin/filemanager.php
XoopsLanguages/italian/core/2.5.4/htdocs/
XoopsLanguages/italian/core/2.5.4/htdocs/class/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/dhtmltextarea/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/dhtmltextarea/language/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/dhtmltextarea/language/italian.php
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/textarea/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/textarea/language/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/textarea/language/italian.php
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/language/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/language/italian.php
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/it.js
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/it.js
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/it.js
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/langs/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/langs/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/langs/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/langs/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/langs/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/langs/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/langs/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/langs/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/langs/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/langs/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/langs/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/langs/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/langs/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/langs/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/langs/it.js
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/it.js
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/langs/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/langs/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/langs/it.js
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/langs/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/langs/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/langs/it.js
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/langs/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/langs/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/langs/it.js
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/it.js
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/it_dlg.js
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/langs/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/langs/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/langs/it.js
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/utils/
XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/utils/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/install/
XoopsLanguages/italian/core/2.5.4/htdocs/install/include/
XoopsLanguages/italian/core/2.5.4/htdocs/install/include/functions.php
XoopsLanguages/italian/core/2.5.4/htdocs/install/language/
XoopsLanguages/italian/core/2.5.4/htdocs/install/language/italian/
XoopsLanguages/italian/core/2.5.4/htdocs/install/language/italian/finish.php
XoopsLanguages/italian/core/2.5.4/htdocs/install/language/italian/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/install/language/italian/install.php
XoopsLanguages/italian/core/2.5.4/htdocs/install/language/italian/install2.php
XoopsLanguages/italian/core/2.5.4/htdocs/install/language/italian/mysql.lang.data.sql
XoopsLanguages/italian/core/2.5.4/htdocs/install/language/italian/style.css
XoopsLanguages/italian/core/2.5.4/htdocs/install/language/italian/support.php
XoopsLanguages/italian/core/2.5.4/htdocs/install/language/italian/support.png
XoopsLanguages/italian/core/2.5.4/htdocs/install/language/italian/welcome.php
XoopsLanguages/italian/core/2.5.4/htdocs/language/
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/admin.php
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/auth.php
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/backend.php
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/banners.php
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/calendar.php
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/captcha.php
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/comment.php
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/countries.php
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/errors.php
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/findusers.php
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/formdhtmltextarea.php
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/global.php
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/locale.php
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/logger.php
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/mail.php
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/mail_template/
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/mail_template/activated.tpl
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/mail_template/adminactivate.tpl
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/mail_template/comment_notify.tpl
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/mail_template/commentsubmit_notify.tpl
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/mail_template/default_notify.tpl
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/mail_template/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/mail_template/lostpass1.tpl
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/mail_template/lostpass2.tpl
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/mail_template/register.tpl
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/mail_template/tellfriend.tpl
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/mail_template/welcome.tpl
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/misc.php
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/notification.php
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/pmsg.php
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/search.php
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/style.css
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/timezone.php
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/uploader.php
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/user.php
XoopsLanguages/italian/core/2.5.4/htdocs/language/italian/xoopsmailerlocal.php
XoopsLanguages/italian/core/2.5.4/htdocs/modules/
XoopsLanguages/italian/core/2.5.4/htdocs/modules/pm/
XoopsLanguages/italian/core/2.5.4/htdocs/modules/pm/language/
XoopsLanguages/italian/core/2.5.4/htdocs/modules/pm/language/italian/
XoopsLanguages/italian/core/2.5.4/htdocs/modules/pm/language/italian/admin.php
XoopsLanguages/italian/core/2.5.4/htdocs/modules/pm/language/italian/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/modules/pm/language/italian/main.php
XoopsLanguages/italian/core/2.5.4/htdocs/modules/pm/language/italian/modinfo.php
XoopsLanguages/italian/core/2.5.4/htdocs/modules/profile/
XoopsLanguages/italian/core/2.5.4/htdocs/modules/profile/language/
XoopsLanguages/italian/core/2.5.4/htdocs/modules/profile/language/italian/
XoopsLanguages/italian/core/2.5.4/htdocs/modules/profile/language/italian/admin.php
XoopsLanguages/italian/core/2.5.4/htdocs/modules/profile/language/italian/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/modules/profile/language/italian/mail_template/
XoopsLanguages/italian/core/2.5.4/htdocs/modules/profile/language/italian/mail_template/emailchanged.tpl
XoopsLanguages/italian/core/2.5.4/htdocs/modules/profile/language/italian/mail_template/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/modules/profile/language/italian/main.php
XoopsLanguages/italian/core/2.5.4/htdocs/modules/profile/language/italian/modinfo.php
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/admin/
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/admin/avatars.php
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/admin/banners.php
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/admin/blocksadmin.php
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/admin/comments.php
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/admin/groups.php
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/admin/images.php
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/admin/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/admin/mailusers.php
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/admin/maintenance.php
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/admin/modulesadmin.php
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/admin/preferences.php
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/admin/smilies.php
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/admin/tplsets.php
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/admin/userrank.php
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/admin/users.php
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/admin.php
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/blocks.php
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/cpanel.php
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/help/
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/help/avatars.html
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/help/banners.html
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/help/blocksadmin.html
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/help/comments.html
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/help/groups.html
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/help/help_center.html
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/help/images.html
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/help/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/help/mailusers.html
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/help/maintenance.html
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/help/module_index.html
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/help/modulesadmin.html
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/help/preferences.html
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/help/smilies.html
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/help/tplsets.html
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/help/userrank.html
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/help/users.html
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/images/
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/images/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/images/lightbox-blank.gif
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/images/lightbox-btn-close.gif
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/images/lightbox-btn-next.gif
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/images/lightbox-btn-prev.gif
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/images/lightbox-ico-loading.gif
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/language/italian/modinfo.php
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/themes/
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/themes/default/
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/themes/default/language/
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/themes/default/language/italian/
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/themes/default/language/italian/admin.php
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/themes/default/language/italian/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/themes/default/language/italian/localsupport.php
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/themes/zetadigme/
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/themes/zetadigme/css/
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/themes/zetadigme/css/it.css
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/themes/zetadigme/language/
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/themes/zetadigme/language/italian/
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/themes/zetadigme/language/italian/admin.php
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/themes/zetadigme/language/italian/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/modules/system/themes/zetadigme/language/italian/localsupport.php
XoopsLanguages/italian/core/2.5.4/htdocs/themes/
XoopsLanguages/italian/core/2.5.4/htdocs/themes/suico/
XoopsLanguages/italian/core/2.5.4/htdocs/themes/suico/language/
XoopsLanguages/italian/core/2.5.4/htdocs/themes/suico/language/italian/
XoopsLanguages/italian/core/2.5.4/htdocs/themes/suico/language/italian/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/themes/suico/language/italian/main.php
XoopsLanguages/italian/core/2.5.4/htdocs/themes/suico/language/italian/script.js
XoopsLanguages/italian/core/2.5.4/htdocs/themes/suico/language/italian/style.css
XoopsLanguages/italian/core/2.5.4/htdocs/themes/zetagenesis/
XoopsLanguages/italian/core/2.5.4/htdocs/themes/zetagenesis/language/
XoopsLanguages/italian/core/2.5.4/htdocs/themes/zetagenesis/language/italian/
XoopsLanguages/italian/core/2.5.4/htdocs/themes/zetagenesis/language/italian/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/themes/zetagenesis/language/italian/main.php
XoopsLanguages/italian/core/2.5.4/htdocs/themes/zetagenesis/language/italian/script.js
XoopsLanguages/italian/core/2.5.4/htdocs/themes/zetagenesis/language/italian/style.css
XoopsLanguages/italian/core/2.5.4/htdocs/themes/zetagenesis/language/leggimi.txt
XoopsLanguages/italian/core/2.5.4/htdocs/xoops_lib/
XoopsLanguages/italian/core/2.5.4/htdocs/xoops_lib/modules/
XoopsLanguages/italian/core/2.5.4/htdocs/xoops_lib/modules/protector/
XoopsLanguages/italian/core/2.5.4/htdocs/xoops_lib/modules/protector/language/
XoopsLanguages/italian/core/2.5.4/htdocs/xoops_lib/modules/protector/language/italian/
XoopsLanguages/italian/core/2.5.4/htdocs/xoops_lib/modules/protector/language/italian/admin.php
XoopsLanguages/italian/core/2.5.4/htdocs/xoops_lib/modules/protector/language/italian/index.html
XoopsLanguages/italian/core/2.5.4/htdocs/xoops_lib/modules/protector/language/italian/main.php
XoopsLanguages/italian/core/2.5.4/htdocs/xoops_lib/modules/protector/language/italian/modinfo.php
XoopsLanguages/italian/core/2.5.4/upgrade/
XoopsLanguages/italian/core/2.5.4/upgrade/cnt-2.2.x-to-2.3.0/
XoopsLanguages/italian/core/2.5.4/upgrade/cnt-2.2.x-to-2.3.0/language/
XoopsLanguages/italian/core/2.5.4/upgrade/cnt-2.2.x-to-2.3.0/language/italian.php
XoopsLanguages/italian/core/2.5.4/upgrade/language/
XoopsLanguages/italian/core/2.5.4/upgrade/language/italian/
XoopsLanguages/italian/core/2.5.4/upgrade/language/italian/index.html
XoopsLanguages/italian/core/2.5.4/upgrade/language/italian/style.css
XoopsLanguages/italian/core/2.5.4/upgrade/language/italian/upgrade.php
XoopsLanguages/italian/core/2.5.4/upgrade/leggimi.txt
XoopsLanguages/italian/core/2.5.4/upgrade/upd-2.0.18-to-2.3.0/
XoopsLanguages/italian/core/2.5.4/upgrade/upd-2.0.18-to-2.3.0/language/
XoopsLanguages/italian/core/2.5.4/upgrade/upd-2.0.18-to-2.3.0/language/italian.php
Added: XoopsLanguages/italian/core/2.5.4/Changelog_Traduzione.txt
===================================================================
--- XoopsLanguages/italian/core/2.5.4/Changelog_Traduzione.txt (rev 0)
+++ XoopsLanguages/italian/core/2.5.4/Changelog_Traduzione.txt 2012-02-04 15:53:44 UTC (rev 8882)
@@ -0,0 +1,259 @@
+*********************************************************************************
+***************** CHANGELOG TRADUZIONE per CORE XOOPS ***************************
+---------------------------------------------------------------------------------
+-- Ultimo aggiornamento: 30/11/2011 ----------------------- by TXMod Xoops -----
+---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
+* 2.5.4 *
+--------------------------------------------------------------
+-Nuova traduzione completa - Identica a versione 2.5.3, tranne:
+-Aggiunto define _AM_SYSTEM_TEMPLATES_SET nel file modules/system/language/italian/admin.php
+
+*********************************************************************************
+************* CHANGELOG TRADUZIONE per CORE XOOPS ***************************
+---------------------------------------------------------------------------------
+-- Ultimo aggiornamento: 06/10/2011 ----------------------- by TXMod Xoops -----
+---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
+* 2.5.3 *
+--------------------------------------------------------------
+-Nuova traduzione completa - Identica a versione 2.5.2, tranne:
+-Aggiunto define _MSC_CLICK_TO_OPEN_IMAGE nel file language/italian/misc.php
+-Aggiunto define _MSC_RESIZED_IMAGE nel file language/italian/misc.php
+-Aggiunto define _MSC_ORIGINAL_IMAGE nel file language/italian/misc.php
+-Aggiunto define _PM_SURE_TO_DELETE nel file language/italian/pmsg.php
+
+---------------------------------------------------------------------------------
+-- Ultimo aggiornamento: 03/10/2011 ----------------------- by TXMod Xoops -----
+---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
+* 2.5.2 *
+--------------------------------------------------------------
+-Nuova traduzione completa del lato admin - Identica a versione 2.5.0, tranne:
+-Aggiunto define _AM_SYSTEM_TEMPLATES_SET nel file admin/tplsets.php
+-Tradotto define _AM_SYSTEM_TEMPLATES_RESTORE_TOK nel file admin/tplsets.php
+-Tradotto define _AM_SYSTEM_TEMPLATES_RESTORE_NOTOK nel file admin/tplsets.php
+
+**MODULI PACCHETTO BASE**
+-------------------------
+-Revisionata la traduzione dei moduli - OK
+
+---------------------------------------------------------------------------------
+-- Ultimo aggiornamento: 20/04/2011 ----------------------- by Xoops Italia -----
+---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
+* 2.5.0 *
+--------------------------------------------------------------
+-Nuova traduzione completa del lato admin
+-Aggiunti file di lingua necessari per nuove funzioni
+-Aggiunta traduzione editor tinymce (grazie luciorota)
+-Aggiunta traduzione completa dell'aiuto online (Ianez/luciorota)
+-Aggiunte immagini in italiano per lightbox jquery (per gestione immagini)
+-Aggiunte icone generiche profilo/elimina/rispondi/annulla in italiano (a parte in cartella extras)
+-Aggiunta traduzione file manager (a parte in cartella extras) (grazie luciorota)
+
+-Modificate le intestazioni commentate dei file php
+-Revisione e correzione installer (path mysql + ortografia)
+-Corretti diversi errori ortografici
+
+**MODULI PACCHETTO BASE**
+-------------------------
+-Revisionata la traduzione dei moduli
+
+
+* 2.4.5 *
+--------------------------------------------------------------
+-Aggiunto define: language/english/logger.php _LOGGER_DEPRECATED
+
+-Corretto file: /language/italian/banners.php
+-Corretto file: /language/italian/user.php
+
+
+
+* 2.4.3 *
+--------------------------------------------------------------
+
+-Aggiunta cartella /themes/zetagenesis/language/italian (e relativi files tradotti)
+-Aggiunta cartella /modules/system/class/gui/oxygene/language/italian (e relativi files tradotti)
+-Aggiunto file: /install/include/functions.php (voci relative alla licenza xoops)
+-Aggiunto file: /install/language/italian/support.png
+-Aggiunto file: /install/language/italian/support.php
+-Aggiunto file: /language/italian/style.css
+
+
+-Modificato file lingua: /language/italian/banners.php
+-Rimossa cartella: /modules/system/class/gui/default
+-Reimpostazione intestazioni file di lingua
+
+**MODULI PACCHETTO BASE**
+-------------------------
+-Aggiornata traduzione modulo protector (xoops_lib/modules/protector/language/italian/)
+
+
+
+* 2.4.2 *
+-----------------------------------------
+
+-Modificato file lingua: /install/language/italian/[tutti i files]
+
+
+-Aggiunto file lingua: /language/italian/countries.php
+-Aggiunto file lingua: /language/italian/errors.php
+-Aggiunto file lingua: /language/italian/logger.php
+-Aggiunto file lingua: htdocs/class/calendar/JSCal2/language/italian.php
+-Aggiunta directory: /modules/system/admin/
+
+
+
+-Modificato file lingua: /language/italian/admin.php
+-Modificato file lingua: /language/italian/auth.php
+-Modificato file lingua: /language/italian/calendar.php
+-Modificato file lingua: /language/italian/captcha.php
+-Modificato file lingua: /language/italian/comment.php
+-Modificato file lingua: /language/italian/formdhtmltextarea.php
+-Modificato file lingua: /language/italian/misc.php
+-Modificato file lingua: /language/italian/notification.php
+-Modificato file lingua: /language/italian/pmsg.php
+-Modificato file lingua: /language/italian/search.php
+-Modificato file lingua: /language/italian/user.php
+-Modificato file lingua: /htdocs/install/language/italian/finish.php
+-Modificato file lingua: /htdocs/install/language/italian/install.php
+-Modificato file lingua: /htdocs/install/language/italian/install2.php
+-Modificato file lingua: /htdocs/install/language/italian/welcome.php
+-Modificato file lingua: /htdocs/install/language/italian/mysql.lang.data.sql
+
+**MODULI PACCHETTO BASE**
+-------------------------
+-Modificato file lingua: /modules/pm/language/italian/admin.php
+-Modificato file lingua: /modules/pm/language/italian/main.php
+-Modificato file lingua: /modules/pm/language/italian/modinfo.php
+-Modificato file lingua: /modules/profile/language/italian/admin.php
+-Modificato file lingua: /modules/profile/language/italian/main.php
+-Modificato file lingua: /modules/profile/language/italian/modinfo.php
+
+
+
+* 2.3* (Unificazione rami 2.0.x e 2.2.x)
+-----------------------------------------
+
+**CORE**
+--------
+- Aggiunto file lingua: /language/italian/captcha.php
+- Aggiunto file lingua: /language/italian/formdhtmltextarea.php
+- Aggiunto file lingua: /language/italian/locale.php
+- Aggiunto file lingua: /language/italian/mail_template/welcome.tpl
+- Aggiunto file lingua: /modules/system/language/italian/cpanel.php
+- Aggiunto file locale: /modules/system/class/gui/exm/language/italian/admin.php
+- Aggiunto file locale: /modules/system/class/gui/default/style/it.css
+- Aggiunto file locale: /modules/system/class/gui/exm/style/it.css
+- Aggiunto file locale upgrade/cnt-2.2.x-to-2.3.0/language/italian.php
+- Aggiunto file locale upgrade/upd-2.0.18-to-2.3.0/language/italian.php
+
+- Aggiunta traduzione completa della classe xoopseditor (fckeditor, tinymce, koivi) [Lucio Rota]
+- Aggiunta/revisione traduzione del programma di installazione
+
+- Aggiunte nuove costanti in /language/italian/user.php
+- Aggiunte nuove costanti in modules/system/language/italian/admin/blocksadmin.php
+- Aggiunte nuove costanti in modules/system/language/italian/admin/modulesadmin.php (routine installazione)
+- Aggiunte nuove costanti in modules/system/language/italian/admin/preferences.php
+- Aggiornamento traduzione /upgrade/language/italian/upgrade.php
+
+
+- Migliorie/Revisione traduzione in: /language/italian/[diversi files]
+- Migliorie/Revisione traduzione in: /modules/system/language/italian/[diversi files]
+
+- Conversione di tutti i caratteri speciali(\xE8\xF9\xE0..) in valori HTML, per maggiore compatibilit\xE0
+- Verifica conversione codifica files in UTF8 (per adeguamento nuovo charset)
+
+
+**MODULI PACCHETTO BASE**
+-------------------------
+- Aggiunta traduzione modulo Protector 3.20 [Defkon]
+- Aggiunta traduzione modulo Profile 1.51 [Urban/Ianez]
+- Aggiunta traduzione modulo Private Messaging 1 [Urban/Ianez]
+- Aggiunta traduzione modulo ThAdmin 1.1 [Ottagon/Ianez]
+
+
+*********************************************************************************
+*********************************************************************************
+
+
+* 2.0.18.1 *
+-----------------------
+
+- Migliorie/Revisione traduzione in: /language/italian/[diversi files]
+
+
+
+
+* 2.0.18 *
+-----------------------
+
+- Aggiornamento delle condizioni di utilizzo generali del sito (d.lgs 196/03)
+- Aggiornamento globale intestazioni/id files di lingua
+
+- Aggiunto file: /language/italian/banners.php
+- Aggiunto file: /upgrade/language/italian/upgrade.php (solo in pacchetti completi)
+- Aggiunto file: /modules/system/xoopsversion.php
+
+- Aggiunta costante in /language/italian/findusers.php
+- Aggiunte costanti in /language/italian/global.php
+
+- Migliorie/Revisione traduzione per installazione (/install/language/italian)
+- Migliorie/Revisione traduzione in: /language/italian/[diversi files]
+- Migliorie/Revisione traduzione in: modules/system/language/italian/[diversi files]
+
+
+
+* 2.0.17/2.0.17.1 *
+-----------------------
+- Aggiunto file: /language/italian/findusers.php
+- Aggiunto file: /language/italian/uploader.php
+
+- Aggiunta costante _AM_GROUPS in /modules/system/language/italian/admin/findusers.php
+- Aggiunta costante _MD_AM_CONFIG in /modules/system/language/italian/admin.php
+- Aggiunta costante _AM_CNRNU2 in /modules/system/language/italian/admin/users.php
+- Aggiunte costanti _MD_AM_LDAP_USETLS e _MD_AM_LDAP_USETLS_DESC a /modules/system/language/italian/admin/preferences.php
+- Aggiunta costante _AUTH_LDAP_START_TLS_FAILED in /languages/italian/auth.php
+- Aggiunta costante _NOT_NOTHINGTODELETE in /languages/italian/notification.php
+
+- Migliorie traduzione in /modules/system/language/italian/admin/users.php
+- Migliorie traduzione in /modules/system/language/italian/admin.php
+- Migliorie traduzione in /modules/system/language/italian/admin/preferences.php
+
+- Modifica voce 'Messaggi in arrivo' in 'Posta in arrivo' nel Menù utente.
+
+
+
+* 2.0.16 *
+-----------------------
+- Aggiunti files lingua per language/italian/xoopsmailerlocal.php e language/italian/auth.php
+- Aggiunto file lingua in class/mail/phpmailer/phpmailerlang-it.php
+- Aggiunte costanti mappatura campi per autenticazione in system/language/italian/admin/preferences.php
+- Miglioramento linguaggio per metodo notifica (modifica profilo)
+
+
+* 2.0.14/2.0.15 *
+-----------------------
+- Modificata voce "Menu' di amministrazione" in "Amministrazione"
+- Aggiunta costante in: system/admin/smileys (_AM_DISPLAYF)
+- Aggiunte tre nuove costanti in: system/admin/blocksadmin (_AM_CBBOTTOM, _AM_CBBOTTOMLEFT, _AM_CBBOTTOMRIGHT)
+- Modificate alcune costanti in: system/admin/preferences (_MD_AM_DEBUGMODE1,_MD_AM_DEBUGMODE2,_MD_AM_THEMEFILE,_MD_AM_THEMEFILEDSC)
+- Aggiunta una costante a: language/english/comment.php (_CM_RE)
+- aggiunt nuove costanti per le opzioni di autenticazione in: system/admin/preferences
+- Piccole correzioni linguistiche
+- Miglioramento linguaggio per metodo notifica (modifica profilo)
+
+
+----------------------------------------------------------------------------------
+Creato il: 10/10/2008 ** by Xoops Italia Staff -----------------------------------
+----------------------------------------------------------------------------------
+----------------------------------------------------------------------------------
+Traduzione orginale by BlueAngel, Dantom - Revisione a cura di Ianez -------------
+----------------------------------------------------------------------------------
+Supporto: www.xoopsitalia.org - www.xoops.org [Eng] ------------------------------
+__________________________________________________________________________________
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.4/Istruzioni.txt
===================================================================
--- XoopsLanguages/italian/core/2.5.4/Istruzioni.txt (rev 0)
+++ XoopsLanguages/italian/core/2.5.4/Istruzioni.txt 2012-02-04 15:53:44 UTC (rev 8882)
@@ -0,0 +1,39 @@
+*********************************************************************************
+************* INSTALLAZIONE TRADUZIONE CORE XOOPS *******************************
+---------------------------------------------------------------------------------
+-- Ultimo aggiornamento: 10/07/2010 ----------------------- by Xoops Italia -----
+---------------------------------------------------------------------------------
+---------------------------------------------------------------------------------
+
+
+*APPLICAZIONE TRADUZIONE SU XOOPS GIA INSTALLATO*
+-------------------------------------------------
+
+- Estrarre dall'archivio la cartella principale sul desktop o dove si preferisce
+- Accedere (in locale o remoto) alla root (cartella principale) della propria installazione XOOPS
+- Accedere alla cartella appena estratta e aprire la cartella HTDOCS
+- Selezionare TUTTI i files e cartelle contenuti nella cartella HTDOCS e trascinarli all'interno della root della propria installazione di Xoops
+- Permettere che TUTTI i files vengano sovrascritti se vi viene richiesto
+- Eliminare la cartella "install" dalla root della propria installazione Xoops
+
+
+*APPLICAZIONE TRADUZIONE PRIMA DI INSTALLARE*
+-------------------------------------------------
+
+- Estrarre dall'archivio la cartella principale sul desktop o dove si preferisce
+- Accedere (in locale o remoto) alla root (cartella principale) dove avete messo i files di XOOPS
+- Accedere alla cartella appena estratta e aprire la cartella HTDOCS
+- Selezionare TUTTI i files e cartelle contenuti nella cartella HTDOCS e trascinarli all'interno della cartella in cui avete messo i files di Xoops
+- Permettere che TUTTI i files vengano sovrascritti se vi viene richiesto
+- Accedere via browser e seguire le istruzioni
+
+
+*NOTE*
+--------------------------------------------
+- Quando possibile si consiglia di applicare i files di traduzione PRIMA di installare Xoops
+
+
+----------------------------------------------------------------------------------
+----------------------------------------------------------------------------------
+Supporto: www.xoopsitalia.org - www.xoops.org [Eng] ------------------------------
+__________________________________________________________________________________
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.4/Note di rilascio.txt
===================================================================
--- XoopsLanguages/italian/core/2.5.4/Note di rilascio.txt (rev 0)
+++ XoopsLanguages/italian/core/2.5.4/Note di rilascio.txt 2012-02-04 15:53:44 UTC (rev 8882)
@@ -0,0 +1,107 @@
+--------------------------------------
+XOOPS 2.5.0 Versione Finale
+--------------------------------------
+--------------------------------------
+
+Il team di sviluppo XOOPS è lieto di annunciare il rilascio di XOOPS 2.5.0 FINALE.
+
+Questa versione basata sul ramo 2.4.x offre una quasi completa riscrittura del modulo di Sistema che offre adesso funzionalità AJAX (tramite jquery) grazie al lavoro di Nicolas Andricq (ForMusS), Cointin Maxime (kraven_30), e Grégory Mage (Mage). GLi altri maggiori collaboratori sono Trabis, Voltan e Kris_fr e anche Onokazu.
+
+Alcune delle nuove caratteristiche:
+* collocazione visuale dei blocchi tramite drag&drop
+* ordinamento dei moduli visuale tramite drag&drop
+* pulizia delle cache tramite funzionalità apposita (manutenzione)
+* File manager (da installare a parte dalla cartella /extras)
+* nuovo sistema di gestione dei template
+* gestione centralizzata delgi editor testuali per blocchi commenti e moduli
+* guida/aiuto integrata
+
+Consultare il changelog (nella cartella docs) (in inglese) per i dettagli.
+
+Scaricare dall'indirizzo https://sourceforge.net/projects/xoops/files/XOOPS%20Core%20%28stable%20releases%29/XOOPS%202.5.0
+
+
+Requisiti di sistema
+-----------------------------------
+
+PHP:
+Qualsiasi versione PHP >= 5.2 (PHP 5.2+ è fortemente raccomandato)
+
+MySQL:
+MySQL server 5.0+ (MySQL 5.0+ è fortemente raccomandato)
+
+Web server:
+Qualsiasi server che supporti la versione PHP richiesta (Apache è fortemente raccomandato)
+
+
+Scaricare XOOPS
+-----------------------------------
+
+E' possibile scaricare questo rilascio dall'archivio file di Sourceforge.net
+Sono disponibili glia archivi in formato .zip e .gz
+
+
+Installare XOOPS
+-----------------------------------
+
+ 1. Copiare il contenuto della cartella htdocs/ dove può essere raggiunta dal vostro server
+ 2. Assicurarsi che mainfile.php e uploads/ siano scrivibili (chmod 777) dal server
+ 3. Per ragioni di sicurezza si consiglia di spostare le cartelle "/xoops_lib" (librerie XOOPS) e "/xoops_data" (XOOPS data) al di fuori della cartella principale (root) di Xoopa, o almeno rinominarle.
+ 4. Rendere scrivibile la cartella xoops_data/ ; Creare (se non esistono già) e rendere scrivibili le cartelle xoops_data/caches/, xoops_data/caches/xoops_cache/, xoops_data/caches/smarty_cache/ e xoops_data/caches/smarty_compile/ .
+ 5. Per lanciare la routine di installazione, accedere via browser alla directory in cui avete installato i files nella cartella htdocs/ .
+
+
+Installazione di PROTECTOR in XOOPS
+-----------------------------------
+
+Si raccomanda fortemente l'installazione del modulo PROTECTOR che è in grado di fornire ulteriore sicurezza e migliori possibilità di logging al vostro sito.
+
+
+
+Aggiornamento degli Editor Xoops
+----------------------------------------
+
+Nel pacchetto Xoops sono inclusi tre editor: dhtmltextarea e textarea per testo semplice e TinyMCE per WYSIWYG HTML.
+Vi sono altri sei Editor WYSIWYG disponibili: FCKeditor, Koivi, NiceEdit, Wymeditor, Xinha, eSpaw2 che possono essere scaricati da Xoops SourceForge (http://sourceforge.net/projects/xoops/files/XOOPS%20Editors/)
+Poichè vi sono alcune modifiche nella struttra della directory negli editor fckeditor e tinymce, si raccomanda di rimuovere gli editor presenti prima di caricare i nuovi editor.
+Infine, se si utilizza l'editor FCKeditor nei moduli, modificare le configurazioni specifiche del modulo nel file/fckeditor/modules/, soprattutto se si utilizza il modulo Article.
+
+
+Modalità di visualizzazione delle informazioni di DEBUG
+--------------------------------------------------------
+
+Dalla versione di XOOPS 2.3.1 la modalità di visualizzazione del debug è stata impostata come soluzione temporanea per impostare l'accesso al debug secondo livelli di utenza: per tutti gli utenti (to all users), solo utenti registrati (to members) o solo per gli amministratori (to admins only).
+La modalità può essere impostata /xoops_data/configs/xoopsconfig.php.
+
+
+Verifica dell'integrità dei files (Files Integrity Check)
+-----------------------------------
+
+Tutto il pacchetto XOOPS è realizzato con uno script in grado di verificare che i file di sistema siano stati caricati correttamente sul server. Per utilizzarlo seguire queste istruzioni:
+
+ 1. Caricare sul server i files checksum.php e checksum.md5 dalla root del pacchetto XOOPS (collocandoli subito dopo il file mainfile.php).
+ 2. Eseguire checksum.php nel browser (www.nomedelsito.xx/checksum.php)
+ 3. Se necessario ricaricare i file di systema mancanti o non corretti
+ 4. Rimuovere checksum.php e checksum.md5 dal server
+
+
+Moduli
+-----------------------------------
+Questo rilascio contiene solo i moduli di base per il sistema. Si invita a consultare l'archivio "XOOPS modules" per accedere a ulteriori funzionalità. (http://www.xoops.org/modules/repository/)
+Nota: poichè sta venendo organizzato un nuovo archivio, quello attuale potrebbe non essere aggiornato.
+PER FAVORE VISITARE I SITI WEB DEGLI SVILUPPATORI PER ASSICURARSI DI UTILIZZARE LA VERSIONE PIU' RECENTE DEL MODULO.
+
+
+Come contribuire
+-----------------------------------
+Segnalazione Bug: http://sourceforge.net/tracker/?group_id=41586&atid=430840
+Patch e modifiche: http://sourceforge.net/tracker/?group_id=41586&atid=430842
+Richiesta nuove caratteristiche: http://sourceforge.net/tracker/?group_id=41586&atid=430843
+Annunci di rilasci: https://lists.sourceforge.net/lists/listinfo/xoops-announcement
+
+
+XOOPS Development Team
+10 Novembre 2010
+==========================
+Traduzione a cura di Ianez - Xoops Italia Staff - www.xoopsitalia.org - 31 Luglio 2010
+Utlimo Aggiornamento 10/04/2011
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.4/extras/Icone_italiane/Installazione_icone.txt
===================================================================
--- XoopsLanguages/italian/core/2.5.4/extras/Icone_italiane/Installazione_icone.txt (rev 0)
+++ XoopsLanguages/italian/core/2.5.4/extras/Icone_italiane/Installazione_icone.txt 2012-02-04 15:53:44 UTC (rev 8882)
@@ -0,0 +1,9 @@
+--------------------------------------
+INSTALLAZIONE ICONE ITALIANE PER XOOPS
+--------------------------------------
+
+- Accedere alla root (cartella principale) del proprio sito xoops
+
+- Copiare direttamente la cartella 'images' del pack di traduzione (nella cartella extras) e permettere la sovrascrittura
+
+- Le icone di modifica ed eliminazioni dei commenti e altre funzioni saranno in italiano
\ No newline at end of file
Added: XoopsLanguages/italian/core/2.5.4/extras/Icone_italiane/images/icons/delete.gif
===================================================================
(Binary files differ)
Property changes on: XoopsLanguages/italian/core/2.5.4/extras/Icone_italiane/images/icons/delete.gif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsLanguages/italian/core/2.5.4/extras/Icone_italiane/images/icons/edit.gif
===================================================================
(Binary files differ)
Property changes on: XoopsLanguages/italian/core/2.5.4/extras/Icone_italiane/images/icons/edit.gif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsLanguages/italian/core/2.5.4/extras/Icone_italiane/images/icons/profile.gif
===================================================================
(Binary files differ)
Property changes on: XoopsLanguages/italian/core/2.5.4/extras/Icone_italiane/images/icons/profile.gif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsLanguages/italian/core/2.5.4/extras/Icone_italiane/images/icons/reply.gif
===================================================================
(Binary files differ)
Property changes on: XoopsLanguages/italian/core/2.5.4/extras/Icone_italiane/images/icons/reply.gif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsLanguages/italian/core/2.5.4/extras/modules/system/language/italian/admin/filemanager.php
===================================================================
--- XoopsLanguages/italian/core/2.5.4/extras/modules/system/language/italian/admin/filemanager.php (rev 0)
+++ XoopsLanguages/italian/core/2.5.4/extras/modules/system/language/italian/admin/filemanager.php 2012-02-04 15:53:44 UTC (rev 8882)
@@ -0,0 +1,65 @@
+<?php
+/**
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license http://www.fsf.org/copyleft/gpl.html GNU public license
+ * _LANGCODE it
+ * _CHARSET UTF-8
+ * @version $Id$
+ */
+// Translator: Xoops Italia Team - www.xoopsitalia.org
+// Last translation update: 11/04/2011
+
+ //Nav
+define('_AM_SYSTEM_FILEMANAGER_NAV_MANAGER','File Manager');
+define('_AM_SYSTEM_FILEMANAGER_NAV_MAIN','File Manager');
+
+//Tips
+define('_AM_SYSTEM_FILEMANAGER_NAV_TIPS','
+<ul>
+<li>Permette di cambiare i permessi, modificare il contenuto ed eliminare file del vostro Xoops.</li>
+</ul>
+');
+
+// Main
+define('_AM_SYSTEM_FILEMANAGER_DIRECTORY','Cartelle');
+define('_AM_SYSTEM_FILEMANAGER_FILES','Files');
+define('_AM_SYSTEM_FILEMANAGER_GENERATE','Sovraccarico generato');
+define('_AM_SYSTEM_FILEMANAGER_SELECT_THEME','Selezionare tema');
+define('_AM_SYSTEM_FILEMANAGER_FORCE_GENERATED','Generazione forzata');
+define('_AM_SYSTEM_FILEMANAGER_NAV_FILE_GENERATED','File generato');
+define('_AM_SYSTEM_FILEMANAGER_NOT_CREATED','File non creato');
+define('_AM_SYSTEM_FILEMANAGER_HOME','Home (root)');
+define('_AM_SYSTEM_FILEMANAGER_SAVE','Salva');
+define('_AM_SYSTEM_FILEMANAGER_CANCEL','Annulla');
+define('_AM_SYSTEM_FILEMANAGER_RESTORE','Ripristina');
+define('_AM_SYSTEM_FILEMANAGER_REFRESH','Aggiorna');
+define('_AM_SYSTEM_FILEMANAGER_UPLOAD','Carica file');
+define('_AM_SYSTEM_FILEMANAGER_UPLOAD_CHOOSE','Selezionare il file da caricare');
+define('_AM_SYSTEM_FILEMANAGER_ADDDIR','Nuova Cartella');
+define('_AM_SYSTEM_FILEMANAGER_ADDDIR_NAME','Scegliere il nome della cartella');
+define('_AM_SYSTEM_FILEMANAGER_ADDFILE','Nuovo File');
+define('_AM_SYSTEM_FILEMANAGER_DELDIR','Elimina directory');
+
+define('_AM_SYSTEM_FILEMANAGER_RESTORE_ERROR_FILE_EXISTS','Errore: file non esistente');
+define('_AM_SYSTEM_FILEMANAGER_RESTORE_ERROR_FILE_DELETE','Errore: impossibile eliminare il fiel');
+define('_AM_SYSTEM_FILEMANAGER_RESTORE_ERROR_FILE_RENAME','Errore: impossibile rinominare il file');
+define('_AM_SYSTEM_FILEMANAGER_BACK','Indietro');
+define('_AM_SYSTEM_FILEMANAGER_DELETE','Elimina');
+define('_AM_SYSTEM_FILEMANAGER_ERROR','Error');
+define('_AM_SYSTEM_FILEMANAGER_EDIT','Modifica di:');
+define('_AM_SYSTEM_FILEMANAGER_EMPTY_FILE','File vuoto');
+define('_AM_SYSTEM_FILEMANAGER_DELDIR_NOTOK','Errore : impossibile eliminare la cartella');
+define('_AM_SYSTEM_FILEMANAGER_DELDIR_OK','Cartella eliminata con successo');
+
+// Message
+define('_AM_SYSTEM_FILEMANAGER_UPLOAD_FILE','File caricato con successo');
+define('_AM_SYSTEM_FILEMANAGER_EXTRACT_FILE','File estratto con successo');
+define('_AM_SYSTEM_FILEMANAGER_EXTRACT_ERROR','Impossibile estrarre il file');
+define('_AM_SYSTEM_FILEMANAGER_DELETE_FILE','File eliminato con successo');
+define('_AM_SYSTEM_FILEMANAGER_DIR_SUCCESS','Cartella creata con successo');
+define('_AM_SYSTEM_FILEMANAGER_DIR_ERROR','Impossibile creare al cartella');
+define('_AM_SYSTEM_FILEMANAGER_DIR_RYSDEL','Si è sicuri di voler eliminare questa cartella?');
+define('_AM_SYSTEM_FILEMANAGER_FILE_SUCCESS','File creato con successo');
+define('_AM_SYSTEM_FILEMANAGER_SUREDEL', 'Si è sicuri di voler eliminare il file %s ?');
+define('_AM_SYSTEM_FILEMANAGER_DIR_SUREDEL', 'Si è sicuri di voler eliminare la cartella %s ?<br />Attenzione: saranno eliminate tutte le sotto-cartelle e i file in esse contenuti');
+?>
Added: XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/dhtmltextarea/language/italian.php
===================================================================
--- XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/dhtmltextarea/language/italian.php (rev 0)
+++ XoopsLanguages/italian/core/2.5.4/htdocs/class/xoopseditor/dhtmltextarea/language/italian.php 2012-02-04 15:53:44 UTC (rev 8882)
@@ -0,0 +1,20 @@
+<?php
+// -------------------------------------------------------------------------------- //
+// Updated by luciorota - Xoops Italia
+// Published by Xoops Italian Official Support Site - www.xoo...
[truncated message content] |
|
From: <txm...@us...> - 2012-02-04 15:34:00
|
Revision: 8881
http://xoops.svn.sourceforge.net/xoops/?rev=8881&view=rev
Author: txmodxoops
Date: 2012-02-04 15:33:54 +0000 (Sat, 04 Feb 2012)
Log Message:
-----------
New Folder
Italian language xoops 2.5.4 Final
Added Paths:
-----------
XoopsLanguages/italian/core/2.5.4/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <txm...@us...> - 2012-02-03 22:43:11
|
Revision: 8880
http://xoops.svn.sourceforge.net/xoops/?rev=8880&view=rev
Author: txmodxoops
Date: 2012-02-03 22:43:03 +0000 (Fri, 03 Feb 2012)
Log Message:
-----------
Fixed code
Modified Paths:
--------------
XoopsModules/TDMCreate/releases/1.37/TDMCreate/admin/menu.php
XoopsModules/TDMCreate/releases/1.37/TDMCreate/admin/tables.php
XoopsModules/TDMCreate/releases/1.37/TDMCreate/class/tdmcreate_modules.php
XoopsModules/TDMCreate/releases/1.37/TDMCreate/class/tdmcreate_tables.php
XoopsModules/TDMCreate/releases/1.37/TDMCreate/const/const_class.php
XoopsModules/TDMCreate/releases/1.37/TDMCreate/include/functions_const.php
XoopsModules/TDMCreate/releases/1.37/TDMCreate/sql/mysql.sql
Modified: XoopsModules/TDMCreate/releases/1.37/TDMCreate/admin/menu.php
===================================================================
--- XoopsModules/TDMCreate/releases/1.37/TDMCreate/admin/menu.php 2012-02-03 17:58:36 UTC (rev 8879)
+++ XoopsModules/TDMCreate/releases/1.37/TDMCreate/admin/menu.php 2012-02-03 22:43:03 UTC (rev 8880)
@@ -35,15 +35,15 @@
$i++;
$adminmenu[$i]["title"] = _MI_TDMCREATE_ADMIN_MODULES;
$adminmenu[$i]["link"] = 'admin/modules.php';
-$adminmenu[$i]["icon"] = '../../'.$pathImageAdmin.'/add.png';
+$adminmenu[$i]["icon"] = '../../'.$pathImageAdmin.'/addmodule.png';
$i++;
$adminmenu[$i]["title"] = _MI_TDMCREATE_ADMIN_TABLES;
$adminmenu[$i]["link"] = 'admin/tables.php';
-$adminmenu[$i]["icon"] = '../../'.$pathImageAdmin.'/index.png';
+$adminmenu[$i]["icon"] = '../../'.$pathImageAdmin.'/addtable.png';
$i++;
$adminmenu[$i]["title"] = _MI_TDMCREATE_ADMIN_CONST;
$adminmenu[$i]["link"] = 'admin/const.php';
-$adminmenu[$i]["icon"] = '../../'.$pathImageAdmin.'/modifiedlink.png';
+$adminmenu[$i]["icon"] = '../../'.$pathImageAdmin.'/builder.png';
$i++;
$adminmenu[$i]["title"] = _MI_TDMCREATE_ADMIN_ABOUT;
$adminmenu[$i]["link"] = 'admin/about.php';
Modified: XoopsModules/TDMCreate/releases/1.37/TDMCreate/admin/tables.php
===================================================================
--- XoopsModules/TDMCreate/releases/1.37/TDMCreate/admin/tables.php 2012-02-03 17:58:36 UTC (rev 8879)
+++ XoopsModules/TDMCreate/releases/1.37/TDMCreate/admin/tables.php 2012-02-03 22:43:03 UTC (rev 8880)
@@ -27,10 +27,9 @@
} else {
@$op = 'default';
}
-
+$tabAdmin = new ModuleAdmin();
switch ($op) {
case "tables_save":
-
if (isset($_REQUEST['tables_id'])) {
$obj =& $tablesHandler->get($_REQUEST['tables_id']);
} else {
@@ -50,6 +49,9 @@
$obj->setVar('tables_blocs', 0);
$obj->setVar('tables_display_admin', 1);
$obj->setVar('tables_display_user', 1);
+ $obj->setVar('tables_status', 0);
+ $obj->setVar('tables_waiting', 0);
+ $obj->setVar('tables_online', 0);
$obj->setVar('tables_search', 0);
$obj->setVar('tables_coms', 0);
$obj->setVar('tables_nb_champs', 7);
@@ -90,8 +92,12 @@
$obj->setVar('tables_blocs', $_REQUEST['tables_blocs']);
$obj->setVar('tables_display_admin', $_REQUEST['tables_display_admin']);
$obj->setVar('tables_display_user', $_REQUEST['tables_display_user']);
+ $obj->setVar('tables_status', $_REQUEST['tables_status']);
+ $obj->setVar('tables_waiting', $_REQUEST['tables_waiting']);
+ $obj->setVar('tables_online', $_REQUEST['tables_online']);
$obj->setVar('tables_search', $_REQUEST['tables_search']);
$obj->setVar('tables_coms', $_REQUEST['tables_coms']);
+
$obj->setVar('tables_nb_champs', $_REQUEST['tables_nb_champs']);
$tables_champs = '';
@@ -138,68 +144,73 @@
break;
- case "tables_save1":
+ case "tables_save1":
+ if (!$GLOBALS['xoopsSecurity']->check()) {
+ redirect_header('tables.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors()));
+ }
+
+ if (isset($_REQUEST['tables_id'])) {
+ $obj =& $tablesHandler->get($_REQUEST['tables_id']);
+ } else {
+ $obj =& $tablesHandler->create();
+ }
+ //Nom du module
+ $modules =& $modulesHandler->get($_REQUEST['tables_modules']);
+ $modules_name = $modules->getVar('modules_name');
- if (!$GLOBALS['xoopsSecurity']->check()) {
- redirect_header('tables.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors()));
- }
+ $tables_blocks = (isset($_REQUEST['tables_blocs'])) ? $_REQUEST['tables_blocs'] : '0';
+ $tables_display_admin = (isset($_REQUEST['tables_display_admin'])) ? $_REQUEST['tables_display_admin'] : '0';
+ $tables_display_user = (isset($_REQUEST['tables_display_user'])) ? $_REQUEST['tables_display_user'] : '0';
+ $tables_status = (isset($_REQUEST['tables_status'])) ? $_REQUEST['tables_status'] : '0';
+ $tables_waiting = (isset($_REQUEST['tables_waiting'])) ? $_REQUEST['tables_waiting'] : '0';
+ $tables_online = (isset($_REQUEST['tables_online'])) ? $_REQUEST['tables_online'] : '0';
+ $tables_search = (isset($_REQUEST['tables_search'])) ? $_REQUEST['tables_search'] : '0';
+ $tables_coms = (isset($_REQUEST['tables_coms'])) ? $_REQUEST['tables_coms'] : '0';
+ $select = (isset($_REQUEST['select'])) ? $_REQUEST['select'] : '0';
+
+ //Image
+ include_once XOOPS_ROOT_PATH.'/class/uploader.php';
+ if(is_dir($pathImageAdmin)){
+ $uploaddir = $pathImageAdmin;
+ }else{
+ $uploaddir = XOOPS_ROOT_PATH . "/modules/".$xoopsModule->dirname()."/images/uploads/tables/";
+ }
+ $uploader = new XoopsMediaUploader($uploaddir, "gif|jpeg|pjpeg|png", 104857600, null, null);
- if (isset($_REQUEST['tables_id'])) {
- $obj =& $tablesHandler->get($_REQUEST['tables_id']);
+ if ($uploader->fetchMedia($_POST['xoops_upload_file'][0])) {
+ $extension = preg_replace( "/^.+\.([^.]+)$/sU" , "\\1" , $_FILES["attachedfile"]['name']) ;
+ $name_img = $_REQUEST['tables_name'].'.'.$extension;
+ $uploader->setTargetFileName($name_img);
+ $uploader->fetchMedia($_POST['xoops_upload_file'][0]);
+ if (!$uploader->upload()) {
+ $errors = $uploader->getErrors();
+ redirect_header("javascript:history.go(-1)",3, $errors);
} else {
- $obj =& $tablesHandler->create();
+ $obj->setVar('tables_img', $uploader->getSavedFileName());
}
- //Nom du module
- $modules =& $modulesHandler->get($_REQUEST['tables_modules']);
- $modules_name = $modules->getVar('modules_name');
+ } else {
+ $obj->setVar('tables_img', $_REQUEST['tables_img']);
+ }
- $tables_blocks = (isset($_REQUEST['tables_blocs'])) ? $_REQUEST['tables_blocs'] : '0';
- $tables_display_admin = (isset($_REQUEST['tables_display_admin'])) ? $_REQUEST['tables_display_admin'] : '0';
- $tables_display_user = (isset($_REQUEST['tables_display_user'])) ? $_REQUEST['tables_display_user'] : '0';
- $tables_search = (isset($_REQUEST['tables_search'])) ? $_REQUEST['tables_search'] : '0';
- $tables_coms = (isset($_REQUEST['tables_coms'])) ? $_REQUEST['tables_coms'] : '0';
- $select = (isset($_REQUEST['select'])) ? $_REQUEST['select'] : '0';
+ $obj->setVar('tables_modules', strtolower($_REQUEST['tables_modules']));
+ $obj->setVar('tables_module_table', strtolower($modules_name.'_'.$_REQUEST['tables_name']));
+ $obj->setVar('tables_name', strtolower($_REQUEST['tables_name']));
+ $obj->setVar('tables_blocs', $_REQUEST['tables_blocs']);
+ $obj->setVar('tables_display_admin', $_REQUEST['tables_display_admin']);
+ $obj->setVar('tables_display_user', $_REQUEST['tables_display_user']);
+ $obj->setVar('tables_status', $_REQUEST['tables_status']);
+ $obj->setVar('tables_waiting', $_REQUEST['tables_waiting']);
+ $obj->setVar('tables_online', $_REQUEST['tables_online']);
+ //mettre des isset pour search
+ if ( isset($_REQUEST['tables_search']) )
+ $obj->setVar('tables_search', $_REQUEST['tables_search']);
+ if ( isset($_REQUEST['tables_coms']) )
+ $obj->setVar('tables_coms', $_REQUEST['tables_coms']);
+ $obj->setVar('tables_nb_champs', $_REQUEST['tables_nb_champs']);
- //Image
- include_once XOOPS_ROOT_PATH.'/class/uploader.php';
- if(is_dir($pathImageAdmin)){
- $uploaddir = $pathImageAdmin;
- }else{
- $uploaddir = XOOPS_ROOT_PATH . "/modules/".$xoopsModule->dirname()."/images/uploads/tables/";
- }
- $uploader = new XoopsMediaUploader($uploaddir, "gif|jpeg|pjpeg|png", 104857600, null, null);
-
- if ($uploader->fetchMedia($_POST['xoops_upload_file'][0])) {
- $extension = preg_replace( "/^.+\.([^.]+)$/sU" , "\\1" , $_FILES["attachedfile"]['name']) ;
- $name_img = $_REQUEST['tables_name'].'.'.$extension;
- $uploader->setTargetFileName($name_img);
- $uploader->fetchMedia($_POST['xoops_upload_file'][0]);
- if (!$uploader->upload()) {
- $errors = $uploader->getErrors();
- redirect_header("javascript:history.go(-1)",3, $errors);
- } else {
- $obj->setVar('tables_img', $uploader->getSavedFileName());
- }
- } else {
- $obj->setVar('tables_img', $_REQUEST['tables_img']);
- }
-
- $obj->setVar('tables_modules', strtolower($_REQUEST['tables_modules']));
- $obj->setVar('tables_module_table', strtolower($modules_name.'_'.$_REQUEST['tables_name']));
- $obj->setVar('tables_name', strtolower($_REQUEST['tables_name']));
- $obj->setVar('tables_blocs', $_REQUEST['tables_blocs']);
- $obj->setVar('tables_display_admin', $_REQUEST['tables_display_admin']);
- $obj->setVar('tables_display_user', $_REQUEST['tables_display_user']);
- //mettre des isset pour search
- if ( isset($_REQUEST['tables_search']) )
- $obj->setVar('tables_search', $_REQUEST['tables_search']);
- if ( isset($_REQUEST['tables_coms']) )
- $obj->setVar('tables_coms', $_REQUEST['tables_coms']);
- $obj->setVar('tables_nb_champs', $_REQUEST['tables_nb_champs']);
-
- if ($tablesHandler->insert($obj)) {
- redirect_header('tables.php?op=default', 2, _AM_TDMCREATE_FORMOK);
- }
+ if ($tablesHandler->insert($obj)) {
+ redirect_header('tables.php?op=default', 2, _AM_TDMCREATE_FORMOK);
+ }
break;
case "edit_tables":
@@ -278,11 +289,11 @@
$obj->setVar('modules_module_website_url', $_REQUEST['modules_module_website_url']);
$obj->setVar('modules_module_website_name', $_REQUEST['modules_module_website_name']);
$obj->setVar('modules_release', $_REQUEST['modules_release']);
- $obj->setVar('modules_module_status', $_REQUEST['modules_module_status']);
- $obj->setVar('modules_display_menu', $_REQUEST['modules_display_menu']);
+ $obj->setVar('modules_module_status', $_REQUEST['modules_module_status']);
$obj->setVar('modules_display_admin', $_REQUEST['modules_display_admin']);
$obj->setVar('modules_display_user', $_REQUEST['modules_display_user']);
- $obj->setVar('modules_active_search', $_REQUEST['modules_active_search']);
+ $obj->setVar('modules_active_search', $_REQUEST['modules_active_search']);
+ $obj->setVar('modules_active_comments', $_REQUEST['modules_active_comments']);
if ($modulesHandler->insert($obj)) {
redirect_header('tables.php?op=default', 2, _AM_TDMCREATE_FORMOK);
@@ -311,13 +322,11 @@
}
break;
- case "tables_champs":
-
- $tabcreate_admin = new ModuleAdmin();
- echo $tabcreate_admin->addNavigation('tables.php');
- $tabcreate_admin->addItemButton(_AM_TDMCREATE_TABLES_LIST, 'tables.php?op=tables_list', 'list');
- $tabcreate_admin->addItemButton(_AM_TDMCREATE_TABLES_NEW, 'tables.php?op=tables_champs', 'add');
- echo $tabcreate_admin->renderButton();
+ case "tables_champs":
+ echo $tabAdmin->addNavigation('tables.php');
+ $tabAdmin->addItemButton(_AM_TDMCREATE_TABLES_LIST, 'tables.php?op=tables_list', 'list');
+ $tabAdmin->addItemButton(_AM_TDMCREATE_TABLES_NEW, 'tables.php?op=tables_champs', 'add');
+ echo $tabAdmin->renderButton();
//Champs existe deja ?
$criteria = new CriteriaCompo();
@@ -337,6 +346,9 @@
$tables_blocks = (isset($_REQUEST['tables_blocs'])) ? $_REQUEST['tables_blocs'] : '0';
$tables_display_admin = (isset($_REQUEST['tables_display_admin'])) ? $_REQUEST['tables_display_admin'] : '0';
$tables_display_user = (isset($_REQUEST['tables_display_user'])) ? $_REQUEST['tables_display_user'] : '0';
+ $tables_status = (isset($_REQUEST['tables_status'])) ? $_REQUEST['tables_status'] : '0';
+ $tables_waiting = (isset($_REQUEST['tables_waiting'])) ? $_REQUEST['tables_waiting'] : '0';
+ $tables_online = (isset($_REQUEST['tables_online'])) ? $_REQUEST['tables_online'] : '0';
$tables_search = (isset($_REQUEST['tables_search'])) ? $_REQUEST['tables_search'] : '0';
$tables_coms = (isset($_REQUEST['tables_coms'])) ? $_REQUEST['tables_coms'] : '0';
$select = (isset($_REQUEST['select'])) ? $_REQUEST['select'] : '0';
@@ -368,34 +380,28 @@
if ($tablesHandler->insert($obj)) {
$tables_id = $xoopsDB->getInsertId();
$obj = $tablesHandler->get($tables_id);
- $form = $obj->getFormChamps(false, $tables_id, intval($_REQUEST['tables_modules']), strtolower($_REQUEST['tables_name']), $tables_blocks, $tables_display_admin, $tables_display_user, $tables_submitter, $tables_date_created, $tables_online, $tables_search, $tables_coms, intval($_REQUEST['tables_nb_champs']), $select);
+ $form = $obj->getFormChamps(false, $tables_id, intval($_REQUEST['tables_modules']), strtolower($_REQUEST['tables_name']), $tables_blocks, $tables_display_admin, $tables_display_user, $tables_status, $tables_waiting, $tables_online, $tables_search, $tables_coms, intval($_REQUEST['tables_nb_champs']), $select);
}
} else {
redirect_header('tables.php?op=list_tables', 2, _AM_TDMCREATE_TABLES_EXIST);
}
break;
- case "tables_create":
-
- $tabcreate_admin = new ModuleAdmin();
- echo $tabcreate_admin->addNavigation('tables.php');
- $tabcreate_admin->addItemButton(_AM_TDMCREATE_TABLES_TOPICS, 'tables.php?op=topics_create', 'add');
- $tabcreate_admin->addItemButton(_AM_TDMCREATE_TABLES_LIST, 'tables.php?op=tables_list', 'list');
-
- echo $tabcreate_admin->renderButton();
+ case "tables_create":
+ echo $tabAdmin->addNavigation('tables.php');
+ $tabAdmin->addItemButton(_AM_TDMCREATE_TABLES_TOPICS, 'tables.php?op=topics_create', 'add');
+ $tabAdmin->addItemButton(_AM_TDMCREATE_TABLES_LIST, 'tables.php?op=tables_list', 'list');
+ echo $tabAdmin->renderButton();
$obj =& $tablesHandler->create();
$form = $obj->getFormTable();
break;
- case "topics_create":
-
- $tabtopics_admin = new ModuleAdmin();
- echo $tabtopics_admin->addNavigation('tables.php');
- $tabtopics_admin->addItemButton(_AM_TDMCREATE_TABLES_NEW, 'tables.php?op=tables_create', 'add');
- $tabtopics_admin->addItemButton(_AM_TDMCREATE_TABLES_LIST, 'tables.php?op=tables_list', 'list');
-
- echo $tabtopics_admin->renderButton();
+ case "topics_create":
+ echo $tabAdmin->addNavigation('tables.php');
+ $tabAdmin->addItemButton(_AM_TDMCREATE_TABLES_NEW, 'tables.php?op=tables_create', 'add');
+ $tabAdmin->addItemButton(_AM_TDMCREATE_TABLES_LIST, 'tables.php?op=tables_list', 'list');
+ echo $tabAdmin->renderButton();
$result = $xoopsDB->queryF("SELECT COUNT(*) FROM " . $xoopsDB->prefix("tdmcreate_tables")." WHERE tables_name = 'topic'");
list( $topic ) = $xoopsDB->fetchRow($result);
@@ -406,14 +412,11 @@
break;
case "tables_list":
- default:
-
- $tablist_admin = new ModuleAdmin();
- echo $tablist_admin->addNavigation('tables.php');
- $tablist_admin->addItemButton(_AM_TDMCREATE_TABLES_NEW, 'tables.php?op=tables_create', 'add');
- $tablist_admin->addItemButton(_AM_TDMCREATE_TABLES_TOPICS, 'tables.php?op=topics_create', 'add');
-
- echo $tablist_admin->renderButton();
+ default:
+ echo $tabAdmin->addNavigation('tables.php');
+ $tabAdmin->addItemButton(_AM_TDMCREATE_TABLES_NEW, 'tables.php?op=tables_create', 'add');
+ $tabAdmin->addItemButton(_AM_TDMCREATE_TABLES_TOPICS, 'tables.php?op=topics_create', 'add');
+ echo $tabAdmin->renderButton();
//Retirer les tables inutiles
$sql = "SELECT tables_id FROM ".$xoopsDB->prefix("tdmcreate_tables")." WHERE tables_modules = 0";
@@ -445,65 +448,65 @@
$class = 'odd';
foreach (array_keys($modules_arr) as $i)
{
- $modules_id = $modules_arr[$i]->getVar('modules_id');
- $modules_name = $modules_arr[$i]->getVar('modules_name');
- $modules_image = $modules_arr[$i]->getVar('modules_image');
- $modules_display_admin = $modules_arr[$i]->getVar('modules_display_admin');
- $modules_display_user = $modules_arr[$i]->getVar('modules_display_user');
- $modules_display_admin = ($modules_display_admin == 1) ? _YES : _NO;
- $modules_display_user = ($modules_display_user == 1) ? _YES : _NO;
- echo '<tr class="odd center">';
- echo '<td class="left"><b>'.$modules_name.'</b></td>';
- echo '<td><img src="../images/uploads/modules/'.$modules_image.'" height="30px"></td>';
- echo '<td>'.$modules_display_admin.'</td>';
- echo '<td>'.$modules_display_user.'</td>';
- echo '<td> </td>';
- echo '<td> </td>';
- echo '<td>';
- echo '<a href="tables.php?op=edit_modules&modules_id='.$modules_id.'"><img src='. $pathImageIcon ."/edit.png alt="._AM_TDMCREATE_FORMEDIT.'" title="'._AM_TDMCREATE_FORMEDIT.'"></a> <a href="tables.php?op=delete_modules&modules_id='.$modules_id.'"><img src='. $pathImageIcon ."/delete.png alt="._AM_TDMCREATE_FORMDEL.'" title="'._AM_TDMCREATE_FORMDEL.'"></a>';
- echo '</td>';
- echo '</tr>';
-
- $criteria = new CriteriaCompo();
- $criteria->add(new Criteria('tables_modules', $modules_id));
- $criteria->setSort('tables_name');
- $criteria->setOrder('ASC');
- $tables_arr = $tablesHandler->getall($criteria);
- $numrows_tables = $tablesHandler->getCount();
- if ( $numrows_tables != 0 )
+ $modules_id = $modules_arr[$i]->getVar('modules_id');
+ $modules_name = $modules_arr[$i]->getVar('modules_name');
+ $modules_image = $modules_arr[$i]->getVar('modules_image');
+ $modules_display_admin = $modules_arr[$i]->getVar('modules_display_admin');
+ $modules_display_user = $modules_arr[$i]->getVar('modules_display_user');
+ $modules_display_admin = ($modules_display_admin == 1) ? _YES : _NO;
+ $modules_display_user = ($modules_display_user == 1) ? _YES : _NO;
+ echo '<tr class="odd center">';
+ echo '<td class="left"><b>'.$modules_name.'</b></td>';
+ echo '<td><img src="../images/uploads/modules/'.$modules_image.'" height="30px"></td>';
+ echo '<td>'.$modules_display_admin.'</td>';
+ echo '<td>'.$modules_display_user.'</td>';
+ echo '<td> </td>';
+ echo '<td> </td>';
+ echo '<td>';
+ echo '<a href="tables.php?op=edit_modules&modules_id='.$modules_id.'"><img src='. $pathImageIcon ."/edit.png alt="._AM_TDMCREATE_FORMEDIT.'" title="'._AM_TDMCREATE_FORMEDIT.'"></a> <a href="tables.php?op=delete_modules&modules_id='.$modules_id.'"><img src='. $pathImageIcon ."/delete.png alt="._AM_TDMCREATE_FORMDEL.'" title="'._AM_TDMCREATE_FORMDEL.'"></a>';
+ echo '</td>';
+ echo '</tr>';
+
+ $criteria = new CriteriaCompo();
+ $criteria->add(new Criteria('tables_modules', $modules_id));
+ $criteria->setSort('tables_name');
+ $criteria->setOrder('ASC');
+ $tables_arr = $tablesHandler->getall($criteria);
+ $numrows_tables = $tablesHandler->getCount();
+ if ( $numrows_tables != 0 )
+ {
+ foreach (array_keys($tables_arr) as $i)
{
- foreach (array_keys($tables_arr) as $i)
- {
- $tables_id = $tables_arr[$i]->getVar('tables_id');
- $tables_modules = $tables_arr[$i]->getVar('tables_modules');
- $tables_name = $tables_arr[$i]->getVar('tables_name');
- $tables_img = $tables_arr[$i]->getVar('tables_img');
- $tables_blocks = $tables_arr[$i]->getVar('tables_blocs');
- $tables_champs = $tables_arr[$i]->getVar('tables_champs');
- $tables_display_admin = $tables_arr[$i]->getVar('tables_display_admin');
- $tables_display_user = $tables_arr[$i]->getVar('tables_display_user');
- $champs = explode("|", $tables_champs);
- $nb_champs = $tables_arr[$i]->getVar('tables_nb_champs');
- $display_admin = ($tables_display_admin == 1) ? _YES : _NO;
- $display_user = ($tables_display_user == 1) ? _YES : _NO;
- $blocs = ($tables_blocks == 1) ? _YES : _NO;
- echo '<tr class="even center">';
- echo '<td class="left"> <b>- '.$tables_name.'</b></a></td>';
- if(!is_dir($pathImageAdmin)){
- echo '<td><img src="'.$pathImageAdmin.'/'.$tables_img.'" height="30px"></td>';
- }else{
- echo '<td><img src="../images/uploads/tables/'.$tables_img.'" height="30px"></td>';
- }
- echo '<td>'.$display_admin.'</td>';
- echo '<td>'.$display_user.'</td>';
- echo '<td>'.$blocs.'</td>';
- echo '<td>'.$nb_champs.'</td>';
- echo '<td>';
- echo '<a href="tables.php?op=edit_tables&tables_id='.$tables_id.'"><img src='. $pathImageIcon ."/edit.png alt="._AM_TDMCREATE_FORMEDIT.'" title="'._AM_TDMCREATE_FORMEDIT.'"></a> <a href="tables.php?op=edit_champs&tables_id='.$tables_id.'"><img src='. $pathImageIcon ."/fields.png alt="._AM_TDMCREATE_FORMCHAMPS.'" title="'._AM_TDMCREATE_FORMCHAMPS.'"></a> <a href="tables.php?op=delete_tables&tables_id='.$tables_id.'"><img src='. $pathImageIcon ."/delete.png alt="._AM_TDMCREATE_FORMDEL.'" title="'._AM_TDMCREATE_FORMDEL.'"></a>';
- echo '</td>';
- echo '</tr>';
+ $tables_id = $tables_arr[$i]->getVar('tables_id');
+ $tables_modules = $tables_arr[$i]->getVar('tables_modules');
+ $tables_name = $tables_arr[$i]->getVar('tables_name');
+ $tables_img = $tables_arr[$i]->getVar('tables_img');
+ $tables_blocks = $tables_arr[$i]->getVar('tables_blocs');
+ $tables_champs = $tables_arr[$i]->getVar('tables_champs');
+ $tables_display_admin = $tables_arr[$i]->getVar('tables_display_admin');
+ $tables_display_user = $tables_arr[$i]->getVar('tables_display_user');
+ $champs = explode("|", $tables_champs);
+ $nb_champs = $tables_arr[$i]->getVar('tables_nb_champs');
+ $display_admin = ($tables_display_admin == 1) ? _YES : _NO;
+ $display_user = ($tables_display_user == 1) ? _YES : _NO;
+ $blocs = ($tables_blocks == 1) ? _YES : _NO;
+ echo '<tr class="even center">';
+ echo '<td class="left"> <b>- '.$tables_name.'</b></a></td>';
+ if(!is_dir($pathImageAdmin)){
+ echo '<td><img src="'.$pathImageAdmin.'/'.$tables_img.'" height="30px"></td>';
+ }else{
+ echo '<td><img src="../images/uploads/tables/'.$tables_img.'" height="30px"></td>';
}
- }
+ echo '<td>'.$display_admin.'</td>';
+ echo '<td>'.$display_user.'</td>';
+ echo '<td>'.$blocs.'</td>';
+ echo '<td>'.$nb_champs.'</td>';
+ echo '<td>';
+ echo '<a href="tables.php?op=edit_tables&tables_id='.$tables_id.'"><img src='. $pathImageIcon ."/edit.png alt="._AM_TDMCREATE_FORMEDIT.'" title="'._AM_TDMCREATE_FORMEDIT.'"></a> <a href="tables.php?op=edit_champs&tables_id='.$tables_id.'"><img src='. $pathImageIcon ."/fields.png alt="._AM_TDMCREATE_FORMCHAMPS.'" title="'._AM_TDMCREATE_FORMCHAMPS.'"></a> <a href="tables.php?op=delete_tables&tables_id='.$tables_id.'"><img src='. $pathImageIcon ."/delete.png alt="._AM_TDMCREATE_FORMDEL.'" title="'._AM_TDMCREATE_FORMDEL.'"></a>';
+ echo '</td>';
+ echo '</tr>';
+ }
+ }
}
echo '</table>';
}
Modified: XoopsModules/TDMCreate/releases/1.37/TDMCreate/class/tdmcreate_modules.php
===================================================================
--- XoopsModules/TDMCreate/releases/1.37/TDMCreate/class/tdmcreate_modules.php 2012-02-03 17:58:36 UTC (rev 8879)
+++ XoopsModules/TDMCreate/releases/1.37/TDMCreate/class/tdmcreate_modules.php 2012-02-03 22:43:03 UTC (rev 8880)
@@ -29,7 +29,6 @@
class tdmcreate_modules extends XoopsObject
{
-
// constructor
function __construct()
{
@@ -56,11 +55,11 @@
$this->initVar("modules_module_website_url",XOBJ_DTYPE_TXTBOX, null, false);
$this->initVar("modules_module_website_name",XOBJ_DTYPE_TXTBOX, null, false);
$this->initVar("modules_release",XOBJ_DTYPE_TXTBOX, null, false);
- $this->initVar("modules_module_status",XOBJ_DTYPE_TXTBOX, null, false);
- $this->initVar("modules_display_menu",XOBJ_DTYPE_INT, null, false, 1);
+ $this->initVar("modules_module_status",XOBJ_DTYPE_TXTBOX, null, false);
$this->initVar("modules_display_admin",XOBJ_DTYPE_INT, null, false, 1);
$this->initVar("modules_display_user",XOBJ_DTYPE_INT, null, false, 1);
$this->initVar("modules_active_search",XOBJ_DTYPE_INT, null, false, 1);
+ $this->initVar("modules_active_comments",XOBJ_DTYPE_INT, null, false, 1);
}
function tdmcreate_modules()
@@ -68,7 +67,6 @@
$this->__construct();
}
-
function getForm($action = false)
{
global $xoopsDB, $xoopsModule, $xoopsModuleConfig;
@@ -96,6 +94,7 @@
$editor_configs["height"] = "100px";
$editor_configs["editor"] = $GLOBALS['xoopsModuleConfig']['TDMCreate_editor'];
$form->addElement( new XoopsFormEditor(_AM_TDMCREATE_MODULES_DESCRIPTION, "modules_description", $editor_configs), true);
+ // Author
$form->addElement(new XoopsFormText(_AM_TDMCREATE_MODULES_AUTHOR, 'modules_author', 50, 255, $this->getVar('modules_author')), true);
$form->addElement(new XoopsFormText(_AM_TDMCREATE_MODULES_LICENSE, 'modules_license', 50, 255, $this->getVar('modules_license')), true);
$modules_display_admin = $this->isNew() ? 0 : $this->getVar('modules_display_admin');
@@ -146,7 +145,7 @@
$form->addElement(new XoopsFormText(_AM_TDMCREATE_MODULES_STATUS, 'modules_module_status', 50, 255, $this->getVar('modules_module_status')), false);
$form->addElement(new XoopsFormHidden('op', 'modules_save'));
- $form->addElement(new XoopsFormButton('', 'submit', _SUBMIT, 'submit'));
+ $form->addElement(new XoopsFormButton('', 'submit', _SUBMIT, 'submit'));
$form->display();
return $form;
}
@@ -154,12 +153,9 @@
class TDMCreatetdmcreate_modulesHandler extends XoopsPersistableObjectHandler
{
-
function __construct(&$db)
{
parent::__construct($db, "tdmcreate_modules", 'tdmcreate_modules', 'modules_id', 'modules_name');
}
-
}
-
?>
\ No newline at end of file
Modified: XoopsModules/TDMCreate/releases/1.37/TDMCreate/class/tdmcreate_tables.php
===================================================================
--- XoopsModules/TDMCreate/releases/1.37/TDMCreate/class/tdmcreate_tables.php 2012-02-03 17:58:36 UTC (rev 8879)
+++ XoopsModules/TDMCreate/releases/1.37/TDMCreate/class/tdmcreate_tables.php 2012-02-03 22:43:03 UTC (rev 8880)
@@ -29,7 +29,6 @@
class tdmcreate_tables extends XoopsObject
{
-
//Constructor
function __construct()
{
@@ -59,7 +58,7 @@
}
//Formulaire de saisi de champs
- function getFormChamps($action = false, $tables_id, $tables_modules, $tables_name, $tables_blocks, $tables_display_admin, $tables_display_user, $tables_search, $tables_coms, $tables_nb_champs, $select)
+ function getFormChamps($action = false, $tables_id, $tables_modules, $tables_name, $tables_blocks, $tables_display_admin, $tables_display_user, $tables_status, $tables_waiting, $tables_online, $tables_search, $tables_coms, $tables_nb_champs, $select)
{
global $xoopsDB, $xoopsModule, $xoopsModuleConfig;
if ($action === false) {
@@ -68,7 +67,7 @@
$class = 'even';
$title = $this->isNew() ? sprintf(_AM_TDMCREATE_TABLES_CHAMPS_ADD) : sprintf(_AM_TDMCREATE_TABLES_CHAMPS_EDIT);
- $tables_actions = $tables_modules."&tables_id=".$tables_id."&tables_name=".$tables_name."&tables_blocs=".$tables_blocks."&tables_display_admin=".$tables_display_admin."&tables_display_user=".$tables_display_user."&tables_search=".$tables_search."&tables_coms=".$tables_coms."&tables_nb_champs=".$tables_nb_champs."&select=".$select;
+ $tables_actions = $tables_modules."&tables_id=".$tables_id."&tables_name=".$tables_name."&tables_blocs=".$tables_blocks."&tables_display_admin=".$tables_display_admin."&tables_display_user=".$tables_display_user."&tables_status=".$tables_status."&tables_waiting=".$tables_waiting."&tables_online=".$tables_online."&tables_search=".$tables_search."&tables_coms=".$tables_coms."&tables_nb_champs=".$tables_nb_champs."&select=".$select;
echo "<FORM Method='POST' Action='".$action."?op=tables_save&tables_modules=".$tables_actions."'>
<table border='0' width='100%' cellspacing='1' class='outer'>
@@ -243,18 +242,20 @@
$tables_parametres = $this->getVar('tables_parametres');
$tables_blocks = $this->getVar('tables_blocs');
$tables_display_admin = $this->getVar('tables_display_admin');
- $tables_display_user = $this->getVar('tables_display_user');
+ $tables_display_user = $this->getVar('tables_display_user');
+ $tables_status = $this->getVar('tables_status');
+ $tables_waiting = $this->getVar('tables_waiting');
+ $tables_online = $this->getVar('tables_online');
$tables_search = $this->getVar('tables_search');
$tables_coms = $this->getVar('tables_coms');
$select = 0;
$champs_total = explode("|", $tables_champs);
$count_champs = count($champs_total);
- //$count_champs -= 3;
-
+
$parametres_total = explode("|", $tables_parametres);
$count_parametres = count($parametres_total);
- //$count_parametres -= 3;
+
//echo $count_parametres;
//Champs
for($i=0; $i<$tables_nb_champs; $i++)
@@ -298,7 +299,7 @@
$champs_param_required_field[$i] = $parametres[6];
}
}
- $tables_action = $tables_modules."&tables_id=".$tables_id."&tables_name=".$tables_name."&tables_blocs=".$tables_blocks."&tables_display_admin=".$tables_display_admin."&tables_display_user=".$tables_display_user."&tables_search=".$tables_search."&tables_coms=".$tables_coms."&tables_nb_champs=".$tables_nb_champs."&select=".$select;
+ $tables_action = $tables_modules."&tables_id=".$tables_id."&tables_name=".$tables_name."&tables_blocs=".$tables_blocks."&tables_display_admin=".$tables_display_admin."&tables_display_user=".$tables_display_user."&tables_status=".$tables_status."&tables_waiting=".$tables_waiting."&tables_online=".$tables_online."&tables_search=".$tables_search."&tables_coms=".$tables_coms."&tables_nb_champs=".$tables_nb_champs."&select=".$select;
echo "<FORM Method='POST' Action='".$action."?op=tables_save&tables_modules=".$tables_action."'>
<table border='0' width='100%' cellspacing='1' class='outer'>
@@ -750,9 +751,8 @@
$form->addElement(new XoopsFormButton('', 'submit', _SUBMIT, 'submit'));
$form->display();
return $form;
- }
+ }
-
//Formulaire de creation de tables topic
function getFormTopic($action = false)
{
Modified: XoopsModules/TDMCreate/releases/1.37/TDMCreate/const/const_class.php
===================================================================
--- XoopsModules/TDMCreate/releases/1.37/TDMCreate/const/const_class.php 2012-02-03 17:58:36 UTC (rev 8879)
+++ XoopsModules/TDMCreate/releases/1.37/TDMCreate/const/const_class.php 2012-02-03 22:43:03 UTC (rev 8880)
@@ -75,7 +75,8 @@
//Constructor
function __construct()
{
- $this->XoopsObject();';
+ $this->XoopsObject();
+ ';
$text .= $constructor.'
}
Modified: XoopsModules/TDMCreate/releases/1.37/TDMCreate/include/functions_const.php
===================================================================
--- XoopsModules/TDMCreate/releases/1.37/TDMCreate/include/functions_const.php 2012-02-03 17:58:36 UTC (rev 8879)
+++ XoopsModules/TDMCreate/releases/1.37/TDMCreate/include/functions_const.php 2012-02-03 22:43:03 UTC (rev 8880)
@@ -110,7 +110,7 @@
//If as empty is default not string(not value), if as text not default, if as numeric default is 0 or 0.0000
if ( empty($structure[5]) ) {
$default = "default ''";
- } elseif ( $structure[1] == 'text' ) {
+ } elseif ( $structure[1] == 'text' || $structure[1] == 'tinytext' || $structure[1] == 'mediumtext' || $structure[1] == 'longtext' ) {
$default = "";
} elseif ( $structure[1] == 'int' || $structure[1] == 'tinyint' || $structure[1] == 'mediumint' || $structure[1] == 'smallint') {
$default = "default '0'";
@@ -156,8 +156,7 @@
}
}
}
- }
-
+ }
//Probleme virgule
$key = '';
for ($i=0; $i<$j; $i++)
Modified: XoopsModules/TDMCreate/releases/1.37/TDMCreate/sql/mysql.sql
===================================================================
--- XoopsModules/TDMCreate/releases/1.37/TDMCreate/sql/mysql.sql 2012-02-03 17:58:36 UTC (rev 8879)
+++ XoopsModules/TDMCreate/releases/1.37/TDMCreate/sql/mysql.sql 2012-02-03 22:43:03 UTC (rev 8880)
@@ -22,10 +22,10 @@
`modules_module_website_name` varchar(255) default NULL,
`modules_release` varchar(11) NOT NULL default '00-00-0000',
`modules_module_status` varchar(255) default NULL,
- `modules_display_menu` tinyint(1) NOT NULL default '1',
`modules_display_admin` tinyint(1) NOT NULL default '1',
`modules_display_user` tinyint(1) NOT NULL default '1',
`modules_active_search` tinyint(1) NOT NULL default '1',
+ `modules_active_comments` tinyint(1) NOT NULL default '1',
PRIMARY KEY (`modules_id`)
) ENGINE=MyISAM;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <txm...@us...> - 2012-02-03 17:58:44
|
Revision: 8879
http://xoops.svn.sourceforge.net/xoops/?rev=8879&view=rev
Author: txmodxoops
Date: 2012-02-03 17:58:36 +0000 (Fri, 03 Feb 2012)
Log Message:
-----------
Updated revision
Modified Paths:
--------------
XoopsModules/TDMCreate/releases/1.37/TDMCreate/admin/tables.php
XoopsModules/TDMCreate/releases/1.37/TDMCreate/class/tdmcreate_tables.php
XoopsModules/TDMCreate/releases/1.37/TDMCreate/const/const_admin_index.php
XoopsModules/TDMCreate/releases/1.37/TDMCreate/const/const_admin_language.php
XoopsModules/TDMCreate/releases/1.37/TDMCreate/const/const_admin_pages.php
XoopsModules/TDMCreate/releases/1.37/TDMCreate/const/const_class.php
XoopsModules/TDMCreate/releases/1.37/TDMCreate/const/const_include_coms.php
XoopsModules/TDMCreate/releases/1.37/TDMCreate/const/const_templates_pages.php
XoopsModules/TDMCreate/releases/1.37/TDMCreate/include/functions_const.php
XoopsModules/TDMCreate/releases/1.37/TDMCreate/language/english/admin.php
XoopsModules/TDMCreate/releases/1.37/TDMCreate/language/italian/admin.php
XoopsModules/TDMCreate/releases/1.37/TDMCreate/language/update language 1.1 to 1.37.txt
XoopsModules/TDMCreate/releases/1.37/TDMCreate/sql/mysql.sql
Modified: XoopsModules/TDMCreate/releases/1.37/TDMCreate/admin/tables.php
===================================================================
--- XoopsModules/TDMCreate/releases/1.37/TDMCreate/admin/tables.php 2012-02-03 16:04:32 UTC (rev 8878)
+++ XoopsModules/TDMCreate/releases/1.37/TDMCreate/admin/tables.php 2012-02-03 17:58:36 UTC (rev 8879)
@@ -54,13 +54,7 @@
$obj->setVar('tables_coms', 0);
$obj->setVar('tables_nb_champs', 7);
- $tables_champs = 'topic_id:int:11:unsigned:NOT NULL: :|topic_pid:int:5:unsigned:NOT NULL:0:|topic_title:varchar:255: :NOT NULL: :|topic_desc:text: : :NOT NULL: :|topic_img:varchar:255: :NOT NULL: :|topic_weight:int:5: :NOT NULL:0:|topic_color:varchar:10: :NULL: :';
- if ( isset($_REQUEST['tables_submitter']) == 1 )
- $tables_champs .= '|topic_submitter:int:10: :NOT NULL:0:';
- if ( isset($_REQUEST['tables_date_created']) == 1 )
- $tables_champs .= '|topic_date_created:int:10: :NOT NULL:0:';
- if ( isset($_REQUEST['tables_online']) == 1 )
- $tables_champs .= '|topic_online:tinyint:1: :NOT NULL:0:';
+ $tables_champs = 'topic_id:int:11:unsigned:NOT NULL: :|topic_pid:int:5:unsigned:NOT NULL:0:|topic_title:varchar:255: :NOT NULL: :|topic_desc:text: : :NOT NULL: :|topic_img:varchar:255: :NOT NULL: :|topic_weight:int:5: :NOT NULL:0:|topic_color:varchar:10: :NULL: :';
$tables_parametres = 'XoopsFormTopic:0:0:0:0:0:0|XoopsFormText:1:1:0:1:0:1|XoopsFormTextArea:0:1:0:0:0:1|XoopsFormUploadImage:1:1:0:0:0:0|XoopsFormText:1:1:0:0:0:1|XoopsFormColorPicker:1:1:0:0:0:0|XoopsFormSelectUser:0:0:0:0:0:1|XoopsFormTextDateSelect:0:0:0:0:0:1|XoopsFormCheckBox:1:1:0:0:0:1';
@@ -129,14 +123,7 @@
$tables_champs .= '|';
if ( $i != 0 )
$tables_parametres .= '|';
- } else {
- if ( isset($_REQUEST['tables_submitter']) == 1 )
- $tables_champs .= '|'.strtolower($_REQUEST['tables_name']).'_submitter:int:10: :NOT NULL:0:';
- if ( isset($_REQUEST['tables_date_created']) == 1 )
- $tables_champs .= '|'.strtolower($_REQUEST['tables_name']).'_date_created:int:10: :NOT NULL:0:';
- if ( isset($_REQUEST['tables_online']) == 1 )
- $tables_champs .= '|'.strtolower($_REQUEST['tables_name']).'_online:tinyint:1: :NOT NULL:0:';
-
+ } else {
$tables_parametres .= '|XoopsFormSelectUser:1:1:1:0:0:1|XoopsFormTextDateSelect:1:1:1:0:0:1|XoopsFormCheckBox:1:1:1:0:0:1';
}
}
@@ -519,8 +506,7 @@
}
}
echo '</table>';
- }
- //ici
+ }
break;
}
include "admin_footer.php";
\ No newline at end of file
Modified: XoopsModules/TDMCreate/releases/1.37/TDMCreate/class/tdmcreate_tables.php
===================================================================
--- XoopsModules/TDMCreate/releases/1.37/TDMCreate/class/tdmcreate_tables.php 2012-02-03 16:04:32 UTC (rev 8878)
+++ XoopsModules/TDMCreate/releases/1.37/TDMCreate/class/tdmcreate_tables.php 2012-02-03 17:58:36 UTC (rev 8879)
@@ -44,12 +44,12 @@
$this->initVar("tables_parametres",XOBJ_DTYPE_TXTBOX,null,false);
$this->initVar("tables_blocs",XOBJ_DTYPE_INT,null,false, 1);
$this->initVar("tables_display_admin",XOBJ_DTYPE_INT,null,false, 1);
- $this->initVar("tables_display_user",XOBJ_DTYPE_INT,null,false, 1);
- $this->initVar("tables_submitter",XOBJ_DTYPE_INT,null,false, 1);
- $this->initVar("tables_date_created",XOBJ_DTYPE_INT,null,false, 1);
- $this->initVar("tables_online",XOBJ_DTYPE_INT,null,false, 1);
+ $this->initVar("tables_display_user",XOBJ_DTYPE_INT,null,false, 1);
+ $this->initVar("tables_status",XOBJ_DTYPE_INT,null,false, 1);
+ $this->initVar("tables_waiting",XOBJ_DTYPE_INT,null,false, 1);
+ $this->initVar("tables_online",XOBJ_DTYPE_INT,null,false, 1);
$this->initVar("tables_search",XOBJ_DTYPE_INT,null,false, 1);
- $this->initVar("tables_coms",XOBJ_DTYPE_INT,null,false, 1);
+ $this->initVar("tables_coms",XOBJ_DTYPE_INT,null,false, 1);
}
//Constructor
@@ -59,7 +59,7 @@
}
//Formulaire de saisi de champs
- function getFormChamps($action = false, $tables_id, $tables_modules, $tables_name, $tables_blocks, $tables_display_admin, $tables_display_user, $tables_submitter, $tables_date_created, $tables_online, $tables_search, $tables_coms, $tables_nb_champs, $select)
+ function getFormChamps($action = false, $tables_id, $tables_modules, $tables_name, $tables_blocks, $tables_display_admin, $tables_display_user, $tables_search, $tables_coms, $tables_nb_champs, $select)
{
global $xoopsDB, $xoopsModule, $xoopsModuleConfig;
if ($action === false) {
@@ -68,7 +68,7 @@
$class = 'even';
$title = $this->isNew() ? sprintf(_AM_TDMCREATE_TABLES_CHAMPS_ADD) : sprintf(_AM_TDMCREATE_TABLES_CHAMPS_EDIT);
- $tables_actions = $tables_modules."&tables_id=".$tables_id."&tables_name=".$tables_name."&tables_blocs=".$tables_blocks."&tables_display_admin=".$tables_display_admin."&tables_display_user=".$tables_display_user."&tables_submitter=".$tables_submitter."&tables_date_created=".$tables_date_created."&tables_online=".$tables_online."&tables_search=".$tables_search."&tables_coms=".$tables_coms."&tables_nb_champs=".$tables_nb_champs."&select=".$select;
+ $tables_actions = $tables_modules."&tables_id=".$tables_id."&tables_name=".$tables_name."&tables_blocs=".$tables_blocks."&tables_display_admin=".$tables_display_admin."&tables_display_user=".$tables_display_user."&tables_search=".$tables_search."&tables_coms=".$tables_coms."&tables_nb_champs=".$tables_nb_champs."&select=".$select;
echo "<FORM Method='POST' Action='".$action."?op=tables_save&tables_modules=".$tables_actions."'>
<table border='0' width='100%' cellspacing='1' class='outer'>
@@ -97,15 +97,22 @@
<td align='center'><SELECT name='champs_type[".$i."]'>
<OPTION VALUE='int'>INT</OPTION>
<OPTION VALUE='tinyint'>TINYINT</OPTION>
+ <OPTION VALUE='mediumint'>MEDIUMINT</OPTION>
<OPTION VALUE='smallint'>SMALLINT</OPTION>
- <OPTION VALUE='decimal'>DECIMAL</OPTION>
+ <OPTION VALUE='float'>FLOAT</OPTION>
<OPTION VALUE='double'>DOUBLE</OPTION>
- <OPTION VALUE='float'>FLOAT</OPTION>
- <OPTION VALUE='enum'>ENUM</OPTION>
+ <OPTION VALUE='decimal'>DECIMAL</OPTION>
+ <OPTION VALUE='enum'>ENUM</OPTION>
+ <OPTION VALUE='email'>EMAIL</OPTION>
+ <OPTION VALUE='url'>URL</OPTION>
+ <OPTION VALUE='char'>CHAR</OPTION>
<OPTION VALUE='varchar'>VARCHAR</OPTION>
<OPTION VALUE='text'>TEXT</OPTION>
+ <OPTION VALUE='tinytext'>TINYTEXT</OPTION>
+ <OPTION VALUE='mediumtext'>MEDIUMTEXT</OPTION>
<OPTION VALUE='longtext'>LONGTEXT</OPTION>
<OPTION VALUE='date'>DATE</OPTION>
+ <OPTION VALUE='datetime'>DATETIME</OPTION>
<OPTION VALUE='timestamp'>TIMESTAMP</OPTION>
<OPTION VALUE='time'>TIME</OPTION>
<OPTION VALUE='year'>YEAR</OPTION>
@@ -236,21 +243,18 @@
$tables_parametres = $this->getVar('tables_parametres');
$tables_blocks = $this->getVar('tables_blocs');
$tables_display_admin = $this->getVar('tables_display_admin');
- $tables_display_user = $this->getVar('tables_display_user');
- $tables_submitter = $this->getVar('tables_submitter');
- $tables_date_created = $this->getVar('tables_date_created');
- $tables_online = $this->getVar('tables_online');
+ $tables_display_user = $this->getVar('tables_display_user');
$tables_search = $this->getVar('tables_search');
$tables_coms = $this->getVar('tables_coms');
$select = 0;
$champs_total = explode("|", $tables_champs);
$count_champs = count($champs_total);
- $count_champs -= 3;
+ //$count_champs -= 3;
$parametres_total = explode("|", $tables_parametres);
$count_parametres = count($parametres_total);
- $count_parametres -= 3;
+ //$count_parametres -= 3;
//echo $count_parametres;
//Champs
for($i=0; $i<$tables_nb_champs; $i++)
@@ -294,7 +298,7 @@
$champs_param_required_field[$i] = $parametres[6];
}
}
- $tables_action = $tables_modules."&tables_id=".$tables_id."&tables_name=".$tables_name."&tables_blocs=".$tables_blocks."&tables_display_admin=".$tables_display_admin."&tables_display_user=".$tables_display_user."&tables_submitter=".$tables_submitter."&tables_date_created=".$tables_date_created."&tables_online=".$tables_online."&tables_search=".$tables_search."&tables_coms=".$tables_coms."&tables_nb_champs=".$tables_nb_champs."&select=".$select;
+ $tables_action = $tables_modules."&tables_id=".$tables_id."&tables_name=".$tables_name."&tables_blocs=".$tables_blocks."&tables_display_admin=".$tables_display_admin."&tables_display_user=".$tables_display_user."&tables_search=".$tables_search."&tables_coms=".$tables_coms."&tables_nb_champs=".$tables_nb_champs."&select=".$select;
echo "<FORM Method='POST' Action='".$action."?op=tables_save&tables_modules=".$tables_action."'>
<table border='0' width='100%' cellspacing='1' class='outer'>
@@ -327,16 +331,51 @@
} else {
echo "<OPTION VALUE='tinyint'>TINYINT</OPTION>";
}
+ if ( $champs_type[$i] == 'mediumint' ) {
+ echo "<OPTION VALUE='mediumint' selected>MEDIUMINT</OPTION>";
+ } else {
+ echo "<OPTION VALUE='mediumint'>MEDIUMINT</OPTION>";
+ }
if ( $champs_type[$i] == 'smallint' ) {
echo "<OPTION VALUE='smallint' selected>SMALLINT</OPTION>";
} else {
echo "<OPTION VALUE='smallint'>SMALLINT</OPTION>";
}
+ if ( $champs_type[$i] == 'float' ) {
+ echo "<OPTION VALUE='float' selected>FLOAT</OPTION>";
+ } else {
+ echo "<OPTION VALUE='float'>FLOAT</OPTION>";
+ }
+ if ( $champs_type[$i] == 'double' ) {
+ echo "<OPTION VALUE='double' selected>DOUBLE</OPTION>";
+ } else {
+ echo "<OPTION VALUE='double'>DOUBLE</OPTION>";
+ }
if ( $champs_type[$i] == 'decimal' ) {
echo "<OPTION VALUE='decimal' selected>DECIMAL</OPTION>";
} else {
echo "<OPTION VALUE='decimal'>DECIMAL</OPTION>";
}
+ if ( $champs_type[$i] == 'enum' ) {
+ echo "<OPTION VALUE='enum' selected>ENUM</OPTION>";
+ } else {
+ echo "<OPTION VALUE='enum'>ENUM</OPTION>";
+ }
+ if ( $champs_type[$i] == 'email' ) {
+ echo "<OPTION VALUE='email' selected>EMAIL</OPTION>";
+ } else {
+ echo "<OPTION VALUE='email'>EMAIL</OPTION>";
+ }
+ if ( $champs_type[$i] == 'url' ) {
+ echo "<OPTION VALUE='url' selected>URL</OPTION>";
+ } else {
+ echo "<OPTION VALUE='url'>URL</OPTION>";
+ }
+ if ( $champs_type[$i] == 'char' ) {
+ echo "<OPTION VALUE='char' selected>CHAR</OPTION>";
+ } else {
+ echo "<OPTION VALUE='char'>CHAR</OPTION>";
+ }
if ( $champs_type[$i] == 'varchar' ) {
echo "<OPTION VALUE='varchar' selected>VARCHAR</OPTION>";
} else {
@@ -347,6 +386,16 @@
} else {
echo "<OPTION VALUE='text'>TEXT</OPTION>";
}
+ if ( $champs_type[$i] == 'tinytext' ) {
+ echo "<OPTION VALUE='tinytext' selected>TINYTEXT</OPTION>";
+ } else {
+ echo "<OPTION VALUE='tinytext'>TINYTEXT</OPTION>";
+ }
+ if ( $champs_type[$i] == 'mediumtext' ) {
+ echo "<OPTION VALUE='mediumtext' selected>MEDIUMTEXT</OPTION>";
+ } else {
+ echo "<OPTION VALUE='mediumtext'>MEDIUMTEXT</OPTION>";
+ }
if ( $champs_type[$i] == 'longtext' ) {
echo "<OPTION VALUE='longtext' selected>LONGTEXT</OPTION>";
} else {
@@ -357,6 +406,11 @@
} else {
echo "<OPTION VALUE='date'>DATE</OPTION>";
}
+ if ( $champs_type[$i] == 'datetime' ) {
+ echo "<OPTION VALUE='datetime' selected>DATETIME</OPTION>";
+ } else {
+ echo "<OPTION VALUE='datetime'>DATETIME</OPTION>";
+ }
if ( $champs_type[$i] == 'timestamp' ) {
echo "<OPTION VALUE='timestamp' selected>TIMESTAMP</OPTION>";
} else {
@@ -625,25 +679,25 @@
$modules_select = new XoopsFormSelect(_AM_TDMCREATE_TABLES_MODULES, 'tables_modules', $this->getVar('tables_modules'));
$modules_select->addOptionArray($modulesHandler->getList());
$form->addElement($modules_select, true);
- $form->addElement(new XoopsFormText(_AM_TDMCREATE_TABLES_NAME, 'tables_name', 40, 255, $this->getVar('tables_name')), true);
- $form->addElement(new XoopsFormText(_AM_TDMCREATE_TABLES_NB_CHAMPS, 'tables_nb_champs', 20, 255, $this->getVar('tables_nb_champs')), true);
+ $form->addElement(new XoopsFormText(_AM_TDMCREATE_TABLES_NAME, 'tables_name', 40, 255, $this->getVar('tables_name')), true);
+ $form->addElement(new XoopsFormText(_AM_TDMCREATE_TABLES_NB_CHAMPS, 'tables_nb_champs', 10, 25, $this->getVar('tables_nb_champs')), true);
- $select_blocs = $this->isNew() ? 1 : $this->getVar('tables_blocs');
- $form->addElement(new XoopsFormRadioYN(_AM_TDMCREATE_TABLES_BLOCS, 'tables_blocs', $select_blocs, _YES, _NO));
+ $select_blocs = $this->isNew() ? 0 : $this->getVar('tables_blocs');
+ $form->addElement(new XoopsFormRadioYN(_AM_TDMCREATE_TABLES_BLOCS, 'tables_blocs', $select_blocs, _YES, _NO));
- $select_display_admin = $this->isNew() ? 1 : $this->getVar('tables_display_admin');
- $form->addElement(new XoopsFormRadioYN(_AM_TDMCREATE_TABLES_DISPLAY_ADMIN, 'tables_display_admin', $select_display_admin, _YES, _NO));
+ $select_display_admin = $this->isNew() ? 0 : $this->getVar('tables_display_admin');
+ $form->addElement(new XoopsFormRadioYN(_AM_TDMCREATE_TABLES_DISPLAY_ADMIN, 'tables_display_admin', $select_display_admin, _YES, _NO));
- $select_display_user = $this->isNew() ? 1 : $this->getVar('tables_display_user');
- $form->addElement(new XoopsFormRadioYN(_AM_TDMCREATE_TABLES_DISPLAY_USER, 'tables_display_user', $select_display_user, _YES, _NO));
+ $select_display_user = $this->isNew() ? 0 : $this->getVar('tables_display_user');
+ $form->addElement(new XoopsFormRadioYN(_AM_TDMCREATE_TABLES_DISPLAY_USER, 'tables_display_user', $select_display_user, _YES, _NO));
$form->addElement(new XoopsFormLabel(_AM_TDMCREATE_FORM_INFO_TABLE,_AM_TDMCREATE_FORM_INFO_TABLE_FIELD));
- $select_submitter = $this->isNew() ? 1 : $this->getVar('tables_submitter');
- $form->addElement(new XoopsFormRadioYN(_AM_TDMCREATE_TABLES_SUBMITTER, 'tables_submitter', $select_submitter, _YES, _NO));
- $select_date_created = $this->isNew() ? 1 : $this->getVar('tables_date_created');
- $form->addElement(new XoopsFormRadioYN(_AM_TDMCREATE_TABLES_DATE_CREATED, 'tables_date_created', $select_date_created, _YES, _NO));
- $select_online = $this->isNew() ? 1 : $this->getVar('tables_online');
- $form->addElement(new XoopsFormRadioYN(_AM_TDMCREATE_TABLES_ONLINE, 'tables_online', $select_online, _YES, _NO));
+ $select_status = $this->isNew() ? 0 : $this->getVar('tables_status');
+ $form->addElement(new XoopsFormRadioYN(_AM_TDMCREATE_TABLES_STATUS, 'tables_status', $select_status, _YES, _NO));
+ $select_waiting = $this->isNew() ? 0 : $this->getVar('tables_waiting');
+ $form->addElement(new XoopsFormRadioYN(_AM_TDMCREATE_TABLES_WAITING, 'tables_waiting', $select_waiting, _YES, _NO));
+ $select_online = $this->isNew() ? 0 : $this->getVar('tables_online');
+ $form->addElement(new XoopsFormRadioYN(_AM_TDMCREATE_TABLES_ONLINE, 'tables_online', $select_online, _YES, _NO));
$result = $xoopsDB->queryF("SELECT COUNT(*) FROM " . $xoopsDB->prefix("tdmcreate_tables")." WHERE tables_search = '1'");
list( $active_search ) = $xoopsDB->fetchRow($result);
@@ -719,6 +773,14 @@
$modules_select->addOptionArray($modulesHandler->getList());
$form->addElement($modules_select, true);
+ $form->addElement(new XoopsFormLabel(_AM_TDMCREATE_FORM_INFO_TABLE,_AM_TDMCREATE_FORM_INFO_TABLE_FIELD));
+ $select_status = $this->isNew() ? 0 : $this->getVar('tables_status');
+ $form->addElement(new XoopsFormRadioYN(_AM_TDMCREATE_TABLES_STATUS, 'tables_status', $select_status, _YES, _NO));
+ $select_waiting = $this->isNew() ? 0 : $this->getVar('tables_waiting');
+ $form->addElement(new XoopsFormRadioYN(_AM_TDMCREATE_TABLES_WAITING, 'tables_waiting', $select_waiting, _YES, _NO));
+ $select_online = $this->isNew() ? 0 : $this->getVar('tables_online');
+ $form->addElement(new XoopsFormRadioYN(_AM_TDMCREATE_TABLES_ONLINE, 'tables_online', $select_online, _YES, _NO));
+
$tables_img1 = $this->getVar('tables_img') ? $this->getVar('tables_img') : 'blank.gif';
if(is_dir(XOOPS_ROOT_PATH . "/Frameworks/moduleclasses/icons/32/")){
@@ -758,12 +820,9 @@
class TDMCreatetdmcreate_tablesHandler extends XoopsPersistableObjectHandler
{
-
function __construct(&$db)
{
parent::__construct($db, "tdmcreate_tables", 'tdmcreate_tables', 'tables_id', 'tables_names');
}
-
}
-
?>
\ No newline at end of file
Modified: XoopsModules/TDMCreate/releases/1.37/TDMCreate/const/const_admin_index.php
===================================================================
--- XoopsModules/TDMCreate/releases/1.37/TDMCreate/const/const_admin_index.php 2012-02-03 16:04:32 UTC (rev 8878)
+++ XoopsModules/TDMCreate/releases/1.37/TDMCreate/const/const_admin_index.php 2012-02-03 17:58:36 UTC (rev 8879)
@@ -25,8 +25,7 @@
{
$language = '_AM_'.strtoupper($modules_name).'_';
$language1 = '_AM_'.strtoupper($modules_name).'_ADMIN_';
- $language2 = '_AM_'.strtoupper($modules_name).'_THEREARE_';
- $myts =& MyTextSanitizer::getInstance();
+ $language2 = '_AM_'.strtoupper($modules_name).'_THEREARE_';
$file = "index.php";
$path_file = TDM_CREATE_MURL."/".$modules_name."/admin/".$file;
$en_tete = const_entete($modules, 0);
@@ -35,33 +34,48 @@
include "admin_header.php";
xoops_cp_header();
- $indexAdmin = new ModuleAdmin();
+ $indexAdmin = new ModuleAdmin();
';
foreach (array_keys($tables_arr) as $i)
{
$text .= '
- //count "total"
- $count_'.$tables_arr[$i]->getVar("tables_name").' = $'.$tables_arr[$i]->getVar("tables_name").'Handler->getCount();
- //count "online"
+ //count "total '.$tables_arr[$i]->getVar("tables_name").'"
+ $count_'.$tables_arr[$i]->getVar("tables_name").' = $'.$tables_arr[$i]->getVar("tables_name").'Handler->getCount();';
+ if(isset($_REQUEST['tables_online'])) {
+ $text .= '
+ //count "online"
$criteria = new CriteriaCompo();
$criteria->add(new Criteria("'.$tables_arr[$i]->getVar("tables_name").'_online", 1));
- $'.$tables_arr[$i]->getVar("tables_name").'_online = $'.$tables_arr[$i]->getVar("tables_name").'Handler->getCount($criteria);
- $criteria->add(new Criteria("'.$tables_arr[$i]->getVar("tables_name").'_pending", 1));
- $'.$tables_arr[$i]->getVar("tables_name").'_pending = $'.$tables_arr[$i]->getVar("tables_name").'Handler->getCount($criteria);
+ $'.$tables_arr[$i]->getVar("tables_name").'_online = $'.$tables_arr[$i]->getVar("tables_name").'Handler->getCount($criteria);';
+ }
+ if(isset($_REQUEST['tables_waiting'])) {
+ $text .= '
+ $criteria = new CriteriaCompo();
+ $criteria->add(new Criteria("'.$tables_arr[$i]->getVar("tables_name").'_waiting", 1));
+ $'.$tables_arr[$i]->getVar("tables_name").'_waiting = $'.$tables_arr[$i]->getVar("tables_name").'Handler->getCount($criteria);
';
+ }
}
foreach (array_keys($tables_arr) as $i)
{
$text .= '
+ // InfoBox '.$tables_arr[$i]->getVar("tables_name").'
$indexAdmin->addInfoBox('.$language.strtoupper($tables_arr[$i]->getVar("tables_name")).');
- $indexAdmin->addInfoBoxLine('.$language.strtoupper($tables_arr[$i]->getVar("tables_name")).','.$language2.strtoupper($tables_arr[$i]->getVar("tables_name")).', $count_'.$tables_arr[$i]->getVar("tables_name").');
- $indexAdmin->addInfoBoxLine('.$language.strtoupper($tables_arr[$i]->getVar("tables_name")).','.$language2.strtoupper($tables_arr[$i]->getVar("tables_name")).'_ONLINE, $'.$tables_arr[$i]->getVar("tables_name").'_online);
- $indexAdmin->addInfoBoxLine('.$language.strtoupper($tables_arr[$i]->getVar("tables_name")).','.$language2.strtoupper($tables_arr[$i]->getVar("tables_name")).'_PENDING, $'.$tables_arr[$i]->getVar("tables_name").'_pending);
+ $indexAdmin->addInfoBoxLine('.$language.strtoupper($tables_arr[$i]->getVar("tables_name")).','.$language2.strtoupper($tables_arr[$i]->getVar("tables_name")).', $count_'.$tables_arr[$i]->getVar("tables_name").'); ';
+ if(isset($_REQUEST['tables_online'])) {
+ $text .= '
+ $indexAdmin->addInfoBoxLine('.$language.strtoupper($tables_arr[$i]->getVar("tables_name")).','.$language2.strtoupper($tables_arr[$i]->getVar("tables_name")).'_ONLINE, $'.$tables_arr[$i]->getVar("tables_name").'_online);';
+ }
+ if(isset($_REQUEST['tables_waiting'])) {
+ $text .= '
+ $indexAdmin->addInfoBoxLine('.$language.strtoupper($tables_arr[$i]->getVar("tables_name")).','.$language2.strtoupper($tables_arr[$i]->getVar("tables_name")).'_WAITING, $'.$tables_arr[$i]->getVar("tables_name").'_waiting);
';
+ }
}
$text .= '
- echo $indexAdmin->addNavigation("index.php") ;
+ // Render Index
+ echo $indexAdmin->addNavigation("index.php");
echo $indexAdmin->renderIndex();
include "admin_footer.php";
Modified: XoopsModules/TDMCreate/releases/1.37/TDMCreate/const/const_admin_language.php
===================================================================
--- XoopsModules/TDMCreate/releases/1.37/TDMCreate/const/const_admin_language.php 2012-02-03 16:04:32 UTC (rev 8878)
+++ XoopsModules/TDMCreate/releases/1.37/TDMCreate/const/const_admin_language.php 2012-02-03 17:58:36 UTC (rev 8879)
@@ -27,7 +27,7 @@
global $xoopsConfig;
}
$language = '_AM_'.strtoupper($modules_name).'_';
-
+ $language1 = '_AM_'.strtoupper($modules_name).'_THEREARE_';
$file = "admin.php";
$path_file = TDM_CREATE_MURL."/".$modules_name."/language/".$xoopsConfig['language']."/".$file;
$en_tete = const_entete($modules, 0);
@@ -45,20 +45,26 @@
foreach (array_keys($tables_arr) as $i)
{
$text .= 'define("'.$language.strtoupper($tables_arr[$i]->getVar("tables_name")).'","'.ucfirst($tables_arr[$i]->getVar("tables_name")).' Statistics");
-define("'.$language.'THEREARE_'.strtoupper($tables_arr[$i]->getVar("tables_name")).'","There are <span class=\'bold\'>%s</span> '. ucfirst ($tables_arr[$i]->getVar("tables_name")).' in the Database");
-define("'.$language.'THEREARE_'.strtoupper($tables_arr[$i]->getVar("tables_name")).'_ONLINE","There are <span class=\'bold\'>%s</span> '. ucfirst ($tables_arr[$i]->getVar("tables_name")).' online in the Database");
-define("'.$language.'THEREARE_'.strtoupper($tables_arr[$i]->getVar("tables_name")).'_PENDING","There are <span class=\'bold\'>%s</span> '. ucfirst ($tables_arr[$i]->getVar("tables_name")).' pending in the Database");
-';
+define("'.$language1.strtoupper($tables_arr[$i]->getVar("tables_name")).'","There are <span class=\'bold\'>%s</span> '. ucfirst ($tables_arr[$i]->getVar("tables_name")).' in the Database");';
+if(isset($_REQUEST['tables_online'])) {
+$text .= '
+define("'.$language1.strtoupper($tables_arr[$i]->getVar("tables_name")).'_ONLINE","There are <span class=\'bold\'>%s</span> '. ucfirst ($tables_arr[$i]->getVar("tables_name")).' online in the Database");'; }
+if(isset($_REQUEST['tables_waiting'])) {
+$text .= '
+define("'.$language1.strtoupper($tables_arr[$i]->getVar("tables_name")).'_WAITING","There are <span class=\'bold\'>%s</span> '. ucfirst ($tables_arr[$i]->getVar("tables_name")).' waiting in the Database");
+'; }
}
foreach (array_keys($tables_arr) as $i)
{
$text .= '//Buttons
define("'.$language.'NEW'.strtoupper($tables_arr[$i]->getVar("tables_name")).'","Add New '.$tables_name.'");
-define("'.$language.''.strtoupper($tables_arr[$i]->getVar("tables_name")).'LIST","List '.$tables_name.'");
-define("'.$language.''.strtoupper($tables_arr[$i]->getVar("tables_name")).'WAIT","Pending '.$tables_name.'");
+define("'.$language.''.strtoupper($tables_arr[$i]->getVar("tables_name")).'LIST","List '.$tables_name.'");';
+if(isset($_REQUEST['tables_waiting'])) {
+$text .= '
+define("'.$language.''.strtoupper($tables_arr[$i]->getVar("tables_name")).'WAIT","Waiting '.$tables_name.'");
-';
+';}
}
$text .='
//Index
@@ -73,10 +79,6 @@
define("'.$language.'FORMUPLOAD","Upload");
define("'.$language.'FORMIMAGE_PATH","File presents in %s");
define("'.$language.'FORMACTION","Action");
-define("'.$language.'OFF","Offline");
-define("'.$language.'ON","Online");
-define("'.$language.'EDIT","Edit");
-define("'.$language.'DELETE","Delete");
';
$verif = true;
foreach (array_keys($tables_arr) as $i)
Modified: XoopsModules/TDMCreate/releases/1.37/TDMCreate/const/const_admin_pages.php
===================================================================
--- XoopsModules/TDMCreate/releases/1.37/TDMCreate/const/const_admin_pages.php 2012-02-03 16:04:32 UTC (rev 8878)
+++ XoopsModules/TDMCreate/releases/1.37/TDMCreate/const/const_admin_pages.php 2012-02-03 17:58:36 UTC (rev 8879)
@@ -38,16 +38,16 @@
global $xoopsModuleConfig, $pathImageIcon;
//On recupere la valeur de l argument op dans l URL$
-$op = '.$modules_name.'_CleanVars($_REQUEST, \'op\', \'list_'.$tables_name.'\', \'string\');
-
+$op = '.$modules_name.'_CleanVars($_REQUEST, \'op\', \'list_'.$tables_name.'\', \'string\');';
+if(isset($_REQUEST['tables_waiting'])) {
+$text .= '
// compte le nombre de téléchargement non validé
$criteria = new CriteriaCompo();
-$criteria->add(new Criteria(\'status\', 0));
-$'.$tables_name.'_waiting = $'.$tables_name.'Handler->getCount($criteria);
-
+$criteria->add(new Criteria(\''.$tables_name.'_waiting\', 0));
+$'.$tables_name.'_waiting = $'.$tables_name.'Handler->getCount($criteria);'; }
+$text .= '
$status_menu = '.$modules_name.'_CleanVars($_REQUEST, \'status_display\', 1, \'int\');
-';
-
+';
//Champs
$champs_total = explode("|", $tables_champs);
$nb_champs = count($champs_total);
@@ -82,12 +82,15 @@
default:
echo $'.$tables_name.'Admin->addNavigation(\''.$tables_name.'.php\');
if ($status_menu == 1){
- $'.$tables_name.'Admin->addItemButton('.$language.'_NEW'.strtoupper($tables_name).', \''.$tables_name.'.php?op=new_'.$tables_name.'\', \'add\');
+ $'.$tables_name.'Admin->addItemButton('.$language.'_NEW'.strtoupper($tables_name).', \''.$tables_name.'.php?op=new_'.$tables_name.'\', \'add\');';
+ if(isset($_REQUEST['tables_waiting'])) {
+ $text .= '
if ($'.$tables_name.'_waiting == 0){
$'.$tables_name.'Admin->addItemButton('.$language.'_'.strtoupper($tables_name).'WAIT, \''.$tables_name.'.php?op=list_'.$tables_name.'&status_display=0\', \'add\');
}else{
$'.$tables_name.'Admin->addItemButton('.$language.'_'.strtoupper($tables_name).'WAIT, \''.$tables_name.'.php?op=list_'.$tables_name.'&status_display=0\', \'add\', \' (<span style="color : Red">' . $tables_name.'_waiting . </span>)\');
- }
+ }';}
+ $text .= '
}else{
$'.$tables_name.'Admin->addItemButton('.$language.'_'.strtoupper($tables_name).'LIST, \''.$tables_name.'.php?op=list_'.$tables_name.'\', \'list\');
$'.$tables_name.'Admin->addItemButton('.$language.'_NEW'.strtoupper($tables_name).', \''.$tables_name.'.php?op=new_'.$tables_name.'\', \'add\');
@@ -198,10 +201,10 @@
$champs_data = const_show_champs_parametres($modules_name, $tables_name, $champs_id, $nb_champs, $champs, $champs_param_display_admin, $champs_param_type, $language, 1, 1);
$text .= ''.$champs_data.'
- echo "<td align=\"center\" width=\"10%\">
- <a href=\"'.$tables_name.'.php?op=edit_'.$tables_name.'&'.$champs_id.'=".$'.$tables_name.'_arr[$i]->getVar("'.$champs_id.'")."\"><img src=".$pathImageIcon."/edit.png alt=\""._EDIT."\" title=\""._EDIT."\"></a>
- <a href=\"'.$tables_name.'.php?op=delete_'.$tables_name.'&'.$champs_id.'=".$'.$tables_name.'_arr[$i]->getVar("'.$champs_id.'")."\"><img src=".$pathImageIcon."/delete.png alt=\""._DELETE."\" title=\""._DELETE."\"></a>
- </td>
+ echo "<td align=\"center\" width=\"10%\">
+ <a href=\"'.$tables_name.'.php?op=edit_'.$tables_name.'&'.$champs_id.'=".$'.$tables_name.'_arr[$i]->getVar("'.$champs_id.'")."\"><img src=".$pathImageIcon."/edit.png alt=\""._EDIT."\" title=\""._EDIT."\"></a>
+ <a href=\"'.$tables_name.'.php?op=delete_'.$tables_name.'&'.$champs_id.'=".$'.$tables_name.'_arr[$i]->getVar("'.$champs_id.'")."\"><img src=".$pathImageIcon."/delete.png alt=\""._DELETE."\" title=\""._DELETE."\"></a>
+ </td>
</tr>";
$class = ($class == "even") ? "odd" : "even";
$criteria = new CriteriaCompo();
@@ -231,6 +234,7 @@
$obj =& $'.$tables_name.'Handler->create();
$form = $obj->getForm();
+ $form->display();
break;
case "save_'.$tables_name.'":
@@ -255,6 +259,7 @@
//include_once("../include/forms.php");
echo $obj->getHtmlErrors();
$form =& $obj->getForm();
+ $form->display();
break;
case "edit_'.$tables_name.'":
@@ -264,6 +269,7 @@
echo $'.$tables_name.'Admin->renderButton();
$obj = $'.$tables_name.'Handler->get($_REQUEST["'.$champs_id.'"]);
$form = $obj->getForm();
+ $form->display();
break;
case "delete_'.$tables_name.'":
@@ -280,8 +286,9 @@
} else {
xoops_confirm(array("ok" => 1, "'.$champs_id.'" => $_REQUEST["'.$champs_id.'"], "op" => "delete_'.$tables_name.'"), $_SERVER["REQUEST_URI"], sprintf('.$language.'_FORMSUREDEL, $obj->getVar("'.$tables_name.'")));
}
- break;
-
+ break;';
+ if(isset($_REQUEST['tables_online'])) {
+$text .= '
case "update_online_'.$tables_name.'":
if (isset($_REQUEST["'.$champs_id.'"])) {
@@ -292,7 +299,8 @@
redirect_header("'.$tables_name.'.php", 3, '.$language.'_FORMOK);
}
echo $obj->getHtmlErrors();
- break;
+ break;'; }
+$text .= '
}
include "admin_footer.php";
?>';
Modified: XoopsModules/TDMCreate/releases/1.37/TDMCreate/const/const_class.php
===================================================================
--- XoopsModules/TDMCreate/releases/1.37/TDMCreate/const/const_class.php 2012-02-03 16:04:32 UTC (rev 8878)
+++ XoopsModules/TDMCreate/releases/1.37/TDMCreate/const/const_class.php 2012-02-03 17:58:36 UTC (rev 8879)
@@ -106,7 +106,6 @@
$text .= '
$form->addElement(new XoopsFormHidden("op", "save_'.$tables_name.'"));
$form->addElement(new XoopsFormButton("", "submit", _SUBMIT, "submit"));
- $form->display();
return $form;
}
}';
@@ -114,19 +113,14 @@
$text .= '
class '.$modules_name.$tables_module_table.'Handler extends XoopsPersistableObjectHandler
{
-
function __construct(&$db)
{
parent::__construct($db, "'.$tables_module_table.'", "'.$tables_module_table.'", "'.$tables_name.'_id", "'.$champs_param_main_field.'");
}
-
- }
-
-?>';
-
+ }
+?>';
createFile($path_file, $text,
_AM_TDMCREATE_CONST_OK_CLASSES,
_AM_TDMCREATE_CONST_NOTOK_CLASSES, $file);
}
-
?>
\ No newline at end of file
Modified: XoopsModules/TDMCreate/releases/1.37/TDMCreate/const/const_include_coms.php
===================================================================
--- XoopsModules/TDMCreate/releases/1.37/TDMCreate/const/const_include_coms.php 2012-02-03 16:04:32 UTC (rev 8878)
+++ XoopsModules/TDMCreate/releases/1.37/TDMCreate/const/const_include_coms.php 2012-02-03 17:58:36 UTC (rev 8879)
@@ -28,16 +28,16 @@
////Copie des fichiers coms
//comment_edit.php
- $coms_edit = XOOPS_ROOT_PATH."/modules/TDMCreate/include/comment_edit.php";
+ $coms_edit = TDM_CREATE_URL."/include/comment_edit.php";
copy($coms_edit, TDM_CREATE_MURL."/".$modules_name."/comment_edit.php");
//comment_delete.php
- $coms_delete = XOOPS_ROOT_PATH."/modules/TDMCreate/include/comment_delete.php";
+ $coms_delete = TDM_CREATE_URL."/include/comment_delete.php";
copy($coms_delete, TDM_CREATE_MURL."/".$modules_name."/comment_delete.php");
//comment_post.php
- $coms_post = XOOPS_ROOT_PATH."/modules/TDMCreate/include/comment_post.php";
+ $coms_post = TDM_CREATE_URL."/include/comment_post.php";
copy($coms_post, TDM_CREATE_MURL."/".$modules_name."/comment_post.php");
//comment_reply.php
- $coms_reply = XOOPS_ROOT_PATH."/modules/TDMCreate/include/comment_reply.php";
+ $coms_reply = TDM_CREATE_URL."/include/comment_reply.php";
copy($coms_reply, TDM_CREATE_MURL."/".$modules_name."/comment_reply.php");
//Champs
@@ -60,9 +60,7 @@
$champs_param_main_field = $champs[0];
}
}
- }
-
-
+ }
$text = '<?php'.$en_tete.'
include "../../mainfile.php";
include_once XOOPS_ROOT_PATH."/modules/'.$modules_name.'/class/'.$tables_name.'.php";
@@ -73,11 +71,9 @@
$com_replytitle = $'.$tables_name.'->getVar("'.$champs_param_main_field.'");
include XOOPS_ROOT_PATH."/include/comment_new.php";
}
-?>';
-
+?>';
createFile($path_file, $text,
_AM_TDMCREATE_CONST_OK_COMS,
_AM_TDMCREATE_CONST_NOTOK_COMS, $file);
}
-
?>
Modified: XoopsModules/TDMCreate/releases/1.37/TDMCreate/const/const_templates_pages.php
===================================================================
--- XoopsModules/TDMCreate/releases/1.37/TDMCreate/const/const_templates_pages.php 2012-02-03 16:04:32 UTC (rev 8878)
+++ XoopsModules/TDMCreate/releases/1.37/TDMCreate/const/const_templates_pages.php 2012-02-03 17:58:36 UTC (rev 8879)
@@ -32,7 +32,7 @@
if($tables_module_table != null){
$text .= '
<div class="outer">
-<{foreachq item='.$tables_name.' from='.$tables_name.'s}>
+<{foreachq item='.$tables_name.' from=$'.$tables_name.'s}>
<div class = "<{cycle values = "even,odd"}>">
';
//Champs
Modified: XoopsModules/TDMCreate/releases/1.37/TDMCreate/include/functions_const.php
===================================================================
--- XoopsModules/TDMCreate/releases/1.37/TDMCreate/include/functions_const.php 2012-02-03 16:04:32 UTC (rev 8878)
+++ XoopsModules/TDMCreate/releases/1.37/TDMCreate/include/functions_const.php 2012-02-03 17:58:36 UTC (rev 8879)
@@ -198,18 +198,16 @@
for($i=0; $i<$nb_champs; $i++)
{
if ( $champs_param_display_admin[$i] == 1 ) {
- if ( $i == $nb_champs - 1 )
+ if ( $i == $nb_champs )// - 1
{
+ if(isset($_REQUEST['tables_online'])) {
$text .= '
- $online = $'.$tables_name.'_arr[$i]->getVar("'.$champs[$i].'");
-
- if( $online == 1 ) {';
- $text .= '
- echo "<td align=\"center\"><a href=\"./'.$tables_name.'.php?op=update_online_'.$tables_name.'&'.$champs_id.'=".$'.$tables_name.'_arr[$i]->getVar("'.$champs_id.'")."&'.$tables_name.'_online=0\"><img src=".$pathImageIcon."/on.png border=\"0\" alt=\"".'.$language.'_ON."\" title=\"".'.$language.'_ON."\"></a></td>";
- } else {';
- $text .= '
- echo "<td align=\"center\"><a href=\"./'.$tables_name.'.php?op=update_online_'.$tables_name.'&'.$champs_id.'=".$'.$tables_name.'_arr[$i]->getVar("'.$champs_id.'")."&'.$tables_name.'_online=1\"><img src=".$pathImageIcon."/off.png border=\"0\" alt=\"".'.$language.'_OFF."\" title=\"".'.$language.'_OFF."\"></a></td>";
- }';
+ $online = $'.$tables_name.'_arr[$i]->getVar("'.$champs[$i].'");
+ if( $online == 1 ) {
+ echo "<td align=\"center\"><a href=\"./'.$tables_name.'.php?op=update_online_'.$tables_name.'&'.$champs_id.'=".$'.$tables_name.'_arr[$i]->getVar("'.$champs_id.'")."&'.$tables_name.'_online=0\"><img src=".$pathImageIcon."/on.png border=\"0\" alt=\""._ON."\" title=\""._ON."\"></a></td>";
+ } else {
+ echo "<td align=\"center\"><a href=\"./'.$tables_name.'.php?op=update_online_'.$tables_name.'&'.$champs_id.'=".$'.$tables_name.'_arr[$i]->getVar("'.$champs_id.'")."&'.$tables_name.'_online=1\"><img src=".$pathImageIcon."/off.png border=\"0\" alt=\""._OFF."\" title=\""._OFF."\"></a></td>";
+ }'; }
} else if ( $champs[$i] == 'topic_title' ) {
if ( $prefix == 1 ) {
$text .= 'echo "<td align=\"left\">".$prefix." ".$topic_arr[$i]->getVar("'.$champs[$i].'")."</td>";
@@ -249,7 +247,7 @@
';
} else if ( $champs_param_type[$i] == 'XoopsFormCheckBox' || $champs_param_type[$i] == 'XoopsFormRadioYN' ) {
$text .= '
- $verif_'.$champs[$i].' = ( $'.$tables_name.'_arr[$i]->getVar("'.$champs[$i].'") == 1 ) ? "oui" : "non";
+ $verif_'.$champs[$i].' = ( $'.$tables_name.'_arr[$i]->getVar("'.$champs[$i].'") == 1 ) ? _YES : _NO;
echo "<td align=\"center\">".$verif_'.$champs[$i].'."</td>";
';
} else {
@@ -332,8 +330,8 @@
$obj->setVar("'.$champs[$i].'", $_REQUEST["'.$champs[$i].'"]);
}
';
- } else if ( $champs_param_type[$i] == 'XoopsFormUploadFile' ) {
- $text .= '//Form '.$champs[$i].'
+ } else if ( $champs_param_type[$i] == 'XoopsFormUploadFile' ) {
+ $text .= '//Form '.$champs[$i].'
include_once XOOPS_ROOT_PATH."/class/uploader.php";
$uploaddir = XOOPS_UPLOAD_PATH."/'.$modules_name.'/files/";
$uploader = new XoopsMediaUploader($uploaddir, $GLOBALS["xoopsModuleConfig"]["'.$champs[$i].'_mimetypes"],
Modified: XoopsModules/TDMCreate/releases/1.37/TDMCreate/language/english/admin.php
===================================================================
--- XoopsModules/TDMCreate/releases/1.37/TDMCreate/language/english/admin.php 2012-02-03 16:04:32 UTC (rev 8878)
+++ XoopsModules/TDMCreate/releases/1.37/TDMCreate/language/english/admin.php 2012-02-03 17:58:36 UTC (rev 8879)
@@ -91,10 +91,10 @@
define("_AM_TDMCREATE_MODULES_MODULE_WEBSITE_NAME", "Website Title Module");
define("_AM_TDMCREATE_MODULES_RELEASE", "Release");
define("_AM_TDMCREATE_MODULES_STATUS", "Status");
-define("_AM_TDMCREATE_MODULES_DISPLAY_MENU", "Visible on the main menu");
define("_AM_TDMCREATE_MODULES_DISPLAY_ADMIN", "Visible hand Admin");
define("_AM_TDMCREATE_MODULES_DISPLAY_USER", "User Visible hand");
define("_AM_TDMCREATE_MODULES_ACTIVE_SEARCH", "Enable research");
+define("_AM_TDMCREATE_MODULES_ACTIVE_COMMENTS", "Enable comments");
//Tables.php
//Form1
Modified: XoopsModules/TDMCreate/releases/1.37/TDMCreate/language/italian/admin.php
===================================================================
--- XoopsModules/TDMCreate/releases/1.37/TDMCreate/language/italian/admin.php 2012-02-03 16:04:32 UTC (rev 8878)
+++ XoopsModules/TDMCreate/releases/1.37/TDMCreate/language/italian/admin.php 2012-02-03 17:58:36 UTC (rev 8879)
@@ -49,7 +49,7 @@
define("_AM_TDMCREATE_FORMDEL","Cancella");
define("_AM_TDMCREATE_FORMCHAMPS","Modifica campi");
define("_AM_TDMCREATE_FORM_INFO_TABLE","Informazione sulla tabella");
-define("_AM_TDMCREATE_FORM_INFO_TABLE_FIELD","Si possono aggiungere a scelta 3 campi in questa tabella : table_submitter, table_date_created, table_online");
+define("_AM_TDMCREATE_FORM_INFO_TABLE_FIELD","Si possono controllare a scelta 3 campi in questa tabella : table_status, table_waiting, table_online");
define("_AM_TDMCREATE_NAME", "Nome");
define("_AM_TDMCREATE_BLOCS", "Blocchi");
@@ -98,15 +98,15 @@
define("_AM_TDMCREATE_TABLES_EDIT", "Modifica le tabelle del modulo");
define("_AM_TDMCREATE_TABLES_MODULES", "Scegli il modulo");
define("_AM_TDMCREATE_TABLES_NAME", "Nome della tabella <br> <i>(il nome del modulo verrà automaticamente aggiunto al prefisso)</i> <br> Esempio: 'nome_modulo'_'table'_");
-define("_AM_TDMCREATE_TABLES_NB_CHAMPS", "Numero di campi in questa tabella <br> <i>in questa versione del modulo, non è possibile aggiungere nuovi campi dopo questo form<br> calcola in modo corretto ciò di cui hai bisogno</i>");
+define("_AM_TDMCREATE_TABLES_NB_CHAMPS", "Numero di campi in questa tabella");
define("_AM_TDMCREATE_TABLES_IMAGE", "Logo tabella");
-define("_AM_TDMCREATE_TABLES_BLOCS", "Crea un nuovo blocco per questa tabella (blocchi: casuali, recenti, oggi)");
+define("_AM_TDMCREATE_TABLES_BLOCS", "Crea blocco per questa tabella:(casuali, recenti, oggi)");
define("_AM_TDMCREATE_TABLES_DISPLAY_ADMIN", "Usa vista TAB lato Admin");
define("_AM_TDMCREATE_TABLES_DISPLAY_USER", "Usa vista TAB lato Utente");
-define("_AM_TDMCREATE_TABLES_SUBMITTER", "Aggiungere utente che invia");
-define("_AM_TDMCREATE_TABLES_DATE_CREATED", "Aggiungere data creazione");
-define("_AM_TDMCREATE_TABLES_ONLINE", "Aggiungere online");
-define("_AM_TDMCREATE_TABLES_SEARCH", "Attiva la ricerca per questa tabella <br> <i>il modulo per il momento, è in grado di gestire la ricerca sulla tabella <br>Se confermi l'opzione di ricerca verrà disabilitata</i>");
+define("_AM_TDMCREATE_TABLES_STATUS", "Controllo 'status'");
+define("_AM_TDMCREATE_TABLES_WAITING", "Controllo 'waiting'");
+define("_AM_TDMCREATE_TABLES_ONLINE", "Controllo 'online'");
+define("_AM_TDMCREATE_TABLES_SEARCH", "Attiva la ricerca per questa tabella <br> <i>il modulo per il momento, è in grado di gestire la ricerca sulla tabella <br>Se confermi l'opzione di ricerca verrà disabilitata</i>");
define("_AM_TDMCREATE_TABLES_EXIST", "Il nome specificato per questa tabella è già in uso");
define("_AM_TDMCREATE_TABLES_COMS","Enable the search in this table <br><i>the module can manage for the moment, the coms on a table<br>Coms option will be disabled if you confirmed</i>");
define("_AM_TDMCREATE_TABLES_TOPIC_ADD", "Aggiungi la tabella per la categoria");
Modified: XoopsModules/TDMCreate/releases/1.37/TDMCreate/language/update language 1.1 to 1.37.txt
===================================================================
--- XoopsModules/TDMCreate/releases/1.37/TDMCreate/language/update language 1.1 to 1.37.txt 2012-02-03 16:04:32 UTC (rev 8878)
+++ XoopsModules/TDMCreate/releases/1.37/TDMCreate/language/update language 1.1 to 1.37.txt 2012-02-03 17:58:36 UTC (rev 8879)
@@ -30,6 +30,8 @@
define("_AM_TDMCREATE_MODULES_LIST", "Modules List");
define("_AM_TDMCREATE_MODULES_NEW", "New Module");
+define("_AM_TDMCREATE_MODULES_ACTIVE_COMMENTS", "Enable comments");
+
modinfo.php
//Menu
Modified: XoopsModules/TDMCreate/releases/1.37/TDMCreate/sql/mysql.sql
===================================================================
--- XoopsModules/TDMCreate/releases/1.37/TDMCreate/sql/mysql.sql 2012-02-03 16:04:32 UTC (rev 8878)
+++ XoopsModules/TDMCreate/releases/1.37/TDMCreate/sql/mysql.sql 2012-02-03 17:58:36 UTC (rev 8879)
@@ -42,8 +42,8 @@
`tables_blocs` tinyint(1) NOT NULL default '0',
`tables_display_admin` tinyint(1) NOT NULL default '1',
`tables_display_user` tinyint(1) NOT NULL default '0',
- `tables_submitter` tinyint(1) NOT NULL default '0',
- `tables_date_created` tinyint(1) NOT NULL default '0',
+ `tables_status` tinyint(1) NOT NULL default '0',
+ `tables_waiting` tinyint(1) NOT NULL default '0',
`tables_online` tinyint(1) NOT NULL default '0',
`tables_search` tinyint(1) NOT NULL default '0',
`tables_coms` tinyint(1) NOT NULL default '0',
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ren...@us...> - 2012-02-03 16:04:42
|
Revision: 8878
http://xoops.svn.sourceforge.net/xoops/?rev=8878&view=rev
Author: renetjuh
Date: 2012-02-03 16:04:32 +0000 (Fri, 03 Feb 2012)
Log Message:
-----------
Upload NL language files profile 1.75
Added Paths:
-----------
XoopsLanguages/dutch/modules/profile/
XoopsLanguages/dutch/modules/profile/profile 1.75/
XoopsLanguages/dutch/modules/profile/profile 1.75/language/
XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/
XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/admin.php
XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/help/
XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/help/help.html
XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/help/index.html
XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/index.html
XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/mail_template/
XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/mail_template/emailchanged.tpl
XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/mail_template/index.html
XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/main.php
XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/modinfo.php
XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/style.css
Property changes on: XoopsLanguages/dutch/modules/profile
___________________________________________________________________
Added: bugtraq:number
+ true
Property changes on: XoopsLanguages/dutch/modules/profile/profile 1.75
___________________________________________________________________
Added: bugtraq:number
+ true
Property changes on: XoopsLanguages/dutch/modules/profile/profile 1.75/language
___________________________________________________________________
Added: bugtraq:number
+ true
Property changes on: XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands
___________________________________________________________________
Added: bugtraq:number
+ true
Added: XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/admin.php
===================================================================
--- XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/admin.php (rev 0)
+++ XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/admin.php 2012-02-03 16:04:32 UTC (rev 8878)
@@ -0,0 +1,165 @@
+<?php
+/**
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license http://www.fsf.org/copyleft/gpl.html GNU public license
+ * _LANGCODE: nl
+ * _CHARSET : UTF-8
+ * Vertaald door Renetjuh
+ * (Ver)taalfouten of suggesties?
+ * AUB hier melden: http://www.xoops.nl
+**/
+
+define('_PROFILE_AM_FIELD', 'Veld');
+define('_PROFILE_AM_FIELDS', 'Velden');
+define('_PROFILE_AM_CATEGORY', 'Categorie');
+define('_PROFILE_AM_STEP', 'Stap');
+define('_PROFILE_AM_SAVEDSUCCESS', '%s met succes opgeslagen');
+define('_PROFILE_AM_DELETEDSUCCESS', '%s met succes verwijderd');
+define('_PROFILE_AM_RUSUREDEL', 'Weet u zeker dat u %s wilt verwijderen?');
+define('_PROFILE_AM_FIELDNOTCONFIGURABLE', 'Het veld is niet te wijzigen.');
+define('_PROFILE_AM_ADD', '%s toevoegen');
+define('_PROFILE_AM_EDIT', '%s wijzigen');
+define('_PROFILE_AM_TYPE', 'Type veld');
+define('_PROFILE_AM_VALUETYPE', 'Waarde');
+define('_PROFILE_AM_NAME', 'Naam');
+define('_PROFILE_AM_TITLE', 'Titel');
+define('_PROFILE_AM_DESCRIPTION', 'Omschrijving');
+define('_PROFILE_AM_REQUIRED', 'Vereist?');
+define('_PROFILE_AM_MAXLENGTH', 'Maximale Lengte');
+define('_PROFILE_AM_WEIGHT', 'Volgorde');
+define('_PROFILE_AM_DEFAULT', 'Standaard');
+define('_PROFILE_AM_NOTNULL', 'Niet nul?');
+define('_PROFILE_AM_ARRAY', 'Array');
+define('_PROFILE_AM_EMAIL', 'E-mail');
+define('_PROFILE_AM_INT', 'Geheel getal');
+define('_PROFILE_AM_TXTAREA', 'Tekstvak');
+define('_PROFILE_AM_TXTBOX', 'Tekstveld');
+define('_PROFILE_AM_URL', 'URL');
+define('_PROFILE_AM_OTHER', 'Anders');
+define('_PROFILE_AM_FLOAT', 'Drijvende kommagetal');
+define('_PROFILE_AM_DECIMAL', 'Decimaal Getal');
+define('_PROFILE_AM_UNICODE_ARRAY', 'Unicode Array');
+define('_PROFILE_AM_UNICODE_EMAIL', 'Unicode E-mail');
+define('_PROFILE_AM_UNICODE_TXTAREA', 'Unicode Tekstvak');
+define('_PROFILE_AM_UNICODE_TXTBOX', 'Unicode Tekstveld');
+define('_PROFILE_AM_UNICODE_URL', 'Unicode URL');
+define('_PROFILE_AM_PROF_VISIBLE_ON', 'Veld zichtbaar bij deze groepen hun profiel');
+define('_PROFILE_AM_PROF_VISIBLE_FOR', 'Veld zichtbaar in het profiel voor deze groepen');
+define('_PROFILE_AM_PROF_VISIBLE', 'Zichtbaarheid');
+define('_PROFILE_AM_PROF_EDITABLE', 'Veld te wijzigen vanuit profiel');
+define('_PROFILE_AM_PROF_REGISTER', 'Tonen in registratieformulier');
+define('_PROFILE_AM_PROF_SEARCH', 'Zoekbaar door deze groepen');
+define('_PROFILE_AM_PROF_ACCESS', 'Toegankelijk voor deze groepen');
+define('_PROFILE_AM_PROF_ACCESS_DESC',
+ "<ul>" .
+ "<li>Admin groepen: Als een gebruiker tot de admin groepen behoort, heeft de huidige gebruiker alleen toegang als een van de huidige gebruikers groep(en) toegang heeft tot een admin groep; else</li>" .
+ "<li>Niet standaard groepen: Als een gebruiker tot een of meer niet basis groepen behoort (NIET admin, gebruiker, anoniem), heeft de huidige gebruiker alleen en alleen dan toegang wanneer één van huidige gebruikersgroep(en) toegang heeft tot willekeurige niet basis groepen; else</li>" .
+ "<li>Gebruikers groep: Als een gebruiker alleen tot de Gebruikers groep behoort, heeft deze gebruiker toegang alleen en alleen dan wanneer een van zijn groepen toegang heeft tot de Gebruikers Groep</li>" .
+ "</ul>");
+define('_PROFILE_AM_FIELDVISIBLE', 'Het veld ');
+define('_PROFILE_AM_FIELDVISIBLEFOR', ' is zichtbaar voor ');
+define('_PROFILE_AM_FIELDVISIBLEON', ' het profiel bekijken van ');
+define('_PROFILE_AM_FIELDVISIBLETOALL', '- Iedereen');
+define('_PROFILE_AM_FIELDNOTVISIBLE', 'is niet zichtbaar');
+define('_PROFILE_AM_CHECKBOX', 'Aankruisvak');
+define('_PROFILE_AM_GROUP', 'Groepskeuze');
+define('_PROFILE_AM_GROUPMULTI', 'Multigroepskeuze');
+define('_PROFILE_AM_LANGUAGE', 'Taalkeuze');
+define('_PROFILE_AM_RADIO', 'Keuzevakjes');
+define('_PROFILE_AM_SELECT', 'Selectie');
+define('_PROFILE_AM_SELECTMULTI', 'Multiselectie');
+define('_PROFILE_AM_TEXTAREA', 'Tekstvak');
+define('_PROFILE_AM_DHTMLTEXTAREA', 'DHTML Tekstveld');
+define('_PROFILE_AM_TEXTBOX', 'Tekstveld');
+define('_PROFILE_AM_TIMEZONE', 'Tijdzone');
+define('_PROFILE_AM_YESNO', 'Ja/Nee Keuze');
+define('_PROFILE_AM_DATE', 'Datum');
+define('_PROFILE_AM_AUTOTEXT', 'Automatische Tekst');
+define('_PROFILE_AM_DATETIME', 'Datum en Tijd');
+define('_PROFILE_AM_LONGDATE', 'Volledige datum');
+define('_PROFILE_AM_ADDOPTION', 'Optie toevoegen');
+define('_PROFILE_AM_REMOVEOPTIONS', 'Optie(\'s) verwijderen');
+define('_PROFILE_AM_KEY', 'Keuzewaarde');
+define('_PROFILE_AM_VALUE', 'Tekst om te tonen');
+// User management
+define('_PROFILE_AM_EDITUSER', 'Wijzig Gebruiker');
+define('_PROFILE_AM_SELECTUSER', 'Selecteer Gebruiker');
+define('_PROFILE_AM_ADDUSER', 'Gebruiker Toevoegen');
+define('_PROFILE_AM_THEME', 'Thema');
+define('_PROFILE_AM_RANK', 'Rang');
+define('_PROFILE_AM_USERDONEXIT', 'Gebruiker bestaat niet!');
+define('_PROFILE_MA_USERLEVEL', 'Gebruikersniveau');
+define('_PROFILE_MA_ACTIVE', 'Actief');
+define('_PROFILE_MA_INACTIVE', 'Inactief');
+define('_PROFILE_AM_USERCREATED', 'Gebruiker aangemaakt');
+define('_PROFILE_AM_CANNOTDELETESELF', 'Uw eigen acount verwijderen is niet toegestaan - gebruik de profielpagina om uw acount te verwijderen.');
+define('_PROFILE_AM_CANNOTDELETEADMIN', 'Het verwijderen van een <b>Administrator</b> acount is niet toegestaan');
+define('_PROFILE_AM_NOSELECTION', 'Geen gebruiker geselecteerd');
+define('_PROFILE_AM_USER_ACTIVATED', 'Gebruiker geactiveerd');
+define('_PROFILE_AM_USER_DEACTIVATED', 'Gebruiker gedeactiveerd');
+define('_PROFILE_AM_USER_NOT_ACTIVATED', 'FOUT: Gebruiker is NIET geactiveerd');
+define('_PROFILE_AM_USER_NOT_DEACTIVATED', 'FOUT: Gebruiker is NIET gedeactiveerd');
+define('_PROFILE_AM_STEPNAME', 'Stapnaam');
+define('_PROFILE_AM_STEPORDER', 'Stapvolgorde');
+define('_PROFILE_AM_STEPSAVE', 'Opslaan na stap');
+define('_PROFILE_AM_STEPINTRO', 'Stapbeschrijving');
+
+
+define('_PROFILE_AM_VALIDATIONNAME', 'Validatie regel');
+define('_PROFILE_AM_VALIDATION', 'Validatie (JSON)');
+define('_PROFILE_AM_VALIDATION2', 'Validatie (POST)');
+define('_AM_NOTHING_SELECTED', 'Niets geselecteerd');
+
+define("_AM_RULE_ID", "Regel ID");
+define("_AM_RULE_TYPE", "Regel type");
+define("_AM_RULE_WEIGHT", "Regel gewicht");
+define("_AM_RULE_ACTION", "Funtie uit te voeren op regel");
+define("_AM_FORM_WEIGHT", "Gewicht");
+define("_AM_FORM_TYPE", "Functietype");
+define("_AM_FORM_TYPE_DESC", "Dit is het type funcie die gebruikt wordt in deze validatie.");
+define("_AM_FORM_ACTION", "Functie/Actie:");
+define("_AM_FORM_VALIDATION_NEW", "Validatieregel toevoegen!");
+define("_AM_FORM_VALIDATION_EDIT", "Validatieregel bewerken!");
+define("_AM_FORM_LISTINGRULES", "Dit zijn de huidige validatieregels!");
+define("_AM_RULE_NEW","Nieuwe validatie aanmaken!");
+
+define("_AM_ACTION", "Actie item");
+define("_AM_RESET_ORDER", "Volgorde opslaan");
+define("_AM_SAVE", "Opslaan");
+
+define('_PROFILE_AM_VALIDATION_RULES', 'Actieve validatieregels');
+define('_PROFILE_AM_VALIDATION_NORULES', '<strong><em>Er zijn geen validatieregels gedefineerd om te selecteren voor dit veld. Defineer middels de link. <a href="'.XOOPS_URL.'/modules/profile/admin/validation.php">Klik hier</a>!</em></strong>');
+define('_PROFILE_AM_PROF_DIRECTORY', 'Map');
+define('_PROFILE_AM_PERMISSIONS_DIRECTORY', 'Map Permissies');
+define('_PROFILE_AM_DIRECTORYORDER', 'Map veldvolgorde');
+define('_PROFILE_AM_ORDER', 'Gewicht');
+define('_PROFILE_AM_MSG_FIELDORDERSAVED', 'Veldvolgorde is succesvol opgeslagen!');
+define('_PROFILE_AM_MSG_FIELDORDER_RESET', 'Veldvolgorde herstellen !');
+
+//Version 1.69
+define('_PROFILE_AM_IP', 'IP Adres');
+define('_PROFILE_AM_PROXYIP', 'Proxy IP Adres');
+define('_PROFILE_AM_NETWORKADDY', 'Netwerkadres');
+
+//Version 1.72
+//Dashboard
+define('_PROFILE_AM_ADMIN_COUNTS', 'Profile gebruikers statistieken');
+define('_PROFILE_AM_ADMIN_THEREARE_USERSACTIVE', 'Actieve gebruiker: %s');
+define('_PROFILE_AM_ADMIN_THEREARE_USERINACTIVE', 'Inactieve gebruikers: %s');
+define('_PROFILE_AM_ADMIN_THEREARE_USERLASTREGISTERED', 'Laatst geregistreerde actieve gebruiker: %s');
+define('_PROFILE_AM_ADMIN_THEREARE_USERLASTLOGGEDON', 'Laatst ingelogde actieve gebruiker: %s');
+define('_PROFILE_AM_ADMIN_THEREARE_USERREGINMONTH', 'Gebruikers geactiveerd en geregistreerd in de afgelopen maand: %s');
+define('_PROFILE_AM_ADMIN_THEREARE_USERREGIN6MONTH', 'Gebruikers geactiveerd en geregistreerd in de laatste zes maanden: %s');
+define('_PROFILE_AM_ADMIN_THEREARE_USERREGIN12MONTH', 'Gebruikers geactiveerd en geregistreerd afgelopen in de 12 maanden: %s');
+define('_PROFILE_AM_ADMIN_THEREARE_USERFIELDS', 'Systeemvelden: %s');
+define('_PROFILE_AM_ADMIN_THEREARE_CUSTOMFIELDS', 'Aangepaste gebruikersvelden: %s');
+define('_PROFILE_AM_ADMIN_THEREARE_REGISTRATIONSTEPS', 'Registratiestappen: %s');
+define('_PROFILE_AM_ADMIN_THEREARE_VALIDATION', 'Validatie scripts: %s');
+define('_PROFILE_AM_ADMIN_THEREARE_FIELDVISIBLEPERCENTAGE', ' heeft %s zichtbare velden in het gebruikersprofiel!');
+
+//About
+define('_PROFILE_AM_ABOUT_MAKEDONATE', 'Maak een donatie naar Chronolabs co-op');
+
+//toegevoegd in 2.5.4
+define('_PROFILE_AM_ACTION', 'Actie');
+?>
Property changes on: XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/help
___________________________________________________________________
Added: bugtraq:number
+ true
Added: XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/help/help.html
===================================================================
--- XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/help/help.html (rev 0)
+++ XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/help/help.html 2012-02-03 16:04:32 UTC (rev 8878)
@@ -0,0 +1,36 @@
+<div id="help-template" class="outer">
+ <h1 class="head">Help:
+ <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/profile/admin/index.php"
+ title="Back to the administration of User Profile"> Profile <img src="<{xoAdminIcons home.png}>"
+ alt="Back to the Administration of Profile"/>
+ </a></h1>
+ <!-- ===== Help Content ======= -->
+
+ <h4 class="odd">Description</h4><br/>
+
+
+ The Profile module is for managing custom user profile fields.<br/><br/>
+ <h4 class="odd">Install/uninstall</h4><br/>
+
+ No special measures necessary, follow the standard installation process – extract the xoopspartners folder into the
+ ../modules directory. Install the module through Admin -> System Module -> Modules. <br/><br/>
+ Detailed instructions on installing modules are available in the <a href="http://goo.gl/adT2i">XOOPS Operations
+ Manual</a><br/><br/>
+
+
+ <h4 class="odd">Operating instructions</h4><br/>
+ To set up this module you need to:<br/><br/>
+ i) Configure your preferences for the module (see ‘Preferences’) and optionally the Partners block if you intend to
+ use it (see ‘Blocks’)<br/><br/>
+ ii) Edit existing Categories or add new ones.<br/><br/>
+ iii) Edit existing Fields or add new ones. Here you can specify which fields will be visible in which category, and if they will be visible during user registration<br/><br/>
+ iv) Define the order of Registration steps <br/><br/>
+ v) And finally, you can set permissions for individual fields - which ones are editable, which ones are searchable<br/><br/>
+ <h4 class="odd">Tutorial</h4><br/>
+
+
+ A Tutorial is coming soon. <br/><br/>
+
+ <!-- ===== Help Content ======= -->
+
+</div>
\ No newline at end of file
Added: XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/help/index.html
===================================================================
--- XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/help/index.html (rev 0)
+++ XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/help/index.html 2012-02-03 16:04:32 UTC (rev 8878)
@@ -0,0 +1 @@
+<script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/index.html
===================================================================
--- XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/index.html (rev 0)
+++ XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/index.html 2012-02-03 16:04:32 UTC (rev 8878)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Property changes on: XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/mail_template
___________________________________________________________________
Added: bugtraq:number
+ true
Added: XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/mail_template/emailchanged.tpl
===================================================================
--- XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/mail_template/emailchanged.tpl (rev 0)
+++ XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/mail_template/emailchanged.tpl 2012-02-03 16:04:32 UTC (rev 8878)
@@ -0,0 +1,10 @@
+Hallo {X_UNAME},
+
+Uw email adres op {SITENAME} is succesvol gewijzigd.
+
+Heeft u vragen of ondervindt u problemen, neem dan contact met ons op.
+
+-----------
+{SITENAME} ({SITEURL})
+Beheerder
+{ADMINMAIL}
\ No newline at end of file
Added: XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/mail_template/index.html
===================================================================
--- XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/mail_template/index.html (rev 0)
+++ XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/mail_template/index.html 2012-02-03 16:04:32 UTC (rev 8878)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/main.php
===================================================================
--- XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/main.php (rev 0)
+++ XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/main.php 2012-02-03 16:04:32 UTC (rev 8878)
@@ -0,0 +1,126 @@
+<?php
+/**
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license http://www.fsf.org/copyleft/gpl.html GNU public license
+ * _LANGCODE: nl
+ * _CHARSET : UTF-8
+ * Vertaald door Renetjuh
+ * (Ver)taalfouten of suggesties?
+ * AUB hier melden: http://www.xoops.nl
+**/
+
+define('_PROFILE_MA_REGISTER_NOTGROUP','Nieuwe gebruiker is niet geregistreerd in de bijbehorende groep.');
+define('_PROFILE_MA_FINISH_LOGIN','Het gebruikersaccount is succesvol aangemaakt, klik hier om in te loggen.');
+define("_PROFILE_MA_REGISTER_FINISH","Bedankt voor het registreren");
+define("_PROFILE_MA_REGISTER_STEPS","Registratiestappen:");
+
+define("_PROFILE_MA_DEFAULT","Basis Informatie");
+
+define("_PROFILE_MA_ERRORDURINGSAVE","Fout tijdens het opslaan");
+define("_PROFILE_MA_NOSTEPSAVAILABLE","Registratie is op het moment niet mogelijk, probeer het later nog eens.");
+define("_PROFILE_MA_EXPIRED","De maximale tijdsduur voor dit proces is verstreken, ga terug en probeer het opnieuw.");
+
+define('_PROFILE_MA_RECENTACTIVITY','Recente Activiteiten');
+define('_PROFILE_MA_THEME','Thema');
+define('_PROFILE_MA_ACTIVATE','Activeren');
+define('_PROFILE_MA_DEACTIVATE','Deactiveren');
+define('_PROFILE_MA_SENDPM','Verstuur bericht');
+
+//changepass.php
+define("_PROFILE_MA_CHANGEPASSWORD","Wijzig Wachtwoord");
+define("_PROFILE_MA_PASSWORDCHANGED","Wachtwoord succesvol gewijzigd.");
+define("_PROFILE_MA_OLDPASSWORD","Huidig wachtwoord");
+define("_PROFILE_MA_NEWPASSWORD","Nieuw wachtwoord");
+define("_PROFILE_MA_WRONGPASSWORD","FOUT: Het oude wachtwoord is verkeerd ingevoerd!");
+
+//search.php
+define("_PROFILE_MA_SORTBY","Sorteren op");
+define("_PROFILE_MA_ORDER","Volgorde");
+define("_PROFILE_MA_PERPAGE","Gebruikers per pagina");
+define("_PROFILE_MA_LATERTHAN","%s is later dan");
+define("_PROFILE_MA_EARLIERTHAN","%s is eerder dan");
+define("_PROFILE_MA_LARGERTHAN","%s is groter dan");
+define("_PROFILE_MA_SMALLERTHAN","%s is kleiner dan");
+
+define("_PROFILE_MA_NOUSERSFOUND","Geen gebruikers gevonden");
+define("_PROFILE_MA_RESULTS","Zoek resultaten");
+define("_PROFILE_MA_SEARCH","Zoek gebruikers");
+
+//changemail.php
+define("_PROFILE_MA_CHANGEMAIL","Wijzig e-mail adres");
+define("_PROFILE_MA_NEWMAIL","Nieuw e-mail adres");
+
+define("_PROFILE_MA_NEWEMAIL","Nieuw e-mail adres op %s");
+define("_PROFILE_MA_EMAILCHANGED","Het e-mail adres is gewijzigd");
+define("_PROFILE_MA_SITEDEFAULT","Standaard binnen deze site");
+define("_PROFILE_MA_USERINFO","Gebruikersprofiel");
+define("_PROFILE_MA_REGISTER","Registratieformulier");
+
+define("_PROFILE_MA_ACTUS", "Actieve Gebruikers: %s");
+define("_PROFILE_MA_FOUNDUSER", "%s gebruikers gevonden");
+
+define("_PROFILE_VALIDATE", "Formulier valideren");
+define("_PROFILE_VALIDATE_PASS", "<font color='#00FF00'>Validatie geslaagd!</font>");
+define("_PROFILE_VALIDATE_FAIL", "<font color='#FF0000'>Validatie mislukt!</font>");
+define("_PROFILE_VALIDATE_PASSKEYFAILED", "<font color='#FF0000'>60 Minutes has passed and you no longer have a valid pass key token, you need to refresh the page!</font>");
+
+//Directory Language Files
+define('_PROFILE_LANG_UID', 'Gebruikers ID');
+define('_PROFILE_LANG_UNAME', 'Gebruikersnaam');
+define('_PROFILE_LANG_EMAIL', 'E-mail');
+define('_PROFILE_LANG_URL', 'Homepagina');
+define('_PROFILE_LANG_NAME', 'Naam,');
+define('_PROFILE_LANG_USER_OCC', 'Titel');
+define('_PROFILE_LANG_USER_AVATAR', 'Afbeelding');
+define('_PROFILE_LANG_USER_REGDATE', 'Lid sinds');
+define('_PROFILE_LANG_USER_VIEWEMAIL', 'Toon e-mail');
+define('_PROFILE_LANG_PASS', 'Wachtwoord');
+define('_PROFILE_LANG_POSTS', 'Posts');
+define('_PROFILE_LANG_RANK', 'Gebruikersrang');
+define('_PROFILE_LANG_LEVEL', 'Level');
+define('_PROFILE_LANG_THEME', 'Thema');
+define('_PROFILE_LANG_TIMEZONE_OFFSET', 'Tijdszone');
+define('_PROFILE_LANG_LAST_LOGIN', 'Laatst ingelogd');
+define('_PROFILE_LANG_UMODE', 'Weergavemodus reacties');
+define('_PROFILE_LANG_NOTIFY_METHOD', 'Standaard notificatie mode');
+define('_PROFILE_LANG_UORDER', 'Sorteervolgorde reacties');
+define('_PROFILE_AD_SEARCH', 'Zoekmap');
+
+//Version 1.67
+define('_PROFILE_MA_VALIDATIONFAILED', 'Validatie niet te controleren, probeer opnieuw!');
+
+// Version 1.68
+define('_PROFILE_MA_PUZZEL', 'Puzzel oplossen');
+define('_PROFILE_MN_NOSOLVEPUZZEL', 'De puzzel is niet correct opgelost');
+define('_PROFILE_LANG_USER_FROM', 'Gebruikersformulier');
+define('_PROFILE_LANG_DONATION_MADE', 'Donatie gemaakt');
+
+//Version 1.69
+define('_PROFILE_MA_NETFOUND', 'Het netwerk adres van <em>%s</em> is <strong>Actief door een andere gebruiker</strong>');
+define('_PROFILE_MN_FIELD_IP', 'Het IP Adres van <strong>%s</strong> wordt opgeslagen!');
+define('_PROFILE_MN_FIELD_PROXYIP', 'Het Proxy IP Adres van <strong>%s</strong> wordt opgeslagen!');
+define('_PROFILE_MN_FIELD_NETWORKADDY', 'Het Netbios Adres van <strong>%s</strong> wordt opgeslagen!');
+
+// Version 1.75
+define('_PROFILE_MA_NOTLOCAL_H1', 'Vanuit de locatie mag niet geregistreerd worden!');
+define('_PROFILE_MA_NOTLOCAL_P', 'De locatie behoort niet tot de regio waarvandaan geregistreerd mag worden. Helaas is het niet mogelijk om voor deze site te registreren!');
+define('_PROFILE_MA_IPDETAILS_H2', 'De IP Details voor dit IP zijn als volgt');
+define('_PROFILE_MA_PERMITTED_COUNTRYCODES_H2', 'Toegestane landcodes');
+define('_PROFILE_MA_PERMITTED_DISTRICTS_H2', 'Toegestane postcodes');
+define('_PROFILE_MA_PERMITTED_CITIES_H2', 'Toegestane steden');
+define('_PROFILE_MA_NOTSPEEDY_H1', 'De internetverbinding is niet snel genoeg om te registreren');
+define('_PROFILE_MA_NOTSPEEDY_P', 'Helaas is de link die wordt gebruikt niet geschikt om te registreren op deze site, de onderstaande getallen zijn in Mbps.');
+define('_PROFILE_MA_DOWNLINK_H2', 'Downlink');
+define('_PROFILE_MA_PASS_H2', 'Geslaagd');
+define('_PROFILE_MA_FAIL_H2', 'Mislukt');
+define('_PROFILE_MA_DOWNLINK_TESTED_P', 'Downlinksnelheid getest');
+define('_PROFILE_MA_DOWNLINK_REQUIRED_P', 'Downlinksnelheid vereist');
+define('_PROFILE_MA_DOWNLINK_BEATBY_P', 'Downlink overtreft snelheid met');
+define('_PROFILE_MA_DOWNLINK_NEEDSMORE_P', 'Downlink vereist ongeveer dit aan meer snelheid');
+define('_PROFILE_MA_UPLINK_H2', 'Uplink');
+define('_PROFILE_MA_UPLINK_TESTED_P', 'Uplinksnelheid getest');
+define('_PROFILE_MA_UPLINK_REQUIRED_P', 'Uplinksnelheid vereist');
+define('_PROFILE_MA_UPLINK_BEATBY_P', 'Uplink overtreft snelheid met');
+define('_PROFILE_MA_UPLINK_NEEDSMORE_P', 'Uplink vereist ongeveer dit aan meer snelheid');
+define('_PROFILE_MA_SPEED_MBPS', 'Mbps');
+?>
\ No newline at end of file
Added: XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/modinfo.php
===================================================================
--- XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/modinfo.php (rev 0)
+++ XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/modinfo.php 2012-02-03 16:04:32 UTC (rev 8878)
@@ -0,0 +1,125 @@
+<?php
+/**
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license http://www.fsf.org/copyleft/gpl.html GNU public license
+ * _LANGCODE: nl
+ * _CHARSET : UTF-8
+ * Vertaald door Renetjuh
+ * (Ver)taalfouten of suggesties?
+ * AUB hier melden: http://www.xoops.nl
+**/
+
+define("_PROFILE_MI_NAME","Gebruikers Profiel");
+define("_PROFILE_MI_DESC","Module voor het beheren van extra gebruikersgegevens");
+
+//Main menu links
+define("_PROFILE_MI_EDITACCOUNT","Bewerk account");
+define("_PROFILE_MI_CHANGEPASS","Wijzig wachtwoord");
+define("_PROFILE_MI_CHANGEMAIL","Wijzig e-mail adres");
+
+//Admin links
+define("_PROFILE_MI_INDEX","Index");
+define("_PROFILE_MI_CATEGORIES","Categorieën");
+define("_PROFILE_MI_FIELDS","Velden");
+define("_PROFILE_MI_USERS","Gebruikers");
+define("_PROFILE_MI_STEPS","Registratiestappen");
+define("_PROFILE_MI_PERMISSIONS","Rechten");
+define("_PROFILE_MI_VALIDATION", "Validatie");
+define('_PROFILE_MI_DIRECTORY', "Map");
+
+//User Profile Category
+define("_PROFILE_MI_CATEGORY_TITLE","Gebruikers Profiel");
+define("_PROFILE_MI_CATEGORY_DESC","Voor de gebruikersvelden");
+
+//User Profile Fields
+define("_PROFILE_MI_URL_TITLE","Website");
+
+//Configuration categories
+define("_PROFILE_MI_CAT_SETTINGS","Algemene instellingen");
+define("_PROFILE_MI_CAT_SETTINGS_DSC","");
+define("_PROFILE_MI_CAT_USER","Gebruikersinstellingen");
+define("_PROFILE_MI_CAT_USER_DSC","");
+
+//Configuration items
+define("_PROFILE_MI_PROFILE_SEARCH","Laat de laatste gebruikers-activiteiten in het gebruikersprofiel zien");
+
+//Pages
+define("_PROFILE_MI_PAGE_INFO","Gebruikers Informatie");
+define("_PROFILE_MI_PAGE_EDIT","Bewerk Gebruiker");
+define("_PROFILE_MI_PAGE_SEARCH","Zoeken");
+
+define("_PROFILE_MI_STEP_BASIC", "Basis");
+define("_PROFILE_MI_STEP_COMPLEMENTARY", "Aanvullend");
+
+define("_PROFILE_MI_CATEGORY_PERSONAL","Persoonlijk");
+define("_PROFILE_MI_CATEGORY_MESSAGING","Berichten");
+define("_PROFILE_MI_CATEGORY_SETTINGS","Instellingen");
+define("_PROFILE_MI_CATEGORY_COMMUNITY","Community");
+
+define("_PROFILE_MI_NEVER_LOGGED_IN", "Nooit ingelogd");
+
+define('_PROFILE_MI_TITLE', 'Paginatitel');
+define('_PROFILE_MI_TITLE_DESC', 'Bewerk de titel van de indexpagina');
+define('_PROFILE_MI_DESCRIPTION', 'Omschrijving van de pagina');
+define('_PROFILE_MI_DESCRIPTION_DESC', 'Bewerk de omschrijving van de indexpagina');
+define('_PROFILE_MI_CLICKABLE', 'Aanklikbare links toestaan.');
+define('_PROFILE_MI_CLICKABLE_DESC', '');
+define('_PROFILE_MI_GROUPS', 'Groepen weergeven');
+define('_PROFILE_MI_GROUPS_DESC', 'Groepen weergeven in map');
+define('_PROFILE_MI_DISPLAY', 'Velden weergeven');
+define('_PROFILE_MI_DISPLAY_DESC', 'Velden weergeven in map (Module bijwerken om toegevoegde velden weer te geven)');
+
+// Version 1.68
+define('_PROFILE_MI_PUBLICKEY', 'Publieke Captcha sleutel weergeven');
+define('_PROFILE_MI_PRIVATEKEY', 'Persoonlijke Captcha sleutel');
+define('_PROFILE_MI_PUBLICKEY_DESC', 'Publiek <a href="http://www.recaptcha.net">Re-Captcha.net</a> Key');
+define('_PROFILE_MI_PRIVATEKEY_DESC', 'Persoonlijk <a href="http://www.recaptcha.net">Re-Captcha.net</a> Key');
+
+//Version 1.69
+define('_PROFILE_MI_FIELD_IP', 'Het <strong>IP Adres van %s</strong> wordt opgeslagen.');
+define('_PROFILE_MI_FIELD_PROXYIP', 'Het <strong>Proxy IP Adres van %s</strong> wordt opgeslagen.');
+define('_PROFILE_MI_FIELD_NETWORKADDY', 'Het <strong>Netbios Adres van %s</strong> wordt opgeslagen.');
+
+define('_PROFILE_MI_CHECKIP', 'Check IP adres of registeer.');
+define('_PROFILE_MI_CHECKPROXYIP', 'Check Proxy IP adres of registeer');
+define('_PROFILE_MI_CHECKNETWORKADDY', 'Check Netwerk Adres of Registeer');
+define('_PROFILE_MI_CHECKIP_DESC', 'Dit vereist een <em>IP veld</em> dat gevoegd moet worden aan het formulier. (Zet uit voor het bewerken)');
+define('_PROFILE_MI_CHECKPROXYIP_DESC', 'Dit vereist een <em>Proxy IP veld</em> dat gevoegd moet worden aan het formulier. (Zet uit voor het bewerken)');
+define('_PROFILE_MI_CHECKNETWORKADDY_DESC', 'Dit vereist een <em>Netwerk Adres veld</em> dat gevoegd moet worden aan het formulier. (Zet uit voor het bewerken)');
+
+//Version 1.72
+//Admin links
+define('_PROFILE_MI_DASHBOARD', 'Overzicht');
+define('_PROFILE_MI_ABOUT', 'Over deze Module');
+
+//Preferences
+define('_PROFILE_MI_LOCAL', 'Gebruik IP lokalisatie en alleen registratie toestaan');
+define('_PROFILE_MI_LOCAL_DESC', 'Een IPDB API sleutel is benodigd om IP Lokalisatie te gebruiken, vergeet niet de lokalisatiegebieden in te stellen met de 3 onderstaande instellingen.');
+define('_PROFILE_MI_IPDB_APIKEY', 'IPDB API sleutel');
+define('_PROFILE_MI_IPDB_APIKEY_DESC', 'Registeer op <a href="http://ipinfodb.com/register.php">IPDB Registratie</a> voor het ontvangen van een API sleutel');
+define('_PROFILE_MI_COUNTRYCODE', 'Registraties toegestaan vanuit land');
+define('_PROFILE_MI_COUNTRYCODE_DESC', 'This is the country which registration is allowed by. [Scheiden door een selectie van ctrl + klik]');
+define('_PROFILE_MI_DISTRICT', 'Registraties toegestaan vanuit postcode (alleen US/CA)');
+define('_PROFILE_MI_DISTRICT_DESC', 'Dit is de postcode van de regio vanwaar de registratie is toegestaan [Scheiden met een | symbool]');
+define('_PROFILE_MI_CITY', 'Plaats van registratie');
+define('_PROFILE_MI_CITY_DESC', 'Dit is de plaats vanwaar de registratie is gedaan (alleen US/CA) [Scheiden met een | symbool]');
+define('_PROFILE_MI_HTACCESS', 'HTAccess SEO (bekijk htaccess. in /docs)');
+define('_PROFILE_MI_HTACCESS_DESC', 'Het .htaccess dient hiervoor gewijzigd te worden.');
+define('_PROFILE_MI_BASEURL', 'Basis van de URL voor SEO (wijzig htaccess. in /docs)');
+define('_PROFILE_MI_BASEURL_DESC', 'Basispad van SEO');
+define('_PROFILE_MI_ENDOFURL', 'Einde van de URL voor HTML (wijzig htaccess. in /docs)');
+define('_PROFILE_MI_ENDOFURL_DESC', 'Einde van de URL voor standaard output.');
+
+//Version 1.75
+//Preferences
+define('_PROFILE_MI_SPEEDTEST', 'Ondersteun snelheidstest Versie 1.03+');
+define('_PROFILE_MI_SPEEDTEST_DESC', 'Testen van snelheid toestaan om minimale snelheid voor registratie in te stellen.');
+define('_PROFILE_MI_TEST_UPLINK', 'Uploadsnelheid beperken');
+define('_PROFILE_MI_TEST_DOWNLINK', 'Downloadsnelheid beperken');
+define('_PROFILE_MI_SPEEDTEST_TEST', 'Snelheidstest beperkingen');
+define('_PROFILE_MI_SPEEDTEST_TEST_DESC', 'Dit zijn de opties die bezoekers langsgaan om te registreren voor de site.');
+define('_PROFILE_MI_SPEEDTEST_UPLINK', 'Minimum Uploadsnelheid (Mbps)');
+define('_PROFILE_MI_SPEEDTEST_UPLINK_DESC', 'Dit is de minimum uploadsnelheid die bezoekers nodig hebben om te registeren voor de site, wanneer upload restrictie aanstaat.');
+define('_PROFILE_MI_SPEEDTEST_DOWNLINK', 'Minimum Downloadsnelheid (Mbps)');
+define('_PROFILE_MI_SPEEDTEST_DOWNLINK_DESC', 'Dit is de minumum downloadsnelheid die bezoekers nodig hebben om te registreren voor de site, wanneer download restrictie aanstaat.');
+?>
\ No newline at end of file
Added: XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/style.css
===================================================================
--- XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/style.css (rev 0)
+++ XoopsLanguages/dutch/modules/profile/profile 1.75/language/nederlands/style.css 2012-02-03 16:04:32 UTC (rev 8878)
@@ -0,0 +1,57 @@
+.breadcrumbs {
+ font-size: 120%;
+ padding: 10px 2px;
+}
+
+.breadcrumbs span {
+ border: 0;
+ padding: 0 2px;
+}
+
+.breadcrumbs .item {
+}
+
+.breadcrumbs .delimiter {
+ font-size: 120%;
+}
+
+.register-steps {
+ font-size: 120%;
+ padding: 5px 2px;
+}
+
+.register-steps span {
+ border: 0;
+ padding: 0 2px;
+}
+
+.register-steps .current {
+ font-weight: bold;
+ text-decoration: underline;
+}
+
+.register-steps .delimiter {
+ font-size: 120%;
+}
+
+table.profile-form {
+ width: 90%
+}
+
+.profile-form td.head {
+ width: 20%;
+}
+
+.profile-list-category table {
+ width: 80%
+ margin: 10px 5px;
+}
+
+.profile-list-category td.head {
+ width: 20%;
+}
+
+.profile-list-activity {
+ width: 90%
+ padding: 5px;
+}
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ren...@us...> - 2012-02-03 16:00:05
|
Revision: 8877
http://xoops.svn.sourceforge.net/xoops/?rev=8877&view=rev
Author: renetjuh
Date: 2012-02-03 15:59:59 +0000 (Fri, 03 Feb 2012)
Log Message:
-----------
Upload NL language files waiting 0.96
Added Paths:
-----------
XoopsLanguages/dutch/modules/waiting/
XoopsLanguages/dutch/modules/waiting/waiting 0.96/
XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/
XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/
XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/admin.php
XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/blocks.php
XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/help/
XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/help/help.html
XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/help/index.html
XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/index.html
XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/modinfo.php
XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/plugins.php
Property changes on: XoopsLanguages/dutch/modules/waiting
___________________________________________________________________
Added: bugtraq:number
+ true
Property changes on: XoopsLanguages/dutch/modules/waiting/waiting 0.96
___________________________________________________________________
Added: bugtraq:number
+ true
Property changes on: XoopsLanguages/dutch/modules/waiting/waiting 0.96/language
___________________________________________________________________
Added: bugtraq:number
+ true
Property changes on: XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands
___________________________________________________________________
Added: bugtraq:number
+ true
Added: XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/admin.php
===================================================================
--- XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/admin.php (rev 0)
+++ XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/admin.php 2012-02-03 15:59:59 UTC (rev 8877)
@@ -0,0 +1,18 @@
+<?php
+// $Id: admin.php,v 1.2 2005/04/06 06:04:11 gij Exp $
+// FILE :: admin.php
+// AUTHOR :: Ryuji AMANO <in...@ry...>
+// WEB :: Ryu's Planning <http://ryus.co.jp/>
+//
+
+define('_AM_WAITING_MODNAME', 'Modules');
+define('_AM_WAITING_STATUS', 'Status');
+
+define('_AM_WAITING_PLUGINLIST', 'Plugin Controle');
+define('_AM_WAITING_PLUGINLIST_DESC', '<b>module:</b> gebruikt de plugin van de te monitoren module<br /><b>built-in:</b> gebruikt de bij de Waiting module horende plugin<br /><b>Blank:</b> geen plugins gevonden');
+
+//ModuleAdmin
+define('_AM_WAITING_MISSING','Fout: De Moduleadmin class ontbreekt. Installeer de ModuleAdmin Class in /Frameworks (zie /docs/readme.txt)');
+
+// Text for Admin footer
+define("_AM_WAITING_FOOTER", "<div class='center smallsmall italic pad5'>Waiting wordt up to date gehouden door de <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>");
\ No newline at end of file
Added: XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/blocks.php
===================================================================
--- XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/blocks.php (rev 0)
+++ XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/blocks.php 2012-02-03 15:59:59 UTC (rev 8877)
@@ -0,0 +1,12 @@
+<?php
+// $Id: blocks.php,v 1.4 2005/04/20 03:27:04 gij Exp $
+// FILE :: blocks.php
+// AUTHOR :: Ryuji AMANO <in...@ry...>
+// WEB :: Ryu's Planning <http://ryus.co.jp/>
+//
+
+define("_MB_WAITING_NOWAITING_DISPLAY","Altijd getoond");
+define("_MB_WAITING_SQL_CACHE","SQL cache");
+define("_MB_WAITING_LINKTOPLUGINCHECK","check plugins");
+
+?>
\ No newline at end of file
Property changes on: XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/help
___________________________________________________________________
Added: bugtraq:number
+ true
Added: XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/help/help.html
===================================================================
--- XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/help/help.html (rev 0)
+++ XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/help/help.html 2012-02-03 15:59:59 UTC (rev 8877)
@@ -0,0 +1,36 @@
+<div id="help-template" class="outer">
+ <h1 class="head">Help:
+ <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/waiting/admin/index.php"
+ title="Back to the administration of SmallWorld"> Wachtende Content Blok
+ <img src="<{xoAdminIcons home.png}>"
+ alt="Terug naar de Administratie Index van Waiting Block"/>
+ </a></h1>
+
+ <h4 class="odd">Beschrijving</h4>
+
+ <p class="even">Deze module biedt een uitgebreid blok met nog niet gepubliceerde of te modereren content.<br/> <br/>
+
+ Door installatie van deze module en het toevoegen van de juiste plugins kunt u als webmaster alle modules in een oogwenk monitoren op wachtende content.
+ </p>
+
+ <h4 class="odd">Installeren/deinstalleren</h4> <br/>
+
+ Geen speciale handelingen nodig, volg de standaard installatieprocedure – pak de module folder uit in de
+ ../modules directorie. Installeer de
+ module via Admin -> Systeem Module -> Modules.<br/> <br/>
+
+ <h4 class="odd">Instellingen</h4> <br/>
+
+ Gedetaileerde instructies over het instellen van de toegangsrechten van gebruikersgroepen zijn te vinden in de
+ <a href="http://goo.gl/adT2i">XOOPS Operations Manual</a><br/> <br/>
+
+
+ <h4 class="odd">Tutorial</h4>
+
+ <p class="even">Er is op dit moment geen tutorial voorhanden</p>
+
+ <h4 class="odd">Stel vragen/Rapporteer Bugs</h4>
+
+ <p class="even">Hebt u vragen of wilt u een bug rapporteren, dit kan via een bericht op het <a href="http://www.xoops.org/modules/newbb">Xoops support Forum</a></p>
+
+</div>
\ No newline at end of file
Added: XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/help/index.html
===================================================================
--- XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/help/index.html (rev 0)
+++ XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/help/index.html 2012-02-03 15:59:59 UTC (rev 8877)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/index.html
===================================================================
--- XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/index.html (rev 0)
+++ XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/index.html 2012-02-03 15:59:59 UTC (rev 8877)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/modinfo.php
===================================================================
--- XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/modinfo.php (rev 0)
+++ XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/modinfo.php 2012-02-03 15:59:59 UTC (rev 8877)
@@ -0,0 +1,19 @@
+<?php
+// $Id: modinfo.php,v 1.3 2005/04/06 06:04:11 gij Exp $
+// FILE :: modinfo.php
+// AUTHOR :: Ryuji AMANO <in...@jo...>
+// WEB :: Ryu's Planning <http://ryus.joetsu.info/>
+//
+
+// The name of this module
+define("_MI_WAITING_NAME","Waiting Content");
+
+// A brief description of this module
+define("_MI_WAITING_DESC","Toon een blok met op moderatie wachtende content van andere modules.");
+
+// Names of blocks for this module (Not all module has blocks)
+define("_MI_WAITING_BNAME1", "Wachtende Content");
+
+define("_MI_WAITING_MENU_HOME", "Index");
+define("_MI_WAITING_MENU_ABOUT", "Over");
+define("_MI_WAITING_MENU_PLUGINS", "Plugins");
\ No newline at end of file
Added: XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/plugins.php
===================================================================
--- XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/plugins.php (rev 0)
+++ XoopsLanguages/dutch/modules/waiting/waiting 0.96/language/nederlands/plugins.php 2012-02-03 15:59:59 UTC (rev 8877)
@@ -0,0 +1,25 @@
+<?php
+// $Id: plugins.php,v 1.1 2005/04/20 03:27:04 gij Exp $
+// FILE :: plugins.php
+// AUTHOR :: Ryuji AMANO <in...@ry...>
+// WEB :: Ryu's Planning <http://ryus.co.jp/>
+//
+define("_PI_WAITING_WAITINGS","Wachtend");
+define("_PI_WAITING_SUBMITTED","Ingestuurd");
+define("_PI_WAITING_INACTIVE_USERS","Inactieve Gebruikers");
+define("_PI_WAITING_BROKENS","Verbroken");
+define("_PI_WAITING_MODREQS","Moderatieverzoeken");
+define("_PI_WAITING_REQUESTS","Verzoeken");
+define("_PI_WAITING_REVIEWS","Recencies");
+define("_PI_WAITING_PREVIEWS","Te beoordelen");
+define("_PI_WAITING_COMMENTS","Reacties");
+define("_PI_WAITING_LINKS","Links");
+define("_PI_WAITING_FILES","Bestanden");
+define("_PI_WAITING_BLOGS","Blogs");
+define("_PI_WAITING_EVENTS","Gebeurtenissen");
+define("_PI_WAITING_ASKED","Vragen");
+define("_PI_WAITING_NEWANSWERS","Nieuwe Antwoorden");
+define("_PI_WAITING_ANSWERED","Beantwoord");
+define("_PI_WAITING_WAITINGS_FMT","Wachtend (%s)");
+
+?>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|