|
From: <dj...@us...> - 2013-05-22 13:08:34
|
Revision: 11575
http://sourceforge.net/p/xoops/svn/11575
Author: djculex
Date: 2013-05-22 13:08:31 +0000 (Wed, 22 May 2013)
Log Message:
-----------
NEW: Language defines for tagging and image uploader
Modified Paths:
--------------
XoopsModules/smallworld/trunk/smallworld/class/db.php
XoopsModules/smallworld/trunk/smallworld/language/english/main.php
Modified: XoopsModules/smallworld/trunk/smallworld/class/db.php
===================================================================
--- XoopsModules/smallworld/trunk/smallworld/class/db.php 2013-05-22 13:04:57 UTC (rev 11574)
+++ XoopsModules/smallworld/trunk/smallworld/class/db.php 2013-05-22 13:08:31 UTC (rev 11575)
@@ -664,6 +664,7 @@
$sql = "INSERT INTO ".$xoopsDB->prefix('smallworld_settings')." (id,userid,value) VALUES ('', '".$id."', '".$posts."')";
}
$result = $xoopsDB->queryF($sql);
+ $this->GetSettings ($id);
}
/**
@@ -680,7 +681,8 @@
if ($i < 1) {
$posts = serialize(array(
'posts' => 0,
- 'comments' => 0
+ 'comments' => 0,
+ 'notify' => 1
)
);
$this->saveSettings ($userid, $posts);
Modified: XoopsModules/smallworld/trunk/smallworld/language/english/main.php
===================================================================
--- XoopsModules/smallworld/trunk/smallworld/language/english/main.php 2013-05-22 13:04:57 UTC (rev 11574)
+++ XoopsModules/smallworld/trunk/smallworld/language/english/main.php 2013-05-22 13:08:31 UTC (rev 11575)
@@ -112,6 +112,7 @@
define("_SMALLWORLD_ACTION","Action");
define("_SMALLWORLD_UPDATEID_NOT_EXIST","The message does not exist. Going back to index");
define("_SMALLWORLD_NOUSER_ERROR","No such user found. Taking you back to index page");
+define("_SMALLWORLD_ERROR","Error");
/* ------------- Registerform ---------------------- */
@@ -199,6 +200,7 @@
define ("_SMALLWORLD_SHOWIFPUBLICORPRIVATE","Privacy settings. What to show if wall is public");
define ("_SMALLWORLD_SHOWMYPOSTS","Show my posts");
define ("_SMALLWORLD_SHOWMYCOMMENTS","Show my comments");
+define ("_SMALLWORLD_NOTIFYME","Notify me on posts / references etc");
define ("_SMALLWORLD_MENU_PRIVSET","Pri. Settings");
define ("_SMALLWORLD_MESSAGE_PRIVSETPOSTS","Posts from this user are only visible for followers or friends...Please register.");
define ("_SMALLWORLD_MESSAGE_PRIVSETCOMMENTS","Comments from this user are only visible for followers or friends...Please register.");
@@ -269,6 +271,12 @@
define("_SMALLWORLD_IMAGES_STARTALL","Start All");
define("_SMALLWORLD_IMAGES_CANCELALL","Cancel All");
define("_SMALLWORLD_IMAGES_DELETEALL","Delete All");
+define("_SMALLWORLD_IMAGES_ADDFILES","Add files...");
+define("_SMALLWORLD_IMAGES_DEMONOTES","Demo notes");
+define("_SMALLWORLD_IMAGES_INSTRUCTIONS","<li>The maximum file size for uploads in this demo is <strong>5 MB</strong> (default file size is unlimited).</li>
+ <li>Only image files (<strong>JPG, GIF, PNG</strong>) are allowed in this demo (by default there is no file type restriction).</li>
+ <li>Uploaded files will be deleted automatically after <strong>5 minutes</strong> (demo setting).</li>
+ <li>You can <strong>drag & drop</strong> files from your desktop on this webpage with Google Chrome, Mozilla Firefox and Apple Safari.</li>");
/*-------------- Image gallery -------------*/
define("_SMALLWORLD_ALBUMTITLETEXT","Close album");
@@ -366,6 +374,9 @@
define("_SMALLWORLD_COMP_MSG_LNK_DESC","Click here to see affected message");
define("_SMALLWORLD_MAIL_NEWFRIENDFOLLOWER","New friend request or new user following you at ");
+define("_SMALLWORLD_MAIL_FRIENDTAGGEDYOU","A friend tagged you at ");
+
+
/* ------------ Inspection & countdown ---------------- */
define("_SMALLWORLD_INSPEC_DESC","Admin has taken this account down for inspection.<br/><br/>Estimated inspection time will finish in");
define("_SMALLWORLD_INSPEC_DESC2","Try again at this time.");
|