sunnyman's (sunnyman) wrote in changelog,
sunnyman's
sunnyman
changelog

[ljcom] r10983: OPSC-348: custom_usericon_appid, userhea...

Committer: vtroitsky
OPSC-348: custom_usericon_appid, userhead field for userapps table and language variables for application promo user heads
U   trunk/bin/upgrading/en_LJ.dat
U   trunk/bin/upgrading/proplists-local.dat
U   trunk/bin/upgrading/update-db-local.pl
Modified: trunk/bin/upgrading/en_LJ.dat
===================================================================
--- trunk/bin/upgrading/en_LJ.dat	2011-09-08 07:45:09 UTC (rev 10982)
+++ trunk/bin/upgrading/en_LJ.dat	2011-09-08 09:32:01 UTC (rev 10983)
@@ -7039,6 +7039,8 @@
 
 userapps.app_install.desc=This application «[[name]]» must have following permissions: [[list]]
 
+userapps.app_install.userhead=Do you want to use application promo userhead <img src="[[userhead]]"> for free?
+
 userapps.app_request_permissions.desc=The application &laquo;[[name]]&raquo; requests following additional permissions: [[list]].
 
 userapps.app_request_permissions.reason=The following reason is specified: [[reason]].
@@ -7049,6 +7051,8 @@
 
 userapps.app_uninstall.desc=This application &laquo;[[name]]&raquo; will be deleted from your profile. 
 
+userapps.app_uninstall.userhead=Currently used application promo userhead <img src="[[userhead]]"> will be changed to the default one.
+
 userapps.back_to_profile=Back to [[name]]'s profile
 
 userapps.beta=beta

Modified: trunk/bin/upgrading/proplists-local.dat
===================================================================
--- trunk/bin/upgrading/proplists-local.dat	2011-09-08 07:45:09 UTC (rev 10982)
+++ trunk/bin/upgrading/proplists-local.dat	2011-09-08 09:32:01 UTC (rev 10983)
@@ -789,3 +789,10 @@
   indexed: 0
   prettyname: Default album ID.
 
+userproplist.custom_usericon_appid:
+  cldversion: 8
+  datatype: int
+  des: Store application id of the application promo userhead user by the user.
+  indexed: 0
+  prettyname: Application promo userhead appid.
+

Modified: trunk/bin/upgrading/update-db-local.pl
===================================================================
--- trunk/bin/upgrading/update-db-local.pl	2011-09-08 07:45:09 UTC (rev 10982)
+++ trunk/bin/upgrading/update-db-local.pl	2011-09-08 09:32:01 UTC (rev 10983)
@@ -2221,6 +2221,13 @@
         );
     }
 
+    unless (column_type("userapps", "userhead")) {
+        do_alter("userapps", qq{
+            ALTER TABLE userapps
+                ADD COLUMN userhead VARCHAR(255) DEFAULT '';
+        });
+    }
+
 });
 
 1;  # true

Tags: dat, ljcom, pl, sunnyman
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments