Вход Регистрация
Файл: upload/module/photo/install/version/2.0.5dev1.xml.php
Строк: 331
<?php
<upgrade>
    <
settings>
        <
setting>
            <
group>search_engine_optimization</group>
            <
module_id>photo</module_id>
            <
is_hidden>0</is_hidden>
            <
type>integer</type>
            <
var_name>how_many_categories_to_show_in_title</var_name>
            <
phrase_var_name>setting_how_many_categories_to_show_in_title</phrase_var_name>
            <
ordering>15</ordering>
            <
version_id>2.0.4</version_id>
            <
value>0</value>
        </
setting>
    </
settings>
    <
phrases>
        <
phrase>
            <
module_id>photo</module_id>
            <
version_id>2.0.4</version_id>
            <
var_name>setting_how_many_categories_to_show_in_title</var_name>
            <
added>1268150470</added>
            <
value><![CDATA[<title>How many categories to show in title</title><info>When viewing a photo with categories assigned you can show these categories in the title of the page.
This setting tells how many categories to showSet to 0 if you dont want to show categories in the title of the page when viewing a photo.</info>]]></value>
        </
phrase>
        <
phrase>
            <
module_id>photo</module_id>
            <
version_id>2.0.5</version_id>
            <
var_name>user_setting_can_sponsor_photo</var_name>
            <
added>1269941437</added>
            <
value>Can members of this user group explicitly set a photo as Sponsor?</value>
        </
phrase>
        <
phrase>
            <
module_id>photo</module_id>
            <
version_id>2.0.5</version_id>
            <
var_name>unsponsor_this_photo</var_name>
            <
added>1269941692</added>
            <
value>Unsponsor this photo</value>
        </
phrase>
        <
phrase>
            <
module_id>photo</module_id>
            <
version_id>2.0.5</version_id>
            <
var_name>sponsor_this_photo</var_name>
            <
added>1269941832</added>
            <
value>Sponsor this Photo</value>
        </
phrase>
        <
phrase>
            <
module_id>photo</module_id>
            <
version_id>2.0.5</version_id>
            <
var_name>photo_successfully_sponsored</var_name>
            <
added>1269943956</added>
            <
value>Photo successfully sponsored.</value>
        </
phrase>
        <
phrase>
            <
module_id>photo</module_id>
            <
version_id>2.0.5</version_id>
            <
var_name>photo_successfully_un_sponsored</var_name>
            <
added>1269944039</added>
            <
value>Photo successfully unsponsored.</value>
        </
phrase>
        <
phrase>
            <
module_id>photo</module_id>
            <
version_id>2.0.5</version_id>
            <
var_name>sponsored_photo</var_name>
            <
added>1270022791</added>
            <
value>Sponsored Photo</value>
        </
phrase>
        <
phrase>
            <
module_id>photo</module_id>
            <
version_id>2.0.5</version_id>
            <
var_name>user_setting_can_purchase_sponsor</var_name>
            <
added>1271074731</added>
            <
value>Can members of this user group purchase a sponsored ad space?</value>
        </
phrase>
        <
phrase>
            <
module_id>photo</module_id>
            <
version_id>2.0.5</version_id>
            <
var_name>sponsor_help</var_name>
            <
added>1271080634</added>
            <
value><![CDATA[In order to sponsor a photo click on the photo you wish to sponsor below and then look for the link "Sponsor this Photo".]]></value>
        </
phrase>
        <
phrase>
            <
module_id>photo</module_id>
            <
version_id>2.0.5</version_id>
            <
var_name>encourage_sponsor</var_name>
            <
added>1271150118</added>
            <
value>Sponsor your Photos</value>
        </
phrase>
        <
phrase>
            <
module_id>photo</module_id>
            <
version_id>2.0.5</version_id>
            <
var_name>user_setting_photo_sponsor_price</var_name>
            <
added>1271244034</added>
            <
value>How much is the sponsor space worth?
This works in a CPM basis.</value>
        </
phrase>
        <
phrase>
            <
module_id>photo</module_id>
            <
version_id>2.0.5</version_id>
            <
var_name>user_setting_auto_publish_sponsored_item</var_name>
            <
added>1271418913</added>
            <
value>After the user has purchased a sponsored spaceshould the item be published right away?
If 
set to falsethe admin will have to approve each new purchased sponsored photo space before it is shown in the site.</value>
        </
phrase>
        <
phrase>
            <
module_id>photo</module_id>
            <
version_id>2.0.5</version_id>
            <
var_name>sponsor_paypal_message</var_name>
            <
added>1271944103</added>
            <
value>Payment for the sponsor space of photo: {sPhotoTitle}</value>
        </
phrase>
        <
phrase>
            <
module_id>photo</module_id>
            <
version_id>2.0.5</version_id>
            <
var_name>sponsor_title</var_name>
            <
added>1271944272</added>
            <
value>Photo: {sPhotoTitle}</value>
        </
phrase>
        <
phrase>
            <
module_id>photo</module_id>
            <
version_id>2.0.5</version_id>
            <
var_name>update_friend_count</var_name>
            <
added>1273153962</added>
            <
value>Update Friend Count</value>
        </
phrase>
        <
phrase>
            <
module_id>photo</module_id>
            <
version_id>2.0.5</version_id>
            <
var_name>user_setting_can_view_photo_albums</var_name>
            <
added>1273168609</added>
            <
value>Can view photo albums?</value>
        </
phrase>
    </
phrases>
    <
user_group_settings>
        <
setting>
            <
is_admin_setting>0</is_admin_setting>
            <
module_id>photo</module_id>
            <
type>boolean</type>
            <
admin>false</admin>
            <
user>false</user>
            <
guest>false</guest>
            <
staff>false</staff>
            <
module>photo</module>
            <
ordering>0</ordering>
            <
value>can_sponsor_photo</value>
        </
setting>
        <
setting>
            <
is_admin_setting>0</is_admin_setting>
            <
module_id>photo</module_id>
            <
type>boolean</type>
            <
admin>false</admin>
            <
user>false</user>
            <
guest>false</guest>
            <
staff>false</staff>
            <
module>photo</module>
            <
ordering>0</ordering>
            <
value>can_purchase_sponsor</value>
        </
setting>
        <
setting>
            <
is_admin_setting>0</is_admin_setting>
            <
module_id>photo</module_id>
            <
type>string</type>
            <
admin>null</admin>
            <
user>null</user>
            <
guest>null</guest>
            <
staff>null</staff>
            <
module>photo</module>
            <
ordering>0</ordering>
            <
value>photo_sponsor_price</value>
        </
setting>
        <
setting>
            <
is_admin_setting>0</is_admin_setting>
            <
module_id>photo</module_id>
            <
type>boolean</type>
            <
admin>true</admin>
            <
user>false</user>
            <
guest>false</guest>
            <
staff>false</staff>
            <
module>photo</module>
            <
ordering>0</ordering>
            <
value>auto_publish_sponsored_item</value>
        </
setting>
        <
setting>
            <
is_admin_setting>0</is_admin_setting>
            <
module_id>photo</module_id>
            <
type>boolean</type>
            <
admin>1</admin>
            <
user>1</user>
            <
guest>1</guest>
            <
staff>1</staff>
            <
module>photo</module>
            <
ordering>0</ordering>
            <
value>can_view_photo_albums</value>
        </
setting>
    </
user_group_settings>
    <
hooks>
        <
hook>
            <
module_id>photo</module_id>
            <
hook_type>service</hook_type>
            <
module>photo</module>
            <
call_name>photo.service_process_sponsor__end</call_name>
            <
added>1274286148</added>
            <
version_id>2.0.5dev1</version_id>
            <
value />
        </
hook>
    </
hooks>
    <
components>
        <
component>
            <
module_id>photo</module_id>
            <
component>sponsored</component>
            <
m_connection />
            <
module>photo</module>
            <
is_controller>0</is_controller>
            <
is_block>1</is_block>
            <
is_active>1</is_active>
            <
value />
        </
component>
    </
components>
    <
blocks>
        <
block>
            <
type_id>0</type_id>
            <
m_connection>photo.index</m_connection>
            <
module_id>photo</module_id>
            <
component>sponsored</component>
            <
location>1</location>
            <
is_active>1</is_active>
            <
ordering>1</ordering>
            <
disallow_access />
            <
can_move>0</can_move>
            <
title />
            <
source_code />
            <
source_parsed />
        </
block>
    </
blocks>
    <
phpfox_update_blocks>
        <
block>
            <
type_id>0</type_id>
            <
m_connection>photo.index</m_connection>
            <
module_id>photo</module_id>
            <
component>category</component>
            <
location>1</location>
            <
is_active>1</is_active>
            <
ordering>2</ordering>
            <
disallow_access />
            <
can_move>0</can_move>
            <
title />
            <
source_code />
            <
source_parsed />
        </
block>
        <
block>
            <
type_id>0</type_id>
            <
m_connection>photo.index</m_connection>
            <
module_id>photo</module_id>
            <
component>featured</component>
            <
location>1</location>
            <
is_active>1</is_active>
            <
ordering>3</ordering>
            <
disallow_access />
            <
can_move>0</can_move>
            <
title />
            <
source_code />
            <
source_parsed />
        </
block>
        <
block>
            <
type_id>0</type_id>
            <
m_connection>photo.index</m_connection>
            <
module_id>photo</module_id>
            <
component>filter</component>
            <
location>1</location>
            <
is_active>1</is_active>
            <
ordering>4</ordering>
            <
disallow_access />
            <
can_move>0</can_move>
            <
title />
            <
source_code />
            <
source_parsed />
        </
block>
    </
phpfox_update_blocks>
    <
sql><![CDATA[a:1:{s:9:"ADD_FIELD";a:1:{s:12:"phpfox_photo";a:1:{s:10:"is_sponsor";a:4:{i:0;s:6:"TINT:1";i:1;s:1:"0";i:2;s:0:"";i:3;s:2:"NO";}}}}]]></sql>
    <
update_templates>
        <
file type="controller">view.html.php</file>
        <
file type="block">photo-entry.html.php</file>
        <
file type="block">menu.html.php</file>
        <
file type="block">stream.html.php</file>
    </
update_templates>
</
upgrade>
?>
Онлайн: 1
Реклама