{* * $Revision: 1.62 $ * 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="General Settings"}

{if !empty($status)}

{if isset($status.saved)} {g->text text="Settings saved successfully"}
{/if} {if isset($status.addedDir)} {g->text text="Added local upload directory successfully"} {/if} {if isset($status.removedDir)} {g->text text="Removed local upload directory successfully"} {/if} {if isset($status.emailTestSuccess)} {g->text text="Test email sent successfully"} {/if}

{/if} {if !empty($form.error)}

{g->text text="There was a problem processing your request, see below for details."}

{/if} {if isset($status.emailTestError) or isset($form.emailTestError)}

{g->text text="Error sending test email, see below for details."}

{/if}

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

{g->text text="Select language defaults for Gallery. Individual users can override this setting in their personal preferences or via the language selector block if available. Gallery will try to automatically detect the language preference of each user if the browser preference check is enabled."}

{if isset($AdminCore.can.translate)}
{g->text text="Default language"}
{g->text text="Check Browser Preference"}
{else}
{capture name="gettext"} {g->text text="gettext"} {/capture} {g->text text="Your webserver does not support localization. Please instruct your system administrator to reconfigure PHP with the %s option enabled." arg1=$smarty.capture.gettext}
{/if}

{g->text text="Date Formats"}

{g->text text="Specify how dates and times are displayed by Gallery. See %sphp.net%s for details of how to enter a format string. Note that the display of some tokens varies according to the active language." arg1="" arg2=""}

{g->text text="Style"} {g->text text="Format"} {g->text text="Sample"}
{g->text text="Date"} {g->date format=$form.format.date}
{g->text text="Time"} {g->date format=$form.format.time}
{g->text text="Date/Time"} {g->date format=$form.format.datetime}
{if isset($AdminCore.can.setPermissions)}

{g->text text="Filesystem Permissions"}

{g->text text="Specify the default permissions for files and directories that Gallery creates. This doesn't apply to files/directories that Gallery has already created."}

{g->text text="New directories"}
{g->text text="New files"}
{/if}

{g->text text="Local Server Upload Paths"}

{g->text text="Specify the legal directories on the local server where a user can store files and then upload them into Gallery using the Upload from Local Server feature. The paths you enter here and all the files and directories under those paths will be available to any Gallery user who has upload privileges, so you should limit this to directories that won't contain sensitive data (eg. /tmp or /usr/ftp/incoming)"}

{foreach from=$AdminCore.localServerDirList key=index item=dir} {/foreach}
{g->text text="Path"} {g->text text="Action"}
{$dir|escape} {g->text text="remove"}
{g->autoComplete element="newDir"} {g->url arg1="view=core.SimpleCallback" arg2="command=lookupDirectories" arg3="prefix=__VALUE__" htmlEntities=false} {/g->autoComplete}
{if isset($form.error.uploadLocalServer.newDir.missing)}
{g->text text="You must enter a directory to add."}
{/if} {if isset($form.error.uploadLocalServer.newDir.restrictedByOpenBaseDir)}
{capture name="open_basedir"} {g->text text="open_basedir documentation"} {/capture} {g->text text="Your webserver is configured to prevent you from accessing that directory. Please refer to the %s and consult your webserver administrator." arg1=$smarty.capture.open_basedir}
{/if} {if isset($form.error.uploadLocalServer.newDir.notReadable)}
{g->text text="The webserver does not have permissions to read that directory."}
{/if} {if isset($form.error.uploadLocalServer.newDir.notADirectory)}
{g->text text="The path you specified is not a valid directory."}
{/if}

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

{g->text text="Session Lifetime"}
{g->text text="Inactivity Timeout"}

{g->text text="Embedded Markup"}

{g->text text="What kind of markup should we allow in user-entered fields? For security reasons we do not recommend that you allow raw HTML. BBCode is a special kind of markup that is secure and allows for simple text formatting like bold, italics, lists, images and urls."}

{g->text text="Markup"}

{g->text text="Email"}

{g->text text="By default Gallery uses PHP's built in mail function to send email which requires no configuration. To use a smtp/mail server enter the information below, including authentication information if required. Optionally add :port after the server name to use a non-default port."}

{g->text text="Server"}
{g->text text="Username"}
{g->text text="Password"}
{g->text text="SMTP From Address"} {if isset($form.error.smtp.invalidFrom)}
{g->text text="Invalid email address"}
{/if}

{g->text text="Send a test email to verify your settings are correct (whether using PHP mail or SMTP settings above). Below enter a recipient email address for a test message."}

 

{if isset($form.emailTestError.invalidTo)}
{g->text text="Invalid email address"}
{/if} {if isset($status.emailTestError)}

{g->text text="Email Test Error"}

{$status.emailTestError}
{$status.emailTestDebug}
{/if}

{g->text text="Cookies"} +

{g->text text="When Gallery is embedded in another application (portal, CMS, forum, etc.), then you have the choice between two options. Everyone else does not have to care about the cookie settings. Read on for more details."}

{g->text text="Path"} {if isset($form.error.cookie.invalidPath)}
{g->text text="Invalid cookie path"}
{/if}
{g->text text="Domain"} {if isset($form.error.cookie.invalidDomain)}
{g->text text="Invalid cookie domain"}
{/if}

{g->text text="Locking System"}

{g->text text="Gallery uses a system of locks to prevent simultaneous changes from interfering with each other. There are two types of locking, each with its advantages and disadvantages. File based locking is fast and efficient, but won't work on NFS filesystems and will be unreliable on Windows. Database locking is slower but is more reliable. If you are unsure which to choose, we recommend using file locking. If you're getting many lock timeouts, you can try switching to database locking instead. It's ok to switch back and forth."}

{g->text text="Lock system"}
{if isset($AdminCore.can.tweakSystemProcesses)}

{g->text text="Helper Processes"}

{g->text text="Some Gallery modules will use programs on your server to do image processing, archiving and other operations. These programs can be very computationally intensive and can impact the overall performance of a shared web server. You can make these programs run at a lower priority so that they play nice. If you're in a shared hosting environment and your web host is complaining, try setting your priority low."}

{g->text text="Priority"}
{/if}