mirror of
https://github.com/YunoHost-Apps/piwigo_ynh.git
synced 2024-09-03 20:06:03 +02:00
piwigo 2.7.4
This commit is contained in:
parent
f09a35287d
commit
7dafb11c08
514 changed files with 36598 additions and 0 deletions
404
sources/admin/themes/default/js/LocalStorageCache.js
Normal file
404
sources/admin/themes/default/js/LocalStorageCache.js
Normal file
|
@ -0,0 +1,404 @@
|
|||
(function($, exports) {
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
* Base LocalStorage cache
|
||||
*
|
||||
* @param options {object}
|
||||
* - key (required) identifier of the collection
|
||||
* - serverId (recommended) identifier of the Piwigo instance
|
||||
* - serverKey (required) state of collection server-side
|
||||
* - lifetime (optional) cache lifetime in seconds
|
||||
* - loader (required) function called to fetch data, takes a callback as first argument
|
||||
* which must be called with the loaded date
|
||||
*/
|
||||
var LocalStorageCache = function(options) {
|
||||
this._init(options);
|
||||
};
|
||||
|
||||
/*
|
||||
* Constructor (deported for easy inheritance)
|
||||
*/
|
||||
LocalStorageCache.prototype._init = function(options) {
|
||||
this.key = options.key + '_' + options.serverId;
|
||||
this.serverKey = options.serverKey;
|
||||
this.lifetime = options.lifetime ? options.lifetime*1000 : 3600*1000;
|
||||
this.loader = options.loader;
|
||||
|
||||
this.storage = window.localStorage;
|
||||
this.ready = !!this.storage;
|
||||
};
|
||||
|
||||
/*
|
||||
* Get the cache content
|
||||
* @param callback {function} called with the data as first parameter
|
||||
*/
|
||||
LocalStorageCache.prototype.get = function(callback) {
|
||||
var now = new Date().getTime(),
|
||||
that = this;
|
||||
|
||||
if (this.ready && this.storage[this.key] != undefined) {
|
||||
var cache = JSON.parse(this.storage[this.key]);
|
||||
|
||||
if (now - cache.timestamp <= this.lifetime && cache.key == this.serverKey) {
|
||||
callback(cache.data);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
this.loader(function(data) {
|
||||
that.set.call(that, data);
|
||||
callback(data);
|
||||
});
|
||||
};
|
||||
|
||||
/*
|
||||
* Manually set the cache content
|
||||
* @param data {mixed}
|
||||
*/
|
||||
LocalStorageCache.prototype.set = function(data) {
|
||||
if (this.ready) {
|
||||
this.storage[this.key] = JSON.stringify({
|
||||
timestamp: new Date().getTime(),
|
||||
key: this.serverKey,
|
||||
data: data
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
/*
|
||||
* Manually clear the cache
|
||||
*/
|
||||
LocalStorageCache.prototype.clear = function() {
|
||||
if (this.ready) {
|
||||
this.storage.removeItem(this.key);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Abstract class containing common initialization code for selectize
|
||||
*/
|
||||
var AbstractSelectizer = function(){};
|
||||
AbstractSelectizer.prototype = new LocalStorageCache({});
|
||||
|
||||
/*
|
||||
* Load Selectize with cache content
|
||||
* @param $target {jQuery} may have some data attributes (create, default, value)
|
||||
* @param options {object}
|
||||
* - value (optional) list of preselected items (ids, or objects with "id" attribute")
|
||||
* - default (optional) default value which will be forced if the select is emptyed
|
||||
* - create (optional) allow item user creation
|
||||
* - filter (optional) function called for each select before applying the data
|
||||
* takes two parameters: cache data, options
|
||||
* must return new data
|
||||
*/
|
||||
AbstractSelectizer.prototype._selectize = function($target, globalOptions) {
|
||||
$target.data('cache', this);
|
||||
|
||||
this.get(function(data) {
|
||||
$target.each(function() {
|
||||
var filtered, value, defaultValue,
|
||||
options = $.extend({}, globalOptions);
|
||||
|
||||
// apply filter function
|
||||
if (options.filter != undefined) {
|
||||
filtered = options.filter.call(this, data, options);
|
||||
}
|
||||
else {
|
||||
filtered = data;
|
||||
}
|
||||
|
||||
this.selectize.settings.maxOptions = filtered.length + 100;
|
||||
|
||||
// active creation mode
|
||||
if (this.hasAttribute('data-create')) {
|
||||
options.create = true;
|
||||
}
|
||||
this.selectize.settings.create = !!options.create;
|
||||
|
||||
// load options
|
||||
this.selectize.load(function(callback) {
|
||||
if ($.isEmptyObject(this.options)) {
|
||||
callback(filtered);
|
||||
}
|
||||
});
|
||||
|
||||
// load items
|
||||
if ((value = $(this).data('value'))) {
|
||||
options.value = value;
|
||||
}
|
||||
if (options.value != undefined) {
|
||||
$.each(value, $.proxy(function(i, cat) {
|
||||
if ($.isNumeric(cat))
|
||||
this.selectize.addItem(cat);
|
||||
else
|
||||
this.selectize.addItem(cat.id);
|
||||
}, this));
|
||||
}
|
||||
|
||||
// set default
|
||||
if ((defaultValue = $(this).data('default'))) {
|
||||
options.default = defaultValue;
|
||||
}
|
||||
if (options.default == 'first') {
|
||||
options.default = filtered[0] ? filtered[0].id : undefined;
|
||||
}
|
||||
|
||||
if (options.default != undefined) {
|
||||
// add default item
|
||||
if (this.selectize.getValue() == '') {
|
||||
this.selectize.addItem(options.default);
|
||||
}
|
||||
|
||||
// if multiple: prevent item deletion
|
||||
if (this.multiple) {
|
||||
this.selectize.getItem(options.default).find('.remove').hide();
|
||||
|
||||
this.selectize.on('item_remove', function(id) {
|
||||
if (id == options.default) {
|
||||
this.addItem(id);
|
||||
this.getItem(id).find('.remove').hide();
|
||||
}
|
||||
});
|
||||
}
|
||||
// if single: restore default on blur
|
||||
else {
|
||||
this.selectize.on('dropdown_close', function() {
|
||||
if (this.getValue() == '') {
|
||||
this.addItem(options.default);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
// redefine Selectize templates without escape
|
||||
AbstractSelectizer.getRender = function(field_label, lang) {
|
||||
lang = lang || { 'Add': 'Add' };
|
||||
|
||||
return {
|
||||
'option': function(data, escape) {
|
||||
return '<div class="option">' + data[field_label] + '</div>';
|
||||
},
|
||||
'item': function(data, escape) {
|
||||
return '<div class="item">' + data[field_label] + '</div>';
|
||||
},
|
||||
'option_create': function(data, escape) {
|
||||
return '<div class="create">' + lang['Add'] + ' <strong>' + data.input + '</strong>…</div>';
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Special LocalStorage for admin categories list
|
||||
*
|
||||
* @param options {object}
|
||||
* - serverId (recommended) identifier of the Piwigo instance
|
||||
* - serverKey (required) state of collection server-side
|
||||
* - rootUrl (required) used for WS call
|
||||
*/
|
||||
var CategoriesCache = function(options) {
|
||||
options.key = 'categoriesAdminList';
|
||||
|
||||
options.loader = function(callback) {
|
||||
$.getJSON(options.rootUrl + 'ws.php?format=json&method=pwg.categories.getAdminList', function(data) {
|
||||
var cats = data.result.categories.map(function(c, i) {
|
||||
c.pos = i;
|
||||
delete c['comment'];
|
||||
delete c['uppercats'];
|
||||
return c;
|
||||
});
|
||||
|
||||
callback(cats);
|
||||
});
|
||||
};
|
||||
|
||||
this._init(options);
|
||||
};
|
||||
|
||||
CategoriesCache.prototype = new AbstractSelectizer();
|
||||
|
||||
/*
|
||||
* Init Selectize with cache content
|
||||
* @see AbstractSelectizer._selectize
|
||||
*/
|
||||
CategoriesCache.prototype.selectize = function($target, options) {
|
||||
options = options || {};
|
||||
|
||||
$target.selectize({
|
||||
valueField: 'id',
|
||||
labelField: 'fullname',
|
||||
sortField: 'pos',
|
||||
searchField: ['fullname'],
|
||||
plugins: ['remove_button'],
|
||||
render: AbstractSelectizer.getRender('fullname', options.lang)
|
||||
});
|
||||
|
||||
this._selectize($target, options);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Special LocalStorage for admin tags list
|
||||
*
|
||||
* @param options {object}
|
||||
* - serverId (recommended) identifier of the Piwigo instance
|
||||
* - serverKey (required) state of collection server-side
|
||||
* - rootUrl (required) used for WS call
|
||||
*/
|
||||
var TagsCache = function(options) {
|
||||
options.key = 'tagsAdminList';
|
||||
|
||||
options.loader = function(callback) {
|
||||
$.getJSON(options.rootUrl + 'ws.php?format=json&method=pwg.tags.getAdminList', function(data) {
|
||||
var tags = data.result.tags.map(function(t) {
|
||||
t.id = '~~' + t.id + '~~';
|
||||
delete t['url_name'];
|
||||
delete t['lastmodified'];
|
||||
return t;
|
||||
});
|
||||
|
||||
callback(tags);
|
||||
});
|
||||
};
|
||||
|
||||
this._init(options);
|
||||
};
|
||||
|
||||
TagsCache.prototype = new AbstractSelectizer();
|
||||
|
||||
/*
|
||||
* Init Selectize with cache content
|
||||
* @see AbstractSelectizer._selectize
|
||||
*/
|
||||
TagsCache.prototype.selectize = function($target, options) {
|
||||
options = options || {};
|
||||
|
||||
$target.selectize({
|
||||
valueField: 'id',
|
||||
labelField: 'name',
|
||||
sortField: 'name',
|
||||
searchField: ['name'],
|
||||
plugins: ['remove_button'],
|
||||
render: AbstractSelectizer.getRender('name', options.lang)
|
||||
});
|
||||
|
||||
this._selectize($target, options);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Special LocalStorage for admin groups list
|
||||
*
|
||||
* @param options {object}
|
||||
* - serverId (recommended) identifier of the Piwigo instance
|
||||
* - serverKey (required) state of collection server-side
|
||||
* - rootUrl (required) used for WS call
|
||||
*/
|
||||
var GroupsCache = function(options) {
|
||||
options.key = 'groupsAdminList';
|
||||
|
||||
options.loader = function(callback) {
|
||||
$.getJSON(options.rootUrl + 'ws.php?format=json&method=pwg.groups.getList&per_page=9999', function(data) {
|
||||
var groups = data.result.groups.map(function(g) {
|
||||
delete g['lastmodified'];
|
||||
return g;
|
||||
});
|
||||
|
||||
callback(groups);
|
||||
});
|
||||
};
|
||||
|
||||
this._init(options);
|
||||
};
|
||||
|
||||
GroupsCache.prototype = new AbstractSelectizer();
|
||||
|
||||
/*
|
||||
* Init Selectize with cache content
|
||||
* @see AbstractSelectizer._selectize
|
||||
*/
|
||||
GroupsCache.prototype.selectize = function($target, options) {
|
||||
options = options || {};
|
||||
|
||||
$target.selectize({
|
||||
valueField: 'id',
|
||||
labelField: 'name',
|
||||
sortField: 'name',
|
||||
searchField: ['name'],
|
||||
plugins: ['remove_button'],
|
||||
render: AbstractSelectizer.getRender('name', options.lang)
|
||||
});
|
||||
|
||||
this._selectize($target, options);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Special LocalStorage for admin users list
|
||||
*
|
||||
* @param options {object}
|
||||
* - serverId (recommended) identifier of the Piwigo instance
|
||||
* - serverKey (required) state of collection server-side
|
||||
* - rootUrl (required) used for WS call
|
||||
*/
|
||||
var UsersCache = function(options) {
|
||||
options.key = 'usersAdminList';
|
||||
|
||||
options.loader = function(callback) {
|
||||
var users = [];
|
||||
|
||||
// recursive loader
|
||||
(function load(page){
|
||||
jQuery.getJSON(options.rootUrl + 'ws.php?format=json&method=pwg.users.getList&display=username&per_page=9999&page='+ page, function(data) {
|
||||
users = users.concat(data.result.users);
|
||||
|
||||
if (data.result.paging.count == data.result.paging.per_page) {
|
||||
load(++page);
|
||||
}
|
||||
else {
|
||||
callback(users);
|
||||
}
|
||||
});
|
||||
}(0));
|
||||
};
|
||||
|
||||
this._init(options);
|
||||
};
|
||||
|
||||
UsersCache.prototype = new AbstractSelectizer();
|
||||
|
||||
/*
|
||||
* Init Selectize with cache content
|
||||
* @see AbstractSelectizer._selectize
|
||||
*/
|
||||
UsersCache.prototype.selectize = function($target, options) {
|
||||
options = options || {};
|
||||
|
||||
$target.selectize({
|
||||
valueField: 'id',
|
||||
labelField: 'username',
|
||||
sortField: 'username',
|
||||
searchField: ['username'],
|
||||
plugins: ['remove_button'],
|
||||
render: AbstractSelectizer.getRender('username', options.lang)
|
||||
});
|
||||
|
||||
this._selectize($target, options);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Expose classes in global scope
|
||||
*/
|
||||
exports.LocalStorageCache = LocalStorageCache;
|
||||
exports.CategoriesCache = CategoriesCache;
|
||||
exports.TagsCache = TagsCache;
|
||||
exports.GroupsCache = GroupsCache;
|
||||
exports.UsersCache = UsersCache;
|
||||
|
||||
}(jQuery, window));
|
117
sources/admin/themes/default/js/addAlbum.js
Normal file
117
sources/admin/themes/default/js/addAlbum.js
Normal file
|
@ -0,0 +1,117 @@
|
|||
jQuery.fn.pwgAddAlbum = function(options) {
|
||||
options = options || {};
|
||||
|
||||
var $popup = jQuery('#addAlbumForm'),
|
||||
$albumParent = $popup.find('[name="category_parent"]')
|
||||
$button = jQuery(this),
|
||||
$target = jQuery('[name="'+ $button.data('addAlbum') +'"]'),
|
||||
cache = $target.data('cache');
|
||||
|
||||
if (!$target[0].selectize) {
|
||||
jQuery.error('pwgAddAlbum: target must use selectize');
|
||||
}
|
||||
if (!cache) {
|
||||
jQuery.error('pwgAddAlbum: missing categories cache');
|
||||
}
|
||||
|
||||
function init() {
|
||||
$popup.data('init', true);
|
||||
|
||||
cache.selectize($albumParent, {
|
||||
'default': 0,
|
||||
'filter': function(categories) {
|
||||
categories.push({
|
||||
id: 0,
|
||||
fullname: '------------',
|
||||
global_rank: 0
|
||||
});
|
||||
|
||||
if (options.filter) {
|
||||
categories = options.filter.call(this, categories);
|
||||
}
|
||||
|
||||
return categories;
|
||||
}
|
||||
});
|
||||
|
||||
$popup.find('form').on('submit', function(e) {
|
||||
e.preventDefault();
|
||||
|
||||
var parent_id = $albumParent.val(),
|
||||
name = $popup.find('[name=category_name]').val();
|
||||
|
||||
jQuery('#categoryNameError').toggle(!name);
|
||||
if (!name) {
|
||||
return;
|
||||
}
|
||||
|
||||
jQuery.ajax({
|
||||
url: 'ws.php?format=json',
|
||||
type: 'POST',
|
||||
dataType: 'json',
|
||||
data: {
|
||||
method: 'pwg.categories.add',
|
||||
parent: parent_id,
|
||||
name: name
|
||||
},
|
||||
beforeSend: function() {
|
||||
jQuery('#albumCreationLoading').show();
|
||||
},
|
||||
success: function(data) {
|
||||
jQuery('#albumCreationLoading').hide();
|
||||
$button.colorbox.close();
|
||||
|
||||
var newAlbum = {
|
||||
id: data.result.id,
|
||||
name: name,
|
||||
fullname: name,
|
||||
global_rank: '0',
|
||||
dir: null,
|
||||
nb_images: 0,
|
||||
pos: 0
|
||||
};
|
||||
|
||||
var parentSelectize = $albumParent[0].selectize;
|
||||
|
||||
if (parent_id != 0) {
|
||||
var parent = parentSelectize.options[parent_id];
|
||||
newAlbum.fullname = parent.fullname + ' / ' + newAlbum.fullname;
|
||||
newAlbum.global_rank = parent.global_rank + '.1';
|
||||
newAlbum.pos = parent.pos + 1;
|
||||
}
|
||||
|
||||
var targetSelectize = $target[0].selectize;
|
||||
targetSelectize.addOption(newAlbum);
|
||||
targetSelectize.setValue(newAlbum.id);
|
||||
|
||||
parentSelectize.addOption(newAlbum);
|
||||
|
||||
if (options.afterSelect) {
|
||||
options.afterSelect();
|
||||
}
|
||||
},
|
||||
error: function(XMLHttpRequest, textStatus, errorThrows) {
|
||||
jQuery('#albumCreationLoading').hide();
|
||||
alert(errorThrows);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
this.colorbox({
|
||||
inline: true,
|
||||
href: '#addAlbumForm',
|
||||
width: 650, height: 300,
|
||||
onComplete: function() {
|
||||
if (!$popup.data('init')) {
|
||||
init();
|
||||
}
|
||||
|
||||
jQuery('#categoryNameError').hide();
|
||||
$popup.find('[name=category_name]').val('').focus();
|
||||
$albumParent[0].selectize.setValue($target.val() || 0);
|
||||
}
|
||||
});
|
||||
|
||||
return this;
|
||||
};
|
217
sources/admin/themes/default/js/batchManagerGlobal.js
Normal file
217
sources/admin/themes/default/js/batchManagerGlobal.js
Normal file
|
@ -0,0 +1,217 @@
|
|||
|
||||
/* ********** Filters*/
|
||||
function filter_enable(filter) {
|
||||
/* show the filter*/
|
||||
$("#"+filter).show();
|
||||
|
||||
/* check the checkbox to declare we use this filter */
|
||||
$("input[type=checkbox][name="+filter+"_use]").prop("checked", true);
|
||||
|
||||
/* forbid to select this filter in the addFilter list */
|
||||
$("#addFilter").children("option[value="+filter+"]").attr("disabled", "disabled");
|
||||
}
|
||||
|
||||
function filter_disable(filter) {
|
||||
/* hide the filter line */
|
||||
$("#"+filter).hide();
|
||||
|
||||
/* uncheck the checkbox to declare we do not use this filter */
|
||||
$("input[name="+filter+"_use]").prop("checked", false);
|
||||
|
||||
/* give the possibility to show it again */
|
||||
$("#addFilter").children("option[value="+filter+"]").removeAttr("disabled");
|
||||
}
|
||||
|
||||
$(".removeFilter").click(function () {
|
||||
var filter = $(this).parent('li').attr("id");
|
||||
filter_disable(filter);
|
||||
|
||||
return false;
|
||||
});
|
||||
|
||||
$("#addFilter").change(function () {
|
||||
var filter = $(this).prop("value");
|
||||
filter_enable(filter);
|
||||
$(this).prop("value", -1);
|
||||
});
|
||||
|
||||
$("#removeFilters").click(function() {
|
||||
$("#filterList li").each(function() {
|
||||
var filter = $(this).attr("id");
|
||||
filter_disable(filter);
|
||||
});
|
||||
return false;
|
||||
});
|
||||
|
||||
$('[data-slider=widths]').pwgDoubleSlider(sliders.widths);
|
||||
$('[data-slider=heights]').pwgDoubleSlider(sliders.heights);
|
||||
$('[data-slider=ratios]').pwgDoubleSlider(sliders.ratios);
|
||||
$('[data-slider=filesizes]').pwgDoubleSlider(sliders.filesizes);
|
||||
|
||||
|
||||
/* ********** Thumbs */
|
||||
|
||||
/* Shift-click: select all photos between the click and the shift+click */
|
||||
jQuery(document).ready(function() {
|
||||
var last_clicked=0,
|
||||
last_clickedstatus=true;
|
||||
jQuery.fn.enableShiftClick = function() {
|
||||
var inputs = [],
|
||||
count=0;
|
||||
this.find('input[type=checkbox]').each(function() {
|
||||
var pos=count;
|
||||
inputs[count++]=this;
|
||||
$(this).bind("shclick", function (dummy,event) {
|
||||
if (event.shiftKey) {
|
||||
var first = last_clicked;
|
||||
var last = pos;
|
||||
if (first > last) {
|
||||
first=pos;
|
||||
last=last_clicked;
|
||||
}
|
||||
|
||||
for (var i=first; i<=last;i++) {
|
||||
input = $(inputs[i]);
|
||||
$(input).prop('checked', last_clickedstatus);
|
||||
if (last_clickedstatus)
|
||||
{
|
||||
$(input).siblings("span.wrap2").addClass("thumbSelected");
|
||||
}
|
||||
else
|
||||
{
|
||||
$(input).siblings("span.wrap2").removeClass("thumbSelected");
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
last_clicked = pos;
|
||||
last_clickedstatus = this.checked;
|
||||
}
|
||||
return true;
|
||||
});
|
||||
$(this).click(function(event) { $(this).triggerHandler("shclick",event)});
|
||||
});
|
||||
}
|
||||
$('ul.thumbnails').enableShiftClick();
|
||||
});
|
||||
|
||||
jQuery("a.preview-box").colorbox();
|
||||
|
||||
jQuery('.thumbnails img').tipTip({
|
||||
'delay' : 0,
|
||||
'fadeIn' : 200,
|
||||
'fadeOut' : 200
|
||||
});
|
||||
|
||||
|
||||
/* ********** Actions*/
|
||||
|
||||
jQuery('[data-datepicker]').pwgDatepicker({
|
||||
showTimepicker: true,
|
||||
cancelButton: lang.Cancel
|
||||
});
|
||||
|
||||
jQuery('[data-add-album]').pwgAddAlbum();
|
||||
|
||||
$("input[name=remove_author]").click(function () {
|
||||
if ($(this).is(':checked')) {
|
||||
$("input[name=author]").hide();
|
||||
}
|
||||
else {
|
||||
$("input[name=author]").show();
|
||||
}
|
||||
});
|
||||
|
||||
$("input[name=remove_title]").click(function () {
|
||||
if ($(this).is(':checked')) {
|
||||
$("input[name=title]").hide();
|
||||
}
|
||||
else {
|
||||
$("input[name=title]").show();
|
||||
}
|
||||
});
|
||||
|
||||
$("input[name=remove_date_creation]").click(function () {
|
||||
if ($(this).is(':checked')) {
|
||||
$("#set_date_creation").hide();
|
||||
}
|
||||
else {
|
||||
$("#set_date_creation").show();
|
||||
}
|
||||
});
|
||||
|
||||
var derivatives = {
|
||||
elements: null,
|
||||
done: 0,
|
||||
total: 0,
|
||||
|
||||
finished: function() {
|
||||
return derivatives.done == derivatives.total && derivatives.elements && derivatives.elements.length==0;
|
||||
}
|
||||
};
|
||||
|
||||
function progress(success) {
|
||||
jQuery('#progressBar').progressBar(derivatives.done, {
|
||||
max: derivatives.total,
|
||||
textFormat: 'fraction',
|
||||
boxImage: 'themes/default/images/progressbar.gif',
|
||||
barImage: 'themes/default/images/progressbg_orange.gif'
|
||||
});
|
||||
if (success !== undefined) {
|
||||
var type = success ? 'regenerateSuccess': 'regenerateError',
|
||||
s = jQuery('[name="'+type+'"]').val();
|
||||
jQuery('[name="'+type+'"]').val(++s);
|
||||
}
|
||||
|
||||
if (derivatives.finished()) {
|
||||
jQuery('#applyAction').click();
|
||||
}
|
||||
}
|
||||
|
||||
function getDerivativeUrls() {
|
||||
var ids = derivatives.elements.splice(0, 500);
|
||||
var params = {max_urls: 100000, ids: ids, types: []};
|
||||
jQuery("#action_generate_derivatives input").each( function(i, t) {
|
||||
if ($(t).is(":checked"))
|
||||
params.types.push( t.value );
|
||||
} );
|
||||
|
||||
jQuery.ajax( {
|
||||
type: "POST",
|
||||
url: 'ws.php?format=json&method=pwg.getMissingDerivatives',
|
||||
data: params,
|
||||
dataType: "json",
|
||||
success: function(data) {
|
||||
if (!data.stat || data.stat != "ok") {
|
||||
return;
|
||||
}
|
||||
derivatives.total += data.result.urls.length;
|
||||
progress();
|
||||
for (var i=0; i < data.result.urls.length; i++) {
|
||||
jQuery.manageAjax.add("queued", {
|
||||
type: 'GET',
|
||||
url: data.result.urls[i] + "&ajaxload=true",
|
||||
dataType: 'json',
|
||||
success: ( function(data) { derivatives.done++; progress(true) }),
|
||||
error: ( function(data) { derivatives.done++; progress(false) })
|
||||
});
|
||||
}
|
||||
if (derivatives.elements.length)
|
||||
setTimeout( getDerivativeUrls, 25 * (derivatives.total-derivatives.done));
|
||||
}
|
||||
} );
|
||||
}
|
||||
|
||||
function selectGenerateDerivAll() {
|
||||
$("#action_generate_derivatives input[type=checkbox]").prop("checked", true);
|
||||
}
|
||||
function selectGenerateDerivNone() {
|
||||
$("#action_generate_derivatives input[type=checkbox]").prop("checked", false);
|
||||
}
|
||||
|
||||
function selectDelDerivAll() {
|
||||
$("#action_delete_derivatives input[type=checkbox]").prop("checked", true);
|
||||
}
|
||||
function selectDelDerivNone() {
|
||||
$("#action_delete_derivatives input[type=checkbox]").prop("checked", false);
|
||||
}
|
184
sources/admin/themes/default/js/datepicker.js
Normal file
184
sources/admin/themes/default/js/datepicker.js
Normal file
|
@ -0,0 +1,184 @@
|
|||
(function($) {
|
||||
jQuery.timepicker.log = jQuery.noop; // that's ugly, but the timepicker is acting weird and throws parsing errors
|
||||
|
||||
|
||||
// modify DatePicker internal methods to replace year select by a numeric input
|
||||
var origGenerateMonthYearHeader = $.datepicker._generateMonthYearHeader,
|
||||
origSelectMonthYear = $.datepicker._selectMonthYear;
|
||||
|
||||
$.datepicker._generateMonthYearHeader = function(inst, drawMonth, drawYear, minDate, maxDate,
|
||||
secondary, monthNames, monthNamesShort) {
|
||||
|
||||
var html = origGenerateMonthYearHeader.call(this, inst, drawMonth, drawYear, minDate, maxDate,
|
||||
secondary, monthNames, monthNamesShort);
|
||||
|
||||
var yearshtml = "<input type='number' class='ui-datepicker-year' data-handler='selectYear' data-event='change keyup' value='"+drawYear+"' style='width:4em;margin-left:2px;'>";
|
||||
|
||||
return html.replace(new RegExp('<select class=\'ui-datepicker-year\'.*</select>', 'gm'), yearshtml);
|
||||
};
|
||||
|
||||
$.datepicker._selectMonthYear = debounce(function(id, select, period) {
|
||||
if (period === 'M') {
|
||||
origSelectMonthYear.call(this, id, select, period);
|
||||
}
|
||||
else {
|
||||
var target = $(id),
|
||||
inst = this._getInst(target[0]),
|
||||
val = parseInt(select.value, 10);
|
||||
|
||||
if (isNaN(val)) {
|
||||
inst['drawYear'] = '';
|
||||
}
|
||||
else {
|
||||
inst['selectedYear'] = inst['drawYear'] = val;
|
||||
|
||||
this._notifyChange(inst);
|
||||
this._adjustDate(target);
|
||||
|
||||
$('.ui-datepicker-year').focus();
|
||||
}
|
||||
}
|
||||
}, 500);
|
||||
|
||||
|
||||
// plugin definition
|
||||
jQuery.fn.pwgDatepicker = function(settings) {
|
||||
var options = jQuery.extend(true, {
|
||||
showTimepicker: false,
|
||||
cancelButton: false,
|
||||
}, settings || {});
|
||||
|
||||
return this.each(function() {
|
||||
var $this = jQuery(this),
|
||||
originalValue = $this.val(),
|
||||
originalDate,
|
||||
$target = jQuery('[name="'+ $this.data('datepicker') +'"]'),
|
||||
linked = !!$target.length,
|
||||
$start, $end;
|
||||
|
||||
if (linked) {
|
||||
originalValue = $target.val();
|
||||
}
|
||||
|
||||
// custom setter
|
||||
function set(date, init) {
|
||||
if (date === '') date = null;
|
||||
$this.datetimepicker('setDate', date);
|
||||
|
||||
if ($this.data('datepicker-start') && $start) {
|
||||
$start.datetimepicker('option', 'maxDate', date);
|
||||
}
|
||||
else if ($this.data('datepicker-end') && $end) {
|
||||
if (!init) { // on init, "end" is not initialized yet (assuming "start" is before "end" in the DOM)
|
||||
$end.datetimepicker('option', 'minDate', date);
|
||||
}
|
||||
}
|
||||
|
||||
if (!date && linked) {
|
||||
$target.val('');
|
||||
}
|
||||
}
|
||||
|
||||
// and custom cancel button
|
||||
if (options.cancelButton) {
|
||||
options.beforeShow = options.onChangeMonthYear = function() {
|
||||
setTimeout(function() {
|
||||
var buttonPane = $this.datepicker('widget')
|
||||
.find('.ui-datepicker-buttonpane');
|
||||
|
||||
if (buttonPane.find('.pwg-datepicker-cancel').length == 0) {
|
||||
$('<button type="button">'+ options.cancelButton +'</button>')
|
||||
.on('click', function() {
|
||||
set(originalDate, false);
|
||||
$this.datepicker('hide').blur();
|
||||
})
|
||||
.addClass('pwg-datepicker-cancel ui-state-error ui-corner-all')
|
||||
.appendTo(buttonPane);
|
||||
}
|
||||
}, 1);
|
||||
};
|
||||
}
|
||||
|
||||
// init picker
|
||||
$this.datetimepicker(jQuery.extend({
|
||||
dateFormat: linked ? 'DD d MM yy' : 'yy-mm-dd',
|
||||
timeFormat: 'HH:mm',
|
||||
separator: options.showTimepicker ? ' ' : '',
|
||||
|
||||
altField: linked ? $target : null,
|
||||
altFormat: 'yy-mm-dd',
|
||||
altTimeFormat: options.showTimepicker ? 'HH:mm:ss' : '',
|
||||
|
||||
autoSize: true,
|
||||
changeMonth : true,
|
||||
changeYear: true,
|
||||
altFieldTimeOnly: false,
|
||||
showSecond: false,
|
||||
alwaysSetTime: false
|
||||
}, options));
|
||||
|
||||
// attach range pickers
|
||||
if ($this.data('datepicker-start')) {
|
||||
$start = jQuery('[data-datepicker="'+ $this.data('datepicker-start') +'"]');
|
||||
|
||||
$this.datetimepicker('option', 'onClose', function(date) {
|
||||
$start.datetimepicker('option', 'maxDate', date);
|
||||
});
|
||||
|
||||
$this.datetimepicker('option', 'minDate', $start.datetimepicker('getDate'));
|
||||
}
|
||||
else if ($this.data('datepicker-end')) {
|
||||
$end = jQuery('[data-datepicker="'+ $this.data('datepicker-end') +'"]');
|
||||
|
||||
$this.datetimepicker('option', 'onClose', function(date) {
|
||||
$end.datetimepicker('option', 'minDate', date);
|
||||
});
|
||||
}
|
||||
|
||||
// attach unset button
|
||||
if ($this.data('datepicker-unset')) {
|
||||
jQuery('#'+ $this.data('datepicker-unset')).on('click', function(e) {
|
||||
e.preventDefault();
|
||||
set(null, false);
|
||||
});
|
||||
}
|
||||
|
||||
// set value from linked input
|
||||
if (linked) {
|
||||
var splitted = originalValue.split(' ');
|
||||
if (splitted.length == 2 && options.showTimepicker) {
|
||||
set(jQuery.datepicker.parseDateTime('yy-mm-dd', 'HH:mm:ss', originalValue), true);
|
||||
}
|
||||
else if (splitted[0].length == 10) {
|
||||
set(jQuery.datepicker.parseDate('yy-mm-dd', splitted[0]), true);
|
||||
}
|
||||
else {
|
||||
set(null, true);
|
||||
}
|
||||
}
|
||||
|
||||
originalDate = $this.datetimepicker('getDate');
|
||||
|
||||
// autoSize not handled by timepicker
|
||||
if (options.showTimepicker) {
|
||||
$this.attr('size', parseInt($this.attr('size'))+6);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
function debounce(func, wait, immediate) {
|
||||
var timeout;
|
||||
return function() {
|
||||
var context = this, args = arguments;
|
||||
var later = function() {
|
||||
timeout = null;
|
||||
if (!immediate) func.apply(context, args);
|
||||
};
|
||||
var callNow = immediate && !timeout;
|
||||
clearTimeout(timeout);
|
||||
timeout = setTimeout(later, wait);
|
||||
if (callNow) func.apply(context, args);
|
||||
};
|
||||
}
|
||||
|
||||
}(jQuery));
|
62
sources/admin/themes/default/js/doubleSlider.js
Normal file
62
sources/admin/themes/default/js/doubleSlider.js
Normal file
|
@ -0,0 +1,62 @@
|
|||
(function($){
|
||||
|
||||
/**
|
||||
* OPTIONS:
|
||||
* values {mixed[]}
|
||||
* selected {object} min and max
|
||||
* text {string}
|
||||
*/
|
||||
$.fn.pwgDoubleSlider = function(options) {
|
||||
var that = this;
|
||||
|
||||
function onChange(e, ui) {
|
||||
that.find('[data-input=min]').val(options.values[ui.values[0]]);
|
||||
that.find('[data-input=max]').val(options.values[ui.values[1]]);
|
||||
|
||||
that.find('.slider-info').html(sprintf(
|
||||
options.text,
|
||||
options.values[ui.values[0]],
|
||||
options.values[ui.values[1]]
|
||||
));
|
||||
}
|
||||
|
||||
function findClosest(array, value) {
|
||||
var closest = null, index = -1;
|
||||
$.each(array, function(i, v){
|
||||
if (closest == null || Math.abs(v - value) < Math.abs(closest - value)) {
|
||||
closest = v;
|
||||
index = i;
|
||||
}
|
||||
});
|
||||
return index;
|
||||
}
|
||||
|
||||
var values = [
|
||||
options.values.indexOf(options.selected.min),
|
||||
options.values.indexOf(options.selected.max)
|
||||
];
|
||||
if (values[0] == -1) {
|
||||
values[0] = findClosest(options.values, options.selected.min);
|
||||
}
|
||||
if (values[1] == -1) {
|
||||
values[1] = findClosest(options.values, options.selected.max);
|
||||
}
|
||||
|
||||
var slider = this.find('.slider-slider').slider({
|
||||
range: true,
|
||||
min: 0,
|
||||
max: options.values.length - 1,
|
||||
values: values,
|
||||
slide: onChange,
|
||||
change: onChange
|
||||
});
|
||||
|
||||
this.find('.slider-choice').on('click', function(){
|
||||
slider.slider('values', 0, options.values.indexOf($(this).data('min')));
|
||||
slider.slider('values', 1, options.values.indexOf($(this).data('max')));
|
||||
});
|
||||
|
||||
return this;
|
||||
};
|
||||
|
||||
}(jQuery));
|
151
sources/admin/themes/default/template/configuration_comments.tpl
Normal file
151
sources/admin/themes/default/template/configuration_comments.tpl
Normal file
|
@ -0,0 +1,151 @@
|
|||
{combine_script id='common' load='footer' path='admin/themes/default/js/common.js'}
|
||||
|
||||
{footer_script}
|
||||
(function(){
|
||||
var targets = {
|
||||
'input[name="comments_validation"]' : '#email_admin_on_comment_validation',
|
||||
'input[name="user_can_edit_comment"]' : '#email_admin_on_comment_edition',
|
||||
'input[name="user_can_delete_comment"]' : '#email_admin_on_comment_deletion'
|
||||
};
|
||||
|
||||
for (selector in targets) {
|
||||
var target = targets[selector];
|
||||
|
||||
jQuery(target).toggle(jQuery(selector).is(':checked'));
|
||||
|
||||
(function(target){
|
||||
jQuery(selector).on('change', function() {
|
||||
jQuery(target).toggle($(this).is(':checked'));
|
||||
});
|
||||
})(target);
|
||||
};
|
||||
}());
|
||||
{/footer_script}
|
||||
|
||||
<h2>{'Piwigo configuration'|translate} {$TABSHEET_TITLE}</h2>
|
||||
|
||||
<form method="post" action="{$F_ACTION}" class="properties">
|
||||
|
||||
<div id="configContent">
|
||||
|
||||
<fieldset id="commentsConf" class="no-border">
|
||||
<ul>
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="activate_comments" id="activate_comments"{if ($comments.activate_comments)} checked="checked"{/if}>
|
||||
{'Activate comments'|translate}
|
||||
</label>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul id="comments_param_warp"{if not ($comments.activate_comments)} style="display:none;"{/if}>
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="comments_forall" {if ($comments.comments_forall)}checked="checked"{/if}>
|
||||
{'Comments for all'|translate}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label>
|
||||
{'Number of comments per page'|translate}
|
||||
<input type="text" size="3" maxlength="4" name="nb_comment_page" id="nb_comment_page" value="{$comments.NB_COMMENTS_PAGE}">
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label>
|
||||
{'Default comments order'|translate}
|
||||
<select name="comments_order">
|
||||
{html_options options=$comments.comments_order_options selected=$comments.comments_order}
|
||||
</select>
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="comments_validation" {if ($comments.comments_validation)}checked="checked"{/if}>
|
||||
{'Validation'|translate}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="comments_author_mandatory" {if ($comments.comments_author_mandatory)}checked="checked"{/if}>
|
||||
{'Username is mandatory'|translate}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="comments_email_mandatory" {if ($comments.comments_email_mandatory)}checked="checked"{/if}>
|
||||
{'Email address is mandatory'|translate}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="comments_enable_website" {if ($comments.comments_enable_website)}checked="checked"{/if}>
|
||||
{'Allow users to add a link to their website'|translate}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="user_can_edit_comment" {if ($comments.user_can_edit_comment)}checked="checked"{/if}>
|
||||
{'Allow users to edit their own comments'|translate}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="user_can_delete_comment" {if ($comments.user_can_delete_comment)}checked="checked"{/if}>
|
||||
{'Allow users to delete their own comments'|translate}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li id="notifyAdmin">
|
||||
<strong>{'Notify administrators when a comment is'|translate}</strong>
|
||||
|
||||
<label id="email_admin_on_comment_validation" class="font-checkbox no-bold">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="email_admin_on_comment_validation" {if ($comments.email_admin_on_comment_validation)}checked="checked"{/if}>
|
||||
{'pending validation'|translate}
|
||||
</label>
|
||||
|
||||
<label class="font-checkbox no-bold">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="email_admin_on_comment" {if ($comments.email_admin_on_comment)}checked="checked"{/if}>
|
||||
{'added'|translate}
|
||||
</label>
|
||||
|
||||
<label id="email_admin_on_comment_edition" class="font-checkbox no-bold">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="email_admin_on_comment_edition" {if ($comments.email_admin_on_comment_edition)}checked="checked"{/if}>
|
||||
{'modified'|translate}
|
||||
</label>
|
||||
|
||||
<label id="email_admin_on_comment_deletion" class="font-checkbox no-bold">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="email_admin_on_comment_deletion" {if ($comments.email_admin_on_comment_deletion)}checked="checked"{/if}>
|
||||
{'deleted'|translate}
|
||||
</label>
|
||||
</li>
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
</div> <!-- configContent -->
|
||||
|
||||
<p class="formButtons">
|
||||
<input type="submit" name="submit" value="{'Save Settings'|translate}">
|
||||
</p>
|
||||
|
||||
</form>
|
|
@ -0,0 +1,61 @@
|
|||
{combine_script id='common' load='footer' path='admin/themes/default/js/common.js'}
|
||||
|
||||
<h2>{'Piwigo configuration'|translate} {$TABSHEET_TITLE}</h2>
|
||||
|
||||
<form method="post" name="profile" action="{$GUEST_F_ACTION}" id="profile" class="properties">
|
||||
|
||||
<div id="configContent">
|
||||
|
||||
{if $GUEST_USERNAME!='guest'}
|
||||
<fieldset>
|
||||
{'The settings for the guest are from the %s user'|translate:$GUEST_USERNAME}
|
||||
</fieldset>
|
||||
{/if}
|
||||
|
||||
<fieldset>
|
||||
<legend>{'Preferences'|translate}</legend>
|
||||
<input type="hidden" name="redirect" value="{$GUEST_REDIRECT}">
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="nb_image_page">{'Number of photos per page'|translate}</label>
|
||||
</span>
|
||||
<input type="text" size="4" maxlength="3" name="nb_image_page" id="nb_image_page" value="{$GUEST_NB_IMAGE_PAGE}">
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="recent_period">{'Recent period'|translate}</label>
|
||||
</span>
|
||||
<input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{$GUEST_RECENT_PERIOD}">
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<span class="property">{'Expand all albums'|translate}</span>
|
||||
{html_radios name='expand' options=$radio_options selected=$GUEST_EXPAND}
|
||||
</li>
|
||||
|
||||
{if $GUEST_ACTIVATE_COMMENTS}
|
||||
<li>
|
||||
<span class="property">{'Show number of comments'|translate}</span>
|
||||
{html_radios name='show_nb_comments' options=$radio_options selected=$GUEST_NB_COMMENTS}
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
<li>
|
||||
<span class="property">{'Show number of hits'|translate}</span>
|
||||
{html_radios name='show_nb_hits' options=$radio_options selected=$GUEST_NB_HITS}
|
||||
</li>
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
<p class="bottomButtons">
|
||||
<input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
|
||||
<input class="submit" type="submit" name="validate" value="{'Submit'|translate}">
|
||||
<input class="submit" type="reset" name="reset" value="{'Reset'|translate}">
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
</form>
|
237
sources/admin/themes/default/template/configuration_display.tpl
Normal file
237
sources/admin/themes/default/template/configuration_display.tpl
Normal file
|
@ -0,0 +1,237 @@
|
|||
{combine_script id='common' load='footer' path='admin/themes/default/js/common.js'}
|
||||
|
||||
<h2>{'Piwigo configuration'|translate} {$TABSHEET_TITLE}</h2>
|
||||
|
||||
<form method="post" action="{$F_ACTION}" class="properties">
|
||||
|
||||
<div id="configContent">
|
||||
|
||||
<fieldset id="indexDisplayConf">
|
||||
<legend>{'Main Page'|translate}</legend>
|
||||
<ul>
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="menubar_filter_icon" {if ($display.menubar_filter_icon)}checked="checked"{/if}>
|
||||
{'Activate icon "%s"'|translate:('display only recently posted photos'|translate|@ucfirst)}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="index_new_icon" {if ($display.index_new_icon)}checked="checked"{/if}>
|
||||
{'Activate icon "new" next to albums and pictures'|translate}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="index_sort_order_input" {if ($display.index_sort_order_input)}checked="checked"{/if}>
|
||||
{'Activate icon "%s"'|translate:('Sort order'|translate)}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="index_flat_icon" {if ($display.index_flat_icon)}checked="checked"{/if}>
|
||||
{'Activate icon "%s"'|translate:('display all photos in all sub-albums'|translate|@ucfirst)}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="index_posted_date_icon" {if ($display.index_posted_date_icon)}checked="checked"{/if}>
|
||||
{'Activate icon "%s"'|translate:('display a calendar by posted date'|translate|@ucfirst)}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="index_created_date_icon" {if ($display.index_created_date_icon)}checked="checked"{/if}>
|
||||
{'Activate icon "%s"'|translate:('display a calendar by creation date'|translate|@ucfirst)}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="index_slideshow_icon" {if ($display.index_slideshow_icon)}checked="checked"{/if}>
|
||||
{'Activate icon "%s"'|translate:('slideshow'|translate|@ucfirst)}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label>
|
||||
{'Number of albums per page'|translate}
|
||||
<input type="text" size="3" maxlength="4" name="nb_categories_page" id="nb_categories_page" value="{$display.NB_CATEGORIES_PAGE}">
|
||||
</label>
|
||||
</li>
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
<fieldset id="pictureDisplayConf">
|
||||
<legend>{'Photo Page'|translate}</legend>
|
||||
<ul>
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="picture_slideshow_icon" {if ($display.picture_slideshow_icon)}checked="checked"{/if}>
|
||||
{'Activate icon "%s"'|translate:('slideshow'|translate|@ucfirst)}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="picture_metadata_icon" {if ($display.picture_metadata_icon)}checked="checked"{/if}>
|
||||
{'Activate icon "%s"'|translate:('Show file metadata'|translate)}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="picture_download_icon" {if ($display.picture_download_icon)}checked="checked"{/if}>
|
||||
{'Activate icon "%s"'|translate:('Download this file'|translate|@ucfirst)}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="picture_favorite_icon" {if ($display.picture_favorite_icon)}checked="checked"{/if}>
|
||||
{'Activate icon "%s"'|translate:('add this photo to your favorites'|translate|@ucfirst)}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="picture_navigation_icons" {if ($display.picture_navigation_icons)}checked="checked"{/if}>
|
||||
{'Activate Navigation Bar'|translate}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="picture_navigation_thumb" {if ($display.picture_navigation_thumb)}checked="checked"{/if}>
|
||||
{'Activate Navigation Thumbnails'|translate}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="picture_menu" {if ($display.picture_menu)}checked="checked"{/if}>
|
||||
{'Show menubar'|translate}
|
||||
</label>
|
||||
</li>
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
<fieldset id="pictureInfoConf">
|
||||
<legend>{'Photo Properties'|translate}</legend>
|
||||
<ul>
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="picture_informations[author]" {if ($display.picture_informations.author)}checked="checked"{/if}>
|
||||
{'Author'|translate}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="picture_informations[created_on]" {if ($display.picture_informations.created_on)}checked="checked"{/if}>
|
||||
{'Created on'|translate}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="picture_informations[posted_on]" {if ($display.picture_informations.posted_on)}checked="checked"{/if}>
|
||||
{'Posted on'|translate}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="picture_informations[dimensions]" {if ($display.picture_informations.dimensions)}checked="checked"{/if}>
|
||||
{'Dimensions'|translate}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="picture_informations[file]" {if ($display.picture_informations.file)}checked="checked"{/if}>
|
||||
{'File'|translate}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="picture_informations[filesize]" {if ($display.picture_informations.filesize)}checked="checked"{/if}>
|
||||
{'Filesize'|translate}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="picture_informations[tags]" {if ($display.picture_informations.tags)}checked="checked"{/if}>
|
||||
{'Tags'|translate}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="picture_informations[categories]" {if ($display.picture_informations.categories)}checked="checked"{/if}>
|
||||
{'Albums'|translate}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="picture_informations[visits]" {if ($display.picture_informations.visits)}checked="checked"{/if}>
|
||||
{'Visits'|translate}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="picture_informations[rating_score]" {if ($display.picture_informations.rating_score)}checked="checked"{/if}>
|
||||
{'Rating score'|translate}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="picture_informations[privacy_level]" {if ($display.picture_informations.privacy_level)}checked="checked"{/if}>
|
||||
{'Who can see this photo?'|translate} ({'available for administrators only'|translate})
|
||||
</label>
|
||||
</li>
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
</div> <!-- configContent -->
|
||||
|
||||
<p class="formButtons">
|
||||
<input type="submit" name="submit" value="{'Save Settings'|translate}">
|
||||
</p>
|
||||
|
||||
</form>
|
216
sources/admin/themes/default/template/configuration_main.tpl
Normal file
216
sources/admin/themes/default/template/configuration_main.tpl
Normal file
|
@ -0,0 +1,216 @@
|
|||
{include file='include/colorbox.inc.tpl'}
|
||||
{combine_script id='common' load='footer' path='admin/themes/default/js/common.js'}
|
||||
|
||||
{footer_script require='jquery'}
|
||||
(function(){
|
||||
var targets = {
|
||||
'input[name="rate"]' : '#rate_anonymous',
|
||||
'input[name="allow_user_registration"]' : '#email_admin_on_new_user'
|
||||
};
|
||||
|
||||
for (selector in targets) {
|
||||
var target = targets[selector];
|
||||
|
||||
jQuery(target).toggle(jQuery(selector).is(':checked'));
|
||||
|
||||
(function(target){
|
||||
jQuery(selector).on('change', function() {
|
||||
jQuery(target).toggle($(this).is(':checked'));
|
||||
});
|
||||
})(target);
|
||||
};
|
||||
}());
|
||||
|
||||
{if !isset($ORDER_BY_IS_CUSTOM)}
|
||||
(function(){
|
||||
var max_fields = Math.ceil({$main.order_by_options|@count}/2);
|
||||
|
||||
function updateFilters() {
|
||||
var $selects = jQuery('#order_filters select');
|
||||
|
||||
jQuery('#order_filters .addFilter').toggle($selects.length <= max_fields);
|
||||
jQuery('#order_filters .removeFilter').css('display', '').filter(':first').css('display', 'none');
|
||||
|
||||
$selects.find('option').removeAttr('disabled');
|
||||
$selects.each(function() {
|
||||
$selects.not(this).find('option[value="'+ jQuery(this).val() +'"]').attr('disabled', 'disabled');
|
||||
});
|
||||
}
|
||||
|
||||
jQuery('#order_filters').on('click', '.removeFilter', function() {
|
||||
jQuery(this).parent('span.filter').remove();
|
||||
updateFilters();
|
||||
});
|
||||
|
||||
jQuery('#order_filters').on('change', 'select', updateFilters);
|
||||
|
||||
jQuery('#order_filters .addFilter').click(function() {
|
||||
jQuery(this).prev('span.filter').clone().insertBefore(jQuery(this));
|
||||
jQuery(this).prev('span.filter').children('select').val('');
|
||||
updateFilters();
|
||||
});
|
||||
|
||||
updateFilters();
|
||||
}());
|
||||
{/if}
|
||||
|
||||
jQuery(".themeBoxes a").colorbox();
|
||||
|
||||
jQuery("input[name='mail_theme']").change(function() {
|
||||
jQuery("input[name='mail_theme']").parents(".themeBox").removeClass("themeDefault");
|
||||
jQuery(this).parents(".themeBox").addClass("themeDefault");
|
||||
});
|
||||
{/footer_script}
|
||||
|
||||
<h2>{'Piwigo configuration'|translate} {$TABSHEET_TITLE}</h2>
|
||||
|
||||
<form method="post" action="{$F_ACTION}" class="properties">
|
||||
|
||||
<div id="configContent">
|
||||
|
||||
<fieldset class="mainConf">
|
||||
<legend>{'Basic settings'|translate}</legend>
|
||||
<ul>
|
||||
<li>
|
||||
<label for="gallery_title">{'Gallery title'|translate}</label>
|
||||
<br>
|
||||
<input type="text" maxlength="255" size="50" name="gallery_title" id="gallery_title" value="{$main.CONF_GALLERY_TITLE}">
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label for="page_banner">{'Page banner'|translate}</label>
|
||||
<br>
|
||||
<textarea rows="5" cols="50" class="description" name="page_banner" id="page_banner">{$main.CONF_PAGE_BANNER}</textarea>
|
||||
</li>
|
||||
|
||||
<li id="order_filters">
|
||||
<label>{'Default photos order'|translate}</label>
|
||||
|
||||
{foreach from=$main.order_by item=order}
|
||||
<span class="filter {if isset($ORDER_BY_IS_CUSTOM)}transparent{/if}">
|
||||
<select name="order_by[]" {if isset($ORDER_BY_IS_CUSTOM)}disabled{/if}>
|
||||
{html_options options=$main.order_by_options selected=$order}
|
||||
</select>
|
||||
<a class="removeFilter">{'delete'|translate}</a>
|
||||
</span>
|
||||
{/foreach}
|
||||
|
||||
{if !isset($ORDER_BY_IS_CUSTOM)}
|
||||
<a class="addFilter">{'Add a criteria'|translate}</a>
|
||||
{else}
|
||||
<span class="order_by_is_custom">{'You can\'t define a default photo order because you have a custom setting in your local configuration.'|translate}</span>
|
||||
{/if}
|
||||
</li>
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="mainConf">
|
||||
<legend>{'Permissions'|translate}</legend>
|
||||
<ul>
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="rate" {if ($main.rate)}checked="checked"{/if}>
|
||||
{'Allow rating'|translate}
|
||||
</label>
|
||||
|
||||
<label id="rate_anonymous" class="font-checkbox no-bold">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="rate_anonymous" {if ($main.rate_anonymous)}checked="checked"{/if}>
|
||||
{'Rating by guests'|translate}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="allow_user_registration" {if ($main.allow_user_registration)}checked="checked"{/if}>
|
||||
{'Allow user registration'|translate}
|
||||
</label>
|
||||
|
||||
<label id="email_admin_on_new_user" class="font-checkbox no-bold">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="email_admin_on_new_user" {if ($main.email_admin_on_new_user)}checked="checked"{/if}>
|
||||
{'Email admins when a new user registers'|translate}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="allow_user_customization" {if ($main.allow_user_customization)}checked="checked"{/if}>
|
||||
{'Allow user customization'|translate}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="obligatory_user_mail_address" {if ($main.obligatory_user_mail_address)}checked="checked"{/if}>
|
||||
{'Mail address is mandatory for registration'|translate}
|
||||
</label>
|
||||
</li>
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="mainConf">
|
||||
<legend>{'Miscellaneous'|translate}</legend>
|
||||
<ul>
|
||||
<li>
|
||||
<label>{'Week starts on'|translate}
|
||||
{html_options name="week_starts_on" options=$main.week_starts_on_options selected=$main.week_starts_on_options_selected}</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<strong>{'Save visits in history for'|translate}</strong>
|
||||
|
||||
<label class="font-checkbox no-bold">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="history_guest" {if ($main.history_guest)}checked="checked"{/if}>
|
||||
{'simple visitors'|translate}
|
||||
</label>
|
||||
|
||||
<label class="font-checkbox no-bold">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="log" {if ($main.log)}checked="checked"{/if}>
|
||||
{'registered users'|translate}
|
||||
</label>
|
||||
|
||||
<label class="font-checkbox no-bold">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="history_admin" {if ($main.history_admin)}checked="checked"{/if}>
|
||||
{'administrators'|translate}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label>{'Mail theme'|translate}</label>
|
||||
|
||||
<div class="themeBoxes font-checkbox">
|
||||
{foreach from=$main.mail_theme_options item=name key=theme}
|
||||
<div class="themeBox {if $main.mail_theme==$theme}themeDefault{/if}">
|
||||
<label>
|
||||
<div class="themeName">
|
||||
<span class="icon-check"></span>
|
||||
<input type="radio" name="mail_theme" value="{$theme}" {if $main.mail_theme==$theme}checked{/if}>
|
||||
{$name}
|
||||
</div>
|
||||
<div class="themeShot">
|
||||
<img src="{$ROOT_URL}themes/default/template/mail/screenshot-{$theme}.png" width="150"/>
|
||||
</div>
|
||||
</label>
|
||||
<a href="{$ROOT_URL}themes/default/template/mail/screenshot-{$theme}.png">{'Preview'|translate}</a>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
</div> <!-- configContent -->
|
||||
|
||||
<p class="formButtons">
|
||||
<input type="submit" name="submit" value="{'Save Settings'|translate}">
|
||||
</p>
|
||||
|
||||
</form>
|
232
sources/admin/themes/default/template/configuration_sizes.tpl
Normal file
232
sources/admin/themes/default/template/configuration_sizes.tpl
Normal file
|
@ -0,0 +1,232 @@
|
|||
{combine_script id='common' load='footer' path='admin/themes/default/js/common.js'}
|
||||
|
||||
{footer_script}
|
||||
(function(){
|
||||
var labelMaxWidth = "{'Maximum width'|translate}",
|
||||
labelWidth = "{'Width'|translate}",
|
||||
labelMaxHeight = "{'Maximum height'|translate}",
|
||||
labelHeight = "{'Height'|translate}";
|
||||
|
||||
function toggleResizeFields(size) {
|
||||
var checkbox = jQuery("[name=original_resize]");
|
||||
var needToggle = jQuery("#sizeEdit-original");
|
||||
|
||||
if (jQuery(checkbox).is(':checked')) {
|
||||
needToggle.show();
|
||||
}
|
||||
else {
|
||||
needToggle.hide();
|
||||
}
|
||||
}
|
||||
|
||||
toggleResizeFields("original");
|
||||
jQuery("[name=original_resize]").click(function () {
|
||||
toggleResizeFields("original");
|
||||
});
|
||||
|
||||
jQuery("a[id^='sizeEditOpen-']").click(function(){
|
||||
var sizeName = jQuery(this).attr("id").split("-")[1];
|
||||
jQuery("#sizeEdit-"+sizeName).toggle();
|
||||
jQuery(this).hide();
|
||||
return false;
|
||||
});
|
||||
|
||||
jQuery(".cropToggle").click(function() {
|
||||
var labelBoxWidth = jQuery(this).parents('table.sizeEditForm').find('td.sizeEditWidth');
|
||||
var labelBoxHeight = jQuery(this).parents('table.sizeEditForm').find('td.sizeEditHeight');
|
||||
|
||||
if (jQuery(this).is(':checked')) {
|
||||
jQuery(labelBoxWidth).html(labelWidth);
|
||||
jQuery(labelBoxHeight).html(labelHeight);
|
||||
}
|
||||
else {
|
||||
jQuery(labelBoxWidth).html(labelMaxWidth);
|
||||
jQuery(labelBoxHeight).html(labelMaxHeight);
|
||||
}
|
||||
});
|
||||
|
||||
jQuery("#showDetails").click(function() {
|
||||
jQuery(".sizeDetails").show();
|
||||
jQuery(this).css("visibility", "hidden");
|
||||
return false;
|
||||
});
|
||||
}());
|
||||
{/footer_script}
|
||||
|
||||
{html_style}
|
||||
.sizeEnable { width:50px; }
|
||||
.sizeEnable .icon-ok { position:relative; left:2px; }
|
||||
.sizeEditForm { margin:0 0 10px 20px; }
|
||||
.sizeEdit { display:none; }
|
||||
#sizesConf table { margin:0; }
|
||||
.showDetails { padding:0; }
|
||||
.sizeDetails { display:none;margin-left:10px; }
|
||||
.sizeEditOpen { margin-left:10px; }
|
||||
{/html_style}
|
||||
|
||||
<h2>{'Piwigo configuration'|translate} {$TABSHEET_TITLE}</h2>
|
||||
|
||||
<form method="post" action="{$F_ACTION}" class="properties">
|
||||
|
||||
<div id="configContent">
|
||||
|
||||
<fieldset id="sizesConf">
|
||||
<legend>{'Original Size'|translate}</legend>
|
||||
{if $is_gd}
|
||||
<div>
|
||||
{'Resize after upload disabled due to the use of GD as graphic library'|translate}
|
||||
<input type="checkbox" name="original_resize"disabled="disabled" style="visibility: hidden">
|
||||
<input type="hidden" name="original_resize_maxwidth" value="{$sizes.original_resize_maxwidth}">
|
||||
<input type="hidden" name="original_resize_maxheight" value="{$sizes.original_resize_maxheight}">
|
||||
<input type="hidden" name="original_resize_quality" value="{$sizes.original_resize_quality}">
|
||||
</div>
|
||||
{else}
|
||||
<div>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="original_resize" {if ($sizes.original_resize)}checked="checked"{/if}>
|
||||
{'Resize after upload'|translate}
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<table id="sizeEdit-original">
|
||||
<tr>
|
||||
<th>{'Maximum width'|translate}</th>
|
||||
<td>
|
||||
<input type="text" name="original_resize_maxwidth" value="{$sizes.original_resize_maxwidth}" size="4" maxlength="4"{if isset($ferrors.original_resize_maxwidth)} class="dError"{/if}> {'pixels'|translate}
|
||||
{if isset($ferrors.original_resize_maxwidth)}<span class="dErrorDesc" title="{$ferrors.original_resize_maxwidth}">!</span>{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{'Maximum height'|translate}</th>
|
||||
<td>
|
||||
<input type="text" name="original_resize_maxheight" value="{$sizes.original_resize_maxheight}" size="4" maxlength="4"{if isset($ferrors.original_resize_maxheight)} class="dError"{/if}> {'pixels'|translate}
|
||||
{if isset($ferrors.original_resize_maxheight)}<span class="dErrorDesc" title="{$ferrors.original_resize_maxheight}">!</span>{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{'Image Quality'|translate}</th>
|
||||
<td>
|
||||
<input type="text" name="original_resize_quality" value="{$sizes.original_resize_quality}" size="3" maxlength="3"{if isset($ferrors.original_resize_quality)} class="dError"{/if}> %
|
||||
{if isset($ferrors.original_resize_quality)}<span class="dErrorDesc" title="{$ferrors.original_resize_quality}">!</span>{/if}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
||||
</fieldset>
|
||||
|
||||
<fieldset id="multiSizesConf">
|
||||
<legend>{'Multiple Size'|translate}</legend>
|
||||
|
||||
<div class="showDetails">
|
||||
<a href="#" id="showDetails"{if isset($ferrors)} style="display:none"{/if}>{'show details'|translate}</a>
|
||||
</div>
|
||||
|
||||
<table style="margin:0">
|
||||
{foreach from=$derivatives item=d key=type}
|
||||
<tr>
|
||||
<td>
|
||||
<label>
|
||||
{if $d.must_enable}
|
||||
<span class="sizeEnable">
|
||||
<span class="icon-ok"></span>
|
||||
</span>
|
||||
{else}
|
||||
<span class="sizeEnable font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="d[{$type}][enabled]" {if $d.enabled}checked="checked"{/if}>
|
||||
</span>
|
||||
{/if}
|
||||
{$type|translate}
|
||||
</label>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<span class="sizeDetails"{if isset($ferrors)} style="display:inline"{/if}>{$d.w} x {$d.h} {'pixels'|translate}{if $d.crop}, {'Crop'|translate|lower}{/if}</span>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<span class="sizeDetails"{if isset($ferrors) and !isset($ferrors.$type)} style="display:inline"{/if}>
|
||||
<a href="#" id="sizeEditOpen-{$type}" class="sizeEditOpen">{'edit'|translate}</a>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr id="sizeEdit-{$type}" class="sizeEdit" {if isset($ferrors.$type)} style="display:block"{/if}>
|
||||
<td colspan="3">
|
||||
<table class="sizeEditForm">
|
||||
{if !$d.must_square}
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" class="cropToggle" name="d[{$type}][crop]" {if $d.crop}checked="checked"{/if}>
|
||||
{'Crop'|translate}
|
||||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td class="sizeEditWidth">{if $d.must_square or $d.crop}{'Width'|translate}{else}{'Maximum width'|translate}{/if}</td>
|
||||
<td>
|
||||
<input type="text" name="d[{$type}][w]" maxlength="4" size="4" value="{$d.w}"{if isset($ferrors.$type.w)} class="dError"{/if}> {'pixels'|translate}
|
||||
{if isset($ferrors.$type.w)}<span class="dErrorDesc" title="{$ferrors.$type.w}">!</span>{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{if !$d.must_square}
|
||||
<tr>
|
||||
<td class="sizeEditHeight">{if $d.crop}{'Height'|translate}{else}{'Maximum height'|translate}{/if}</td>
|
||||
<td>
|
||||
<input type="text" name="d[{$type}][h]" maxlength="4" size="4" value="{$d.h}"{if isset($ferrors.$type.h)} class="dError"{/if}> {'pixels'|translate}
|
||||
{if isset($ferrors.$type.h)}<span class="dErrorDesc" title="{$ferrors.$type.h}">!</span>{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td>{'Sharpen'|translate}</td>
|
||||
<td>
|
||||
<input type="text" name="d[{$type}][sharpen]" maxlength="4" size="4" value="{$d.sharpen}"{if isset($ferrors.$type.sharpen)} class="dError"{/if}> %
|
||||
{if isset($ferrors.$type.sharpen)}<span class="dErrorDesc" title="{$ferrors.$type.sharpen}">!</span>{/if}
|
||||
</td>
|
||||
</tr>
|
||||
</table> {* #sizeEdit *}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
|
||||
<p style="margin:10px 0 0 0;{if isset($ferrors)} display:block;{/if}" class="sizeDetails">
|
||||
{'Image Quality'|translate}
|
||||
<input type="text" name="resize_quality" value="{$resize_quality}" size="3" maxlength="3"{if isset($ferrors.resize_quality)} class="dError"{/if}> %
|
||||
{if isset($ferrors.resize_quality)}<span class="dErrorDesc" title="{$ferrors.resize_quality}">!</span>{/if}
|
||||
</p>
|
||||
<p style="margin:10px 0 0 0;{if isset($ferrors)} display:block;{/if}" class="sizeDetails">
|
||||
<a href="{$F_ACTION}&action=restore_settings" onclick="return confirm('{'Are you sure?'|translate|@escape:javascript}');">{'Reset to default values'|translate}</a>
|
||||
</p>
|
||||
|
||||
{if !empty($custom_derivatives)}
|
||||
<fieldset class="sizeDetails">
|
||||
<legend>{'custom'|translate}</legend>
|
||||
|
||||
<table style="margin:0">
|
||||
{foreach from=$custom_derivatives item=time key=custom}
|
||||
<tr><td>
|
||||
<label class="font-checkbox">
|
||||
<span class="icon-check"></span>
|
||||
<input type="checkbox" name="delete_custom_derivative_{$custom}"> {'Delete'|translate} {$custom} ({'Last hit'|translate}: {$time})
|
||||
</label>
|
||||
</td></tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
</fieldset>
|
||||
{/if}
|
||||
|
||||
</fieldset>
|
||||
|
||||
</div> <!-- configContent -->
|
||||
|
||||
<p class="formButtons">
|
||||
<input type="submit" name="submit" value="{'Save Settings'|translate}">
|
||||
</p>
|
||||
|
||||
</form>
|
|
@ -0,0 +1,131 @@
|
|||
{combine_script id='common' load='footer' path='admin/themes/default/js/common.js'}
|
||||
|
||||
{footer_script}
|
||||
(function(){
|
||||
function onWatermarkChange() {
|
||||
var val = jQuery("#wSelect").val();
|
||||
if (val.length) {
|
||||
jQuery("#wImg").attr('src', '{$ROOT_URL}'+val).show();
|
||||
}
|
||||
else {
|
||||
jQuery("#wImg").hide();
|
||||
}
|
||||
}
|
||||
|
||||
onWatermarkChange();
|
||||
|
||||
jQuery("#wSelect").bind("change", onWatermarkChange);
|
||||
|
||||
if (jQuery("input[name='w[position]']:checked").val() == 'custom') {
|
||||
jQuery("#positionCustomDetails").show();
|
||||
}
|
||||
|
||||
jQuery("input[name='w[position]']").change(function(){
|
||||
if (jQuery(this).val() == 'custom') {
|
||||
jQuery("#positionCustomDetails").show();
|
||||
}
|
||||
else {
|
||||
jQuery("#positionCustomDetails").hide();
|
||||
}
|
||||
});
|
||||
|
||||
jQuery(".addWatermarkOpen").click(function(){
|
||||
jQuery("#addWatermark, #selectWatermark").toggle();
|
||||
return false;
|
||||
});
|
||||
}());
|
||||
{/footer_script}
|
||||
|
||||
<h2>{'Piwigo configuration'|translate} {$TABSHEET_TITLE}</h2>
|
||||
|
||||
<form method="post" action="{$F_ACTION}" class="properties" enctype="multipart/form-data">
|
||||
|
||||
<div id="configContent">
|
||||
|
||||
<fieldset id="watermarkConf" class="no-border">
|
||||
<legend></legend>
|
||||
<ul>
|
||||
<li>
|
||||
<span id="selectWatermark"{if isset($ferrors.watermarkImage)} style="display:none"{/if}><label>{'Select a file'|translate}</label>
|
||||
<select name="w[file]" id="wSelect">
|
||||
{html_options options=$watermark_files selected=$watermark.file}
|
||||
</select>
|
||||
|
||||
{'... or '|translate}<a href="#" class="addWatermarkOpen">{'add a new watermark'|translate}</a>
|
||||
<br>
|
||||
<img id="wImg"></img>
|
||||
</span>
|
||||
|
||||
<span id="addWatermark"{if isset($ferrors.watermarkImage)} style="display:inline"{/if}>
|
||||
{'add a new watermark'|translate} {'... or '|translate}<a href="#" class="addWatermarkOpen">{'Select a file'|translate}</a>
|
||||
|
||||
<br>
|
||||
<input type="file" size="60" id="watermarkImage" name="watermarkImage"{if isset($ferrors.watermarkImage)} class="dError"{/if}> (png)
|
||||
{if isset($ferrors.watermarkImage)}<span class="dErrorDesc" title="{$ferrors.watermarkImage|@htmlspecialchars}">!</span>{/if}
|
||||
</span>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label>
|
||||
{'Apply watermark if width is bigger than'|translate}
|
||||
<input size="4" maxlength="4" type="text" name="w[minw]" value="{$watermark.minw}"{if isset($ferrors.watermark.minw)} class="dError"{/if}>
|
||||
</label>
|
||||
{'pixels'|translate}
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label>
|
||||
{'Apply watermark if height is bigger than'|translate}
|
||||
<input size="4" maxlength="4" type="text" name="w[minh]" value="{$watermark.minh}"{if isset($ferrors.watermark.minh)} class="dError"{/if}>
|
||||
</label>
|
||||
{'pixels'|translate}
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label>{'Position'|translate}</label>
|
||||
<br>
|
||||
<div id="watermarkPositionBox">
|
||||
<label class="right">{'top right corner'|translate} <input name="w[position]" type="radio" value="topright"{if $watermark.position eq 'topright'} checked="checked"{/if}></label>
|
||||
<label><input name="w[position]" type="radio" value="topleft"{if $watermark.position eq 'topleft'} checked="checked"{/if}> {'top left corner'|translate}</label>
|
||||
<label class="middle"><input name="w[position]" type="radio" value="middle"{if $watermark.position eq 'middle'} checked="checked"{/if}> {'middle'|translate}</label>
|
||||
<label class="right">{'bottom right corner'|translate} <input name="w[position]" type="radio" value="bottomright"{if $watermark.position eq 'bottomright'} checked="checked"{/if}></label>
|
||||
<label><input name="w[position]" type="radio" value="bottomleft"{if $watermark.position eq 'bottomleft'} checked="checked"{/if}> {'bottom left corner'|translate}</label>
|
||||
</div>
|
||||
|
||||
<label style="display:block;margin-top:10px;font-weight:normal;"><input name="w[position]" type="radio" value="custom"{if $watermark.position eq 'custom'} checked="checked"{/if}> {'custom'|translate}</label>
|
||||
|
||||
<div id="positionCustomDetails">
|
||||
<label>{'X Position'|translate}
|
||||
<input size="3" maxlength="3" type="text" name="w[xpos]" value="{$watermark.xpos}"{if isset($ferrors.watermark.xpos)} class="dError"{/if}>%
|
||||
{if isset($ferrors.watermark.xpos)}<span class="dErrorDesc" title="{$ferrors.watermark.xpos}">!</span>{/if}
|
||||
</label>
|
||||
|
||||
<br>
|
||||
<label>{'Y Position'|translate}
|
||||
<input size="3" maxlength="3" type="text" name="w[ypos]" value="{$watermark.ypos}"{if isset($ferrors.watermark.ypos)} class="dError"{/if}>%
|
||||
{if isset($ferrors.watermark.ypos)}<span class="dErrorDesc" title="{$ferrors.watermark.ypos}">!</span>{/if}
|
||||
</label>
|
||||
|
||||
<br>
|
||||
<label>{'X Repeat'|translate}
|
||||
<input size="3" maxlength="3" type="text" name="w[xrepeat]" value="{$watermark.xrepeat}"{if isset($ferrors.watermark.xrepeat)} class="dError"{/if}>
|
||||
{if isset($ferrors.watermark.xrepeat)}<span class="dErrorDesc" title="{$ferrors.watermark.xrepeat}">!</span>{/if}
|
||||
</label>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label>{'Opacity'|translate}</label>
|
||||
<input size="3" maxlength="3" type="text" name="w[opacity]" value="{$watermark.opacity}"{if isset($ferrors.watermark.opacity)} class="dError"{/if}> %
|
||||
{if isset($ferrors.watermark.opacity)}<span class="dErrorDesc" title="{$ferrors.watermark.opacity}">!</span>{/if}
|
||||
</li>
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
</div> <!-- configContent -->
|
||||
|
||||
<p class="formButtons">
|
||||
<input type="submit" name="submit" value="{'Save Settings'|translate}">
|
||||
</p>
|
||||
|
||||
</form>
|
143
sources/include/cache.class.php
Normal file
143
sources/include/cache.class.php
Normal file
|
@ -0,0 +1,143 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
/**
|
||||
Provides a persistent cache mechanism across multiple page loads/sessions etc...
|
||||
*/
|
||||
abstract class PersistentCache
|
||||
{
|
||||
var $default_lifetime = 86400;
|
||||
protected $instance_key = PHPWG_VERSION;
|
||||
|
||||
/**
|
||||
@return a key that can be safely be used with get/set methods
|
||||
*/
|
||||
function make_key($key)
|
||||
{
|
||||
if ( is_array($key) )
|
||||
{
|
||||
$key = implode('&', $key);
|
||||
}
|
||||
$key .= $this->instance_key;
|
||||
return md5($key);
|
||||
}
|
||||
|
||||
/**
|
||||
Searches for a key in the persistent cache and fills corresponding value.
|
||||
@param string $key
|
||||
@param out mixed $value
|
||||
@return false if the $key is not found in cache ($value is not modified in this case)
|
||||
*/
|
||||
abstract function get($key, &$value);
|
||||
|
||||
/**
|
||||
Sets a key/value pair in the persistent cache.
|
||||
@param string $key - it should be the return value of make_key function
|
||||
@param mixed $value
|
||||
@param int $lifetime
|
||||
@return false on error
|
||||
*/
|
||||
abstract function set($key, $value, $lifetime=null);
|
||||
|
||||
/**
|
||||
Purge the persistent cache.
|
||||
@param boolean $all - if false only expired items will be purged
|
||||
*/
|
||||
abstract function purge($all);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
Implementation of a persistent cache using files.
|
||||
*/
|
||||
class PersistentFileCache extends PersistentCache
|
||||
{
|
||||
private $dir;
|
||||
|
||||
function __construct()
|
||||
{
|
||||
global $conf;
|
||||
$this->dir = PHPWG_ROOT_PATH.$conf['data_location'].'cache/';
|
||||
}
|
||||
|
||||
function get($key, &$value)
|
||||
{
|
||||
$loaded = @file_get_contents($this->dir.$key.'.cache');
|
||||
if ($loaded !== false && ($loaded=unserialize($loaded)) !== false)
|
||||
{
|
||||
if ($loaded['expire'] > time())
|
||||
{
|
||||
$value = $loaded['data'];
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function set($key, $value, $lifetime=null)
|
||||
{
|
||||
if ($lifetime === null)
|
||||
{
|
||||
$lifetime = $this->default_lifetime;
|
||||
}
|
||||
|
||||
if (rand() % 97 == 0)
|
||||
{
|
||||
$this->purge(false);
|
||||
}
|
||||
|
||||
$serialized = serialize( array(
|
||||
'expire' => time() + $lifetime,
|
||||
'data' => $value
|
||||
));
|
||||
|
||||
if (false === @file_put_contents($this->dir.$key.'.cache', $serialized))
|
||||
{
|
||||
mkgetdir($this->dir, MKGETDIR_DEFAULT&~MKGETDIR_DIE_ON_ERROR);
|
||||
if (false === @file_put_contents($this->dir.$key.'.cache', $serialized))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
function purge($all)
|
||||
{
|
||||
$files = glob($this->dir.'*.cache');
|
||||
if (empty($files))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
$limit = time() - $this->default_lifetime;
|
||||
foreach ($files as $file)
|
||||
{
|
||||
if ($all || @filemtime($file) < $limit)
|
||||
@unlink($file);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
160
sources/include/inflectors/en.php
Normal file
160
sources/include/inflectors/en.php
Normal file
|
@ -0,0 +1,160 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
class Inflector_en
|
||||
{
|
||||
private $exceptions;
|
||||
private $pluralizers;
|
||||
private $singularizers;
|
||||
|
||||
function __construct()
|
||||
{
|
||||
$tmp = array ('octopus' => 'octopuses',
|
||||
'virus' => 'viruses',
|
||||
'person' => 'people',
|
||||
'man' => 'men',
|
||||
'woman' => 'women',
|
||||
'child' => 'children',
|
||||
'move' => 'moves',
|
||||
'mouse' => 'mice',
|
||||
'ox' => 'oxen',
|
||||
'zombie' => 'zombies', // pl->sg exc.
|
||||
'serie' => 'series', // pl->sg exc.
|
||||
'movie' => 'movies', // pl->sg exc.
|
||||
);
|
||||
|
||||
$this->exceptions = $tmp;
|
||||
foreach ($tmp as $k => $v)
|
||||
$this->exceptions[$v] = $k;
|
||||
|
||||
foreach ( explode(' ', 'new news advice art coal baggage butter clothing cotton currency deer energy equipment experience fish flour food furniture gas homework impatience information jeans knowledge leather love luggage money oil patience police polish progress research rice series sheep silk soap species sugar talent toothpaste travel vinegar weather wood wool work')
|
||||
as $v)
|
||||
{
|
||||
$this->exceptions[$v] = 0;
|
||||
}
|
||||
|
||||
$this->pluralizers = array_reverse(array( '/$/' => 's',
|
||||
'/s$/' => 's',
|
||||
'/^(ax|test)is$/' => '\1es',
|
||||
'/(alias|status)$/' => '\1es',
|
||||
'/(bu)s$/' => '\1ses',
|
||||
'/(buffal|tomat)o$/' => '\1oes',
|
||||
'/([ti])um$/' => '\1a',
|
||||
'/([ti])a$/' => '\1a',
|
||||
'/sis$/' => 'ses',
|
||||
'/(?:([^f])fe|([lr])f)$/' => '\1\2ves',
|
||||
'/(hive)$/' => '\1s',
|
||||
'/([^aeiouy]|qu)y$/' => '\1ies',
|
||||
'/(x|ch|ss|sh)$/' => '\1es',
|
||||
'/(matr|vert|ind)(?:ix|ex)$/' => '\1ices',
|
||||
'/(quiz)$/' => '\1zes',
|
||||
));
|
||||
|
||||
$this->singularizers = array_reverse(array(
|
||||
'/s$/' => '',
|
||||
'/(ss)$/' => '\1',
|
||||
'/([ti])a$/' => '\1um',
|
||||
'/((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)(sis|ses)$/' => '\1sis',
|
||||
'/(^analy)(sis|ses)$/' => '\1sis',
|
||||
'/([^f])ves$/' => '\1fe',
|
||||
'/(hive)s$/' => '\1',
|
||||
'/(tive)s$/' => '\1',
|
||||
'/([lr])ves$/' => '\1f',
|
||||
'/([^aeiouy]|qu)ies$/' => '\1y',
|
||||
'/(x|ch|ss|sh)es$/' => '\1',
|
||||
'/(bus)(es)?$/' => '\1',
|
||||
'/(o)es$/' => '\1',
|
||||
'/(shoe)s$/' => '\1',
|
||||
'/(cris|test)(is|es)$/' => '\1is',
|
||||
'/^(a)x[ie]s$/' => '\1xis',
|
||||
'/(alias|status)(es)?$/' => '\1',
|
||||
'/(vert|ind)ices$/' => '\1ex',
|
||||
'/(matr)ices$/' => '\1ix',
|
||||
'/(quiz)zes$/' => '\1',
|
||||
'/(database)s$/' => '\1',
|
||||
));
|
||||
|
||||
$this->er2ing = array_reverse(array(
|
||||
'/ers?$/' => 'ing',
|
||||
'/(be|draw|liv)ers?$/' => '\0'
|
||||
));
|
||||
|
||||
$this->ing2er = array_reverse(array(
|
||||
'/ing$/' => 'er',
|
||||
'/(snow|rain)ing$/' => '\1',
|
||||
'/(th|hous|dur|spr|wedd)ing$/' => '\0',
|
||||
'/(liv|draw)ing$/' => '\0'
|
||||
));
|
||||
|
||||
}
|
||||
|
||||
function get_variants($word)
|
||||
{
|
||||
$res = array();
|
||||
|
||||
$lword = strtolower($word);
|
||||
|
||||
$rc = @$this->exceptions[$lword];
|
||||
if ( isset($rc) )
|
||||
{
|
||||
if (!empty($rc))
|
||||
$res[] = $rc;
|
||||
return $res;
|
||||
}
|
||||
|
||||
self::run($this->pluralizers, $word, $res);
|
||||
self::run($this->singularizers, $word, $res);
|
||||
if (strlen($word)>4)
|
||||
{
|
||||
self::run($this->er2ing, $word, $res);
|
||||
}
|
||||
if (strlen($word)>5)
|
||||
{
|
||||
$rc = self::run($this->ing2er, $word, $res);
|
||||
if ($rc !== false)
|
||||
{
|
||||
self::run($this->pluralizers, $rc, $res);
|
||||
}
|
||||
}
|
||||
return $res;
|
||||
}
|
||||
|
||||
private static function run($rules, $word, &$res)
|
||||
{
|
||||
foreach ($rules as $rule => $replacement)
|
||||
{
|
||||
$rc = preg_replace($rule.'i', $replacement, $word, -1, $count);
|
||||
if ($count)
|
||||
{
|
||||
if ($rc !== $word)
|
||||
{
|
||||
$res[] = $rc;
|
||||
return $rc;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
?>
|
96
sources/include/inflectors/fr.php
Normal file
96
sources/include/inflectors/fr.php
Normal file
|
@ -0,0 +1,96 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
class Inflector_fr
|
||||
{
|
||||
private $exceptions;
|
||||
private $pluralizers;
|
||||
private $singularizers;
|
||||
|
||||
function __construct()
|
||||
{
|
||||
$tmp = array ('monsieur' => 'messieurs',
|
||||
'madame' => 'mesdames',
|
||||
'mademoiselle' => 'mesdemoiselles',
|
||||
);
|
||||
|
||||
$this->exceptions = $tmp;
|
||||
foreach ($tmp as $k => $v)
|
||||
$this->exceptions[$v] = $k;
|
||||
|
||||
$this->pluralizers = array_reverse(array( '/$/' => 's',
|
||||
'/(bijou|caillou|chou|genou|hibou|joujou|pou|au|eu|eau)$/' => '\1x',
|
||||
'/(bleu|émeu|landau|lieu|pneu|sarrau)$/' => '\1s',
|
||||
'/al$/' => 'aux',
|
||||
'/ail$/' => 'ails',
|
||||
'/(b|cor|ém|gemm|soupir|trav|vant|vitr)ail$/' => '\1aux',
|
||||
'/(s|x|z)$/' => '\1',
|
||||
));
|
||||
|
||||
$this->singularizers = array_reverse(array(
|
||||
'/s$/' => '',
|
||||
'/(bijou|caillou|chou|genou|hibou|joujou|pou|au|eu|eau)x$/' => '\1',
|
||||
'/(journ|chev)aux$/' => '\1al',
|
||||
'/ails$/' => 'ail',
|
||||
'/(b|cor|ém|gemm|soupir|trav|vant|vitr)aux$/' => '\1ail',
|
||||
));
|
||||
}
|
||||
|
||||
function get_variants($word)
|
||||
{
|
||||
$res = array();
|
||||
|
||||
$word = strtolower($word);
|
||||
|
||||
$rc = @$this->exceptions[$word];
|
||||
if ( isset($rc) )
|
||||
{
|
||||
if (!empty($rc))
|
||||
$res[] = $rc;
|
||||
return $res;
|
||||
}
|
||||
|
||||
foreach ($this->pluralizers as $rule => $replacement)
|
||||
{
|
||||
$rc = preg_replace($rule, $replacement, $word, -1, $count);
|
||||
if ($count)
|
||||
{
|
||||
$res[] = $rc;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($this->singularizers as $rule => $replacement)
|
||||
{
|
||||
$rc = preg_replace($rule, $replacement, $word, -1, $count);
|
||||
if ($count)
|
||||
{
|
||||
$res[] = $rc;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
}
|
||||
?>
|
9
sources/include/php_compat/gzopen.php
Normal file
9
sources/include/php_compat/gzopen.php
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
if (!function_exists('gzopen') && function_exists('gzopen64'))
|
||||
{
|
||||
function gzopen(string $filename , string $mode, int $use_include_path = null)
|
||||
{
|
||||
return gzopen64($filename, $mode, $use_include_path);
|
||||
}
|
||||
}
|
||||
?>
|
37
sources/install/db/140-database.php
Normal file
37
sources/install/db/140-database.php
Normal file
|
@ -0,0 +1,37 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
if (!defined('PHPWG_ROOT_PATH'))
|
||||
{
|
||||
die('Hacking attempt!');
|
||||
}
|
||||
|
||||
$upgrade_description = '#tags.name is not binary';
|
||||
|
||||
// add fields
|
||||
$query = 'ALTER TABLE '.TAGS_TABLE.' CHANGE COLUMN `name` `name` VARCHAR(255) NOT NULL DEFAULT \'\'';
|
||||
pwg_query($query);
|
||||
|
||||
echo "\n".$upgrade_description."\n";
|
||||
|
||||
?>
|
45
sources/install/db/141-database.php
Normal file
45
sources/install/db/141-database.php
Normal file
|
@ -0,0 +1,45 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
defined('PHPWG_ROOT_PATH') or die('Hacking attempt!');
|
||||
|
||||
$upgrade_description = 'add lastmodified field for categories, images, groups, users, tags';
|
||||
|
||||
$tables = array(
|
||||
CATEGORIES_TABLE,
|
||||
GROUPS_TABLE,
|
||||
IMAGES_TABLE,
|
||||
TAGS_TABLE,
|
||||
USER_INFOS_TABLE
|
||||
);
|
||||
|
||||
foreach ($tables as $table)
|
||||
{
|
||||
pwg_query('
|
||||
ALTER TABLE '. $table .'
|
||||
ADD `lastmodified` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
ADD INDEX `lastmodified` (`lastmodified`)
|
||||
;');
|
||||
}
|
||||
|
||||
echo "\n".$upgrade_description."\n";
|
35
sources/install/db/142-database.php
Normal file
35
sources/install/db/142-database.php
Normal file
|
@ -0,0 +1,35 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
if (!defined('PHPWG_ROOT_PATH'))
|
||||
{
|
||||
die('Hacking attempt!');
|
||||
}
|
||||
|
||||
$upgrade_description = 'add "comments_enable_website" parameter';
|
||||
|
||||
conf_update_param('comments_enable_website', 'true');
|
||||
|
||||
echo "\n".$upgrade_description."\n";
|
||||
|
||||
?>
|
60
sources/install/db/143-database.php
Normal file
60
sources/install/db/143-database.php
Normal file
|
@ -0,0 +1,60 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
if (!defined('PHPWG_ROOT_PATH'))
|
||||
{
|
||||
die('Hacking attempt!');
|
||||
}
|
||||
|
||||
$upgrade_description = 'enlarge your user_id (16 millions possible users)';
|
||||
|
||||
// we use PREFIX_TABLE, in case Piwigo uses an external user table
|
||||
pwg_query('ALTER TABLE '.PREFIX_TABLE.'users CHANGE id id MEDIUMINT UNSIGNED NOT NULL AUTO_INCREMENT;');
|
||||
pwg_query('ALTER TABLE '.IMAGES_TABLE.' CHANGE added_by added_by MEDIUMINT UNSIGNED NOT NULL DEFAULT \'0\';');
|
||||
pwg_query('ALTER TABLE '.COMMENTS_TABLE.' CHANGE author_id author_id MEDIUMINT UNSIGNED DEFAULT NULL;');
|
||||
|
||||
$tables = array(
|
||||
USER_ACCESS_TABLE,
|
||||
USER_CACHE_TABLE,
|
||||
USER_FEED_TABLE,
|
||||
USER_GROUP_TABLE,
|
||||
USER_INFOS_TABLE,
|
||||
USER_CACHE_CATEGORIES_TABLE,
|
||||
USER_MAIL_NOTIFICATION_TABLE,
|
||||
RATE_TABLE,
|
||||
CADDIE_TABLE,
|
||||
FAVORITES_TABLE,
|
||||
HISTORY_TABLE,
|
||||
);
|
||||
|
||||
foreach ($tables as $table)
|
||||
{
|
||||
pwg_query('
|
||||
ALTER TABLE '.$table.'
|
||||
CHANGE user_id user_id MEDIUMINT UNSIGNED NOT NULL DEFAULT \'0\'
|
||||
;');
|
||||
}
|
||||
|
||||
echo "\n".$upgrade_description."\n";
|
||||
|
||||
?>
|
43
sources/install/db/144-database.php
Normal file
43
sources/install/db/144-database.php
Normal file
|
@ -0,0 +1,43 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
if (!defined('PHPWG_ROOT_PATH'))
|
||||
{
|
||||
die('Hacking attempt!');
|
||||
}
|
||||
|
||||
$upgrade_description = 'add activation_key_expire';
|
||||
|
||||
// we use PREFIX_TABLE, in case Piwigo uses an external user table
|
||||
pwg_query('
|
||||
ALTER TABLE '.USER_INFOS_TABLE.'
|
||||
CHANGE activation_key activation_key VARCHAR(255) DEFAULT NULL,
|
||||
ADD COLUMN activation_key_expire DATETIME DEFAULT NULL AFTER activation_key
|
||||
;');
|
||||
|
||||
// purge current expiration keys
|
||||
pwg_query('UPDATE '.USER_INFOS_TABLE.' SET activation_key = NULL;');
|
||||
|
||||
echo "\n".$upgrade_description."\n";
|
||||
|
||||
?>
|
125
sources/install/upgrade_2.6.0.php
Normal file
125
sources/install/upgrade_2.6.0.php
Normal file
|
@ -0,0 +1,125 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
if (!defined('PHPWG_ROOT_PATH'))
|
||||
{
|
||||
die ('This page cannot be loaded directly, load upgrade.php');
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!defined('PHPWG_IN_UPGRADE') or !PHPWG_IN_UPGRADE)
|
||||
{
|
||||
die ('Hacking attempt!');
|
||||
}
|
||||
}
|
||||
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Fill upgrade table without applying upgrade |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
// retrieve already applied upgrades
|
||||
$query = '
|
||||
SELECT id
|
||||
FROM '.PREFIX_TABLE.'upgrade
|
||||
;';
|
||||
$applied = array_from_query($query, 'id');
|
||||
|
||||
// retrieve existing upgrades
|
||||
$existing = get_available_upgrade_ids();
|
||||
|
||||
// which upgrades need to be applied?
|
||||
$to_apply = array_diff($existing, $applied);
|
||||
$inserts = array();
|
||||
foreach ($to_apply as $upgrade_id)
|
||||
{
|
||||
if ($upgrade_id >= 140) // TODO change on each release
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
array_push(
|
||||
$inserts,
|
||||
array(
|
||||
'id' => $upgrade_id,
|
||||
'applied' => CURRENT_DATE,
|
||||
'description' => '[migration from 2.6.0 to '.PHPWG_VERSION.'] not applied', // TODO change on each release
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
if (!empty($inserts))
|
||||
{
|
||||
mass_inserts(
|
||||
'`'.UPGRADE_TABLE.'`',
|
||||
array_keys($inserts[0]),
|
||||
$inserts
|
||||
);
|
||||
}
|
||||
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Perform upgrades |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
ob_start();
|
||||
echo '<pre>';
|
||||
|
||||
for ($upgrade_id = 140; $upgrade_id <= 144; $upgrade_id++) // TODO change on each release
|
||||
{
|
||||
if (!file_exists(UPGRADES_PATH.'/'.$upgrade_id.'-database.php'))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
// maybe the upgrade task has already been applied in a previous and
|
||||
// incomplete upgrade
|
||||
if (in_array($upgrade_id, $applied))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
unset($upgrade_description);
|
||||
|
||||
echo "\n\n";
|
||||
echo '=== upgrade '.$upgrade_id."\n";
|
||||
|
||||
// include & execute upgrade script. Each upgrade script must contain
|
||||
// $upgrade_description variable which describe briefly what the upgrade
|
||||
// script does.
|
||||
include(UPGRADES_PATH.'/'.$upgrade_id.'-database.php');
|
||||
|
||||
// notify upgrade (TODO change on each release)
|
||||
$query = '
|
||||
INSERT INTO `'.PREFIX_TABLE.'upgrade`
|
||||
(id, applied, description)
|
||||
VALUES
|
||||
(\''.$upgrade_id.'\', NOW(), \'[migration from 2.6.0 to '.PHPWG_VERSION.'] '.$upgrade_description.'\')
|
||||
;';
|
||||
pwg_query($query);
|
||||
}
|
||||
|
||||
echo '</pre>';
|
||||
ob_end_clean();
|
||||
|
||||
// now we upgrade from 2.7.0
|
||||
// include_once(PHPWG_ROOT_PATH.'install/upgrade_2.7.0.php');
|
||||
?>
|
134
sources/language/en_UK/help/quick_search.html
Normal file
134
sources/language/en_UK/help/quick_search.html
Normal file
|
@ -0,0 +1,134 @@
|
|||
<h2>Search</h2>
|
||||
|
||||
<p>By default all searched terms must match. Searches are case-insensitive.</p>
|
||||
|
||||
<table class="qsearch_help_table">
|
||||
<tr>
|
||||
<td>quoted phrase<br>
|
||||
<q>"search"</q>
|
||||
</td>
|
||||
<td>Use quotes to search for an exact word or phrase.<br>
|
||||
<q>"george washington"</q></td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>either term<br>
|
||||
<q>OR search</q><br>
|
||||
</td>
|
||||
<td>Add an OR between words.<br>
|
||||
<q>john OR bill</q></td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>exclude<br>
|
||||
<q>NOT search</q><br>
|
||||
<q>-search</q>
|
||||
</td>
|
||||
<td>Add a dash (-) or NOT before a word to exclude from search. Note that NOT acts as a filtering operator so you cannot have a search containing only NOT operators. You cannot combine OR with NOT (<q>john OR NOT bill</q> is not valid)<br>
|
||||
<q>george washington NOT bush</q></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>grouping<br>
|
||||
<q>()</q><br>
|
||||
</td>
|
||||
<td><br>
|
||||
<q>(mother OR father) AND (daugther OR son)</q></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<table class="qsearch_help_table">
|
||||
|
||||
<tr>
|
||||
<td><q>tag:</q><br>
|
||||
<q>tags:</q>
|
||||
</td>
|
||||
<td>Searches only in tag names without looking at photo titles or descriptions.<br>
|
||||
<q>tag:john</q>, <q>tag:(john OR bill)</q></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><q>photo:</q><br>
|
||||
<q>photos:</q>
|
||||
</td>
|
||||
<td>Searches only for photos with the given words in title or description.<br>
|
||||
<q>photo:John</q></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><q>file:</q>
|
||||
</td>
|
||||
<td>Searches by file name.<br>
|
||||
<q>file:DSC_</q></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><q>created:</q><br>
|
||||
<q>taken:</q>
|
||||
<q>shot:</q>
|
||||
</td>
|
||||
<td>Searches photos by taken date.<br>
|
||||
<q>taken:2003</q> photos taken in 2003<br>
|
||||
<q>taken:20035</q>,<q>taken:2003-5</q>,<q>taken:2003-05</q> photos from may 2003<br>
|
||||
<q>taken:2003..2008</q> photos from 2003 to 2008<br>
|
||||
<q>taken:>2008</q>,<q>taken:2008*</q>,<q>taken:2008..</q> photos afteer Jan 1st 2008<br>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><q>posted:</q>
|
||||
</td>
|
||||
<td>Searches photos by posted date.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><q>width:</q><br>
|
||||
<q>height:</q>
|
||||
</td>
|
||||
<td>Searches photos with a given width or height.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><q>size:</q>
|
||||
</td>
|
||||
<td>Searches photos by size in pixels<br>
|
||||
<q>size:5m</q> returns photos of 5 megapixels<br>
|
||||
<q>size:>12m</q> returns photos of 12 megapixels or more<br></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><q>ratio:</q>
|
||||
</td>
|
||||
<td>Searches photos by width/height ratio.<br>
|
||||
<q>ratio:3/4 OR ratio:4/3</q> finds photos from compact cameras in portrait or landscape modes
|
||||
<q>ratio:>16/9</q> finds panoramas
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><q>hits:</q>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><q>score:</q><br>
|
||||
<q>rating:</q>
|
||||
</td>
|
||||
<td>Hint: <q>score:*</q> will give you all photos with at least one vote. <q>score:</q> will give you photos without votes.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><q>filesize:</q>
|
||||
</td>
|
||||
<td>Searches photos by file size<br>
|
||||
<q>filesize:1m..10m</q> finds files between 1MB and 10MB.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><q>id:</q>
|
||||
</td>
|
||||
<td>Searches photos by its numeric identifier in Piwigo<br>
|
||||
<q>id:123..126</q> finds photo 123 to 126 (it may find between 0 and 4 photos, because photos can be deleted).</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
23
sources/language/en_US/admin.lang.php
Normal file
23
sources/language/en_US/admin.lang.php
Normal file
|
@ -0,0 +1,23 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
$lang['iPhoto is the default photo manager on MacOSX. The Piwigo export plugin let you create new albums and export your photos directly from iPhoto to your Piwigo photo gallery.'] = 'iPhoto is the default photo manager on MacOSX. The Piwigo export plugin lets you create new albums and export your photos directly from iPhoto to your Piwigo photo gallery.';
|
429
sources/language/es_MX/common.lang.php
Normal file
429
sources/language/es_MX/common.lang.php
Normal file
|
@ -0,0 +1,429 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
/*
|
||||
Language Name: México [MX]
|
||||
Version: 2.7.1
|
||||
Language URI: http://piwigo.org/ext/extension_view.php?eid=726
|
||||
Author: Piwigo team
|
||||
Author URI: http://piwigo.org
|
||||
*/
|
||||
|
||||
// Langage informations
|
||||
$lang_info['language_name'] = 'México';
|
||||
$lang_info['country'] = 'Mexico';
|
||||
$lang_info['direction'] = 'ltr';
|
||||
$lang_info['code'] = 'es';
|
||||
$lang_info['zero_plural'] = true;
|
||||
|
||||
$lang['%d comments'] = '%d comentarios';
|
||||
$lang['%d hit'] = '%d vista';
|
||||
$lang['%d hits'] = '%d vistas';
|
||||
$lang['%d Kb'] = '%d Kb';
|
||||
$lang['%d new comment'] = '%d nuevo comentario';
|
||||
$lang['%d new comments'] = '%d nuevos comentarios';
|
||||
$lang['%d new photo'] = '%d nueva foto';
|
||||
$lang['%d new photos'] = '%d nueva foto';
|
||||
$lang['%d new user'] = '%d nuevo usuario';
|
||||
$lang['%d new users'] = '%d nuevos usuarios';
|
||||
$lang['Date'] = 'Fecha';
|
||||
$lang['day'][0] = 'Domingo';
|
||||
$lang['day'][1] = 'Lunes';
|
||||
$lang['day'][2] = 'Martes';
|
||||
$lang['day'][3] = 'Miércoles';
|
||||
$lang['day'][4] = 'Jueves';
|
||||
$lang['day'][5] = 'Viernes';
|
||||
$lang['day'][6] = 'Sábado';
|
||||
$lang['month'][10] = 'octubre';
|
||||
$lang['month'][11] = 'Noviembre';
|
||||
$lang['month'][12] = 'Diciembre';
|
||||
$lang['month'][1] = 'Enero';
|
||||
$lang['month'][2] = 'Febrero';
|
||||
$lang['month'][3] = 'Marzo';
|
||||
$lang['month'][4] = 'Abril';
|
||||
$lang['month'][5] = 'Mayo';
|
||||
$lang['month'][6] = 'Junio';
|
||||
$lang['month'][7] = 'Julio';
|
||||
$lang['month'][8] = 'Agosto';
|
||||
$lang['month'][9] = 'Septiembre';
|
||||
|
||||
$lang['return to the display of all photos'] = 'regresar a mostrar todas las fotos';
|
||||
$lang['search'] = 'buscar';
|
||||
$lang['searched words : %s'] = 'parabras buscadas: %s';
|
||||
$lang['set as album representative'] = 'asignar como miniatura de album';
|
||||
$lang['show tag cloud'] = 'mostrar como nube de etiquetas';
|
||||
$lang['slideshow'] = 'pase de diapositivas';
|
||||
$lang['small'] = 'S - pequeña';
|
||||
$lang['square'] = 'Cuadrada';
|
||||
$lang['stop the slideshow'] = 'detener el pase de diapositivas';
|
||||
$lang['the beginning'] = 'el comienzo';
|
||||
$lang['the username must be given'] = 'el nombre de usuario es requerido';
|
||||
$lang['this email address is already in use'] = 'esta dirección de correo electrónico ya está en uso';
|
||||
$lang['this login is already used'] = 'este nombre de usuario ya está en uso';
|
||||
$lang['thumb'] = 'Miniatura';
|
||||
$lang['today'] = 'hoy';
|
||||
$lang['useful when password forgotten'] = 'útil en caso de olvidar la contraseña';
|
||||
$lang['wrong date'] = 'fecha incorrecta';
|
||||
$lang['xlarge'] = 'XL - extra grande';
|
||||
$lang['xsmall'] = 'XS - extra pequeña';
|
||||
$lang['xxlarge'] = 'XXL - enorme';
|
||||
$lang['large'] = 'L - grande';
|
||||
$lang['last %d days'] = 'últimos %d días';
|
||||
$lang['letters'] = 'letras';
|
||||
$lang['login mustn\'t end with a space character'] = 'el nombre de usuario no puede finalizar con un espacio en blanco';
|
||||
$lang['login mustn\'t start with a space character'] = 'el nombre de usuario no debe comenzar con un espacio en blanco';
|
||||
$lang['mail address must be like xxx@yyy.eee (example : jack@altern.org)'] = 'la dirección de correo debe tener el formato xxx@yyy.eee (ejemplo: juan@servicio.org)';
|
||||
$lang['mandatory'] = 'obligatorio';
|
||||
$lang['medium'] = 'M - mediana';
|
||||
$lang['no rate'] = 'sin calificación';
|
||||
$lang['obligatory'] = 'obligatorio';
|
||||
$lang['password updated'] = 'contraseña actualizada';
|
||||
$lang['photo'] = 'foto';
|
||||
$lang['photos posted during the last %d days'] = 'fotos publicadas durante los últimos %d días';
|
||||
$lang['posted after %s (%s)'] = 'publicado después de %s (%s)';
|
||||
$lang['posted before %s (%s)'] = 'publicado antes de %s (%s)';
|
||||
$lang['posted between %s (%s) and %s (%s)'] = 'publicado entre %s (%s) y %s (%s)';
|
||||
$lang['posted on %s'] = 'publicado el %s';
|
||||
$lang['remove this tag from the list'] = 'eliminar esta etiqueta de la lista';
|
||||
$lang['representative'] = 'album de miniaturas';
|
||||
$lang['return to normal view mode'] = 'regresar a modo de vista normal';
|
||||
$lang['display best rated photos'] = 'mostrar las fotos mejor calificadas';
|
||||
$lang['display each day with photos, month per month'] = 'mostrar cada día con fotos, mes a mes';
|
||||
$lang['display last user comments'] = 'mostrar los comentarios de usuario recientes';
|
||||
$lang['display most recent photos'] = 'mostrar las fotos más recientes';
|
||||
$lang['display most visited photos'] = 'mostrar las fotos más visitadas';
|
||||
$lang['display only recently posted photos'] = 'mostrar únicamente fotos recientemente publicadas';
|
||||
$lang['display photos linked to this tag'] = 'mostrar fotos enlazadas a esta etiqueta';
|
||||
$lang['display recently updated albums'] = 'mostrar álbumes recientemente actualizados';
|
||||
$lang['display this album'] = 'actualizar este album';
|
||||
$lang['display your favorites photos'] = 'mostrar tus fotos favoritas';
|
||||
$lang['edit'] = 'editar';
|
||||
$lang['excluded'] = 'excluido';
|
||||
$lang['from %s to %s'] = 'desde %s a %s';
|
||||
$lang['group by letters'] = 'agrupar por letras';
|
||||
$lang['guest'] = 'visitante';
|
||||
$lang['html tags are not allowed in login'] = 'las etiquetas html no están permitidas para ingresar';
|
||||
$lang['in %d sub-album'] = 'en %d subalbum';
|
||||
$lang['in %d sub-albums'] = 'in %d subálbumes';
|
||||
$lang['in this album'] = 'en este album';
|
||||
$lang['included'] = 'incluido';
|
||||
$lang['author(s) : %s'] = 'autor(es): %s';
|
||||
$lang['available for administrators only'] = 'disponible únicamente para administradores';
|
||||
$lang['chronology_monthly_calendar'] = 'Calendario mensual';
|
||||
$lang['chronology_monthly_list'] = 'Lista mensual';
|
||||
$lang['chronology_weekly_list'] = 'Lista semanal';
|
||||
$lang['cloud'] = 'nube';
|
||||
$lang['comment date'] = 'fecha de comentario';
|
||||
$lang['created after %s (%s)'] = 'creado después de %s (%s)';
|
||||
$lang['created before %s (%s)'] = 'creado antes de %s (%s)';
|
||||
$lang['created between %s (%s) and %s (%s)'] = 'creado entre %s (%s) y %s (%s)';
|
||||
$lang['created on %s'] = 'creado el %s';
|
||||
$lang['customize the appareance of the gallery'] = 'personalizar el aspecto de la galería';
|
||||
$lang['delete all photos from your favorites'] = 'eliminar todas las fotos de tus favoritas';
|
||||
$lang['delete this photo from your favorites'] = 'eliminar esta foto de tus favoritas';
|
||||
$lang['descending'] = 'descendente';
|
||||
$lang['display a calendar by creation date'] = 'mostrar un calendario con fecha de creación';
|
||||
$lang['display a calendar by posted date'] = 'mostrar un calendario con fecha de publicación';
|
||||
$lang['display a set of random photos'] = 'mostrar un juego de fotos aleatorias';
|
||||
$lang['display all photos in all sub-albums'] = 'ostrar todas las fotos de todos los subálbumes';
|
||||
$lang['display available tags'] = 'mostrar etiquetas disponibles';
|
||||
$lang['Visits, high → low'] = 'Visitas, mayor → menor';
|
||||
$lang['Visits, low → high'] = 'Visitas, menor → mayor';
|
||||
$lang['Webmaster'] = 'Administrador del sitio';
|
||||
$lang['Website'] = 'Sitio web';
|
||||
$lang['Week %d'] = 'Semana %d';
|
||||
$lang['Welcome'] = 'Bienvenido';
|
||||
$lang['Welcome to your Piwigo photo gallery!'] = '¡Bienvenido a tu galería fotográfica Piwigo!';
|
||||
$lang['Yes'] = 'Sí';
|
||||
$lang['You are not authorized to access the requested page'] = 'No estás autorizado a acceder la página solicitada';
|
||||
$lang['You will receive a link to create a new password via email.'] = 'Recibirás un enlace para generar tu contraseña vía correo electrónico.';
|
||||
$lang['Your Gallery Customization'] = 'Tu personalización de galería';
|
||||
$lang['Your comment has NOT been registered because it did not pass the validation rules'] = 'Tu comentario no ha sido registrado debido a que no cumplió satisfactoriamente las reglas de validación';
|
||||
$lang['Your comment has been registered'] = 'Tu comentario ha sido registrado';
|
||||
$lang['Your favorites'] = 'Tus favoritas';
|
||||
$lang['Your password has been reset'] = 'Tu contraseña ha sido restablecida';
|
||||
$lang['Your username has been successfully changed to : %s'] = 'Tu nombre de usuario ha sido exitosamente cambiado a: %s';
|
||||
$lang['Your website URL is invalid'] = 'La URL de tu sitio web no es válida';
|
||||
$lang['add this photo to your favorites'] = 'agregar esta foto a tus favoritas';
|
||||
$lang['all'] = 'todo';
|
||||
$lang['ascending'] = 'ascendente';
|
||||
$lang['This author modified following comment:'] = 'Este autor modificó el siguiente comentario:';
|
||||
$lang['This author removed the comment with id %d'] = 'Este autor removió el comentario con el id %d';
|
||||
$lang['This login is already used by another user'] = 'Este nombre de usuario ya está en uso';
|
||||
$lang['Thumbnails'] = 'Miniaturas';
|
||||
$lang['To reset your password, visit the following address:'] = 'Para restablecer tu contraseña, visita la siguiente dirección:';
|
||||
$lang['Unknown feed identifier'] = 'Identificador de feed desconocido';
|
||||
$lang['Unknown identifier'] = 'Identificador desconocido';
|
||||
$lang['Update your rating'] = 'Actualiza tu calificación';
|
||||
$lang['User "%s" has no email address, password reset is not possible'] = 'El usuario %s no tiene dirección de correo, no es posible restablecer la contraseña';
|
||||
$lang['User comments'] = 'Comentarios de usuario';
|
||||
$lang['User: %s'] = 'Usuario: %s';
|
||||
$lang['Username'] = 'Nombre de usuario';
|
||||
$lang['Username "%s" on gallery %s'] = 'Nombre de usuario %s en galería %s';
|
||||
$lang['Username is mandatory'] = 'El nombre de usuario es obligatorio';
|
||||
$lang['Username modification'] = 'Cambio de nombre de usuario';
|
||||
$lang['Username or email'] = 'Nombre de usuario o correo electrónico';
|
||||
$lang['Username: %s'] = 'Nombre de usuario: %s';
|
||||
$lang['View'] = 'Ver';
|
||||
$lang['View in'] = 'Ver en';
|
||||
$lang['Visits'] = 'Visitas';
|
||||
$lang['Show latest comments first'] = 'Mostrar primero los últimos comentarios';
|
||||
$lang['Show number of comments'] = 'Mostrar el número de comentarios';
|
||||
$lang['Show number of hits'] = 'Mostrar número de impactos';
|
||||
$lang['Show oldest comments first'] = 'Mostrar primero los comentarios antiguos';
|
||||
$lang['Since'] = 'Desde';
|
||||
$lang['Someone requested that the password be reset for the following user account:'] = 'Alguien solicitó restablecer la contraseña para la siguiente cuenta de usuario:';
|
||||
$lang['Sort by'] = 'Ordenar por';
|
||||
$lang['Sort order'] = 'Orden';
|
||||
$lang['Specials'] = 'Especiales';
|
||||
$lang['Submit'] = 'Enviar';
|
||||
$lang['Successfully registered, you will soon receive an email with your connection settings. Welcome!'] = 'Registro exitoso, pronto recibirás un correo electrónico con tus datos de conexión.
|
||||
¡Bienvenido!';
|
||||
$lang['Tag'] = 'Etiqueta';
|
||||
$lang['Tag results for'] = 'Resultados de etiqueta para';
|
||||
$lang['Tags'] = 'Etiquetas';
|
||||
$lang['Thank you for registering at %s!'] = '¡Gracias por registrarte en %s!';
|
||||
$lang['The RSS notification feed provides notification on news from this website : new photos, updated albums, new comments. Use a RSS feed reader.'] = 'El RSS feed provee notificaciones de nuevos eventos de este sitio web: nuevas fotos, álbumes actualizados, nuevos comentarios. Debe usarse con un lector de RSS feed.';
|
||||
$lang['The gallery is locked for maintenance. Please, come back later.'] = 'La galería está bloqueada por mantenimiento. Por favor regresa más tarde.';
|
||||
$lang['The number of photos per page must be a not null scalar'] = 'El número de fotos por página debe ser un entero mayor a cero';
|
||||
$lang['The passwords do not match'] = 'Las contraseñas no coinciden';
|
||||
$lang['Theme'] = 'Tema';
|
||||
$lang['Requested tag does not exist'] = 'La etiqueta solicitada no existe';
|
||||
$lang['Reset'] = 'Restablecer';
|
||||
$lang['Reset to default values'] = 'Restablecer los valores por defecto';
|
||||
$lang['Retrieve password'] = 'Recuperar contraseña';
|
||||
$lang['Return to home page'] = 'Regresar a página de inicio';
|
||||
$lang['SQL queries in'] = 'Consultas SQL en';
|
||||
$lang['Search'] = 'Buscar';
|
||||
$lang['Search by date'] = 'Buscar por fecha';
|
||||
$lang['Search for Author'] = 'Buscar por autor';
|
||||
$lang['Search for all terms'] = 'Buscar todos los términos';
|
||||
$lang['Search for any term'] = 'Buscar cualquier término';
|
||||
$lang['Search for words'] = 'Buscar por palabras';
|
||||
$lang['Search in albums'] = 'Buscar en álbumes';
|
||||
$lang['Search in sub-albums'] = 'Buscar en subálbumes';
|
||||
$lang['Search results'] = 'Resultados de búsqueda';
|
||||
$lang['Search rules'] = 'Criterios de búsqueda';
|
||||
$lang['Search tags'] = 'Etiquetas de búsqueda';
|
||||
$lang['Send my connection settings by email'] = 'Enviar la configuración de mi conexión por correo';
|
||||
$lang['Sent by'] = 'Enviado por';
|
||||
$lang['Show file metadata'] = 'Mostrar los metadatos del archivo';
|
||||
$lang['Quick search'] = 'Búsqueda rápida';
|
||||
$lang['RSS feed'] = 'RSS feed';
|
||||
$lang['Random photos'] = 'Fotos aleatorias';
|
||||
$lang['Rank'] = 'Calificación';
|
||||
$lang['Rate this photo'] = 'Calificar esta foto';
|
||||
$lang['Rating score'] = 'Calificación';
|
||||
$lang['Rating score, high → low'] = 'Calificación, alta → baja';
|
||||
$lang['Rating score, low → high'] = 'Calificación, baja → alta';
|
||||
$lang['Recent albums'] = 'Álbumes recientes';
|
||||
$lang['Recent period'] = 'Periodo reciente';
|
||||
$lang['Recent period must be a positive integer value'] = 'El periodo reciente debe tener un valor entero positivo';
|
||||
$lang['Recent photos'] = 'Fotos recientes';
|
||||
$lang['Redirection...'] = 'Redireccionando...';
|
||||
$lang['Reduce diaporama speed'] = 'Reducir la velocidad del pase de diapositivas';
|
||||
$lang['Register'] = 'Registro';
|
||||
$lang['Registration'] = 'Registro';
|
||||
$lang['Registration of %s'] = 'Registro de %s';
|
||||
$lang['Related tags'] = 'Etiquetas relacionadas';
|
||||
$lang['Repeat the slideshow'] = 'Repetir el pase de diapositivas';
|
||||
$lang['Requested album does not exist'] = 'El album solicitado no existe';
|
||||
$lang['Photo description'] = 'Descripción de la foto';
|
||||
$lang['Photo sizes'] = 'Tamaños de foto';
|
||||
$lang['Photo title'] = 'Título de foto';
|
||||
$lang['Photo title, A → Z'] = 'Título de foto, A → Z';
|
||||
$lang['Photo title, Z → A'] = 'Título de foto, Z → A';
|
||||
$lang['Photos only RSS feed'] = 'RSS feed solo para fotos';
|
||||
$lang['Photos posted within the last %d day.'] = 'Únicamente fotos publicadas durante el último %d día.';
|
||||
$lang['Photos posted within the last %d days.'] = 'Únicamente fotos publicadas durante los últimos %d días.';
|
||||
$lang['Piwigo Help'] = 'Ayuda de Piwigo';
|
||||
$lang['Piwigo encountered a non recoverable error'] = 'Piwigo encontró un error irrecuperable';
|
||||
$lang['Play of slideshow'] = 'Pase de diapositivas';
|
||||
$lang['Please enter your username or email address.'] = 'Por favor ingresa tu nombre de usuario o dirección de correo electrónico.';
|
||||
$lang['Please, enter a login'] = 'Por favor ingresa un nombre de usuario';
|
||||
$lang['Post date'] = 'Fecha de publicación';
|
||||
$lang['Posted on'] = 'Publicado el';
|
||||
$lang['Powered by'] = 'Funciona con';
|
||||
$lang['Preferences'] = 'Preferencias';
|
||||
$lang['Previous'] = 'Anterior';
|
||||
$lang['Profile'] = 'Perfil';
|
||||
$lang['Quick connect'] = 'Ingreso rápido';
|
||||
$lang['No results for'] = 'Sin resultados para';
|
||||
$lang['Not repeat the slideshow'] = 'No repetir el pase de diapositivas';
|
||||
$lang['Notification'] = 'Notificación';
|
||||
$lang['Number of items'] = 'Número de objetos';
|
||||
$lang['Number of photos per page'] = 'Número de fotos por página';
|
||||
$lang['Numeric identifier, 1 → 9'] = 'Identificador numérico, 1 → 9';
|
||||
$lang['Numeric identifier, 9 → 1'] = 'Identificador numérico, 9 → 1';
|
||||
$lang['Original'] = 'Original';
|
||||
$lang['Original dimensions'] = 'Dimensiones originales';
|
||||
$lang['Page generated in'] = 'Página generada en';
|
||||
$lang['Page not found'] = 'Página no encontrada';
|
||||
$lang['Password'] = 'Contraseña';
|
||||
$lang['Password Reset'] = 'Restablecer contraseña';
|
||||
$lang['Password confirmation is missing. Please confirm the chosen password.'] = 'No se escribió la confirmación de la contraseña. Por favor confirma la contraseña seleccionada.';
|
||||
$lang['Password forgotten'] = 'Contraseña olvidada';
|
||||
$lang['Password is missing. Please enter the password.'] = 'No se escribió la contraseña. Por favor introduce la contraseña.';
|
||||
$lang['Password reset is not allowed for this user'] = 'No se permite restablecer contraseña a este usuario';
|
||||
$lang['Password: %s'] = 'Contraseña: %s';
|
||||
$lang['Pause of slideshow'] = 'Pausar pase de diapositivas';
|
||||
$lang['Permalink for album not found'] = 'Enlace permanente del album no encontrado';
|
||||
$lang['Invalid username or email'] = 'Nombre de usuario o contraseña inválidos';
|
||||
$lang['Keyword'] = 'Palabra clave';
|
||||
$lang['Kind of date'] = 'Tipo de fecha';
|
||||
$lang['Language'] = 'Idioma';
|
||||
$lang['Last'] = 'Última';
|
||||
$lang['Last Page'] = 'Última página';
|
||||
$lang['Link: %s'] = 'Enlace: %s';
|
||||
$lang['Links'] = 'Enlaces';
|
||||
$lang['Login'] = 'Ingresar';
|
||||
$lang['Logout'] = 'Salir';
|
||||
$lang['Manage this user comment: %s'] = 'Administrar este comentario de usuario: %s';
|
||||
$lang['Manual sort order'] = 'Orden manual';
|
||||
$lang['Menu'] = 'Menú';
|
||||
$lang['Mobile'] = 'Móvil';
|
||||
$lang['Most visited'] = 'Más visitadas';
|
||||
$lang['N/A'] = 'N/A';
|
||||
$lang['New on %s'] = 'Nueva en %s';
|
||||
$lang['New password'] = 'Nueva contraseña';
|
||||
$lang['Next'] = 'Siguiente';
|
||||
$lang['No'] = 'No';
|
||||
$lang['If you think you\'ve received this email in error, please contact us at %s'] = 'Si consideras haber recibido este mensaje por error, por favor contáctanos en %s';
|
||||
$lang['Invalid key'] = 'Llave inválida';
|
||||
$lang['Invalid password!'] = '¡Contraseña inválida!';
|
||||
$lang['First'] = 'Primera';
|
||||
$lang['First Page'] = 'Primera página';
|
||||
$lang['Forbidden'] = 'Prohibido';
|
||||
$lang['Forgot your password?'] = '¿Olvidaste tu contraseña?';
|
||||
$lang['Go back to the album'] = 'Regresar al album';
|
||||
$lang['Go through the gallery as a visitor'] = 'Navegar por la galería como visitante';
|
||||
$lang['Hello'] = 'Hola';
|
||||
$lang['Hello %s,'] = 'Hola %s,';
|
||||
$lang['Hello %s, your Piwigo photo gallery is empty!'] = 'Hola %s, ¡tu galería Piwigo está vacía!';
|
||||
$lang['Help'] = 'Ayuda';
|
||||
$lang['Here are your connection settings'] = 'Estas son tus configuraciones de conexión';
|
||||
$lang['Home'] = 'Inicio';
|
||||
$lang['I want to add photos'] = 'Quiero agregar fotos';
|
||||
$lang['IP: %s'] = 'IP: %s';
|
||||
$lang['IPTC Metadata'] = 'IPTC Metadata';
|
||||
$lang['Identification'] = 'Identificación';
|
||||
$lang['If this was a mistake, just ignore this email and nothing will happen.'] = 'Si se trata de un error, solo ignora este mensaje y no se realizará ninguna acción.';
|
||||
$lang['Edit a comment'] = 'Editar un comentario';
|
||||
$lang['Email'] = 'Correo electrónico';
|
||||
$lang['Email address'] = 'Dirección de correo electrónico';
|
||||
$lang['Email address is mandatory'] = 'La dirección de correo electrónico es obligatoria';
|
||||
$lang['Email address is missing. Please specify an email address.'] = 'No se especificó una dirección de correo electrónico. Por favor introdúcela.';
|
||||
$lang['Email: %s'] = 'Correo electrónico: %s';
|
||||
$lang['Empty query. No criteria has been entered.'] = 'Consulta vacía. No se han introducido criterios.';
|
||||
$lang['End-Date'] = 'Fecha de finalización';
|
||||
$lang['Enter your new password below.'] = 'Introduce tu nueva contraseña abajo.';
|
||||
$lang['Enter your personnal informations'] = 'Introduce tus datos personales';
|
||||
$lang['Error sending email'] = 'Error al enviar correo';
|
||||
$lang['Expand all albums'] = 'Expandir todos los álbumes';
|
||||
$lang['Favorites'] = 'Favoritas';
|
||||
$lang['File'] = 'Archivo';
|
||||
$lang['File name'] = 'Nombre de archivo';
|
||||
$lang['File name, A → Z'] = 'Nombre de archivo, A &arr; Z';
|
||||
$lang['File name, Z → A'] = 'Nombre de archivo, Z &arr; A';
|
||||
$lang['Filesize'] = 'Tamaño de archivo';
|
||||
$lang['Filter'] = 'Filtro';
|
||||
$lang['Filter and display'] = 'Filtrar y mostrar';
|
||||
$lang['Cookies are blocked or not supported by your browser. You must enable cookies to connect.'] = 'Las cookies están bloqueadas o tu navegador no las soporta. Debes habilitar el uso de cookies para poder ingresar.';
|
||||
$lang['Create a new account'] = 'Crear una nueva cuenta';
|
||||
$lang['Created on'] = 'Creada el';
|
||||
$lang['Creation date'] = 'Fecha de creación';
|
||||
$lang['Current password is wrong'] = 'La contraseña usada es incorrecta';
|
||||
$lang['Customize'] = 'Personalizar';
|
||||
$lang['Date created, new → old'] = 'Fecha de creación, nueva → antigua';
|
||||
$lang['Date created, old → new'] = 'Fecha de creación, antigua → nueva';
|
||||
$lang['Date posted, new → old'] = 'Fecha de publicación, nueva → antigua';
|
||||
$lang['Date posted, old → new'] = 'Fecha de publicación, antigua → nueva';
|
||||
$lang['Default'] = 'Por defecto';
|
||||
$lang['Delete'] = 'Eliminar';
|
||||
$lang['Desktop'] = 'Escritorio';
|
||||
$lang['Dimensions'] = 'Dimensiones';
|
||||
$lang['Display'] = 'Mostrar';
|
||||
$lang['Download'] = 'descargar';
|
||||
$lang['Download this file'] = 'Descargar este archivo';
|
||||
$lang['EXIF Metadata'] = 'EXIF Metadata';
|
||||
$lang['Each listed rule must be satisfied.'] = 'Todos los criterios de búsqueda deben cumplirse.';
|
||||
$lang['Edit'] = 'Editar';
|
||||
$lang['Bad request'] = 'Solicitud incorrecta';
|
||||
$lang['Bad status for user "guest", using default status. Please notify the webmaster.'] = 'Estado incorrecto para usuario "visitante", se aplicará el estado por defecto. Por favor notifica al administrador del sitio.';
|
||||
$lang['Best rated'] = 'Mejor calificadas';
|
||||
$lang['Browser: %s'] = 'Navegador: %s';
|
||||
$lang['Calendar'] = 'Calendario';
|
||||
$lang['Change my password'] = 'Cambiar mi contraseña';
|
||||
$lang['Check your email for the confirmation link'] = 'Verifica la liga de confirmación en tu correo';
|
||||
$lang['Click here if your browser does not automatically forward you'] = 'Clica aquí si tu navegador no te redirige de forma automática';
|
||||
$lang['Click on the photo to see it in high definition'] = 'Clica en la foto para verla en alta definición';
|
||||
$lang['Close this window'] = 'Cerrar esta ventana';
|
||||
$lang['Comment'] = 'Comentario';
|
||||
$lang['Comment by %s'] = 'Comentario de %s';
|
||||
$lang['Comment: %s'] = 'Comentario: %s';
|
||||
$lang['Comments'] = 'Comentarios';
|
||||
$lang['Complete RSS feed (photos, comments)'] = 'RSS feed completo (fotos, comentarios)';
|
||||
$lang['Confirm Password'] = 'Confirma tu contraseña';
|
||||
$lang['Connected user: %s'] = 'Usuario conectado: %s';
|
||||
$lang['Connection settings'] = 'Configuración de conexión';
|
||||
$lang['Contact'] = 'Contacto';
|
||||
$lang['Contact webmaster'] = 'Contactar al administrador del sitio';
|
||||
$lang['Add a comment'] = 'Agregar un comentario';
|
||||
$lang['Admin: %s'] = 'Admin: %s';
|
||||
$lang['Administration'] = 'Administración';
|
||||
$lang['Album'] = 'Album';
|
||||
$lang['Album name, A → Z'] = 'Nombre del album, A → Z';
|
||||
$lang['Album name, Z → A'] = 'Nombre del album, Z → A';
|
||||
$lang['Album results for'] = 'Resultados del album para';
|
||||
$lang['Album: %s'] = 'Album: %s';
|
||||
$lang['Albums'] = 'Álbumes';
|
||||
$lang['All'] = 'Todo';
|
||||
$lang['All tags'] = 'Todas las etiquetas';
|
||||
$lang['An administrator must authorize your comment before it is visible.'] = 'Un administración debe autorizar tu comentario para que sea visible.';
|
||||
$lang['Anti-flood system : please wait for a moment before trying to post another comment'] = 'Sistema anti-flood: por favor espera un momento antes de intentar publicar un nuevo comentario';
|
||||
$lang['Any tag'] = 'Cualquier etiqueta';
|
||||
$lang['Apply on properties'] = 'Aplicar las propiedades';
|
||||
$lang['Are you sure?'] = '¿Estás seguro?';
|
||||
$lang['At least one listed rule must be satisfied.'] = 'Al menos un de los criterios listados debe cumplirse.';
|
||||
$lang['Author'] = 'Autor';
|
||||
$lang['Author: %s'] = 'Autor: %s';
|
||||
$lang['Auto login'] = 'Ingresar automáticamente';
|
||||
$lang['%d album updated'] = '%d album actualizado';
|
||||
$lang['%d albums updated'] = '%d álbumes actualizados';
|
||||
$lang['%d comment'] = '%d comentario';
|
||||
$lang['%d comment to validate'] = '%d comentario en espera de ser validado';
|
||||
$lang['%d comments to validate'] = '%d comentarios en espera de ser validados';
|
||||
$lang['%d photo'] = '%d foto';
|
||||
$lang['%d photo is also linked to current tags'] = '%d foto está también vinculada a las etiquetas';
|
||||
$lang['%d photos'] = '%d fotos';
|
||||
$lang['%d photos are also linked to current tags'] = '%d fotos están también vinculadas a las etiquetas';
|
||||
$lang['%d photos per page'] = '%d fotos por página';
|
||||
$lang['%d rate'] = '%d calificación';
|
||||
$lang['%d rates'] = '%d calificaciones';
|
||||
$lang['(!) This comment requires validation'] = '(!) Este comentario necesita ser validado';
|
||||
$lang['... or browse your empty gallery'] = '... o explora tu galería vacía';
|
||||
$lang['... or please deactivate this message, I will find my way by myself'] = '... o por favor desactiva este mensaje, encontraré la forma por mí mismo.';
|
||||
$lang['2small'] = 'XXS - diminuta';
|
||||
$lang['A comment on your site'] = 'Un comentario en tu sitio';
|
||||
$lang['About'] = 'Acerca de';
|
||||
$lang['About Piwigo'] = 'Acerca de Piwigo';
|
||||
$lang['Accelerate diaporama speed'] = 'Incrementar la velocidad del pase de diapositivas';
|
BIN
sources/language/es_MX/es_MX.jpg
Normal file
BIN
sources/language/es_MX/es_MX.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
66
sources/language/es_MX/install.lang.php
Normal file
66
sources/language/es_MX/install.lang.php
Normal file
|
@ -0,0 +1,66 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
$lang['user login given by your host provider'] = 'nombre de usuario suministrado por tu proveedor de hospedaje';
|
||||
$lang['user password given by your host provider'] = 'contraseña suministrada por tu proveedor de hospedaje';
|
||||
$lang['verification'] = 'verificación';
|
||||
$lang['webmaster login can\'t contain characters \' or "'] = 'el nombre de usuario del administrador del sitio no puede contener caracteres \' o "';
|
||||
$lang['Need help ? Ask your question on <a href="%s">Piwigo message board</a>.'] = '¿Necesitas ayuda? Plantea tu pregunta en el <a href="%s">tablero de mensajes Piwigo</a>.';
|
||||
$lang['Note you can change your configuration by yourself and restart Piwigo after that.'] = 'Ten en cuenta que puedes modificar tu configuración por ti mismo y después reiniciar Piwigo.';
|
||||
$lang['PHP 5 is required'] = 'Se requiere PHP 5.2';
|
||||
$lang['Password ']['confirm'] = 'Contraseña [confirmación]';
|
||||
$lang['Piwigo may try to switch your configuration to PHP 5 by creating or modifying a .htaccess file.'] = 'Piwigo puede intentar de cambiar tu configuración a PHP 5.2 creando o modificando el archivo .htaccess';
|
||||
$lang['Piwigo was not able to configure PHP 5.'] = 'Piwigo no pudo configurar PHP 5.2';
|
||||
$lang['Sorry!'] = '¡Disculpa!';
|
||||
$lang['Start Install'] = 'Comenzar instalación';
|
||||
$lang['Try to configure PHP 5'] = 'Intenta configurar PHP 5.2';
|
||||
$lang['User'] = 'Usuario';
|
||||
$lang['Visitors will be able to contact site administrator with this mail'] = 'Los visitantes podrán utilizar este correo electrónico para contactar al administrador del sitio';
|
||||
$lang['Welcome to my photo gallery'] = 'Bienvenido a mi galería de fotos';
|
||||
$lang['Welcome to your new installation of Piwigo!'] = '¡Bienvenido a tu nieva instalación de Piwigo!';
|
||||
$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'Puedes descargar el archivo de configuración y cargarlo al directorio local/config de tu instalación.';
|
||||
$lang['You may referer to your hosting provider\'s support and see how you could switch to PHP 5 by yourself.'] = 'Deberías consultar al centro de soporte de tu proveedor de hospedaje y ver la manera de cambiar a PHP 5.2 por ti mismo.';
|
||||
$lang['also given by your host provider'] = 'también suministrado por tu proveedor de hospedaje';
|
||||
$lang['database tables names will be prefixed with it (enables you to manage better your tables)'] = 'las tablas de la base de datos lo contendrán como prefijo (te permite administrar mejor tus tablas)';
|
||||
$lang['enter a login for webmaster'] = 'por favor ingresa el nombre de usuario de administrador del sitio';
|
||||
$lang['localhost or other, supplied by your host provider'] = 'localhost u otro, suministrado por tu proveedor de hospedaje';
|
||||
$lang['please enter your password again'] = 'por favor ingresa nuevamente tu contraseña';
|
||||
$lang['Admin configuration'] = 'Configuración de administración';
|
||||
$lang['An alternate solution is to copy the text in the box above and paste it into the file "local/config/database.inc.php" (Warning : database.inc.php must only contain what is in the textarea, no line return or space character)'] = 'Una solución alterna es copiar el texto en el cuadro de arriba y pegarlo en el archivo "local/config/database.inc.php" (Precaución: databa.inc.php solo debe contener lo que se encuentra en el área de texto, sin retornos de línea o espacios)';
|
||||
$lang['Basic configuration'] = 'Configuración básica';
|
||||
$lang['Can\'t connect to server'] = 'No se puede conectar al servidor';
|
||||
$lang['Congratulations, Piwigo installation is completed'] = 'Felicidades, la instalación de Piwigo se ha completado';
|
||||
$lang['Connection to server succeed, but it was impossible to connect to database'] = 'La conexión al servidor fue exitosa, pero no fue posible establecer conexión con la base de datos.';
|
||||
$lang['Creation of config file local/config/database.inc.php failed.'] = 'La creación del archivo de configuración local/config/database.inc.php falló.';
|
||||
$lang['Database configuration'] = 'Configuración de base de datos';
|
||||
$lang['Database name'] = 'Nombre de base de datos';
|
||||
$lang['Database table prefix'] = 'Prefijo de tablas de base de datos';
|
||||
$lang['Default gallery language'] = 'Idioma por defecto de la galería';
|
||||
$lang['Don\'t hesitate to consult our forums for any help : %s'] = 'No dudes en consultar nuestros foros para cualquier ayuda necesaria: %s';
|
||||
$lang['Download the config file'] = 'Descargar el archivo de configuración';
|
||||
$lang['Hope to see you back soon.'] = 'Deseamos verte pronto de regreso.';
|
||||
$lang['Host'] = 'Servidor';
|
||||
$lang['Installation'] = 'Instalación';
|
||||
$lang['It appears your webhost is currently running PHP %s.'] = 'Parece que tu servidor web corre actualmente PHP %s.';
|
||||
$lang['It will be shown to the visitors. It is necessary for website administration'] = 'Se mostrará a los visitantes. Es necesario para la administración del sitio web';
|
||||
$lang['Just another Piwigo gallery'] = 'Otra galería Piwigo';
|
||||
$lang['Keep it confidential, it enables you to access administration panel'] = 'Mantenlo confidencial, te permite acceder al panel de administración';
|
1
sources/language/es_MX/iso.txt
Normal file
1
sources/language/es_MX/iso.txt
Normal file
|
@ -0,0 +1 @@
|
|||
México [MX]
|
435
sources/language/eu_ES/common.lang.php
Normal file
435
sources/language/eu_ES/common.lang.php
Normal file
|
@ -0,0 +1,435 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
/*
|
||||
Language Name: Euskara [ES]
|
||||
Version: 2.7.0
|
||||
Language URI: http://piwigo.org/ext/extension_view.php?eid=725
|
||||
Author: Piwigo team
|
||||
Author URI: http://piwigo.org
|
||||
*/
|
||||
|
||||
// Langage informations
|
||||
$lang_info['language_name'] = 'Euskara';
|
||||
$lang_info['country'] = 'Euskadi';
|
||||
$lang_info['direction'] = 'ltr';
|
||||
$lang_info['code'] = 'eus';
|
||||
$lang_info['zero_plural'] = true;
|
||||
|
||||
$lang['%d album updated'] = '%d eguneratutako albuma';
|
||||
$lang['%d albums updated'] = '%d eguneratutako albumak';
|
||||
$lang['%d comment to validate'] = '%d onartzeko iruzkina';
|
||||
$lang['%d comments to validate'] = '%d onartzeko iruzkinak';
|
||||
$lang['%d new comment'] = '%d iruzkina berria';
|
||||
$lang['%d new comments'] = '%d iruzkina berriak';
|
||||
$lang['%d comment'] = '%d iruzkina';
|
||||
$lang['%d comments'] = '%d iruzkinak';
|
||||
$lang['%d hit'] = '%d bisita';
|
||||
$lang['%d hits'] = '%d bisitak';
|
||||
$lang['day'][0] = 'Igandea';
|
||||
$lang['day'][1] = 'Astelehena';
|
||||
$lang['day'][2] = 'Asteartea';
|
||||
$lang['day'][3] = 'Asteazkena';
|
||||
$lang['day'][4] = 'Osteguna';
|
||||
$lang['day'][5] = 'Ostirala';
|
||||
$lang['day'][6] = 'Larunbata';
|
||||
$lang['month'][10] = 'Urria';
|
||||
$lang['month'][11] = 'Azaroa';
|
||||
$lang['month'][12] = 'Abendua';
|
||||
$lang['month'][1] = 'Urtarrila';
|
||||
$lang['month'][2] = 'Otsaila';
|
||||
$lang['month'][3] = 'Martxoa';
|
||||
$lang['month'][4] = 'Apirila';
|
||||
$lang['month'][5] = 'Maiatza';
|
||||
$lang['month'][6] = 'Ekaina';
|
||||
$lang['month'][7] = 'Uztaia';
|
||||
$lang['month'][8] = 'Abuztua';
|
||||
$lang['month'][9] = 'Iraila';
|
||||
$lang['%d Kb'] = '%d Kb';
|
||||
$lang['Albums'] = 'Albumak';
|
||||
$lang['All'] = 'Dena';
|
||||
$lang['Album'] = 'Albuma';
|
||||
$lang['Album: %s'] = 'Albuma: %s';
|
||||
$lang['%d new user'] = '%d erabiltzaile berria';
|
||||
$lang['%d new users'] = '%d erabiltzaile berriak';
|
||||
$lang['%d photos'] = '%d argazkiak';
|
||||
$lang['%d photo'] = '%d argazki';
|
||||
$lang['%d new photos'] = '%d argazki berriak';
|
||||
$lang['%d new photo'] = '%d argazki berria';
|
||||
$lang['Comment by %s'] = '%s-ek Esanda';
|
||||
$lang['Change my password'] = 'Pasahitza lehengoratzea';
|
||||
$lang['Check your email for the confirmation link'] = 'Egiazta dezan baieztapenaren lotura hartu duen haren posta elektronikoan';
|
||||
$lang['Click here if your browser does not automatically forward you'] = 'Hemen saka dezan bere nabigatzaileak eskatutako orrialdea ez badio birbideratzen.';
|
||||
$lang['Click on the photo to see it in high definition'] = 'Klika egin ezazu argazkian kalitate handian ikusteko';
|
||||
$lang['Close this window'] = 'Leihoa ixtea';
|
||||
$lang['Comment'] = 'Iruzkina';
|
||||
$lang['Comment: %s'] = 'Iruzkina: %s';
|
||||
$lang['(!) This comment requires validation'] = '(!) Iruzkin hau baliestatu behar da';
|
||||
$lang['2small'] = 'ñimiñoa';
|
||||
$lang['Anti-flood system : please wait for a moment before trying to post another comment'] = 'Anti-kolapsoa prebentzio sistema aktibatu da. Mesedez, itxaron dezan une bat beste iruzkin bat gehitu baino lehen. Orain zerbitzaria prozesatzen ari da beste erabiltzaile batzuen eskaera ugariak.';
|
||||
$lang['Any tag'] = 'Edozein etiketa';
|
||||
$lang['Are you sure?'] = 'Ekintza hau aurrera eraman nahi duzula baieztatu';
|
||||
$lang['At least one listed rule must be satisfied.'] = 'Gutxienez zerrendako critero bat ase behar du';
|
||||
$lang['Author'] = 'Egilea';
|
||||
$lang['Author: %s'] = 'Egilea: %s';
|
||||
$lang['Auto login'] = 'Gogoratzea';
|
||||
$lang['Bad request'] = 'Eskaera okerra';
|
||||
$lang['Bad status for user "guest", using default status. Please notify the webmaster.'] = 'Erroneo-a "gonbidatutako" erabiltzailearen egoera. Lehenetsitako egoera erabiltzen ari da. Mesedez, informa beza webeko administratzaileari';
|
||||
$lang['Best rated'] = 'Hobeto balioetsita';
|
||||
$lang['Browser: %s'] = 'Nabigatzailea: %s';
|
||||
$lang['Calendar'] = 'Egutegia';
|
||||
$lang['%d rates'] = '%d balioespenak';
|
||||
$lang['A comment on your site'] = 'Zure webgunearen iruzkina';
|
||||
$lang['About'] = 'Buruz';
|
||||
$lang['About Piwigo'] = 'Piwigo-ri buruz';
|
||||
$lang['Accelerate diaporama speed'] = 'Diapositiba-baimenaren abiadura handitzea';
|
||||
$lang['Add a comment'] = 'Iruzkina gehitzea';
|
||||
$lang['Admin: %s'] = 'Admin: %s';
|
||||
$lang['Administration'] = 'Administrazioa';
|
||||
$lang['Album results for'] = 'Albumen emaitzak';
|
||||
$lang['All tags'] = 'Etiketa guztiak';
|
||||
$lang['An administrator must authorize your comment before it is visible.'] = 'Administratzaile batek bere iruzkina ikusgaia izan baino lehen baliozkotu behar du.';
|
||||
$lang['%d rate'] = '%d balioespena';
|
||||
$lang['... or browse your empty gallery'] = '... edo nabiga ezazu galeriatik (momentu honetan hutsik)';
|
||||
$lang['... or please deactivate this message, I will find my way by myself'] = '... edo mesedez, mezu hau desaktiba ezazu hura nire kontura egiteko modua aurkitzeko';
|
||||
$lang['%d photo is also linked to current tags'] = '%d argazkia etiketa honekin lotuta egon da ere';
|
||||
$lang['%d photos are also linked to current tags'] = '%d argazkiak etiketa hauekin lotuta egon dira ere';
|
||||
$lang['%d photos per page'] = '%d orrialdeagatiko argazkiak';
|
||||
$lang['Connected user: %s'] = 'Konektatutako erabiltzailea: %s';
|
||||
$lang['Date created, new → old'] = 'Kreazio data, berria → zaharra';
|
||||
$lang['Date created, old → new'] = 'Kreazio data, zaharra → berria';
|
||||
$lang['Default'] = 'Lehenetsi';
|
||||
$lang['Delete'] = 'Kentzea';
|
||||
$lang['Date'] = 'Hasierako data';
|
||||
$lang['Connection settings'] = 'Konexio-parametroak';
|
||||
$lang['Contact'] = 'Harremanetan jartzea';
|
||||
$lang['Contact webmaster'] = 'Webmasterarekin harremanetan jartzea';
|
||||
$lang['Cookies are blocked or not supported by your browser. You must enable cookies to connect.'] = 'Cookieak blokeatuta daude edo nabigatzaileak ez du bere erabilerarik baimentzen. Konektatu ahal izateko aktibatu behar ditu.';
|
||||
$lang['Create a new account'] = 'Kontu berria sortzea';
|
||||
$lang['Creation date'] = 'Kreazio data';
|
||||
$lang['Current password is wrong'] = 'Pasahitza okerra';
|
||||
$lang['Customize'] = 'Profila';
|
||||
$lang['Complete RSS feed (photos, comments)'] = 'RSS osoa (argazkiak eta iruzkinak)';
|
||||
$lang['Comments'] = 'Iruzkinak';
|
||||
$lang['Confirm Password'] = 'Pasahitza beretsi';
|
||||
$lang['Notification'] = 'RSS';
|
||||
$lang['Password'] = 'Pasahitza';
|
||||
$lang['If you think you\'ve received this email in error, please contact us at %s'] = 'Mesedez, email hau jaso duela akatsagatik uste badu, gurekin harremanetan jar zaitez %s';
|
||||
$lang['Links'] = 'Loturak';
|
||||
$lang['Login'] = 'Identifikatzea';
|
||||
$lang['Logout'] = 'Deskonexioa';
|
||||
$lang['Manage this user comment: %s'] = 'Iruzkinak kudeatu: %s';
|
||||
$lang['Manual sort order'] = 'Eskuzko ordena';
|
||||
$lang['Menu'] = 'Menua';
|
||||
$lang['Invalid key'] = 'Pasahitz baliogabea';
|
||||
$lang['Invalid password!'] = 'Pasahitz baliogabea';
|
||||
$lang['Invalid username or email'] = 'Erabiltzaile-izena edo helbide elektroniko baliogabea';
|
||||
$lang['Keyword'] = 'Gako-hitza';
|
||||
$lang['Kind of date'] = 'Zein?';
|
||||
$lang['Language'] = 'Hizkuntza';
|
||||
$lang['Last'] = 'Azkena';
|
||||
$lang['Last Page'] = 'Azken orrialdea';
|
||||
$lang['File name, Z → A'] = 'Artxibo izena, Z &rrar; A';
|
||||
$lang['I want to add photos'] = 'Argazkiak gehitu nahi dut';
|
||||
$lang['IP: %s'] = 'IP: %s';
|
||||
$lang['IPTC Metadata'] = 'IPTC Metadatak ';
|
||||
$lang['Identification'] = 'Autentifikazioa';
|
||||
$lang['If this was a mistake, just ignore this email and nothing will happen.'] = 'Akatsa bat izanez gero, mezu hau ezikusi. Zure eskaera ukatu egingo da.';
|
||||
$lang['Filesize'] = 'Tamaina';
|
||||
$lang['Filter'] = 'Iragaztea';
|
||||
$lang['Filter and display'] = 'Iragazkia ematea';
|
||||
$lang['First'] = 'Lehen';
|
||||
$lang['First Page'] = 'Lehen orrialdea';
|
||||
$lang['Forbidden'] = 'Debekatuta';
|
||||
$lang['Forgot your password?'] = 'Bere pasahitza ahaztu du?';
|
||||
$lang['Go back to the album'] = 'Albumera itzultzea';
|
||||
$lang['Go through the gallery as a visitor'] = 'Bisitari bezala galeriara sartzea';
|
||||
$lang['Hello'] = 'Kaixo';
|
||||
$lang['Hello %s,'] = 'Kaixo &s,';
|
||||
$lang['Hello %s, your Piwigo photo gallery is empty!'] = 'Kaixo %s, galeria hutsik dago';
|
||||
$lang['Help'] = 'Laguntza';
|
||||
$lang['Here are your connection settings'] = 'Bere konexio-parametroak hemen ditu';
|
||||
$lang['Home'] = 'Hasiera';
|
||||
$lang['Created on'] = 'Sortuta';
|
||||
$lang['Date posted, new → old'] = 'Argitalpen-data, berria &rrar; zaharra';
|
||||
$lang['Date posted, old → new'] = 'Argitalpen-data, zaharra &rrar; berria';
|
||||
$lang['Favorites'] = 'Gogokoak';
|
||||
$lang['File'] = 'Artxibo';
|
||||
$lang['File name'] = 'Artxibo izena';
|
||||
$lang['File name, A → Z'] = 'Artxibo izena, A &rrar; Z';
|
||||
$lang['Each listed rule must be satisfied.'] = 'Zerrendatutako arau bakoitza burutzeko behar da';
|
||||
$lang['Email address is mandatory'] = 'Posta elektronikoa helbidea beharrezkoa da';
|
||||
$lang['Email address is missing. Please specify an email address.'] = 'Zure posta elektronikoaren helbidea falta da. Mesedez sar ezazu.';
|
||||
$lang['Email: %s'] = 'Email: %s';
|
||||
$lang['Empty query. No criteria has been entered.'] = 'Ez duzu inongo bilaketa-irizpiderik sartu';
|
||||
$lang['End-Date'] = 'Azkeneko data';
|
||||
$lang['Enter your new password below.'] = 'Pasahitz berria sar ezazu';
|
||||
$lang['Enter your personnal informations'] = 'Bere informazio pertsonala sar ezazu';
|
||||
$lang['Error sending email'] = 'Error posta elektronikoa bidaliz';
|
||||
$lang['Expand all albums'] = 'Album guztiak hedatzea';
|
||||
$lang['Desktop'] = 'Mahaigaina';
|
||||
$lang['Dimensions'] = 'Dimentsioak';
|
||||
$lang['Display'] = 'Ikusi';
|
||||
$lang['Download'] = 'Deskargatu';
|
||||
$lang['Download this file'] = 'Deskargatu';
|
||||
$lang['EXIF Metadata'] = 'Kamera digitala';
|
||||
$lang['Edit'] = 'Editatzea';
|
||||
$lang['Edit a comment'] = 'Iruzkina editatzea';
|
||||
$lang['Email'] = 'Posta elektronikoa';
|
||||
$lang['Email address'] = 'Posta elektronikoa';
|
||||
$lang['Mobile'] = 'Mobilak';
|
||||
$lang['Most visited'] = 'Bisitatuenak';
|
||||
$lang['N/A'] = 'ez erabilgarria';
|
||||
$lang['New on %s'] = 'Berria %s';
|
||||
$lang['New password'] = 'Pasahitza berria';
|
||||
$lang['Next'] = 'Hurrengoa';
|
||||
$lang['No'] = 'Ez';
|
||||
$lang['Not repeat the slideshow'] = 'Errepikapena desaktibatzea';
|
||||
$lang['Original'] = 'Originala';
|
||||
$lang['Page not found'] = 'Ez aurkitatuko orrialdea';
|
||||
$lang['Password Reset'] = 'PAsahitz berria ezarri';
|
||||
$lang['Search'] = 'Bilatzea';
|
||||
$lang['Search by date'] = 'Dataren arabera bilatzea';
|
||||
$lang['Search for Author'] = 'Egilearen arabera bilatzea';
|
||||
$lang['Piwigo Help'] = 'Laguntza';
|
||||
$lang['in this album'] = 'album honetan';
|
||||
$lang['letters'] = 'hizkiak';
|
||||
$lang['large'] = 'L - haundia';
|
||||
$lang['last %d days'] = 'Azken %d egunak';
|
||||
$lang['all'] = 'Dena';
|
||||
$lang['posted after %s (%s)'] = '%s (%s) ondoren argitaratuak';
|
||||
$lang['posted before %s (%s)'] = '%s (%s) baino lehen argitaratuak';
|
||||
$lang['posted between %s (%s) and %s (%s)'] = '%s (%s) eta %s (%s)artean argitaratuak';
|
||||
$lang['posted on %s'] = '%s argitaratuak';
|
||||
$lang['search'] = 'Bilatu';
|
||||
$lang['slideshow'] = 'Aurkezpena';
|
||||
$lang['square'] = 'Karratua';
|
||||
$lang['xxlarge'] = 'izugarria';
|
||||
$lang['mail address must be like xxx@yyy.eee (example : jack@altern.org)'] = 'Posta elektroniko-helbidearen formatuak xxx@yyy.eee (adibidea: jack@altern.org) izan behar du';
|
||||
$lang['mandatory'] = 'derrigorrezkoa';
|
||||
$lang['medium'] = 'ertaina';
|
||||
$lang['no rate'] = 'baloratu gabe';
|
||||
$lang['obligatory'] = 'derrigorrezkoa';
|
||||
$lang['password updated'] = 'Pasahitza eguneratua';
|
||||
$lang['photo'] = 'Argazki';
|
||||
$lang['photos posted during the last %d days'] = 'Azken %d egunetan argitaratu diren argazkiak';
|
||||
$lang['small'] = 'txiki';
|
||||
$lang['the beginning'] = 'Hasiera';
|
||||
$lang['today'] = 'Gaur';
|
||||
$lang['xlarge'] = 'oso haundia';
|
||||
$lang['xsmall'] = 'oso txikia';
|
||||
$lang['Your favorites'] = 'Gogokoak';
|
||||
$lang['View in'] = 'Web diseinua egokituta';
|
||||
$lang['Visits, high → low'] = 'Bisitak, gehio → gutxi';
|
||||
$lang['Webmaster'] = 'Webmaster';
|
||||
$lang['Website'] = 'Web orria';
|
||||
$lang['Welcome to your Piwigo photo gallery!'] = '¡Ongi etorri Piwigoko argazki galeria!';
|
||||
$lang['Username or email'] = 'Erabiltzaile izena edo posta elektronikoa';
|
||||
$lang['View'] = 'Begiratu';
|
||||
$lang['Visits'] = 'Bisitak';
|
||||
$lang['Visits, low → high'] = 'Bisitak, gutxi → gehio';
|
||||
$lang['Welcome'] = 'Kaixo';
|
||||
$lang['Yes'] = 'Bai';
|
||||
$lang['guest'] = 'gonbidatua';
|
||||
$lang['thumb'] = 'Diapositiba';
|
||||
$lang['Password: %s'] = 'Pasahitza: %s';
|
||||
$lang['Password confirmation is missing. Please confirm the chosen password.'] = 'Pasahitza ez da egiaztatu. Mesedez, aukeratutako pasahitza egiazta ezazu.';
|
||||
$lang['Password forgotten'] = 'Saio-hasiera-egiaztagiriak gogoratzea';
|
||||
$lang['Password is missing. Please enter the password.'] = 'Pasahitza falta da. Mesedez, sar ezazu.';
|
||||
$lang['Password reset is not allowed for this user'] = 'Erabiltzaile honentzat ez dago sarbide gakoa indarberritzea baimenduta';
|
||||
$lang['Pause of slideshow'] = 'Etenaldia';
|
||||
$lang['Permalink for album not found'] = 'Ez du lotura iraunkorra aurkitzen albumerako';
|
||||
$lang['Photo sizes'] = 'Neurriak aldatzea';
|
||||
$lang['Photo title, A → Z'] = 'Argazkiko titulua, A→Z';
|
||||
$lang['Photo title, Z → A'] = 'Argazkiko titulua, Z→A';
|
||||
$lang['Photos only RSS feed'] = 'RSS-a soilik argazkietarako kanala';
|
||||
$lang['Photos posted within the last %d day.'] = 'Argitaratutako argazkia %d hau.';
|
||||
$lang['Photos posted within the last %d days.'] = 'Azken %d egunetan zehar argitaratutako irudiak erakusten dira soilik.';
|
||||
$lang['Piwigo encountered a non recoverable error'] = 'Piwigo-k akats konponezina antzeman du';
|
||||
$lang['Play of slideshow'] = 'Erreproduzitzea';
|
||||
$lang['Please enter your username or email address.'] = 'Bere erabiltzaile-izena edo erregistratzeko erabili zenuen posta elektronikoa sar ezazu.';
|
||||
$lang['Please, enter a login'] = 'Mesedez, bere autentifikazio-egiaztagiriak sar itzazu';
|
||||
$lang['Post date'] = 'Argitalpen-data';
|
||||
$lang['Posted on'] = 'Argitaratuta';
|
||||
$lang['No results for'] = 'Emaitzarik ez dago';
|
||||
$lang['Number of items'] = 'Elementu kopurua';
|
||||
$lang['Number of photos per page'] = 'Orrialdeagatiko miniaturetako kopurua';
|
||||
$lang['Numeric identifier, 1 → 9'] = 'Identifikazio zenbakia, 1→9';
|
||||
$lang['Numeric identifier, 9 → 1'] = 'Identifikazio zenbakia, 9→1';
|
||||
$lang['Original dimensions'] = 'Original dimentsioak';
|
||||
$lang['Page generated in'] = 'Sortutako orrialdea';
|
||||
$lang['Username: %s'] = 'Erabiltzaile-izena: %s';
|
||||
$lang['Week %d'] = 'Astea %d';
|
||||
$lang['You are not authorized to access the requested page'] = 'Orrialde honetara sartzeko ez dago baimenduta';
|
||||
$lang['You will receive a link to create a new password via email.'] = 'Bere pasahitz berria sortzea baimenduko dion posta elektronikorako lotura jasoko du.';
|
||||
$lang['Your Gallery Customization'] = 'Galeria neurrira egitea';
|
||||
$lang['Your comment has NOT been registered because it did not pass the validation rules'] = 'Abisua: Bere iruzkina ez da argitaratuko balidatze-erregelak ez dituelako gainditu';
|
||||
$lang['Your comment has been registered'] = 'Bere iruzkina zuzen erregistratu da';
|
||||
$lang['Your password has been reset'] = 'Bere pasahitza arrakastarekin indarberritu da.';
|
||||
$lang['display each day with photos, month per month'] = 'Argazkiak egunean, hilabeterako hilabetean, ikustea';
|
||||
$lang['display last user comments'] = 'Erabiltzaileen azken iruzkinak ikustea';
|
||||
$lang['display most recent photos'] = 'Argazkirik berrienak ikustea';
|
||||
$lang['display most visited photos'] = 'Argazki bisitatuenak ikustea';
|
||||
$lang['display only recently posted photos'] = 'Oraintsu argitaratutako argazkiak ikustea';
|
||||
$lang['display photos linked to this tag'] = 'Etiketa honekin argazki erlazionatuak erakustea';
|
||||
$lang['display recently updated albums'] = 'Oraintsu eguneratutako albumak ikustea';
|
||||
$lang['delete all photos from your favorites'] = 'Bere argazki gogokoen guztiak ezabatzea';
|
||||
$lang['delete this photo from your favorites'] = 'Bere gustukoenen argazki hau ezabatzea';
|
||||
$lang['descending'] = 'Beheranzkoa';
|
||||
$lang['display a calendar by creation date'] = 'Sorrera-dataren arabera egutegia';
|
||||
$lang['display a calendar by posted date'] = 'Argitalpen-dataren arabera egutegia';
|
||||
$lang['display a set of random photos'] = 'Argazki aleatorioak ikustea';
|
||||
$lang['display all photos in all sub-albums'] = 'Miniaturengatiko bista';
|
||||
$lang['display available tags'] = 'Etiketa libreak erakustea';
|
||||
$lang['display best rated photos'] = 'Hobeto balioetsitako argazkiak ikustea';
|
||||
$lang['display this album'] = 'Album honen edukia ikustea';
|
||||
$lang['display your favorites photos'] = 'Nire argazki gogokoenak ikustea';
|
||||
$lang['edit'] = 'Editatzea';
|
||||
$lang['excluded'] = 'Bastertuen';
|
||||
$lang['from %s to %s'] = '%s-tik %s-ra';
|
||||
$lang['group by letters'] = 'Letrengatik elkartzea';
|
||||
$lang['html tags are not allowed in login'] = 'Html-a etiketarik saio hasiera datuetan ez da baimentzen';
|
||||
$lang['in %d sub-album'] = '%d-an sub-albuma';
|
||||
$lang['in %d sub-albums'] = '%d-an sub-albumak';
|
||||
$lang['included'] = 'sartuta';
|
||||
$lang['login mustn\'t end with a space character'] = 'Erabiltzaile-izena \'espazio\' karaktereaz ezin da amaitu';
|
||||
$lang['login mustn\'t start with a space character'] = 'Erabiltzaile-izena \'espazio\' karaktereaz ezin da hasi';
|
||||
$lang['the username must be given'] = 'Erabiltzaile-izena jarri behar du';
|
||||
$lang['this email address is already in use'] = 'Beste erbiltzaile batek posta elektroniko hau darabil';
|
||||
$lang['this login is already used'] = 'Beste erabiltzaile batek erabiltzaile-izen hau erabiltzen du';
|
||||
$lang['useful when password forgotten'] = 'Erabilgarria egiaztagiri-galerarik egotekotan';
|
||||
$lang['stop the slideshow'] = 'Aurkezpena gelditzea';
|
||||
$lang['show tag cloud'] = 'Etiketa-hodeia erakustea';
|
||||
$lang['searched words : %s'] = 'Aurkitutako hitzak: %s';
|
||||
$lang['set as album representative'] = 'Album honetako ikono bezala argazki hau ezartzea';
|
||||
$lang['representative'] = 'Irudikatzea';
|
||||
$lang['return to the display of all photos'] = 'Irudi guztiak berriro ikustea';
|
||||
$lang['return to normal view mode'] = 'Albumengatiko bista';
|
||||
$lang['remove this tag from the list'] = 'Etiketa honek zerrendatik kendu';
|
||||
$lang['wrong date'] = 'Data okerra';
|
||||
$lang['Search tags'] = 'Etiketak bilatzea';
|
||||
$lang['Registration of %s'] = 'Erregistroa %s';
|
||||
$lang['Someone requested that the password be reset for the following user account:'] = 'Norbaitek eskatu du bere pasahitza indarberri dezan hurrengo erabiltzaile-kontuetarako:';
|
||||
$lang['Sort by'] = 'Ordenatzea';
|
||||
$lang['Sort order'] = 'Ordenatzea';
|
||||
$lang['Specials'] = 'Bereziak';
|
||||
$lang['Submit'] = 'Baliozkotzea';
|
||||
$lang['Tag'] = 'Etiketa';
|
||||
$lang['Tag results for'] = 'Etiketaren emaitzak';
|
||||
$lang['Tags'] = 'Etiketak';
|
||||
$lang['Thank you for registering at %s!'] = 'Eskerrik asko %s-an erregistra ezazu!';
|
||||
$lang['Reduce diaporama speed'] = 'Abiadura gutxitzea';
|
||||
$lang['Register'] = 'Erregistratzea';
|
||||
$lang['Registration'] = 'Erregistroa';
|
||||
$lang['Related tags'] = 'Erlazionatuta etiketak';
|
||||
$lang['Repeat the slideshow'] = 'Errepikapena aktibatzea';
|
||||
$lang['Requested album does not exist'] = 'Eskatutako albuma ez dago';
|
||||
$lang['Requested tag does not exist'] = 'Eskatutako etiketa ez dago';
|
||||
$lang['Reset'] = 'Leheneratu';
|
||||
$lang['Reset to default values'] = 'Lehenetsitako balioak zaharberritzea';
|
||||
$lang['Retrieve password'] = 'Pasahitza berreskuratzea';
|
||||
$lang['Return to home page'] = 'Hasierako orrialdea itzultzea';
|
||||
$lang['SQL queries in'] = 'SQL kosultak';
|
||||
$lang['Search for all terms'] = 'Termino guztiak bilatzea';
|
||||
$lang['Search for any term'] = 'Edozein terminoa bilatzea';
|
||||
$lang['Search for words'] = 'Hitzengatik bilatzea';
|
||||
$lang['Search in albums'] = 'Albumetan bilatzea';
|
||||
$lang['Search in sub-albums'] = 'Sub-albumetan bilatzea';
|
||||
$lang['Search results'] = 'Bilaketaren emaitzak';
|
||||
$lang['Search rules'] = 'Bilaketa irizpideak';
|
||||
$lang['Apply on properties'] = 'Jabetzak ematea';
|
||||
$lang['Photo description'] = 'Argazkiko deskribapena';
|
||||
$lang['Photo title'] = 'Argazkiko titulua';
|
||||
$lang['Powered by'] = 'Garatzailea:';
|
||||
$lang['Preferences'] = 'Lehentasunak';
|
||||
$lang['Previous'] = 'Aurrekoa';
|
||||
$lang['Profile'] = 'Profila';
|
||||
$lang['Quick connect'] = 'Konexio azkarra';
|
||||
$lang['Quick search'] = 'Bilaketa azkarra';
|
||||
$lang['Random photos'] = 'Aletorio argazkiak';
|
||||
$lang['Rank'] = 'Hobeto balioetsitak';
|
||||
$lang['Rate this photo'] = 'Balioestea';
|
||||
$lang['Rating score'] = 'Kalifikazioa';
|
||||
$lang['Rating score, high → low'] = 'Kalifikazio, altuago → txikiago';
|
||||
$lang['Rating score, low → high'] = 'Kalifikazio, txikiago → altuago';
|
||||
$lang['Recent albums'] = 'Album berriak';
|
||||
$lang['Recent period'] = 'Aldi berria (egunak)';
|
||||
$lang['Recent period must be a positive integer value'] = 'Aldiak zenbaki positiboa izan behar du';
|
||||
$lang['Recent photos'] = 'Argazki berriak';
|
||||
$lang['Redirection...'] = 'Birhelbidea...';
|
||||
$lang['RSS feed'] = 'RSS Kanala';
|
||||
$lang['Thumbnails'] = 'Diapositibak';
|
||||
$lang['created before %s (%s)'] = '%s(%s)-etatik baino lehenago sortuta';
|
||||
$lang['created between %s (%s) and %s (%s)'] = '%s(%s)-etatik eta %s(%s)-etara artean sortuta';
|
||||
$lang['created on %s'] = '%s sortuta';
|
||||
$lang['customize the appareance of the gallery'] = 'Itxura neurrira egitea';
|
||||
$lang['Username modification'] = 'Erabiltzaile izena aldatzea';
|
||||
$lang['Username'] = 'Eraibiltzaile izena';
|
||||
$lang['Username "%s" on gallery %s'] = 'Eraibiltzaile izena "%s" galerian %s';
|
||||
$lang['Username is mandatory'] = 'Eraibiltzaile izena nahitaezkoa da';
|
||||
$lang['Sent by'] = 'Mandataria';
|
||||
$lang['Show file metadata'] = 'Erakutsi / ezkutatu kamera gain (Exif metadatuak)';
|
||||
$lang['The passwords do not match'] = 'Pasahitzak ex datoz';
|
||||
$lang['Theme'] = 'Gaia';
|
||||
$lang['This author modified following comment:'] = 'Egile honek hurrengo iruzkina aldatu zuen:';
|
||||
$lang['This author removed the comment with id %d'] = 'Egile honek iruzkina zenbakizko %d identifikatzailearekin ezabatu du';
|
||||
$lang['This login is already used by another user'] = 'Erabiltzaile izen hau beste batek du';
|
||||
$lang['The number of photos per page must be a not null scalar'] = 'Orrialdeagatik argazki kantitateak zero baino gehiagoko zenbaki osoa izan behar du';
|
||||
$lang['The gallery is locked for maintenance. Please, come back later.'] = 'Galeria mantenu-lanek aldi baterako itxita dago . Eragozpenak barka itzazu. Minutu batzuetan Galeria eraginkor berriro egongo da.';
|
||||
$lang['The RSS notification feed provides notification on news from this website : new photos, updated albums, new comments. Use a RSS feed reader.'] = 'RSS-a formatuarekin birzabalkunde iturriak webgune honen berritasunen jakinarazpen automatikoak ematen ditu: argazki berriak, albumen gaurkotzeak, iruzkin berrien... RSS-a kanal irakurle bat erabili behar du.
|
||||
|
||||
Feeds-ak zer diren eta erabil ditzakeenez gero?
|
||||
Un Feed da webguneko berrietako eguneratuta egon ahal izateko eguneratzen ari den laburpeneko sistema.
|
||||
|
||||
Arreta: Feed batera harpidetzeko Feeds-eko irakurle bat beharrezkoa da. Feeds-eko irakurlerik gabeko Feed bat clicar-tzerakoan, nabigatzaileak formaturik gabeko testua erakutsiko du.
|
||||
|
||||
RSS-a eta Atom zer dira?
|
||||
Feeds-en bi formatu dira. Feeds-irakurle askok bi formatuak jasaten dituzte.';
|
||||
$lang['Successfully registered, you will soon receive an email with your connection settings. Welcome!'] = 'Zuzen erregistratu da. Email bat jasoko du laster bere kredentzialekin. Ongi etorria!';
|
||||
$lang['Since'] = 'Etatik';
|
||||
$lang['Show oldest comments first'] = 'Erakutsi lehen iruzkin zaharrak';
|
||||
$lang['Show number of hits'] = 'Ikusi-kopurua erakustea';
|
||||
$lang['Show number of comments'] = 'Iruzkin-kopurua erakustea';
|
||||
$lang['Show latest comments first'] = 'Erakutsi lehen iruzkin berriak';
|
||||
$lang['Send my connection settings by email'] = 'Kredentzialak nire posta elektronikora bidaltzea';
|
||||
$lang['Link: %s'] = 'Esteka: %s';
|
||||
$lang['Album name, A → Z'] = 'Albuma izena, A →Z';
|
||||
$lang['Album name, Z → A'] = 'Albuma izena, Z →A';
|
||||
$lang['Unknown feed identifier'] = 'Kanaleko identifikatzailea ezezaguna';
|
||||
$lang['Unknown identifier'] = 'Identifikatzaile ezezaguna';
|
||||
$lang['To reset your password, visit the following address:'] = 'Bere pasahitza indarberritzeko, hurrengo loturan klika egin ezazu:';
|
||||
$lang['Update your rating'] = 'Balioespena aldatzea';
|
||||
$lang['User "%s" has no email address, password reset is not possible'] = '"%s" erabiltzaileak ez du inongo helbide elektronikorik erregistratu. Bere pasahitza ezin da indarberritu.';
|
||||
$lang['User comments'] = 'Erabiltzaileen iruzkinak';
|
||||
$lang['User: %s'] = 'Erabiltzailea: %s';
|
||||
$lang['Your username has been successfully changed to : %s'] = 'Bere erabiltzaile-izena arrakastarekin aldatu du: %s';
|
||||
$lang['Your website URL is invalid'] = 'Zure web-orriko url-a okerra da';
|
||||
$lang['add this photo to your favorites'] = 'Gustukoenak gehitzea';
|
||||
$lang['ascending'] = 'Goranzkoa';
|
||||
$lang['author(s) : %s'] = 'egilea(k): %s';
|
||||
$lang['available for administrators only'] = 'Librea administratzaileentzat soilik';
|
||||
$lang['chronology_monthly_calendar'] = 'Hileroko egutegia';
|
||||
$lang['chronology_monthly_list'] = 'Hileroko zerrenda';
|
||||
$lang['chronology_weekly_list'] = 'Asteroko zerrenda';
|
||||
$lang['cloud'] = 'hodeia';
|
||||
$lang['comment date'] = 'Iruzkinaren data';
|
||||
$lang['created after %s (%s)'] = '%s-aren (%s-en) ondoren sortuta';
|
BIN
sources/language/eu_ES/eu_ES.jpg
Normal file
BIN
sources/language/eu_ES/eu_ES.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
1
sources/language/eu_ES/iso.txt
Normal file
1
sources/language/eu_ES/iso.txt
Normal file
|
@ -0,0 +1 @@
|
|||
Euskara [ES]
|
26
sources/language/gl_ES/help/maintenance.html
Normal file
26
sources/language/gl_ES/help/maintenance.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
<h2>Mantemento</h2>
|
||||
|
||||
<p>Para optimizar o tempo de xeración da páxina Piwigo utiliza información almacenada en caché. Por exemplo, en vez de contar o número das fotos contidas en cada álbum en cada recarga de páxina, esta información é almacenada na base de datos. En teoría esta información sempre tería que ser correcta mais ás veces pode ocorrer un erro e a información da caché devén fóra de data.</p>
|
||||
|
||||
<p>Algunha información pasa a ser menos útil co paso do tempo. Eliminando esta información inútil da base de datos aforrará algún espazo no disco.</p>
|
||||
|
||||
<ul>
|
||||
<li><strong>Elimina etiquetas orfas</strong></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><strong>Actualizar informacións de álbums:</strong> para cada álbum, a información comprobada e actualizada se é necesario é: lista de álbums pai, número de fotos, última data de foto, posición entre álbums irmáns, posición entre todos os álbums. Esta acción tamén comproba a consistencia de fotos representativa.</li>
|
||||
<li><strong>Actualizar información de fotos:</strong> para cada foto, a información actualizada é: ruta completa do ficheiro, valoración media. <em>Aviso</em>, non se confunda: a información de metadatos ten que ser sincronizada a partir de <span class="pwgScreen">Administración » Ferramentas » sincronización</span>, ou na pantalla de modificación dunha foto soa (a traveso de <span class="pwgScreen">Foto</span> por exemplo).</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><strong>Reparar e optimizar a base de datos:</strong> realiza operacións de reordenación, reparación e optimización en cada táboa da base de datos.</li>
|
||||
<li><strong>Reinicializar a comprobación de integridade</strong></li>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li><strong>Purgar histórico de detalles:</strong> elimina todas as liñas da da táboa de historia. Pantalla <span class="pwgScreen">Administración » Ferramentas » Historia</span> non vai volver amosar información da historia pasada. <em>Aviso:</em> todos os datos serán perdidos, sen xeito se recuperalos novamente.</li>
|
||||
<li><strong>Purgar histórico de resumos:</strong> elimina toda a información de resumo sobre historia de visita. Este resumo é calculado a partir dos detalles de historia.</li>
|
||||
<li><strong>Purgar sesións:</strong> elimina sesións de usuario que expiraron.</li>
|
||||
<li><strong>Purgar as notificacións de semente nunca utilizadas.</strong></li>
|
||||
<li><strong>Purgar o histórico de procuras.</strong></li>
|
||||
<li><strong>Purgar modelos compilados.</strong></li>
|
||||
</ul>
|
14
sources/language/gl_ES/help/notification_by_mail.html
Normal file
14
sources/language/gl_ES/help/notification_by_mail.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
<h2>Notificación por correo (NBM)</h2>
|
||||
|
||||
<p>Configurar e xestionar as notificacións de correo electrónico aos usuarios notificándoos de cambios no seu sitio.</p>
|
||||
|
||||
<p>Esta pantalla está composta por tres lapelas:</p>
|
||||
|
||||
<h3>Opcións</h3>
|
||||
<p>Dispoñible só para administradores web, esta lapela establece opcións de parámetros de notificación por correo electrónico.</p>
|
||||
|
||||
<h3>Subscribir</h3>
|
||||
<p>Dispoñible só para administradores web, esta lapela xestiona as notificacións por correo electrónico do usuario. Engadir usuarios á caixa de subscritos para que estes reciban notificacións por correo electrónico.</p>
|
||||
|
||||
<h3>Enviar</h3>
|
||||
<p>Dispoñible só para administradores web e administradores, esta lapela permite aos administradores enviar notificacións por correo electrónico aos usuarios subscritos.</p>
|
7
sources/language/gl_ES/help/permalinks.html
Normal file
7
sources/language/gl_ES/help/permalinks.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<h2>Ligazóns permanentes</h2>
|
||||
|
||||
<p>As ligazóns permanentes empréganse para facer os urls dos álbums máis agradables. Cando un álbum ten unha ligazón permanente definida, o id do álbum deixa de ser necesario no url.</p>
|
||||
|
||||
<p>Cando se borra unha ligazón permanente, pode ser gardada no histórico de ligazóns permanentes, deste xeito as ligazóns externas ás páxinas de Piwigo continúan a traballar. Na taboa histórica de ligazóns permanentes pódese ver a data na que a ligazón permanente se borrou, a última vez que se usou e o número de veces que esta ligazón permanente foi empregada.</p>
|
||||
|
||||
<p>Nótese que as ligazóns permanentes deben ser únicas para cada álbum. Amais na táboa histórica de ligazóns permanentes non se pode ter definida a mesma ligazón permanente máis dunha vez.</p>
|
60
sources/language/gl_ES/help/photos_add_ftp.html
Normal file
60
sources/language/gl_ES/help/photos_add_ftp.html
Normal file
|
@ -0,0 +1,60 @@
|
|||
<fieldset>
|
||||
<legend>Inicio rápido</legend>
|
||||
|
||||
<ol>
|
||||
<li>Crea un cartafol no teu computador.</li>
|
||||
|
||||
<li>Copia algunhas fotos dentro deste cartafol, axustar o tamaño para amosalas na web. <em>Aviso</em>: o nome dos cartafoles e ficheiros só pode conter letras, números, "-", "_" ou ".". Sen espazos en branco nin caracteres acentuados.</li>
|
||||
|
||||
<li>Cun cliente FTP, copia o teu cartafol dentro do cartafol "galleries" onde está instalado o teu Piwigo.</li>
|
||||
|
||||
<li>Identifícate na galería e vai a <span class="pwgScreen">Administración</span> e fai clic no gran botón Sincronización.</li>
|
||||
</ol>
|
||||
|
||||
<p>Parabéns! Creaches con éxito o primeiro álbum da súa galería de fotos.</p>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>Organización de cartafoles e ficheiros</legend>
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
|
||||
<p>Os cartafoles dos álbums están no cartafol "galleries" no Piwigo. Aquí segue a árbore de directorios dunha pequena galería (pero con moitas características)::</p>
|
||||
|
||||
<pre>
|
||||
galleries
|
||||
|-- wedding
|
||||
| |-- celebration
|
||||
| | |-- arrival
|
||||
| | | |-- paul-alone.jpg
|
||||
| | | +-- sarah-alone.jpg
|
||||
| | +-- departure
|
||||
| | +-- paul-and-sarah.jpg
|
||||
| +-- party
|
||||
| |-- dancers001.jpg
|
||||
| |-- dancers002.jpg
|
||||
| +-- dancers003.jpg
|
||||
+-- honeymoon
|
||||
|-- hotel.png
|
||||
|-- video-from-plane.avi
|
||||
+-- pwg_representative
|
||||
+-- video-from-plane.jpg
|
||||
</pre>
|
||||
|
||||
</li>
|
||||
|
||||
<li>A excepción de "pwg_representative" (ver explicación debaixo), cada cartafol dentro de "galleries" produce un álbum. Non hai límite de profundidade.</li>
|
||||
|
||||
<li>Basicamente, un elemento é representado por un ficheiro. Un ficheiro pode ser un elemento Piwigo se súa extensión está entre as posibles nos parámetros de configuración <code>file_ext</code> (ver o ficheiro <span
|
||||
class="filename">include/config_default.inc.php</span>). Un ficheiro pode ser unha imaxe se súa extensión está entre as posibles nos parámetros de configuración <code>picture_ext</code>.</li>
|
||||
|
||||
<li>Os elementos que non son fotos (vídeo, sons, ficheiros de texto, calquera outro...) son representados de xeito predeterminado por unha icona correspondente á extensión do ficheiro. Opcionalmente, podes asociar unha miniatura e un ficheiro representativo (ver video.avi no exemplo de arriba).</li>
|
||||
|
||||
<li><em>Aviso</em>: o nome dos cartafoles e ficheiros debe conter só letras, números, "-", "_" ou ".". Sen espazos en branco nin caracteres acentuados.</li>
|
||||
|
||||
<li>Unha vez que as imaxes estean correctamente situadas nos cartafoles, vai a: <span class="pwgScreen">Administración » Ferramentas » Sincronizar</span></li>
|
||||
|
||||
</ul>
|
||||
</fieldset>
|
19
sources/language/gl_ES/help/search.html
Normal file
19
sources/language/gl_ES/help/search.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
<h2>Buscar</h2>
|
||||
|
||||
<p>Esta páxina permite buscar fotos dentro de toda a galería.</p>
|
||||
|
||||
<dl>
|
||||
|
||||
<dt>Buscar por palabras</dt>
|
||||
<dd>Busca por unha ou varias palabras dentro dos atributos relacionados as fotos da galería. Use * como comodín para coincidencias parciais.</dd>
|
||||
|
||||
<dt>Buscar por autor</dt>
|
||||
<dd>Use * como comodín para coincidencias parciais.</dd>
|
||||
|
||||
<dt>Buscar por data</dt>
|
||||
<dd>Escolle unha data e/ou unha data final para a consulta. Deixa o campo baleiro se queres facer unha consulta "antes". O ano no último campo ha de ser inserido no seguinte formato: AAAA (por exemplo, 2004)</dd>
|
||||
|
||||
<dt>Buscar en álbums</dt>
|
||||
<dd>Seleccione álbum ou álbums nos que nos que buscar. Pódese buscar en todos os sub-álbums escollendo o pai e activando debaixo buscar en sub-álbums.</dd>
|
||||
|
||||
</dl>
|
14
sources/language/gl_ES/help/synchronize.html
Normal file
14
sources/language/gl_ES/help/synchronize.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
<h2>Sincronizar</h2>
|
||||
|
||||
<p>Hai dous tipos distintos de sincronización:</p>
|
||||
<ul>
|
||||
<li>cartafoles/ficheiros</li>
|
||||
<li>metadatos de ficheiros</li>
|
||||
</ul>
|
||||
|
||||
<p>Sincronizar cartafoles e ficheiros é actualizar a túa árbore de cartafoles coa árbore de álbumes na base de datos.
|
||||
Sincronizar os metadatos de ficheiros é actualizar a información das fotos, tal como o tamaño do ficheiro, dimensións en píxeles, EXIF ou información IPTC, na base de datos.</p>
|
||||
|
||||
<p>Cando sincroniza os ficheiros enviados coa galería, primeiro hanse sincronizar os directorios e ficheiros.</p>
|
||||
|
||||
<p>O proceso de sincronización pode levar moito tempo (dependendo da carga do servidor e o número de elementos a xestionar) por iso é posible facelo álbum por álbum.</p>
|
23
sources/language/gl_ES/help/user_list.html
Normal file
23
sources/language/gl_ES/help/user_list.html
Normal file
|
@ -0,0 +1,23 @@
|
|||
<h2>Lista de usuarios</h2>
|
||||
|
||||
<p>Aquí é onde xestionas os usuarios da túa galería Piwigo.</p>
|
||||
|
||||
<h3>Engadir un usuario</h3>
|
||||
|
||||
<p>Un administrador pode engadir usuarios manualmente. Para cada usuario crea un nome de usuario, un contrasinal e enviar un correo electrónico válido.</p>
|
||||
|
||||
<h3>Lista de usuarios</h3>
|
||||
|
||||
<p>A listaxe de usuarios existentes pode ser filtrada por nome de usuario (use * como comodín), grupo ou estado. Pode ser ordenada por data de rexistro ou nome de usuario en orde ascendente ou descendente.</p>
|
||||
|
||||
<p>Esta pantalla permite a xestión de varios usuarios dunha vez usando diferentes accións:</p>
|
||||
|
||||
<ul>
|
||||
<li>Eliminar usuarios (require confirmación)</li>
|
||||
<li>mudar o estado do usuario</li>
|
||||
<li>asociar ou disociar de grupos</li>
|
||||
<li>modificar as propiedades da visualización</li>
|
||||
<li>modificar preferencias adicionais</li>
|
||||
</ul>
|
||||
|
||||
<p>O destino é o usuario seleccionado (de xeito predeterminado) ou todos os usuarios amosados na lista filtrada.</p>
|
85
sources/language/gu_IN/common.lang.php
Normal file
85
sources/language/gu_IN/common.lang.php
Normal file
|
@ -0,0 +1,85 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
/*
|
||||
Language Name: ગુજરાતી[IN]
|
||||
Version: 2.6.0
|
||||
Language URI: http://piwigo.org/ext/extension_view.php?eid=767
|
||||
Author: Piwigo team
|
||||
Author URI: http://piwigo.org
|
||||
*/
|
||||
$lang_info['language_name'] = 'ગુજરાતી';
|
||||
$lang_info['country'] = 'હિન્દુસ્તાન';
|
||||
$lang_info['direction'] = 'ltr';
|
||||
$lang_info['code'] = 'gu';
|
||||
$lang_info['zero_plural'] = true;
|
||||
|
||||
$lang['Date'] = 'તારીખ';
|
||||
$lang['day'][0] = 'રવિવાર';
|
||||
$lang['day'][1] = 'સોમવાર';
|
||||
$lang['day'][2] = 'મંગળવાર';
|
||||
$lang['day'][3] = 'બુધવાર';
|
||||
$lang['day'][4] = 'ગુરુવાર';
|
||||
$lang['day'][5] = 'શુક્રવાર';
|
||||
$lang['day'][6] = 'શનિવાર';
|
||||
$lang['month'][10] = 'ઑક્ટ્બર';
|
||||
$lang['month'][11] = 'નવેમ્બર';
|
||||
$lang['month'][12] = 'ડિસેમ્બર';
|
||||
$lang['month'][1] = 'જાન્યુઆરી';
|
||||
$lang['month'][2] = 'ફેબ્રુઆરી';
|
||||
$lang['month'][3] = 'માર્ચ';
|
||||
$lang['month'][4] = 'એપ્રિલ';
|
||||
$lang['month'][5] = 'મે';
|
||||
$lang['month'][6] = 'જૂન';
|
||||
$lang['month'][7] = 'જુલાઈ';
|
||||
$lang['month'][8] = 'ઑગસ્ટ';
|
||||
$lang['month'][9] = 'સપ્ટેમ્બર';
|
||||
$lang['View'] = 'જુઓ';
|
||||
$lang['Webmaster'] = 'વેબમાસ્ટર';
|
||||
$lang['Website'] = 'વેબસાઇટ';
|
||||
$lang['Welcome'] = 'સ્વાગત';
|
||||
$lang['Welcome to your Piwigo photo gallery!'] = 'પીવીગો ફોટો ગૅલરી મા તમારૂ સ્વાગત છે';
|
||||
$lang['Yes'] = 'હા';
|
||||
$lang['Your website URL is invalid'] = 'તમારુ આપેલુ URL માન્ય નથી';
|
||||
$lang['add this photo to your favorites'] = 'આ ફોટો ની તમારા ફૅવોરીત મા ઉમેરો';
|
||||
$lang['all'] = 'બધા';
|
||||
$lang['ascending'] = 'ચડતા';
|
||||
$lang['chronology_monthly_calendar'] = 'માસિક કૅલેન્ડર';
|
||||
$lang['descending'] = 'ઉતરતા';
|
||||
$lang['display most recent photos'] = 'હાલ ના નાવા ફોટો બતાવો';
|
||||
$lang['display only recently posted photos'] = 'હાલ મા પોસ્ટ કરેલા ફોટો બતાવો';
|
||||
$lang['display photos linked to this tag'] = 'આ ટૅગ થી જોડાઈલા ફોટો બતાવો';
|
||||
$lang['display recently updated albums'] = 'હાલ મા સુધારેલા આલ્બમ બતાવો';
|
||||
$lang['edit'] = 'ફેરફાર કરો';
|
||||
$lang['guest'] = 'મહેમાન';
|
||||
$lang['login mustn\'t end with a space character'] = 'લોગિન સ્પેસ થી ચાલુ ના થઈ શકે';
|
||||
$lang['login mustn\'t start with a space character'] = 'લોગિન સ્પેસ થી અંત ના થઈ શકે';
|
||||
$lang['mandatory'] = 'ફરજિયાત';
|
||||
$lang['obligatory'] = 'ફરજિયાત';
|
||||
$lang['photo'] = 'ફોટો';
|
||||
$lang['search'] = 'શોધો';
|
||||
$lang['square'] = 'ચોરસ';
|
||||
$lang['the beginning'] = 'શુરુઆત';
|
||||
$lang['this email address is already in use'] = 'આ ઈમેલ અડ્રેસ પેહલા થી વપરાશ મા છે';
|
||||
$lang['this login is already used'] = 'આ લોગિન પેહલા થી વપરાશ મા છે';
|
||||
$lang['today'] = 'આજે';
|
||||
$lang['wrong date'] = 'ખોટી તારીખ';
|
BIN
sources/language/gu_IN/gu_IN.jpg
Normal file
BIN
sources/language/gu_IN/gu_IN.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
1
sources/language/gu_IN/iso.txt
Normal file
1
sources/language/gu_IN/iso.txt
Normal file
|
@ -0,0 +1 @@
|
|||
ગુજરાતી[IN]
|
43
sources/language/km_KH/install.lang.php
Executable file
43
sources/language/km_KH/install.lang.php
Executable file
|
@ -0,0 +1,43 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
$lang['Password ']['confirm'] = 'ពាក្យសម្ងាត់ [បញ្ជាក់]';
|
||||
$lang['PHP 5 is required'] = 'PHP 5 ត្រូវការជាចាំបាច់';
|
||||
$lang['Database configuration'] = 'ការកំណត់លើមូលដ្ឋានទិន្នន័យ';
|
||||
$lang['Download the config file'] = 'ទាញយកឯកសារកំណត់';
|
||||
$lang['Admin configuration'] = 'ការកំណត់ផ្នែករដ្ឋបាល';
|
||||
$lang['Can\'t connect to server'] = 'មិនអាចភ្ជាប់ទៅម៉ាស៊ីនមេបានទេ';
|
||||
$lang['Basic configuration'] = 'ការកំណត់ត្រឹមមូលដ្ឋាន';
|
||||
$lang['Installation'] = 'ការបញ្ចូល';
|
||||
$lang['Host'] = 'ម៉ាស៊ីនមេ';
|
||||
$lang['Default gallery language'] = 'ភាសាវិចិត្រសាលលំនាំដើម';
|
||||
$lang['Database table prefix'] = 'បុព្វបទតារាងមូលដ្ឋានទិន្នន័យ';
|
||||
$lang['Database name'] = 'ឈ្មោះមូលដ្ឋានទិន្នន័យ';
|
||||
$lang['Hope to see you back soon.'] = 'សង្ឃឹមថានឹងឃើញអ្នកមកវិញឆាប់ៗ';
|
||||
$lang['Try to configure PHP 5'] = 'ព្យាយាមកែកំណត់ PHP 5';
|
||||
$lang['User'] = 'អ្នកប្រើប្រាស់';
|
||||
$lang['Sorry!'] = 'សុំទោស!';
|
||||
$lang['Start Install'] = 'ចាប់ផ្តើមបញ្ចូល';
|
||||
$lang['Welcome to your new installation of Piwigo!'] = 'ស្វាគមន៍មកកាន់ការបញ្ចូលថ្មីរបស់ភីវីហ្គូ!';
|
||||
$lang['Welcome to my photo gallery'] = 'ស្វាគមន៍មកកាន់វិចិត្រសាលរូបភាពរបស់ខ្ញុំ';
|
||||
$lang['Just another Piwigo gallery'] = 'គ្រាន់តែជាវិចិត្រសាលផ្សេងទៀតរបស់ភីវីហ្គូ';
|
||||
$lang['Congratulations, Piwigo installation is completed'] = 'អប់អរសាទរ, ការបញ្ចូលភីវីហ្គូបានសម្រេច';
|
57
sources/language/wo_SN/common.lang.php
Normal file
57
sources/language/wo_SN/common.lang.php
Normal file
|
@ -0,0 +1,57 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
/*
|
||||
Language Name: Wolof [SN]
|
||||
Version: 2.6.0
|
||||
Language URI: http://piwigo.org/ext/extension_view.php?eid=737
|
||||
Author: Piwigo team
|
||||
Author URI: http://piwigo.org
|
||||
*/
|
||||
|
||||
// Langage informations
|
||||
$lang_info['language_name'] = 'Wolof';
|
||||
$lang_info['country'] = 'Sénégal';
|
||||
$lang_info['direction'] = 'ltr';
|
||||
$lang_info['code'] = 'wo';
|
||||
$lang_info['zero_plural'] = true;
|
||||
|
||||
$lang['day'][0] = 'Dibeer ji ';
|
||||
$lang['day'][1] = 'Altine';
|
||||
$lang['day'][2] = 'Talaata';
|
||||
$lang['day'][3] = 'àllarba';
|
||||
$lang['day'][4] = 'Alxames';
|
||||
$lang['day'][5] = 'àjjuma ';
|
||||
$lang['day'][6] = 'Gaawu-aset';
|
||||
$lang['month'][10] = 'Tabaski';
|
||||
$lang['month'][11] = 'Tamkharit';
|
||||
$lang['month'][12] = 'Digui Gamou';
|
||||
$lang['month'][1] = 'Gamou';
|
||||
$lang['month'][2] = 'Raki Gamou';
|
||||
$lang['month'][3] = 'Rakâti Gamou';
|
||||
$lang['month'][4] = 'Mâmou Kôr';
|
||||
$lang['month'][5] = 'Ndèyou Kôr';
|
||||
$lang['month'][6] = 'Baraxlou';
|
||||
$lang['month'][7] = 'Kôr';
|
||||
$lang['month'][8] = 'Kori';
|
||||
$lang['month'][9] = 'Digui Tabaski';
|
||||
?>
|
1
sources/language/wo_SN/iso.txt
Normal file
1
sources/language/wo_SN/iso.txt
Normal file
|
@ -0,0 +1 @@
|
|||
Wolof [SN]
|
BIN
sources/language/wo_SN/wo_SN.jpg
Normal file
BIN
sources/language/wo_SN/wo_SN.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 358 B |
23
sources/plugins/AdminTools/admin.php
Normal file
23
sources/plugins/AdminTools/admin.php
Normal file
|
@ -0,0 +1,23 @@
|
|||
<?php
|
||||
defined('ADMINTOOLS_PATH') or die('Hacking attempt!');
|
||||
|
||||
if (isset($_POST['save_config']))
|
||||
{
|
||||
$conf['AdminTools'] = array(
|
||||
'default_open' => isset($_POST['default_open']),
|
||||
'closed_position' => $_POST['closed_position'],
|
||||
'public_quick_edit' => isset($_POST['public_quick_edit']),
|
||||
);
|
||||
|
||||
conf_update_param('AdminTools', $conf['AdminTools']);
|
||||
$page['infos'][] = l10n('Information data registered in database');
|
||||
}
|
||||
|
||||
|
||||
$template->assign(array(
|
||||
'AdminTools' => $conf['AdminTools'],
|
||||
));
|
||||
|
||||
|
||||
$template->set_filename('admintools_content', realpath(ADMINTOOLS_PATH . 'template/admin.tpl'));
|
||||
$template->assign_var_from_handle('ADMIN_CONTENT', 'admintools_content');
|
338
sources/plugins/AdminTools/include/MultiView.class.php
Normal file
338
sources/plugins/AdminTools/include/MultiView.class.php
Normal file
|
@ -0,0 +1,338 @@
|
|||
<?php
|
||||
defined('ADMINTOOLS_PATH') or die('Hacking attempt!');
|
||||
|
||||
/**
|
||||
* Class managing multi views system
|
||||
*/
|
||||
class MultiView
|
||||
{
|
||||
/** @var bool $is_admin */
|
||||
private $is_admin = false;
|
||||
|
||||
/** @var array $data */
|
||||
private $data = array();
|
||||
private $data_url_params = array();
|
||||
|
||||
/** @var array $user */
|
||||
private $user = array();
|
||||
|
||||
/**
|
||||
* Constructor, load $data from session
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
global $conf;
|
||||
|
||||
$this->data = array_merge(
|
||||
array(
|
||||
'view_as' => 0,
|
||||
'theme' => '',
|
||||
'lang' => '',
|
||||
'show_queries' => $conf['show_queries'],
|
||||
'debug_l10n' => $conf['debug_l10n'],
|
||||
'debug_template' => $conf['debug_template'],
|
||||
'template_combine_files' => $conf['template_combine_files'],
|
||||
'no_history' => false,
|
||||
),
|
||||
pwg_get_session_var('multiview', array())
|
||||
);
|
||||
|
||||
$this->data_url_params = array_keys($this->data);
|
||||
$this->data_url_params = array_map(create_function('$d', 'return "ato_".$d;'), $this->data_url_params);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function is_admin()
|
||||
{
|
||||
return $this->is_admin;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function get_data()
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function get_user()
|
||||
{
|
||||
return $this->user;
|
||||
}
|
||||
|
||||
/**
|
||||
* Save $data in session
|
||||
*/
|
||||
private function save()
|
||||
{
|
||||
pwg_set_session_var('multiview', $this->data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the current url minus MultiView params
|
||||
*
|
||||
* @param bool $with_amp - adds ? or & at the end of the url
|
||||
* @return string
|
||||
*/
|
||||
public function get_clean_url($with_amp=false)
|
||||
{
|
||||
if (script_basename() == 'picture')
|
||||
{
|
||||
$url = duplicate_picture_url(array(), $this->data_url_params);
|
||||
}
|
||||
else if (script_basename() == 'index')
|
||||
{
|
||||
$url = duplicate_index_url(array(), $this->data_url_params);
|
||||
}
|
||||
else
|
||||
{
|
||||
$url = get_query_string_diff($this->data_url_params);
|
||||
}
|
||||
|
||||
if ($with_amp)
|
||||
{
|
||||
$url.= strpos($url, '?')!==false ? '&' : '?';
|
||||
}
|
||||
|
||||
return $url;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the current url minus MultiView params
|
||||
*
|
||||
* @param bool $with_amp - adds ? or & at the end of the url
|
||||
* @return string
|
||||
*/
|
||||
public function get_clean_admin_url($with_amp=false)
|
||||
{
|
||||
$url = PHPWG_ROOT_PATH.'admin.php';
|
||||
|
||||
$get = $_GET;
|
||||
unset($get['page'], $get['section'], $get['tag']);
|
||||
if (count($get) == 0 and !empty($_SERVER['QUERY_STRING']))
|
||||
{
|
||||
$url.= '?' . str_replace('&', '&', $_SERVER['QUERY_STRING']);
|
||||
}
|
||||
|
||||
if ($with_amp)
|
||||
{
|
||||
$url.= strpos($url, '?')!==false ? '&' : '?';
|
||||
}
|
||||
|
||||
return $url;
|
||||
}
|
||||
|
||||
/**
|
||||
* Triggered on "user_init", change current view depending of URL params.
|
||||
*/
|
||||
public function user_init()
|
||||
{
|
||||
global $user, $conf;
|
||||
|
||||
$this->is_admin = is_admin();
|
||||
|
||||
$this->user = array(
|
||||
'id' => $user['id'],
|
||||
'username' => $user['username'],
|
||||
'language' => $user['language'],
|
||||
'theme' => $user['theme'],
|
||||
);
|
||||
|
||||
// inactive on ws.php to allow AJAX admin tasks
|
||||
if ($this->is_admin && script_basename() != 'ws')
|
||||
{
|
||||
// show_queries
|
||||
if (isset($_GET['ato_show_queries']))
|
||||
{
|
||||
$this->data['show_queries'] = (bool)$_GET['ato_show_queries'];
|
||||
}
|
||||
$conf['show_queries'] = $this->data['show_queries'];
|
||||
|
||||
if ($this->data['view_as'] == 0)
|
||||
{
|
||||
$this->data['view_as'] = $user['id'];
|
||||
}
|
||||
if (empty($this->data['lang']))
|
||||
{
|
||||
$this->data['lang'] = $user['language'];
|
||||
}
|
||||
if (empty($this->data['theme']))
|
||||
{
|
||||
$this->data['theme'] = $user['theme'];
|
||||
}
|
||||
|
||||
// view_as
|
||||
if (!defined('IN_ADMIN'))
|
||||
{
|
||||
if (isset($_GET['ato_view_as']))
|
||||
{
|
||||
$this->data['view_as'] = (int)$_GET['ato_view_as'];
|
||||
}
|
||||
if ($this->data['view_as'] != $user['id'])
|
||||
{
|
||||
$user = build_user($this->data['view_as'], true);
|
||||
if (isset($_GET['ato_view_as']))
|
||||
{
|
||||
$this->data['theme'] = $user['theme'];
|
||||
$this->data['lang'] = $user['language'];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// theme
|
||||
if (isset($_GET['ato_theme']))
|
||||
{
|
||||
$this->data['theme'] = $_GET['ato_theme'];
|
||||
}
|
||||
$user['theme'] = $this->data['theme'];
|
||||
|
||||
// lang
|
||||
if (isset($_GET['ato_lang']))
|
||||
{
|
||||
$this->data['lang'] = $_GET['ato_lang'];
|
||||
}
|
||||
$user['language'] = $this->data['lang'];
|
||||
|
||||
// debug_l10n
|
||||
if (isset($_GET['ato_debug_l10n']))
|
||||
{
|
||||
$this->data['debug_l10n'] = (bool)$_GET['ato_debug_l10n'];
|
||||
}
|
||||
$conf['debug_l10n'] = $this->data['debug_l10n'];
|
||||
|
||||
// debug_template
|
||||
if (isset($_GET['ato_debug_template']))
|
||||
{
|
||||
$this->data['debug_template'] = (bool)$_GET['ato_debug_template'];
|
||||
}
|
||||
$conf['debug_template'] = $this->data['debug_template'];
|
||||
|
||||
// template_combine_files
|
||||
if (isset($_GET['ato_template_combine_files']))
|
||||
{
|
||||
$this->data['template_combine_files'] = (bool)$_GET['ato_template_combine_files'];
|
||||
}
|
||||
$conf['template_combine_files'] = $this->data['template_combine_files'];
|
||||
|
||||
// no_history
|
||||
if (isset($_GET['ato_no_history']))
|
||||
{
|
||||
$this->data['no_history'] = (bool)$_GET['ato_no_history'];
|
||||
}
|
||||
if ($this->data['no_history'])
|
||||
{
|
||||
add_event_handler('pwg_log_allowed', create_function('', 'return false;'));
|
||||
}
|
||||
|
||||
$this->save();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the language of the current user if different from the current language
|
||||
* false otherwise
|
||||
*/
|
||||
function get_user_language()
|
||||
{
|
||||
if (isset($this->user['language']) && isset($this->data['lang'])
|
||||
&& $this->user['language'] != $this->data['lang']
|
||||
)
|
||||
{
|
||||
return $this->user['language'];
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Triggered on "init", in order to clean template files (not initialized on "user_init")
|
||||
*/
|
||||
public function init()
|
||||
{
|
||||
if ($this->is_admin)
|
||||
{
|
||||
if (isset($_GET['ato_purge_template']))
|
||||
{
|
||||
global $template;
|
||||
$template->delete_compiled_templates();
|
||||
FileCombiner::clear_combined_files();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Mark browser session cache for deletion
|
||||
*/
|
||||
public static function invalidate_cache()
|
||||
{
|
||||
global $conf;
|
||||
conf_update_param('multiview_invalidate_cache', true, true);
|
||||
}
|
||||
|
||||
/**
|
||||
* Register custom API methods
|
||||
*/
|
||||
public static function register_ws($arr)
|
||||
{
|
||||
$service = &$arr[0];
|
||||
|
||||
$service->addMethod(
|
||||
'multiView.getData',
|
||||
array('MultiView', 'ws_get_data'),
|
||||
array(),
|
||||
'AdminTools private method.',
|
||||
null,
|
||||
array('admin_only' => true, 'hidden' => true)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* API method
|
||||
* Return full list of users, themes and languages
|
||||
*/
|
||||
public static function ws_get_data($params)
|
||||
{
|
||||
global $conf;
|
||||
|
||||
// get users
|
||||
$query = '
|
||||
SELECT
|
||||
'.$conf['user_fields']['id'].' AS id,
|
||||
'.$conf['user_fields']['username'].' AS username,
|
||||
status
|
||||
FROM '.USERS_TABLE.' AS u
|
||||
INNER JOIN '.USER_INFOS_TABLE.' AS i
|
||||
ON '.$conf['user_fields']['id'].' = user_id
|
||||
ORDER BY CONVERT('.$conf['user_fields']['username'].', CHAR)
|
||||
;';
|
||||
$out['users'] = array_from_query($query);
|
||||
|
||||
// get themes
|
||||
include_once(PHPWG_ROOT_PATH.'admin/include/themes.class.php');
|
||||
$themes = new themes();
|
||||
foreach (array_keys($themes->db_themes_by_id) as $theme)
|
||||
{
|
||||
if (!empty($theme))
|
||||
{
|
||||
$out['themes'][] = $theme;
|
||||
}
|
||||
}
|
||||
|
||||
// get languages
|
||||
foreach (get_languages() as $code => $name)
|
||||
{
|
||||
$out['languages'][] = array(
|
||||
'id' => $code,
|
||||
'name' => $name,
|
||||
);
|
||||
}
|
||||
|
||||
conf_delete_param('multiview_invalidate_cache');
|
||||
|
||||
return $out;
|
||||
}
|
||||
}
|
360
sources/plugins/AdminTools/include/events.inc.php
Normal file
360
sources/plugins/AdminTools/include/events.inc.php
Normal file
|
@ -0,0 +1,360 @@
|
|||
<?php
|
||||
defined('ADMINTOOLS_PATH') or die('Hacking attempt!');
|
||||
|
||||
/**
|
||||
* Add main toolbar to current page
|
||||
* @trigger loc_after_page_header
|
||||
*/
|
||||
function admintools_add_public_controller()
|
||||
{
|
||||
global $MultiView, $conf, $template, $page, $user, $picture;
|
||||
|
||||
if (script_basename() == 'picture' and empty($picture['current']))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
$url_root = get_root_url();
|
||||
$tpl_vars = array();
|
||||
|
||||
if ($MultiView->is_admin())
|
||||
{ // full options for admin
|
||||
$tpl_vars['U_SITE_ADMIN'] = $url_root . 'admin.php?page=';
|
||||
$tpl_vars['MULTIVIEW'] = $MultiView->get_data();
|
||||
$tpl_vars['USER'] = $MultiView->get_user();
|
||||
$tpl_vars['CURRENT_USERNAME'] = $user['id']==$conf['guest_id'] ? l10n('guest') : $user['username'];
|
||||
$tpl_vars['DELETE_CACHE'] = isset($conf['multiview_invalidate_cache']);
|
||||
|
||||
if (($admin_lang = $MultiView->get_user_language()) !== false)
|
||||
{
|
||||
include_once(PHPWG_ROOT_PATH . 'include/functions_mail.inc.php');
|
||||
switch_lang_to($admin_lang);
|
||||
}
|
||||
}
|
||||
else if ($conf['AdminTools']['public_quick_edit'] and
|
||||
script_basename() == 'picture' and $picture['current']['added_by'] == $user['id']
|
||||
)
|
||||
{ // only "edit" button for photo owner
|
||||
}
|
||||
else
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
$tpl_vars['POSITION'] = $conf['AdminTools']['closed_position'];
|
||||
$tpl_vars['DEFAULT_OPEN'] = $conf['AdminTools']['default_open'];
|
||||
$tpl_vars['U_SELF'] = $MultiView->get_clean_url(true);
|
||||
|
||||
// photo page
|
||||
if (script_basename() == 'picture')
|
||||
{
|
||||
$url_self = duplicate_picture_url();
|
||||
$tpl_vars['IS_PICTURE'] = true;
|
||||
|
||||
// admin can add to caddie and set representattive
|
||||
if ($MultiView->is_admin())
|
||||
{
|
||||
$template->clear_assign(array(
|
||||
'U_SET_AS_REPRESENTATIVE',
|
||||
'U_PHOTO_ADMIN',
|
||||
'U_CADDIE',
|
||||
));
|
||||
|
||||
$template->set_prefilter('picture', 'admintools_remove_privacy');
|
||||
|
||||
$tpl_vars['U_CADDIE'] = add_url_params(
|
||||
$url_self,
|
||||
array('action'=>'add_to_caddie')
|
||||
);
|
||||
|
||||
$query = '
|
||||
SELECT element_id FROM ' . CADDIE_TABLE . '
|
||||
WHERE element_id = ' . $page['image_id'] .'
|
||||
;';
|
||||
$tpl_vars['IS_IN_CADDIE'] = pwg_db_num_rows(pwg_query($query)) > 0;
|
||||
|
||||
if (isset($page['category']))
|
||||
{
|
||||
$tpl_vars['CATEGORY_ID'] = $page['category']['id'];
|
||||
|
||||
$tpl_vars['U_SET_REPRESENTATIVE'] = add_url_params(
|
||||
$url_self,
|
||||
array('action'=>'set_as_representative')
|
||||
);
|
||||
|
||||
$tpl_vars['IS_REPRESENTATIVE'] = $page['category']['representative_picture_id'] == $page['image_id'];
|
||||
}
|
||||
|
||||
$tpl_vars['U_ADMIN_EDIT'] = $url_root . 'admin.php?page=photo-' . $page['image_id']
|
||||
.(isset($page['category']) ? '&cat_id=' . $page['category']['id'] : '');
|
||||
}
|
||||
|
||||
$tpl_vars['U_DELETE'] = add_url_params(
|
||||
$url_self, array(
|
||||
'delete'=>'',
|
||||
'pwg_token'=>get_pwg_token()
|
||||
)
|
||||
);
|
||||
|
||||
// gets tags (full available list is loaded in ajax)
|
||||
include_once(PHPWG_ROOT_PATH . 'admin/include/functions.php');
|
||||
|
||||
$query = '
|
||||
SELECT id, name
|
||||
FROM '.IMAGE_TAG_TABLE.' AS it
|
||||
JOIN '.TAGS_TABLE.' AS t ON t.id = it.tag_id
|
||||
WHERE image_id = '.$page['image_id'].'
|
||||
;';
|
||||
$tag_selection = get_taglist($query);
|
||||
|
||||
$tpl_vars['QUICK_EDIT'] = array(
|
||||
'img' => $picture['current']['derivatives']['square']->get_url(),
|
||||
'name' => $picture['current']['name'],
|
||||
'comment' => $picture['current']['comment'],
|
||||
'author' => $picture['current']['author'],
|
||||
'level' => $picture['current']['level'],
|
||||
'date_creation' => substr($picture['current']['date_creation'], 0, 10),
|
||||
'date_creation_time' => substr($picture['current']['date_creation'], 11, 5),
|
||||
'tag_selection' => $tag_selection,
|
||||
);
|
||||
}
|
||||
// album page (admin only)
|
||||
else if ($MultiView->is_admin() and @$page['section'] == 'categories' and isset($page['category']))
|
||||
{
|
||||
$url_self = duplicate_index_url();
|
||||
|
||||
$tpl_vars['IS_CATEGORY'] = true;
|
||||
$tpl_vars['CATEGORY_ID'] = $page['category']['id'];
|
||||
|
||||
$template->clear_assign(array(
|
||||
'U_EDIT',
|
||||
'U_CADDIE',
|
||||
));
|
||||
|
||||
$tpl_vars['U_ADMIN_EDIT'] = $url_root . 'admin.php?page=album-' . $page['category']['id'];
|
||||
|
||||
if (!empty($page['items']))
|
||||
{
|
||||
$tpl_vars['U_CADDIE'] = add_url_params(
|
||||
$url_self,
|
||||
array('caddie'=>1)
|
||||
);
|
||||
}
|
||||
|
||||
$tpl_vars['QUICK_EDIT'] = array(
|
||||
'img' => null,
|
||||
'name' => $page['category']['name'],
|
||||
'comment' => $page['category']['comment'],
|
||||
);
|
||||
|
||||
if (!empty($page['category']['representative_picture_id']))
|
||||
{
|
||||
$query = '
|
||||
SELECT * FROM '.IMAGES_TABLE.'
|
||||
WHERE id = '. $page['category']['representative_picture_id'] .'
|
||||
;';
|
||||
$image_infos = pwg_db_fetch_assoc(pwg_query($query));
|
||||
|
||||
$tpl_vars['QUICK_EDIT']['img'] = DerivativeImage::get_one(IMG_SQUARE, $image_infos)->get_url();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$template->assign(array(
|
||||
'ADMINTOOLS_PATH' => './plugins/' . ADMINTOOLS_ID .'/',
|
||||
'ato' => $tpl_vars,
|
||||
));
|
||||
|
||||
$template->set_filename('ato_public_controller', realpath(ADMINTOOLS_PATH . 'template/public_controller.tpl'));
|
||||
$template->parse('ato_public_controller');
|
||||
|
||||
if ($MultiView->is_admin() && @$admin_lang !== false)
|
||||
{
|
||||
switch_lang_back();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Add main toolbar to current page
|
||||
* @trigger loc_after_page_header
|
||||
*/
|
||||
function admintools_add_admin_controller()
|
||||
{
|
||||
global $MultiView, $conf, $template, $page, $user;
|
||||
|
||||
$url_root = get_root_url();
|
||||
$tpl_vars = array();
|
||||
|
||||
$tpl_vars['MULTIVIEW'] = $MultiView->get_data();
|
||||
$tpl_vars['DELETE_CACHE'] = isset($conf['multiview_invalidate_cache']);
|
||||
$tpl_vars['U_SELF'] = $MultiView->get_clean_admin_url(true);
|
||||
|
||||
if (($admin_lang = $MultiView->get_user_language()) !== false)
|
||||
{
|
||||
include_once(PHPWG_ROOT_PATH . 'include/functions_mail.inc.php');
|
||||
switch_lang_to($admin_lang);
|
||||
}
|
||||
|
||||
$template->assign(array(
|
||||
'ADMINTOOLS_PATH' => './plugins/' . ADMINTOOLS_ID .'/',
|
||||
'ato' => $tpl_vars,
|
||||
));
|
||||
|
||||
$template->set_filename('ato_admin_controller', realpath(ADMINTOOLS_PATH . 'template/admin_controller.tpl'));
|
||||
$template->parse('ato_admin_controller');
|
||||
|
||||
if ($MultiView->is_admin() && @$admin_lang !== false)
|
||||
{
|
||||
switch_lang_back();
|
||||
}
|
||||
}
|
||||
|
||||
function admintools_add_admin_controller_setprefilter()
|
||||
{
|
||||
global $template;
|
||||
$template->set_prefilter('header', 'admintools_admin_prefilter');
|
||||
}
|
||||
|
||||
function admintools_admin_prefilter($content)
|
||||
{
|
||||
$search = '<a class="icon-brush tiptip" href="{$U_CHANGE_THEME}" title="{\'Switch to clear or dark colors for administration\'|translate}">{\'Change Admin Colors\'|translate}</a>';
|
||||
$replace = '<span id="ato_container"><a class="icon-cog-alt" href="#">{\'Tools\'|translate}</a></span>';
|
||||
return str_replace($search, $replace, $content);
|
||||
}
|
||||
|
||||
/**
|
||||
* Disable privacy level switchbox
|
||||
*/
|
||||
function admintools_remove_privacy($content)
|
||||
{
|
||||
$search = '{if $display_info.privacy_level and isset($available_permission_levels)}';
|
||||
$replace = '{if false}';
|
||||
return str_replace($search, $replace, $content);
|
||||
}
|
||||
|
||||
/**
|
||||
* Save picture form
|
||||
* @trigger loc_begin_picture
|
||||
*/
|
||||
function admintools_save_picture()
|
||||
{
|
||||
global $page, $conf, $MultiView, $user, $picture;
|
||||
|
||||
if (!isset($_GET['delete']) and !isset($_POST['action']) and @$_POST['action'] != 'quick_edit')
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
$query = 'SELECT added_by FROM '. IMAGES_TABLE .' WHERE id = '. $page['image_id'] .';';
|
||||
list($added_by) = pwg_db_fetch_row(pwg_query($query));
|
||||
|
||||
if (!$MultiView->is_admin() and $user['id'] != $added_by)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (isset($_GET['delete']) and get_pwg_token()==@$_GET['pwg_token'])
|
||||
{
|
||||
include_once(PHPWG_ROOT_PATH . 'admin/include/functions.php');
|
||||
|
||||
delete_elements(array($page['image_id']), true);
|
||||
invalidate_user_cache();
|
||||
|
||||
if (isset($page['rank_of'][ $page['image_id'] ]))
|
||||
{
|
||||
redirect(
|
||||
duplicate_index_url(
|
||||
array(
|
||||
'start' =>
|
||||
floor($page['rank_of'][ $page['image_id'] ] / $page['nb_image_page'])
|
||||
* $page['nb_image_page']
|
||||
)
|
||||
)
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
redirect(make_index_url());
|
||||
}
|
||||
}
|
||||
|
||||
if ($_POST['action'] == 'quick_edit')
|
||||
{
|
||||
include_once(PHPWG_ROOT_PATH . 'admin/include/functions.php');
|
||||
|
||||
$data = array(
|
||||
'name' => $_POST['name'],
|
||||
'author' => $_POST['author'],
|
||||
);
|
||||
|
||||
if ($MultiView->is_admin())
|
||||
{
|
||||
$data['level'] = $_POST['level'];
|
||||
}
|
||||
|
||||
if ($conf['allow_html_descriptions'])
|
||||
{
|
||||
$data['comment'] = @$_POST['comment'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$data['comment'] = strip_tags(@$_POST['comment']);
|
||||
}
|
||||
|
||||
if (!empty($_POST['date_creation']) and strtotime($_POST['date_creation']) !== false)
|
||||
{
|
||||
$data['date_creation'] = $_POST['date_creation'] .' '. $_POST['date_creation_time'];
|
||||
}
|
||||
|
||||
single_update(
|
||||
IMAGES_TABLE,
|
||||
$data,
|
||||
array('id' => $page['image_id'])
|
||||
);
|
||||
|
||||
$tag_ids = array();
|
||||
if (!empty($_POST['tags']))
|
||||
{
|
||||
$tag_ids = get_tag_ids($_POST['tags']);
|
||||
}
|
||||
set_tags($tag_ids, $page['image_id']);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Save category form
|
||||
* @trigger loc_begin_index
|
||||
*/
|
||||
function admintools_save_category()
|
||||
{
|
||||
global $page, $conf, $MultiView;
|
||||
|
||||
if (!$MultiView->is_admin())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (@$_POST['action'] == 'quick_edit')
|
||||
{
|
||||
$data = array(
|
||||
'name' => $_POST['name'],
|
||||
);
|
||||
|
||||
if ($conf['allow_html_descriptions'])
|
||||
{
|
||||
$data['comment'] = @$_POST['comment'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$data['comment'] = strip_tags(@$_POST['comment']);
|
||||
}
|
||||
|
||||
single_update(
|
||||
CATEGORIES_TABLE,
|
||||
$data,
|
||||
array('id' => $page['category']['id'])
|
||||
);
|
||||
|
||||
redirect(duplicate_index_url());
|
||||
}
|
||||
}
|
7
sources/plugins/AdminTools/include/index.php
Normal file
7
sources/plugins/AdminTools/include/index.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
$url = '../';
|
||||
header( 'Request-URI: '.$url );
|
||||
header( 'Content-Location: '.$url );
|
||||
header( 'Location: '.$url );
|
||||
exit();
|
||||
?>
|
7
sources/plugins/AdminTools/index.php
Normal file
7
sources/plugins/AdminTools/index.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
$url = '../';
|
||||
header( 'Request-URI: '.$url );
|
||||
header( 'Content-Location: '.$url );
|
||||
header( 'Location: '.$url );
|
||||
exit();
|
||||
?>
|
1
sources/plugins/AdminTools/language/ar_SA/description.txt
Executable file
1
sources/plugins/AdminTools/language/ar_SA/description.txt
Executable file
|
@ -0,0 +1 @@
|
|||
القيام ببعض المهام الادارية على الصفحات العامة
|
7
sources/plugins/AdminTools/language/ar_SA/index.php
Normal file
7
sources/plugins/AdminTools/language/ar_SA/index.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
$url = '../';
|
||||
header( 'Request-URI: '.$url );
|
||||
header( 'Content-Location: '.$url );
|
||||
header( 'Location: '.$url );
|
||||
exit();
|
||||
?>
|
40
sources/plugins/AdminTools/language/ar_SA/plugin.lang.php
Executable file
40
sources/plugins/AdminTools/language/ar_SA/plugin.lang.php
Executable file
|
@ -0,0 +1,40 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
$lang['Viewing as <b>%s</b>.'] = 'عرض بشكل <b>%s</b>.';
|
||||
$lang['View as'] = 'عرض بشكل';
|
||||
$lang['Show SQL queries'] = 'إظهار استعلامات SQL';
|
||||
$lang['Saved'] = 'حفظ';
|
||||
$lang['Save visit in history'] = 'حفظ تاريخ الزيارة';
|
||||
$lang['Save'] = 'حفظ';
|
||||
$lang['Revert'] = 'الى الخلف';
|
||||
$lang['Quick edit'] = 'التحرير السريع';
|
||||
$lang['Properties page'] = 'خصائص الصفحة';
|
||||
$lang['Debug template'] = 'قالب تصحيح الأخطاء';
|
||||
$lang['Combine JS&CSS'] = 'الجمع بين JS و CSS';
|
||||
$lang['Debug languages'] = 'تصحيح أخطاء اللغات';
|
||||
$lang['Closed icon position'] = 'إغلاق وضع الآيقونه';
|
||||
$lang['Give access to quick edit to photo owners even if they are not admin'] = 'منح حق تحرير الصور لاصحاب الصور حتى المدير العام';
|
||||
$lang['Open toolbar by default'] = 'فتح شريط الأدوات بشكل افتراضي';
|
||||
$lang['left'] = 'يسار';
|
||||
$lang['right'] = 'يمين';
|
||||
?>
|
1
sources/plugins/AdminTools/language/bg_BG/description.txt
Executable file
1
sources/plugins/AdminTools/language/bg_BG/description.txt
Executable file
|
@ -0,0 +1 @@
|
|||
Няколко административни настройки на публичните страници
|
7
sources/plugins/AdminTools/language/bg_BG/index.php
Normal file
7
sources/plugins/AdminTools/language/bg_BG/index.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
$url = '../';
|
||||
header( 'Request-URI: '.$url );
|
||||
header( 'Content-Location: '.$url );
|
||||
header( 'Location: '.$url );
|
||||
exit();
|
||||
?>
|
40
sources/plugins/AdminTools/language/bg_BG/plugin.lang.php
Executable file
40
sources/plugins/AdminTools/language/bg_BG/plugin.lang.php
Executable file
|
@ -0,0 +1,40 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
$lang['Show SQL queries'] = 'Покажи SQL заявки';
|
||||
$lang['Combine JS&CSS'] = 'Комбиниране JS&CSS';
|
||||
$lang['Debug languages'] = 'Език за отстраняване на грешки';
|
||||
$lang['Debug template'] = 'Шаблон отстраняване на грешки';
|
||||
$lang['Properties page'] = 'Страница с настройки';
|
||||
$lang['Quick edit'] = 'Бърза редакция';
|
||||
$lang['Revert'] = 'Обратно';
|
||||
$lang['Viewing as <b>%s</b>.'] = 'Разглежда като <b>%s</b>.';
|
||||
$lang['View as'] = 'Виж като';
|
||||
$lang['Save'] = 'Запис';
|
||||
$lang['Save visit in history'] = 'Пази история на посещенията';
|
||||
$lang['Saved'] = 'Записано';
|
||||
$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Дава права за редакция върху снимка на собственика й дори и да не е администратор';
|
||||
$lang['Closed icon position'] = 'Затворена позиция на икона';
|
||||
$lang['Open toolbar by default'] = 'Отваряне на лента с инструменти по подразбиране';
|
||||
$lang['right'] = 'дясно';
|
||||
$lang['left'] = 'ляво';
|
||||
?>
|
1
sources/plugins/AdminTools/language/br_FR/description.txt
Executable file
1
sources/plugins/AdminTools/language/br_FR/description.txt
Executable file
|
@ -0,0 +1 @@
|
|||
Evit ober trevelloù mererezh dre ar pajennoù diavaez.
|
7
sources/plugins/AdminTools/language/br_FR/index.php
Normal file
7
sources/plugins/AdminTools/language/br_FR/index.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
$url = '../';
|
||||
header( 'Request-URI: '.$url );
|
||||
header( 'Content-Location: '.$url );
|
||||
header( 'Location: '.$url );
|
||||
exit();
|
||||
?>
|
39
sources/plugins/AdminTools/language/br_FR/plugin.lang.php
Executable file
39
sources/plugins/AdminTools/language/br_FR/plugin.lang.php
Executable file
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
$lang['Revert'] = 'Nullañ';
|
||||
$lang['Closed icon position'] = 'Lec\'h an arlun serret';
|
||||
$lang['Combine JS&CSS'] = 'Kenstrollañ JS ha CSS';
|
||||
$lang['Debug languages'] = 'Dizreinañ ar yezhoù';
|
||||
$lang['Debug template'] = 'Dizreinañ ar patrom';
|
||||
$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Reiñ da perc\'henn al luc\'hskeudennoù tu du aozañ buan ha pa vefent ket merourien.';
|
||||
$lang['Open toolbar by default'] = 'Digeriñ ar varrenn vinvioù dre ziouer';
|
||||
$lang['Properties page'] = 'Pajenn ar perzhioù';
|
||||
$lang['Quick edit'] = 'Aozañ buan';
|
||||
$lang['Save'] = 'Enrollañ';
|
||||
$lang['Save visit in history'] = 'Enrollañ ar weladenn er roll-istor';
|
||||
$lang['Saved'] = 'Enrollet';
|
||||
$lang['Show SQL queries'] = 'Diskouez rekedoù SQL';
|
||||
$lang['View as'] = 'Gwelet evel';
|
||||
$lang['Viewing as <b>%s</b>.'] = 'Gwelet evel <b>%s</b>.';
|
||||
$lang['left'] = 'tu kleiz';
|
||||
$lang['right'] = 'tu dehoù';
|
1
sources/plugins/AdminTools/language/ca_ES/description.txt
Executable file
1
sources/plugins/AdminTools/language/ca_ES/description.txt
Executable file
|
@ -0,0 +1 @@
|
|||
Permet tasques d'administració des de les pàgines públiques
|
7
sources/plugins/AdminTools/language/ca_ES/index.php
Normal file
7
sources/plugins/AdminTools/language/ca_ES/index.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
$url = '../';
|
||||
header( 'Request-URI: '.$url );
|
||||
header( 'Content-Location: '.$url );
|
||||
header( 'Location: '.$url );
|
||||
exit();
|
||||
?>
|
39
sources/plugins/AdminTools/language/ca_ES/plugin.lang.php
Executable file
39
sources/plugins/AdminTools/language/ca_ES/plugin.lang.php
Executable file
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
$lang['Closed icon position'] = 'Posició de la icona';
|
||||
$lang['Combine JS&CSS'] = 'Combina JS&SS';
|
||||
$lang['Debug languages'] = 'Depura els idiomes';
|
||||
$lang['Debug template'] = 'Depura la plantilla';
|
||||
$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Dóna accés als propietaris de les fotos (encara que no siguin administradors) per poder editar de forma ràpida ';
|
||||
$lang['Open toolbar by default'] = 'Obre la barra d\'eines per defecte';
|
||||
$lang['Properties page'] = 'Pàgina de propietats';
|
||||
$lang['Quick edit'] = 'Editor ràpid';
|
||||
$lang['Revert'] = 'Reverteix';
|
||||
$lang['Save'] = 'Guarda';
|
||||
$lang['Save visit in history'] = 'Guarda la visita a l\'historial';
|
||||
$lang['Saved'] = 'S\'ha guardat';
|
||||
$lang['Show SQL queries'] = 'Mostra les consultes SQL';
|
||||
$lang['View as'] = 'Veure com';
|
||||
$lang['Viewing as <b>%s</b>.'] = 'Veure com <b>%s</b>.';
|
||||
$lang['left'] = 'esquerra';
|
||||
$lang['right'] = 'dreta';
|
|
@ -0,0 +1 @@
|
|||
Umožní provádět některé administrační úkony i na stránkách fotogalerie
|
7
sources/plugins/AdminTools/language/cs_CZ/index.php
Normal file
7
sources/plugins/AdminTools/language/cs_CZ/index.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
$url = '../';
|
||||
header( 'Request-URI: '.$url );
|
||||
header( 'Content-Location: '.$url );
|
||||
header( 'Location: '.$url );
|
||||
exit();
|
||||
?>
|
20
sources/plugins/AdminTools/language/cs_CZ/plugin.lang.php
Normal file
20
sources/plugins/AdminTools/language/cs_CZ/plugin.lang.php
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
$lang['Combine JS&CSS'] = 'Kombinace JS&CSS';
|
||||
$lang['Debug languages'] = 'Debug překladů';
|
||||
$lang['Debug template'] = 'Debug šablony vzhledu';
|
||||
$lang['Viewing as <b>%s</b>.'] = 'Zobrazení jako <b>%s</b>.';
|
||||
$lang['Properties page'] = 'Stránka vlastností';
|
||||
$lang['Quick edit'] = 'Rychlá editace';
|
||||
$lang['Revert'] = 'Nazpět';
|
||||
$lang['Save'] = 'Uložit';
|
||||
$lang['Saved'] = 'Uloženo';
|
||||
$lang['Save visit in history'] = 'Ukládat návštevy do historie';
|
||||
$lang['Show SQL queries'] = 'Zobrazit SQL queries';
|
||||
$lang['View as'] = 'Zobrazit jako';
|
||||
|
||||
$lang['Closed icon position'] = 'Poloha ikony pro zavření';
|
||||
$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Udělit přístup do rychlé editace vlastníkům fotek i když nejsou admin';
|
||||
$lang['Open toolbar by default'] = 'Výchozí otevření panelu nástrojů';
|
||||
$lang['left'] = 'levý';
|
||||
$lang['right'] = 'pravý';
|
1
sources/plugins/AdminTools/language/da_DK/description.txt
Executable file
1
sources/plugins/AdminTools/language/da_DK/description.txt
Executable file
|
@ -0,0 +1 @@
|
|||
Foretag nogle administrative handlinger fra de offentlige sider.
|
7
sources/plugins/AdminTools/language/da_DK/index.php
Normal file
7
sources/plugins/AdminTools/language/da_DK/index.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
$url = '../';
|
||||
header( 'Request-URI: '.$url );
|
||||
header( 'Content-Location: '.$url );
|
||||
header( 'Location: '.$url );
|
||||
exit();
|
||||
?>
|
40
sources/plugins/AdminTools/language/da_DK/plugin.lang.php
Executable file
40
sources/plugins/AdminTools/language/da_DK/plugin.lang.php
Executable file
|
@ -0,0 +1,40 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
$lang['Combine JS&CSS'] = 'Kombiner JS&CSS';
|
||||
$lang['Debug languages'] = 'Debug sprog';
|
||||
$lang['Debug template'] = 'Debug skabelon';
|
||||
$lang['Properties page'] = 'Egenskabsside';
|
||||
$lang['Quick edit'] = 'Hurtigredigering';
|
||||
$lang['Revert'] = 'Tilbagefør';
|
||||
$lang['Save'] = 'Gem';
|
||||
$lang['Save visit in history'] = 'Gem besøg i historikken';
|
||||
$lang['Show SQL queries'] = 'Vis SQL-forespørgsler';
|
||||
$lang['View as'] = 'Vis som';
|
||||
$lang['Viewing as <b>%s</b>.'] = 'Viser som <b>%s</b>.';
|
||||
$lang['Saved'] = 'Gemt';
|
||||
$lang['Closed icon position'] = 'Lukket-ikons placering';
|
||||
$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Giv adgang til hurtigredigering for fotoejere, selv hvis de ikke er admin';
|
||||
$lang['Open toolbar by default'] = 'Åbn værktøjslinje som standard';
|
||||
$lang['left'] = 'venstre';
|
||||
$lang['right'] = 'højre';
|
||||
?>
|
1
sources/plugins/AdminTools/language/de_DE/description.txt
Executable file
1
sources/plugins/AdminTools/language/de_DE/description.txt
Executable file
|
@ -0,0 +1 @@
|
|||
Ausgewählte Admin-Tätigkeiten mittels Toolbar von allen Seiten aus durchführen
|
7
sources/plugins/AdminTools/language/de_DE/index.php
Normal file
7
sources/plugins/AdminTools/language/de_DE/index.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
$url = '../';
|
||||
header( 'Request-URI: '.$url );
|
||||
header( 'Content-Location: '.$url );
|
||||
header( 'Location: '.$url );
|
||||
exit();
|
||||
?>
|
39
sources/plugins/AdminTools/language/de_DE/plugin.lang.php
Executable file
39
sources/plugins/AdminTools/language/de_DE/plugin.lang.php
Executable file
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
$lang['Combine JS&CSS'] = 'JS&CSS kombinieren';
|
||||
$lang['Debug languages'] = 'Sprachen debuggen';
|
||||
$lang['Debug template'] = 'Vorlagen debuggen';
|
||||
$lang['Properties page'] = 'Eigenschaften';
|
||||
$lang['Quick edit'] = 'Schnellbearbeitung';
|
||||
$lang['Revert'] = 'Zurücksetzen';
|
||||
$lang['Save'] = 'Speichern';
|
||||
$lang['Save visit in history'] = 'Zugriff in Historie speichern';
|
||||
$lang['Show SQL queries'] = 'SQL-Abfrage anzeigen';
|
||||
$lang['View as'] = 'Anzeigen als';
|
||||
$lang['Viewing as <b>%s</b>.'] = 'Aktueller Benutzer: <b>%s</b>';
|
||||
$lang['Saved'] = 'Gespeichert';
|
||||
$lang['Closed icon position'] = 'Position des geschlossenen Icons';
|
||||
$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Zugriff zum schnellen Editieren für Bildereigentümer erlauben, obwohl sie kein Administrator sind.';
|
||||
$lang['Open toolbar by default'] = 'Die Werkzeugleiste standardmässig öffnen';
|
||||
$lang['left'] = 'links';
|
||||
$lang['right'] = 'rechts';
|
1
sources/plugins/AdminTools/language/el_GR/description.txt
Executable file
1
sources/plugins/AdminTools/language/el_GR/description.txt
Executable file
|
@ -0,0 +1 @@
|
|||
Κάνει κάποιες διαχειριστικές εργασίες από δημόσιες σελίδες
|
7
sources/plugins/AdminTools/language/el_GR/index.php
Normal file
7
sources/plugins/AdminTools/language/el_GR/index.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
$url = '../';
|
||||
header( 'Request-URI: '.$url );
|
||||
header( 'Content-Location: '.$url );
|
||||
header( 'Location: '.$url );
|
||||
exit();
|
||||
?>
|
40
sources/plugins/AdminTools/language/el_GR/plugin.lang.php
Executable file
40
sources/plugins/AdminTools/language/el_GR/plugin.lang.php
Executable file
|
@ -0,0 +1,40 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
$lang['Viewing as <b>%s</b>.'] = 'Προβολή ως <b>%s</b>';
|
||||
$lang['View as'] = 'Προβολή ως';
|
||||
$lang['Show SQL queries'] = 'Εμφάνιση ερωτημάτων SQL';
|
||||
$lang['Save visit in history'] = 'Αποθήκευση επίσκεψης στην ιστορία';
|
||||
$lang['Save'] = 'Αποθήκευση';
|
||||
$lang['Revert'] = 'Επαναφορά';
|
||||
$lang['Quick edit'] = 'Γρήγορη επεξεργασία';
|
||||
$lang['Debug languages'] = 'Γλώσσες αποσφάτωσης';
|
||||
$lang['Debug template'] = 'Πρότυπο αποσφάτωσης';
|
||||
$lang['Properties page'] = 'Ιδιότητες σελίδας';
|
||||
$lang['Combine JS&CSS'] = 'Συνδυάστε JS&CSS';
|
||||
$lang['Saved'] = 'Αποθηκεύτηκε';
|
||||
$lang['right'] = 'δεξιά';
|
||||
$lang['left'] = 'αριστερά';
|
||||
$lang['Open toolbar by default'] = 'Ανοικτή γραμμή εργαλείων από προεπιλογή';
|
||||
$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Δώστε πρόσβαση σε γρήγορη επεξεργασία στους ιδιοκτήτες φωτογραφιών, ακόμη και αν δεν το διαχειριστές ';
|
||||
$lang['Closed icon position'] = 'Θέση Κλειστού εικονονίδιου';
|
||||
?>
|
|
@ -0,0 +1 @@
|
|||
Do some admin task from the public pages
|
7
sources/plugins/AdminTools/language/en_UK/index.php
Normal file
7
sources/plugins/AdminTools/language/en_UK/index.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
$url = '../';
|
||||
header( 'Request-URI: '.$url );
|
||||
header( 'Content-Location: '.$url );
|
||||
header( 'Location: '.$url );
|
||||
exit();
|
||||
?>
|
21
sources/plugins/AdminTools/language/en_UK/plugin.lang.php
Normal file
21
sources/plugins/AdminTools/language/en_UK/plugin.lang.php
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
|
||||
$lang['Combine JS&CSS'] = 'Combine JS&CSS';
|
||||
$lang['Debug languages'] = 'Debug languages';
|
||||
$lang['Debug template'] = 'Debug template';
|
||||
$lang['Viewing as <b>%s</b>.'] = 'Viewing as <b>%s</b>.';
|
||||
$lang['Properties page'] = 'Properties page';
|
||||
$lang['Quick edit'] = 'Quick edit';
|
||||
$lang['Revert'] = 'Revert';
|
||||
$lang['Save'] = 'Save';
|
||||
$lang['Saved'] = 'Saved';
|
||||
$lang['Save visit in history'] = 'Save visit in history';
|
||||
$lang['Show SQL queries'] = 'Show SQL queries';
|
||||
$lang['View as'] = 'View as';
|
||||
$lang['Closed icon position'] = 'Closed icon position';
|
||||
$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Give access to quick edit to photo owners even if they are not admin';
|
||||
$lang['Open toolbar by default'] = 'Open toolbar by default';
|
||||
$lang['left'] = 'left';
|
||||
$lang['right'] = 'right';
|
||||
|
||||
?>
|
1
sources/plugins/AdminTools/language/eo_EO/description.txt
Executable file
1
sources/plugins/AdminTools/language/eo_EO/description.txt
Executable file
|
@ -0,0 +1 @@
|
|||
Faras kelkajn administrajn taskojn el la publikaj paĝoj
|
7
sources/plugins/AdminTools/language/eo_EO/index.php
Normal file
7
sources/plugins/AdminTools/language/eo_EO/index.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
$url = '../';
|
||||
header( 'Request-URI: '.$url );
|
||||
header( 'Content-Location: '.$url );
|
||||
header( 'Location: '.$url );
|
||||
exit();
|
||||
?>
|
40
sources/plugins/AdminTools/language/eo_EO/plugin.lang.php
Executable file
40
sources/plugins/AdminTools/language/eo_EO/plugin.lang.php
Executable file
|
@ -0,0 +1,40 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
$lang['Combine JS&CSS'] = 'Kunigi JS&CSS';
|
||||
$lang['Debug languages'] = 'Sencimigi la lingvojn';
|
||||
$lang['Debug template'] = 'Sencimigi la ŝablonon';
|
||||
$lang['Properties page'] = 'Paĝaj ecoj';
|
||||
$lang['Quick edit'] = 'Rapida redakto';
|
||||
$lang['Revert'] = 'Malfari';
|
||||
$lang['Save'] = 'Konservi';
|
||||
$lang['Save visit in history'] = 'Konservi la viziton al historio';
|
||||
$lang['Show SQL queries'] = 'Montri la SQL-aj informpetoj';
|
||||
$lang['View as'] = 'Vidi kiel';
|
||||
$lang['Viewing as <b>%s</b>.'] = 'Vidita kiel <b>%s</b>';
|
||||
$lang['Saved'] = 'Konservita';
|
||||
$lang['Closed icon position'] = 'Pozicio de la fermita bildsimbolo';
|
||||
$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Permesi al fotoposedantoj atingon al rapida redaktado eĉ se ili ne estas administrantoj';
|
||||
$lang['Open toolbar by default'] = 'Malfermi la aprioran ilobreton';
|
||||
$lang['left'] = 'maldekstra';
|
||||
$lang['right'] = 'dekstra';
|
||||
?>
|
1
sources/plugins/AdminTools/language/es_ES/description.txt
Executable file
1
sources/plugins/AdminTools/language/es_ES/description.txt
Executable file
|
@ -0,0 +1 @@
|
|||
Hacer algunas tarea de administración de las páginas públicas
|
7
sources/plugins/AdminTools/language/es_ES/index.php
Normal file
7
sources/plugins/AdminTools/language/es_ES/index.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
$url = '../';
|
||||
header( 'Request-URI: '.$url );
|
||||
header( 'Content-Location: '.$url );
|
||||
header( 'Location: '.$url );
|
||||
exit();
|
||||
?>
|
40
sources/plugins/AdminTools/language/es_ES/plugin.lang.php
Executable file
40
sources/plugins/AdminTools/language/es_ES/plugin.lang.php
Executable file
|
@ -0,0 +1,40 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
$lang['Revert'] = 'Volver';
|
||||
$lang['Save'] = 'Guardar';
|
||||
$lang['Save visit in history'] = 'Guardar el histórico de visita ';
|
||||
$lang['Show SQL queries'] = 'Mostrar consultas SQL ';
|
||||
$lang['View as'] = 'Ver como';
|
||||
$lang['Viewing as <b>%s</b>.'] = 'Visualización como <b>%s</b>.';
|
||||
$lang['Quick edit'] = 'Edición rápida';
|
||||
$lang['Properties page'] = 'Propriedades de la pagina';
|
||||
$lang['Debug template'] = 'Depurar plantilla';
|
||||
$lang['Debug languages'] = 'Depurar idiomas';
|
||||
$lang['Combine JS&CSS'] = 'Combine JS y CSS';
|
||||
$lang['Saved'] = 'Guardado';
|
||||
$lang['Closed icon position'] = 'Posición de icono Cerrado';
|
||||
$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Dar acceso a la edición rápida a los propietarios de las fotos, incluso si no son admin';
|
||||
$lang['Open toolbar by default'] = 'Abrir por defecto la barra de herramientas ';
|
||||
$lang['left'] = 'izquierda';
|
||||
$lang['right'] = 'derecha';
|
||||
?>
|
1
sources/plugins/AdminTools/language/et_EE/description.txt
Executable file
1
sources/plugins/AdminTools/language/et_EE/description.txt
Executable file
|
@ -0,0 +1 @@
|
|||
Lubab mõningast toimetamist otse üldlehtedelt
|
7
sources/plugins/AdminTools/language/et_EE/index.php
Normal file
7
sources/plugins/AdminTools/language/et_EE/index.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
$url = '../';
|
||||
header( 'Request-URI: '.$url );
|
||||
header( 'Content-Location: '.$url );
|
||||
header( 'Location: '.$url );
|
||||
exit();
|
||||
?>
|
39
sources/plugins/AdminTools/language/et_EE/plugin.lang.php
Executable file
39
sources/plugins/AdminTools/language/et_EE/plugin.lang.php
Executable file
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
$lang['left'] = 'vasak';
|
||||
$lang['right'] = 'parem';
|
||||
$lang['Viewing as <b>%s</b>.'] = 'Kuvatakse kui <b>%s</b>.';
|
||||
$lang['View as'] = 'Näita kui';
|
||||
$lang['Show SQL queries'] = 'Näita andmebaasi SQL-päringuid';
|
||||
$lang['Saved'] = 'Salvestatud';
|
||||
$lang['Save visit in history'] = 'Salvesta külastus ajalukku';
|
||||
$lang['Save'] = 'Salvesta';
|
||||
$lang['Revert'] = 'Taasta';
|
||||
$lang['Quick edit'] = 'Kiirtoimeta';
|
||||
$lang['Properties page'] = 'Atribuudileht';
|
||||
$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Luba fotode kiirtoimetamist nende omanikele, kuigi nad pole haldurid';
|
||||
$lang['Open toolbar by default'] = 'Näita tööriistariba vaikimisi';
|
||||
$lang['Debug template'] = 'Silumise mall';
|
||||
$lang['Debug languages'] = 'Silumise keeled';
|
||||
$lang['Combine JS&CSS'] = 'Kasuta nii JavaScripti kui CSS-i';
|
||||
$lang['Closed icon position'] = 'Suletud ikooni asukoht';
|
1
sources/plugins/AdminTools/language/fa_IR/description.txt
Executable file
1
sources/plugins/AdminTools/language/fa_IR/description.txt
Executable file
|
@ -0,0 +1 @@
|
|||
از صفحات عمومي مقداري كار مديريتي انجام دهيد.
|
7
sources/plugins/AdminTools/language/fa_IR/index.php
Normal file
7
sources/plugins/AdminTools/language/fa_IR/index.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
$url = '../';
|
||||
header( 'Request-URI: '.$url );
|
||||
header( 'Content-Location: '.$url );
|
||||
header( 'Location: '.$url );
|
||||
exit();
|
||||
?>
|
40
sources/plugins/AdminTools/language/fa_IR/plugin.lang.php
Executable file
40
sources/plugins/AdminTools/language/fa_IR/plugin.lang.php
Executable file
|
@ -0,0 +1,40 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
$lang['Closed icon position'] = 'موقعيت آيكون بسته شده';
|
||||
$lang['Combine JS&CSS'] = 'تركيب جاوا اسكريپ و قالب';
|
||||
$lang['Debug languages'] = 'زبانهاي خطايابي';
|
||||
$lang['Debug template'] = 'قالب خطايابي';
|
||||
$lang['Give access to quick edit to photo owners even if they are not admin'] = 'دسترسي صاحب عكس براي ويرايش عكس در حالت غير مديركل';
|
||||
$lang['Open toolbar by default'] = 'باز كردن پيش فرض ابزار';
|
||||
$lang['Properties page'] = 'صفحه مشخصات';
|
||||
$lang['Quick edit'] = 'ويرايش سريع';
|
||||
$lang['Revert'] = 'بازگرداندن';
|
||||
$lang['Save'] = 'ذخيره';
|
||||
$lang['Save visit in history'] = 'ذخيره بازديدها در تاريخچه';
|
||||
$lang['Saved'] = 'ذخيره شده';
|
||||
$lang['Show SQL queries'] = 'نمايش دستورات جستجوي بانك اطلاعات';
|
||||
$lang['View as'] = 'نمايش در حالت';
|
||||
$lang['Viewing as <b>%s</b>.'] = 'نمايش در حالت <b>%s</b>.';
|
||||
$lang['left'] = 'چپ';
|
||||
$lang['right'] = 'راست';
|
||||
?>
|
1
sources/plugins/AdminTools/language/fi_FI/description.txt
Executable file
1
sources/plugins/AdminTools/language/fi_FI/description.txt
Executable file
|
@ -0,0 +1 @@
|
|||
Suorita osa ylläpitäjän toiminnoista suoraan julkisilta sivuilta
|
7
sources/plugins/AdminTools/language/fi_FI/index.php
Normal file
7
sources/plugins/AdminTools/language/fi_FI/index.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
$url = '../';
|
||||
header( 'Request-URI: '.$url );
|
||||
header( 'Content-Location: '.$url );
|
||||
header( 'Location: '.$url );
|
||||
exit();
|
||||
?>
|
40
sources/plugins/AdminTools/language/fi_FI/plugin.lang.php
Executable file
40
sources/plugins/AdminTools/language/fi_FI/plugin.lang.php
Executable file
|
@ -0,0 +1,40 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
$lang['Combine JS&CSS'] = 'Yhdistä JS&CSS';
|
||||
$lang['Debug languages'] = 'Debuggaa kielet';
|
||||
$lang['Quick edit'] = 'Pikamuokkaus';
|
||||
$lang['Revert'] = 'Palauta';
|
||||
$lang['Save'] = 'Tallenna';
|
||||
$lang['Show SQL queries'] = 'Näytä SQL-kyselyt';
|
||||
$lang['View as'] = 'Katso';
|
||||
$lang['Properties page'] = 'Ominaisuussivu';
|
||||
$lang['Save visit in history'] = 'Tallenna käynti historiatietoihin';
|
||||
$lang['Saved'] = 'Tallennettu';
|
||||
$lang['Closed icon position'] = 'Suljettu kuvakkeen sijainti';
|
||||
$lang['Viewing as <b>%s</b>.'] = 'Näkyy <b>%s</b>';
|
||||
$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Anna oikeus pikamuokkaukseen vaikkei käyttäjä ole ylläpitäjä';
|
||||
$lang['Debug template'] = 'Debuggaa malline';
|
||||
$lang['Open toolbar by default'] = 'Avaa työkalupalkki oletuksena';
|
||||
$lang['left'] = 'vasen';
|
||||
$lang['right'] = 'oikea';
|
||||
?>
|
|
@ -0,0 +1 @@
|
|||
Rend possibles certaines tâches d’administration depuis la partie publique
|
7
sources/plugins/AdminTools/language/fr_CA/index.php
Normal file
7
sources/plugins/AdminTools/language/fr_CA/index.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
$url = '../';
|
||||
header( 'Request-URI: '.$url );
|
||||
header( 'Content-Location: '.$url );
|
||||
header( 'Location: '.$url );
|
||||
exit();
|
||||
?>
|
21
sources/plugins/AdminTools/language/fr_CA/plugin.lang.php
Normal file
21
sources/plugins/AdminTools/language/fr_CA/plugin.lang.php
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
|
||||
$lang['Combine JS&CSS'] = 'Combiner JS&CSS';
|
||||
$lang['Debug languages'] = 'Déboguer les langues';
|
||||
$lang['Debug template'] = 'Déboguer le patron';
|
||||
$lang['Viewing as <b>%s</b>.'] = 'Vue simulée de <b>%s</b>.';
|
||||
$lang['Properties page'] = 'Page d\'administration';
|
||||
$lang['Quick edit'] = 'Édition rapide';
|
||||
$lang['Revert'] = 'Annuler';
|
||||
$lang['Save'] = 'Sauvegarder';
|
||||
$lang['Saved'] = 'Sauvegardé';
|
||||
$lang['Save visit in history'] = 'Sauvegarder la viste dans l\'historique';
|
||||
$lang['Show SQL queries'] = 'Afficher les requêtes SQL';
|
||||
$lang['View as'] = 'Voir en tant que';
|
||||
$lang['Closed icon position'] = 'Position de l\'icône fermée';
|
||||
$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Autoriser l\'accès à l\'édition rapide aux propriétaires des photos même s\'ils ne sont pas administrateurs';
|
||||
$lang['Open toolbar by default'] = 'Ouvrir la barre par défaut';
|
||||
$lang['left'] = 'gauche';
|
||||
$lang['right'] = 'droite';
|
||||
|
||||
?>
|
|
@ -0,0 +1 @@
|
|||
Rend possibles certaines tâches d’administration depuis la partie publique
|
7
sources/plugins/AdminTools/language/fr_FR/index.php
Normal file
7
sources/plugins/AdminTools/language/fr_FR/index.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
$url = '../';
|
||||
header( 'Request-URI: '.$url );
|
||||
header( 'Content-Location: '.$url );
|
||||
header( 'Location: '.$url );
|
||||
exit();
|
||||
?>
|
21
sources/plugins/AdminTools/language/fr_FR/plugin.lang.php
Normal file
21
sources/plugins/AdminTools/language/fr_FR/plugin.lang.php
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
|
||||
$lang['Combine JS&CSS'] = 'Combiner JS&CSS';
|
||||
$lang['Debug languages'] = 'Debuguer les langues';
|
||||
$lang['Debug template'] = 'Debuguer le template';
|
||||
$lang['Viewing as <b>%s</b>.'] = 'Vue simulée de <b>%s</b>.';
|
||||
$lang['Properties page'] = 'Page d\'administration';
|
||||
$lang['Quick edit'] = 'Édition rapide';
|
||||
$lang['Revert'] = 'Annuler';
|
||||
$lang['Save'] = 'Sauvegarder';
|
||||
$lang['Saved'] = 'Sauvegardé';
|
||||
$lang['Save visit in history'] = 'Sauvegarder la viste dans l\'historique';
|
||||
$lang['Show SQL queries'] = 'Afficher les requêtes SQL';
|
||||
$lang['View as'] = 'Voir en tant que';
|
||||
$lang['Closed icon position'] = 'Position the l\'icône fermé';
|
||||
$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Autoriser l\'accès à l\'édition rapide aux propriétaires des photos même s\'ils ne sont pas admin';
|
||||
$lang['Open toolbar by default'] = 'Ouvrir la barre par défaut';
|
||||
$lang['left'] = 'gauche';
|
||||
$lang['right'] = 'droite';
|
||||
|
||||
?>
|
|
@ -0,0 +1 @@
|
|||
Faga algunha tarefa de administración das páxinas públicas.
|
7
sources/plugins/AdminTools/language/gl_ES/index.php
Normal file
7
sources/plugins/AdminTools/language/gl_ES/index.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
$url = '../';
|
||||
header( 'Request-URI: '.$url );
|
||||
header( 'Content-Location: '.$url );
|
||||
header( 'Location: '.$url );
|
||||
exit();
|
||||
?>
|
39
sources/plugins/AdminTools/language/gl_ES/plugin.lang.php
Normal file
39
sources/plugins/AdminTools/language/gl_ES/plugin.lang.php
Normal file
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Dar acceso a modificación rápida para propietarios de fotografías, mesmo se eles non son administradores';
|
||||
$lang['Quick edit'] = 'Modificación rápida';
|
||||
$lang['Revert'] = 'Reverter';
|
||||
$lang['Save'] = 'Gardar';
|
||||
$lang['Save visit in history'] = 'Gardar visita no histórico';
|
||||
$lang['Saved'] = 'Gardado';
|
||||
$lang['Show SQL queries'] = 'Amosar consultas SQL';
|
||||
$lang['View as'] = 'Ver como';
|
||||
$lang['Viewing as <b>%s</b>.'] = 'Vendo como <b>%s</b>.';
|
||||
$lang['left'] = 'esquerda';
|
||||
$lang['right'] = 'dereita';
|
||||
$lang['Closed icon position'] = 'Posición icona pechada';
|
||||
$lang['Combine JS&CSS'] = 'Combinar JS&CSS';
|
||||
$lang['Debug languages'] = 'Depurar idiomas';
|
||||
$lang['Debug template'] = 'Depurar modelo';
|
||||
$lang['Open toolbar by default'] = 'Abrir a barra de ferramentas predeterminada';
|
||||
$lang['Properties page'] = 'Páxina de propiedades';
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue