{* * $Revision: 1.6 $ * If you want to customize this file, do not edit it directly since future upgrades * may overwrite it. Instead, copy it into a new directory called "local" and edit that * version. Gallery will look for that file first and use it if it exists. *}

{g->text text="RSS Settings"}

{if isset($status.saved)}

{g->text text="Settings have been saved"}

{elseif !empty($form.error)}

{g->text text="An error occured"}

{/if}
{if ($RssSiteAdmin.mode == 'settings')} {g->text text="Settings"} {else} {g->text text="Settings"} {/if} {if ($form.allowSimpleFeed) } {if ($RssSiteAdmin.mode == 'simplefeedsettings')} {g->text text="Simple Feed Settings"} {else} {g->text text="Simple Feed Settings"} {/if} {/if} {if ($RssSiteAdmin.mode == 'list')} {g->text text="List"} {else} {g->text text="List"} {/if}
{if $RssSiteAdmin.mode == 'settings' }

{g->text text="General settings"}

{g->text text="These are the default and maximum values that are used by all feeds on your Gallery"}

{g->text text="RSS version"} {if isset($form.error.defaultVersion)}
{g->text text="Invalid version"}
{/if}
{g->text text="Default number of items in feeds"} {if isset($form.error.defaultCount)}
{g->text text="Invalid default number"}
{/if}
{g->text text="Maximum number of items in feeds"} {if isset($form.error.maxCount)}
{g->text text="Invalid maximum number"}
{/if}
{g->text text="Default ttl"} {if isset($form.error.defaultTtl)}
{g->text text="Invalid time to live, this must be a number of minutes (0 to disable ttl)"}
{else} {g->text text="Time to live: this must be a number of minutes (0 to disable ttl) aggregators should wait between checks of whether the feed has been updated"} {/if}
{g->text text="Default copyright"} {if isset($form.error.defaultCopyright)}
{g->text text="Invalid string"}
{/if}

{g->text text="Feed Types"}

{g->text text="Configure which types of feeds are allowed"}

{g->text text="If you enable this, users will be able to subscribe to a feed for any album or photo they can view."}
{g->text text="To edit the settings for Simple Feeds, use the corresponding tab at the top of the screen."}
{g->text text="Only album owners will be able to define such feeds. They can set parameters for the type of feed they want."}
{g->text text="Once a feed is defined, users will be able to subscribe to those feeds if they can view the associated item."}
{g->text text="Fast"}
{g->text text="Slow"}
{g->text text="Slower"}
{g->text text="Fast"}
{g->text text="Fast"}
{g->addToTrailer} {/g->addToTrailer} {elseif $RssSiteAdmin.mode == 'list'}

{g->text text="Helping users discover RSS feeds"}

{g->text text="If you want to help users discover feeds in your Gallery, you can add the RSS block to the themes used in your Gallery."}

{g->text text="This will have two effects: the block itself, which users can see and pick feeds from (and get a list of all feeds); and hidden page headers that modern web browsers will use to make it easier for the user to subscribe to the feeds."}

{g->text text="Global list of RSS feeds"}

{if empty($RssSiteAdmin.feeds)}

{g->text text="No feeds have yet been defined"}

{else} {foreach from=$RssSiteAdmin.feeds item=feed} {/foreach}
{g->text text="Feed link"} {g->text text="On item"} {g->text text="Feed type"} {g->text text="Actions"}
{$feed.name} {$feed.item->getTitle()} {$RssSiteAdmin.types[$feed.params.feedType]} {g->text text="delete"} {g->text text="edit"}
{/if}
{else}

{g->text text="Simple Feed settings"}

{g->text text="Choose what type of data that will be present in the feed"}

{g->text text="For albums"} {g->text text="Fast"}
{g->text text="Slow"}
{g->text text="Slower"}
{if isset($form.error.sfPhotosRecurseLimit)}
{g->text text="Invalid limit (must be a positive number, 0 to disable the limit)"}
{else} {g->text text="(enter 0 to disable the limit)"} {/if}
{g->text text="Fast"}
 
{g->text text="For items"} {g->text text="Fast"}
 
{g->text text="Which items"}
{/if}