Compare commits
149 commits
Author | SHA1 | Date | |
---|---|---|---|
|
b7d9a322ee | ||
|
c8e8bfdfe6 | ||
|
a041d923f3 | ||
|
3015047a08 | ||
|
f0b805cf10 | ||
|
09a00acc0c | ||
|
deb89a13d8 | ||
|
44370399ee | ||
|
138fe984a2 | ||
|
ce4b79e7b0 | ||
|
39a466c193 | ||
|
a896587970 | ||
|
94aadfe7ff | ||
|
5fc28fe7fc | ||
|
f73680ecb4 | ||
|
30587e310d | ||
|
85df9d4f21 | ||
|
107cf4be16 | ||
|
735f9f0d99 | ||
|
4aa919f38f | ||
|
1d5af70e5e | ||
|
4bd0efd3ea | ||
|
bbacac635c | ||
|
a16ebeda85 | ||
|
fdbb2d6681 | ||
|
576cdcdb09 | ||
|
44dfda7a10 | ||
|
fc6b9d6a79 | ||
|
068c05b31c | ||
|
ca540ce7bc | ||
|
b037ef4bab | ||
|
1ea69211ed | ||
|
76f75f3042 | ||
|
fe34ce4046 | ||
|
c19070a07d | ||
|
ec7cb28766 | ||
|
c06c5d7429 | ||
|
12a5a60f2d | ||
|
06ac232444 | ||
|
f27029ba30 | ||
|
3d239673ae | ||
|
3a98bb3f88 | ||
|
c586d4ff63 | ||
|
4d5648607c | ||
|
95b215d340 | ||
|
1121543ad9 | ||
|
6119c01fbb | ||
|
f7527692b3 | ||
|
27c7e9d5a2 | ||
|
6ea2c1b7d9 | ||
|
9e4078def4 | ||
|
ee8227a3ce | ||
|
1136e87181 | ||
|
729be610db | ||
|
81308b60fc | ||
|
68f92bbd05 | ||
|
3a07d869d0 | ||
|
12fd934471 | ||
|
0fed5786ea | ||
|
9667411577 | ||
|
e39dc7c0ab | ||
|
c882b26915 | ||
|
d92002f922 | ||
|
8dae2c5cb2 | ||
|
d069762615 | ||
|
eedb9e3d62 | ||
|
c2035bc574 | ||
|
316a3dca3e | ||
|
40a11658a9 | ||
|
5c5c69f9a0 | ||
|
36bf4efe4d | ||
|
54813d73b0 | ||
|
1dea45e873 | ||
|
d65473d1bc | ||
|
9180de2f11 | ||
|
e8f465a67a | ||
|
ff1fbe962e | ||
|
dd6edbb30c | ||
|
982bc009b6 | ||
|
b81a4dbc62 | ||
|
5a7f683bd4 | ||
|
8d2a8cdadd | ||
|
6dbfba3719 | ||
|
3d1277bf4d | ||
|
43ab0be533 | ||
|
d6e56847b9 | ||
|
7250f30ce7 | ||
|
5efed0a4e0 | ||
|
20f57086ac | ||
|
00ac0f8d3e | ||
|
64e1ebb49c | ||
|
267f528040 | ||
|
b4ffea31f4 | ||
|
8b4fd27f0b | ||
|
c058388379 | ||
|
9e0303774b | ||
|
020d991cb1 | ||
|
a2626afcee | ||
|
b8d74dde50 | ||
|
384ec739f6 | ||
|
855398f63e | ||
|
fb880db771 | ||
|
1c59964dff | ||
|
0fa0c8bb07 | ||
|
7b8d0b8dd8 | ||
|
e1b59cb0a8 | ||
|
298077dff6 | ||
|
7254f66549 | ||
|
57b44b3146 | ||
|
1592a942f0 | ||
|
185b2c2596 | ||
|
0b87dc7bfd | ||
|
755d734a89 | ||
|
f434e5e8f8 | ||
|
09da40f461 | ||
|
61f40a7eb4 | ||
|
179be31976 | ||
|
5dddcea90c | ||
|
74878b33e3 | ||
|
fa92671b15 | ||
|
02f153125b | ||
|
caad9b65c6 | ||
|
9c55b0f45c | ||
|
7c9c3eb42b | ||
|
135d884f85 | ||
|
e73f6f7998 | ||
|
d41ab3e799 | ||
|
9a5f45d314 | ||
|
067660bc68 | ||
|
7a5f16da11 | ||
|
a5092987e1 | ||
|
92d7e3d402 | ||
|
d81d510568 | ||
|
6f5ef234ec | ||
|
40acb0f99f | ||
|
49b99ad40c | ||
|
def737885f | ||
|
5926e20204 | ||
|
0f850e10ff | ||
|
b8996a04bb | ||
|
6e37792053 | ||
|
debe8bfc45 | ||
|
fb9734df88 | ||
|
d62877b1d6 | ||
|
ec32015b8c | ||
|
22c8838c7c | ||
|
1fa3e4e6b8 | ||
|
71233366ce | ||
|
9d132ce81a |
81 changed files with 9873 additions and 2164 deletions
15
about.php
15
about.php
|
@ -20,17 +20,22 @@
|
|||
//----------------------------------------------------------- personnal include
|
||||
include_once( './include/init.inc.php' );
|
||||
//----------------------------------------------------- template initialization
|
||||
$vtp = new VTemplate;
|
||||
//
|
||||
// Start output of page
|
||||
//
|
||||
$title= $lang['about_page_title'];
|
||||
include('include/page_header.php');
|
||||
|
||||
$handle = $vtp->Open( './template/'.$user['template'].'/about.vtp' );
|
||||
initialize_template();
|
||||
|
||||
$tpl = array('about_page_title','about_title','about_message','about_return');
|
||||
$tpl = array('about_title','about_message','about_return');
|
||||
templatize_array( $tpl, 'lang', $handle );
|
||||
$vtp->setVar( $handle, 'user_template', $user['template'] );
|
||||
|
||||
$url = './category.php?'.$_SERVER['QUERY_STRING'];
|
||||
$vtp->setVar( $handle, 'back_url', add_session_id( $url ) );
|
||||
//----------------------------------------------------------- html code display
|
||||
$code = $vtp->Display( $handle, 0 );
|
||||
echo $code;
|
||||
?>
|
||||
$output.= $vtp->Display( $handle, 0 );
|
||||
include('include/page_tail.php');
|
||||
?>
|
||||
|
|
|
@ -25,7 +25,9 @@ $handle = $vtp->Open( '../template/'.$user['template'].'/admin/admin.vtp' );
|
|||
// language
|
||||
$tpl = array( 'menu_title','title_default','charset','install_warning' );
|
||||
templatize_array( $tpl, 'lang', $handle );
|
||||
$vtp->setGlobalVar( $handle, 'user_template', $user['template'] );
|
||||
$vtp->setGlobalVar( $handle, 'user_template',$user['template']);
|
||||
$vtp->setGlobalVar( $handle, 'style', '../template/'.$user['template'].'/'.$user['template'].'-admin.css');
|
||||
|
||||
//-------------------------------------------------- install.php still exists ?
|
||||
if ( is_file( './install.php' ) )
|
||||
{
|
||||
|
@ -35,6 +37,7 @@ if ( is_file( './install.php' ) )
|
|||
//--------------------------------------- validating page and creation of title
|
||||
$page_valide = false;
|
||||
$title = '';
|
||||
if (isset( $_GET['page'] ))
|
||||
switch ( $_GET['page'] )
|
||||
{
|
||||
case 'user_list':
|
||||
|
|
|
@ -18,18 +18,71 @@
|
|||
* *
|
||||
***************************************************************************/
|
||||
include_once( './include/isadmin.inc.php' );
|
||||
//------------------------------------------------ expand categories management
|
||||
// creation of the array containing the cat ids to expand
|
||||
// $page['tab_expand'] contains an array with the category ids
|
||||
// $page['expand'] contains the string to display in URL with comma
|
||||
|
||||
// if there is less than $conf['max_LOV_categories'] categories, they are
|
||||
// all expande
|
||||
$query = 'SELECT COUNT(id) AS nb_total_categories';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'categories';
|
||||
$query.= ';';
|
||||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
if ( $row['nb_total_categories'] < $conf['max_LOV_categories']
|
||||
or ( isset( $_GET['expand'] ) and $_GET['expand'] == 'all' ) )
|
||||
{
|
||||
$page['tab_expand'] = array();
|
||||
$page['expand'] = 'all';
|
||||
}
|
||||
else
|
||||
{
|
||||
$page['tab_expand'] = array();
|
||||
if ( isset ( $_GET['expand'] ) and $_GET['expand'] != 'all' )
|
||||
{
|
||||
$tab_expand = explode( ',', $_GET['expand'] );
|
||||
foreach ( $tab_expand as $id ) {
|
||||
if ( is_numeric( $id ) ) array_push( $page['tab_expand'], $id );
|
||||
}
|
||||
}
|
||||
$page['tab_expand'] = array_unique( $page['tab_expand'] );
|
||||
$page['expand'] = implode( ',', $page['tab_expand'] );
|
||||
}
|
||||
//----------------------------------------------------- template initialization
|
||||
$sub = $vtp->Open( '../template/'.$user['template'].'/admin/cat_list.vtp' );
|
||||
$tpl = array( 'cat_edit','cat_up','cat_down','cat_image_info',
|
||||
'cat_permission','cat_update','cat_add','cat_parent','submit',
|
||||
'cat_virtual','delete','cat_first','cat_last' );
|
||||
'cat_virtual','delete','cat_first','cat_last','errors_title' );
|
||||
templatize_array( $tpl, 'lang', $sub );
|
||||
$vtp->setGlobalVar( $sub, 'user_template', $user['template'] );
|
||||
//--------------------------------------------------- adding a virtual category
|
||||
$errors = array();
|
||||
if ( isset( $_POST['submit'] ) )
|
||||
{
|
||||
if ( !preg_match( '/^\s*$/', $_POST['virtual_name'] ) )
|
||||
// is the given category name only containing blank spaces ?
|
||||
if ( preg_match( '/^\s*$/', $_POST['virtual_name'] ) )
|
||||
array_push( $errors, $lang['cat_error_name'] );
|
||||
// does the uppercat id exists in the database ?
|
||||
if ( $_POST['associate'] == ''
|
||||
or $_POST['associate'] == '-1' )
|
||||
{
|
||||
$_POST['associate'] = -1;
|
||||
}
|
||||
else if ( !is_numeric( $_POST['associate'] ) )
|
||||
{
|
||||
array_push( $errors, $lang['cat_unknown_id'] );
|
||||
}
|
||||
else
|
||||
{
|
||||
$query = 'SELECT id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'categories';
|
||||
$query.= ' WHERE id = '.$_POST['associate'];
|
||||
$query.= ';';
|
||||
if ( mysql_num_rows( mysql_query( $query ) ) == 0 )
|
||||
array_push( $errors, $lang['cat_unknown_id'] );
|
||||
}
|
||||
|
||||
if ( count( $errors ) == 0 )
|
||||
{
|
||||
// we have then to add the virtual category
|
||||
$query = 'INSERT INTO '.PREFIX_TABLE.'categories';
|
||||
|
@ -41,10 +94,7 @@ if ( isset( $_POST['submit'] ) )
|
|||
$query.= " ('".$_POST['virtual_name']."',".$_POST['associate'].")";
|
||||
$query.= ';';
|
||||
mysql_query( $query );
|
||||
}
|
||||
else
|
||||
{
|
||||
array_push( $errors, $lang['cat_error_name'] );
|
||||
synchronize_all_users();
|
||||
}
|
||||
}
|
||||
//--------------------------------------------------------------- rank updates
|
||||
|
@ -171,6 +221,7 @@ if ( isset( $_GET['first'] ) and is_numeric( $_GET['first'] ) )
|
|||
if ( isset( $_GET['delete'] ) and is_numeric( $_GET['delete'] ) )
|
||||
{
|
||||
delete_category( $_GET['delete'] );
|
||||
synchronize_all_users();
|
||||
}
|
||||
//------------------------------------------------------------------ reordering
|
||||
function ordering( $id_uppercat )
|
||||
|
@ -233,6 +284,8 @@ function display_cat_manager( $id_uppercat, $indent,
|
|||
$query.= ';';
|
||||
$result = mysql_query( $query );
|
||||
$row = mysql_fetch_array( $result );
|
||||
if ( !isset( $row['min'] ) ) $row['min'] = 0;
|
||||
if ( !isset( $row['max'] ) ) $row['max'] = 0;
|
||||
$min_rank = $row['min'];
|
||||
$max_rank = $row['max'];
|
||||
|
||||
|
@ -258,13 +311,39 @@ function display_cat_manager( $id_uppercat, $indent,
|
|||
while ( $row = mysql_fetch_array( $result ) )
|
||||
{
|
||||
$subcat_visible = true;
|
||||
if ( !isset( $row['dir'] ) ) $row['dir'] = '';
|
||||
|
||||
$vtp->addSession( $sub, 'cat' );
|
||||
// is the category expanded or not ?
|
||||
if ( $page['expand'] == 'all' )
|
||||
{
|
||||
$vtp->addSession( $sub, 'bullet_wo_link' );
|
||||
$vtp->closeSession( $sub, 'bullet_wo_link' );
|
||||
}
|
||||
else if ( in_array( $row['id'], $page['tab_expand'] ) )
|
||||
{
|
||||
$vtp->addSession( $sub, 'bullet_expanded' );
|
||||
$tab_expand = array_diff( $page['tab_expand'], array( $row['id'] ) );
|
||||
$expand = implode( ',', $tab_expand );
|
||||
$url = './admin.php?page=cat_list&expand='.$expand;
|
||||
$vtp->setVar( $sub, 'bullet_expanded.link', add_session_id( $url ) );
|
||||
$vtp->closeSession( $sub, 'bullet_expanded' );
|
||||
}
|
||||
else
|
||||
{
|
||||
$vtp->addSession( $sub, 'bullet_collapsed' );
|
||||
$tab_expand = array_merge( $page['tab_expand'], array( $row['id'] ) );
|
||||
$expand = implode( ',', $tab_expand );
|
||||
$url = './admin.php?page=cat_list&expand='.$expand;
|
||||
$vtp->setVar( $sub, 'bullet_collapsed.link', add_session_id( $url ) );
|
||||
$vtp->closeSession( $sub, 'bullet_collapsed' );
|
||||
}
|
||||
|
||||
$vtp->setVar( $sub, 'cat.td', $td );
|
||||
$vtp->setVar( $sub, 'cat.class', $class );
|
||||
$vtp->setVar( $sub, 'cat.indent', $indent );
|
||||
$vtp->setVar( $sub, 'cat.name', $row['name'] );
|
||||
$vtp->setVar( $sub, 'cat.id', $row['id'] );
|
||||
|
||||
if ( $row['dir'] != '' )
|
||||
{
|
||||
$vtp->addSession( $sub, 'storage' );
|
||||
|
@ -280,7 +359,8 @@ function display_cat_manager( $id_uppercat, $indent,
|
|||
$vtp->closeSession( $sub, 'virtual' );
|
||||
// category can be deleted
|
||||
$vtp->addSession( $sub, 'delete' );
|
||||
$url = './admin.php?page=cat_list&delete='.$row['id'];
|
||||
$url = './admin.php?page=cat_list&expand='.$page['expand'];
|
||||
$url.= '&delete='.$row['id'];
|
||||
$vtp->setVar( $sub, 'delete.delete_url', add_session_id( $url ) );
|
||||
$vtp->closeSession( $sub, 'delete' );
|
||||
}
|
||||
|
@ -299,41 +379,40 @@ function display_cat_manager( $id_uppercat, $indent,
|
|||
if ( $row['rank'] != $min_rank )
|
||||
{
|
||||
$vtp->addSession( $sub, 'up' );
|
||||
$vtp->setVar( $sub, 'up.id', $row['id'] );
|
||||
$url = add_session_id( './admin.php?page=cat_list&up='.$row['id'] );
|
||||
$vtp->setVar( $sub, 'up.up_url', $url );
|
||||
$url = './admin.php?page=cat_list&expand='.$page['expand'];
|
||||
$url.= '&up='.$row['id'];
|
||||
$vtp->setVar( $sub, 'up.up_url', add_session_id( $url ) );
|
||||
$vtp->closeSession( $sub, 'up' );
|
||||
}
|
||||
else if ( $min_rank != $max_rank )
|
||||
{
|
||||
$vtp->addSession( $sub, 'no_up' );
|
||||
$vtp->setVar( $sub, 'no_up.id', $row['id'] );
|
||||
$url = add_session_id( './admin.php?page=cat_list&last='.$row['id']);
|
||||
$vtp->setVar( $sub, 'no_up.last_url', $url );
|
||||
$url = './admin.php?page=cat_list&expand='.$page['expand'];
|
||||
$url.= '&last='.$row['id'];
|
||||
$vtp->setVar( $sub, 'no_up.last_url', add_session_id( $url ) );
|
||||
$vtp->closeSession( $sub, 'no_up' );
|
||||
}
|
||||
if ( $row['rank'] != $max_rank )
|
||||
{
|
||||
$vtp->addSession( $sub, 'down' );
|
||||
$vtp->setVar( $sub, 'down.id', $row['id'] );
|
||||
$url = add_session_id( './admin.php?page=cat_list&down='.$row['id']);
|
||||
$vtp->setVar( $sub, 'down.down_url', $url );
|
||||
$url = './admin.php?page=cat_list&expand='.$page['expand'];
|
||||
$url.= '&down='.$row['id'];
|
||||
$vtp->setVar( $sub, 'down.down_url', add_session_id( $url ) );
|
||||
$vtp->closeSession( $sub, 'down' );
|
||||
}
|
||||
else if ( $min_rank != $max_rank )
|
||||
{
|
||||
$vtp->addSession( $sub, 'no_down' );
|
||||
$vtp->setVar( $sub, 'no_down.id', $row['id'] );
|
||||
$url = add_session_id('./admin.php?page=cat_list&first='.$row['id']);
|
||||
$vtp->setVar( $sub, 'no_down.first_url', $url );
|
||||
$url = './admin.php?page=cat_list&expand='.$page['expand'];
|
||||
$url.= '&first='.$row['id'];
|
||||
$vtp->setVar( $sub, 'no_down.first_url', add_session_id( $url ) );
|
||||
$vtp->closeSession( $sub, 'no_down' );
|
||||
}
|
||||
if ( $row['nb_images'] > 0 )
|
||||
{
|
||||
$vtp->addSession( $sub, 'image_info' );
|
||||
$url = add_session_id( './admin.php?page=infos_images&cat_id='
|
||||
.$row['id'] );
|
||||
$vtp->setVar( $sub, 'image_info.image_info_url', $url );
|
||||
$url = './admin.php?page=infos_images&cat_id='.$row['id'];
|
||||
$vtp->setVar( $sub, 'image_info.image_info_url', add_session_id($url) );
|
||||
$vtp->closeSession( $sub, 'image_info' );
|
||||
}
|
||||
else
|
||||
|
@ -371,19 +450,39 @@ function display_cat_manager( $id_uppercat, $indent,
|
|||
|
||||
$vtp->closeSession( $sub, 'cat' );
|
||||
|
||||
display_cat_manager( $row['id'], $indent.str_repeat( ' ', 4 ),
|
||||
$subcat_visible, $level + 1 );
|
||||
if ( in_array( $row['id'], $page['tab_expand'] )
|
||||
or $page['expand'] == 'all')
|
||||
display_cat_manager( $row['id'], $indent.str_repeat( ' ', 4 ),
|
||||
$subcat_visible, $level + 1 );
|
||||
}
|
||||
}
|
||||
display_cat_manager( 'NULL', str_repeat( ' ', 4 ), true, 0 );
|
||||
// add a virtual category ?
|
||||
$vtp->addSession( $sub, 'associate_cat' );
|
||||
$vtp->setVar( $sub, 'associate_cat.value', '-1' );
|
||||
$vtp->setVar( $sub, 'associate_cat.content', '' );
|
||||
$vtp->closeSession( $sub, 'associate_cat' );
|
||||
$page['plain_structure'] = get_plain_structure();
|
||||
$structure = create_structure( '', array() );
|
||||
display_categories( $structure, ' ' );
|
||||
// We only show a List Of Values if the number of categories is less than
|
||||
// $conf['max_LOV_categories']
|
||||
$query = 'SELECT COUNT(id) AS nb_total_categories';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'categories';
|
||||
$query.= ';';
|
||||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
if ( $row['nb_total_categories'] < $conf['max_LOV_categories'] )
|
||||
{
|
||||
$vtp->addSession( $sub, 'associate_LOV' );
|
||||
$vtp->addSession( $sub, 'associate_cat' );
|
||||
$vtp->setVar( $sub, 'associate_cat.value', '-1' );
|
||||
$vtp->setVar( $sub, 'associate_cat.content', '' );
|
||||
$vtp->closeSession( $sub, 'associate_cat' );
|
||||
$page['plain_structure'] = get_plain_structure( true );
|
||||
$structure = create_structure( '', array() );
|
||||
display_categories( $structure, ' ' );
|
||||
$vtp->closeSession( $sub, 'associate_LOV' );
|
||||
}
|
||||
// else, we only display a small text field, we suppose the administrator
|
||||
// knows the id of its category
|
||||
else
|
||||
{
|
||||
$vtp->addSession( $sub, 'associate_text' );
|
||||
$vtp->closeSession( $sub, 'associate_text' );
|
||||
}
|
||||
//----------------------------------------------------------- sending html code
|
||||
$vtp->Parse( $handle , 'sub', $sub );
|
||||
?>
|
|
@ -40,20 +40,6 @@ if ( isset( $_POST['submit'] ) )
|
|||
$query.= ' WHERE id = '.$_GET['cat'];
|
||||
$query.= ';';
|
||||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
|
||||
if ( $_POST['status'] != $row['status'] )
|
||||
{
|
||||
// deletion of all access for groups concerning this category
|
||||
$query = 'DELETE';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'group_access';
|
||||
$query.= ' WHERE cat_id = '.$_GET['cat'];
|
||||
mysql_query( $query );
|
||||
// deletion of all access for users concerning this category
|
||||
$query = 'DELETE';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'user_access';
|
||||
$query.= ' WHERE cat_id = '.$_GET['cat'];
|
||||
mysql_query( $query );
|
||||
}
|
||||
|
||||
$query = 'UPDATE '.PREFIX_TABLE.'categories';
|
||||
|
||||
|
@ -78,13 +64,31 @@ if ( isset( $_POST['submit'] ) )
|
|||
if ( isset( $_POST['associate'] ) )
|
||||
{
|
||||
$query.= ', id_uppercat = ';
|
||||
if ( $_POST['associate'] == -1 ) $query.= 'NULL';
|
||||
else $query.= $_POST['associate'];
|
||||
if ( $_POST['associate'] == -1 or $_POST['associate'] == '' )
|
||||
$query.= 'NULL';
|
||||
else
|
||||
$query.= $_POST['associate'];
|
||||
}
|
||||
$query.= ' WHERE id = '.$_GET['cat'];
|
||||
$query.= ';';
|
||||
mysql_query( $query );
|
||||
|
||||
if ( $_POST['status'] != $row['status'] )
|
||||
{
|
||||
// deletion of all access for groups concerning this category
|
||||
$query = 'DELETE';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'group_access';
|
||||
$query.= ' WHERE cat_id = '.$_GET['cat'];
|
||||
mysql_query( $query );
|
||||
// deletion of all access for users concerning this category
|
||||
$query = 'DELETE';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'user_access';
|
||||
$query.= ' WHERE cat_id = '.$_GET['cat'];
|
||||
mysql_query( $query );
|
||||
// resynchronize all users
|
||||
synchronize_all_users();
|
||||
}
|
||||
|
||||
// checking users favorites
|
||||
$query = 'SELECT id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'users';
|
||||
|
@ -111,6 +115,10 @@ $query.= ' WHERE a.id = '.$_GET['cat'];
|
|||
$query.= ' AND a.site_id = b.id';
|
||||
$query.= ';';
|
||||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
|
||||
if ( !isset( $row['dir'] ) ) $row['dir'] = '';
|
||||
if ( !isset( $row['id_uppercat'] ) ) $row['id_uppercat'] = '';
|
||||
|
||||
$result = get_cat_info( $row['id'] );
|
||||
// cat name
|
||||
$cat_name = get_cat_display_name( $result['name'], ' - ', '' );
|
||||
|
@ -135,6 +143,7 @@ if ( $row['site_id'] != 1 )
|
|||
$vtp->closeSession( $sub, 'server' );
|
||||
}
|
||||
$vtp->setVar( $sub, 'name', $row['name'] );
|
||||
if ( !isset( $row['comment'] ) ) $row['comment'] = '';
|
||||
$vtp->setVar( $sub, 'comment', $row['comment'] );
|
||||
// status : public, private...
|
||||
$options = get_enums( PREFIX_TABLE.'categories', 'status' );
|
||||
|
@ -203,12 +212,32 @@ if ( $conf['upload_available'] and $row['dir'] != '' and $row['site_id'] == 1 )
|
|||
if ( $row['dir'] == '' )
|
||||
{
|
||||
$vtp->addSession( $sub, 'parent' );
|
||||
$vtp->addSession( $sub, 'associate_cat' );
|
||||
$vtp->setVar( $sub, 'associate_cat.value', '-1' );
|
||||
$vtp->setVar( $sub, 'associate_cat.content', '' );
|
||||
$vtp->closeSession( $sub, 'associate_cat' );
|
||||
$structure = create_structure( '', array() );
|
||||
display_categories( $structure, ' ', $row['id_uppercat'], $row['id'] );
|
||||
// We only show a List Of Values if the number of categories is less than
|
||||
// $conf['max_LOV_categories']
|
||||
$query = 'SELECT COUNT(id) AS nb_total_categories';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'categories';
|
||||
$query.= ';';
|
||||
$countrow = mysql_fetch_array( mysql_query( $query ) );
|
||||
if ( $countrow['nb_total_categories'] < $conf['max_LOV_categories'] )
|
||||
{
|
||||
$vtp->addSession( $sub, 'associate_LOV' );
|
||||
$vtp->addSession( $sub, 'associate_cat' );
|
||||
$vtp->setVar( $sub, 'associate_cat.value', '-1' );
|
||||
$vtp->setVar( $sub, 'associate_cat.content', '' );
|
||||
$vtp->closeSession( $sub, 'associate_cat' );
|
||||
$page['plain_structure'] = get_plain_structure( true );
|
||||
$structure = create_structure( '', array() );
|
||||
display_categories( $structure, ' ', $row['id_uppercat'],$row['id'] );
|
||||
$vtp->closeSession( $sub, 'associate_LOV' );
|
||||
}
|
||||
// else, we only display a small text field, we suppose the administrator
|
||||
// knows the id of its category
|
||||
else
|
||||
{
|
||||
$vtp->addSession( $sub, 'associate_text' );
|
||||
$vtp->setVar( $sub, 'associate_text.value', $row['id_uppercat'] );
|
||||
$vtp->closeSession( $sub, 'associate_text' );
|
||||
}
|
||||
$vtp->closeSession( $sub, 'parent' );
|
||||
}
|
||||
//----------------------------------------------------------- sending html code
|
||||
|
|
|
@ -83,6 +83,8 @@ if ( isset( $_POST['submit'] ) )
|
|||
}
|
||||
check_favorites( $row['id'] );
|
||||
}
|
||||
// resynchronize all users
|
||||
synchronize_all_users();
|
||||
}
|
||||
//---------------------------------------------------------------------- groups
|
||||
$query = 'SELECT id,name';
|
||||
|
@ -149,7 +151,7 @@ while ( $row = mysql_fetch_array( $result ) )
|
|||
|
||||
// for color of user : (red means access forbidden, green authorized) we
|
||||
// ask all forbidden categories, including the groups rights
|
||||
$restrictions = get_restrictions( $row['id'], $row['status'], false );
|
||||
$restrictions = get_user_restrictions( $row['id'], $row['status'], false );
|
||||
$is_user_allowed = is_user_allowed( $page['cat'], $restrictions );
|
||||
if ( $is_user_allowed == 0 )
|
||||
{
|
||||
|
@ -161,7 +163,7 @@ while ( $row = mysql_fetch_array( $result ) )
|
|||
}
|
||||
// for permission update button, we only ask forbidden categories for the
|
||||
// user, not taking into account the groups the user belongs to
|
||||
$restrictions = get_restrictions( $row['id'], $row['status'], false, false );
|
||||
$restrictions = get_user_restrictions($row['id'],$row['status'],false,false);
|
||||
$is_user_allowed = is_user_allowed( $page['cat'], $restrictions );
|
||||
if ( $is_user_allowed == 2 )
|
||||
{
|
||||
|
|
|
@ -36,7 +36,7 @@ function display_pictures( $mysql_result, $maxtime, $validation_box = false )
|
|||
$subresult = mysql_query( $query );
|
||||
$subrow = mysql_fetch_array( $subresult );
|
||||
|
||||
if ( $array_cat_directories[$subrow['cat_id']] == '' )
|
||||
if ( !isset( $array_cat_directories[$subrow['cat_id']] ) )
|
||||
{
|
||||
$array_cat_directories[$subrow['cat_id']] =
|
||||
get_complete_dir( $subrow['cat_id'] );
|
||||
|
@ -49,7 +49,7 @@ function display_pictures( $mysql_result, $maxtime, $validation_box = false )
|
|||
$file = get_filename_wo_extension( $subrow['file'] );
|
||||
// name of the picture
|
||||
$name = $array_cat_names[$subrow['cat_id']].' > ';
|
||||
if ( $subrow['name'] != '' )
|
||||
if ( isset( $subrow['name'] ) and $subrow['name'] != '' )
|
||||
{
|
||||
$name.= $subrow['name'];
|
||||
}
|
||||
|
@ -164,8 +164,8 @@ $tpl = array( 'stats_last_days','delete','close','submit','open' );
|
|||
templatize_array( $tpl, 'lang', $sub );
|
||||
$vtp->setGlobalVar( $sub, 'user_template', $user['template'] );
|
||||
//--------------------------------------------------- number of days to display
|
||||
if ( isset( $_GET['last_days'] ) ) define( MAX_DAYS, $_GET['last_days'] );
|
||||
else define( MAX_DAYS, 0 );
|
||||
if ( isset( $_GET['last_days'] ) ) define( 'MAX_DAYS', $_GET['last_days'] );
|
||||
else define( 'MAX_DAYS', 0 );
|
||||
//----------------------------------------- non specific section initialization
|
||||
$array_cat_directories = array();
|
||||
$array_cat_names = array();
|
||||
|
|
|
@ -60,6 +60,7 @@ if ( isset( $_POST['submit'] ) )
|
|||
mysql_query( $query );
|
||||
}
|
||||
// deletion of site as asked
|
||||
$site_deleted = false;
|
||||
$query = 'SELECT id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'sites';
|
||||
$query.= " WHERE galleries_url <> './galleries/';";
|
||||
|
@ -70,12 +71,17 @@ if ( isset( $_POST['submit'] ) )
|
|||
if ( $_POST[$site] == 1 )
|
||||
{
|
||||
delete_site( $row['id'] );
|
||||
// if any picture of this site were linked to another categories, we
|
||||
// have to update the informations of those categories. To make it
|
||||
// simple, we just update all the categories
|
||||
update_category( 'all' );
|
||||
$site_deleted = true;
|
||||
}
|
||||
}
|
||||
// if any picture of this site were linked to another categories, we have
|
||||
// to update the informations of those categories. To make it simple, we
|
||||
// just update all the categories
|
||||
if ( $site_deleted )
|
||||
{
|
||||
update_category( 'all' );
|
||||
synchronize_all_users();
|
||||
}
|
||||
// thumbnail prefix must not contain accentuated characters
|
||||
$old_prefix = $_POST['prefix_thumbnail'];
|
||||
$prefix = strtr( $_POST['prefix_thumbnail'], $Caracs );
|
||||
|
@ -234,30 +240,22 @@ if ( isset( $_POST['submit'] ) )
|
|||
else
|
||||
{
|
||||
//--------------------------------------------------------- data initialization
|
||||
$query = 'SELECT';
|
||||
foreach ( $conf_infos as $i => $conf_info ) {
|
||||
if ( $i > 0 ) $query.= ',';
|
||||
else $query.= ' ';
|
||||
$query.= $conf_info;
|
||||
}
|
||||
$query = 'SELECT '.implode( ',', $conf_infos );
|
||||
$query .= ' FROM '.PREFIX_TABLE.'config;';
|
||||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
foreach ( $conf_infos as $conf_info ) {
|
||||
$$conf_info = $row[$conf_info];
|
||||
foreach ( $conf_infos as $info ) {
|
||||
if ( isset( $row[$info] ) ) $$info = $row[$info];
|
||||
else $$info = '';
|
||||
}
|
||||
|
||||
$query = 'SELECT';
|
||||
foreach ( $default_user_infos as $i => $default_user_info ) {
|
||||
if ( $i > 0 ) $query.= ',';
|
||||
else $query.= ' ';
|
||||
$query.= $default_user_info;
|
||||
}
|
||||
$query = 'SELECT '.implode( ',', $default_user_infos );
|
||||
$query.= ' FROM '.PREFIX_TABLE.'users';
|
||||
$query.= " WHERE username = 'guest'";
|
||||
$query.= ';';
|
||||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
foreach ( $default_user_infos as $default_user_info ) {
|
||||
$$default_user_info = $row[$default_user_info];
|
||||
foreach ( $default_user_infos as $info ) {
|
||||
if ( isset( $row[$info] ) ) $$info = $row[$info];
|
||||
else $$info = '';
|
||||
}
|
||||
}
|
||||
//----------------------------------------------------- template initialization
|
||||
|
@ -652,7 +650,7 @@ $vtp->addSession( $sub, 'param_line' );
|
|||
$vtp->setVar( $sub, 'param_line.name', $lang['customize_theme'] );
|
||||
$vtp->addSession( $sub, 'select' );
|
||||
$vtp->setVar( $sub, 'select.name', 'template' );
|
||||
$option = get_dirs( '../template/' );
|
||||
$option = get_dirs( '../template' );
|
||||
for ( $i = 0; $i < sizeof( $option ); $i++ )
|
||||
{
|
||||
$vtp->addSession( $sub, 'option' );
|
||||
|
|
|
@ -9,8 +9,7 @@
|
|||
* *
|
||||
***************************************************************************/
|
||||
|
||||
$prefix_thumbnail = 'TN-';
|
||||
|
||||
$conf['prefix_thumbnail'] = 'TN-';
|
||||
$conf['picture_ext'] = array ( 'jpg', 'gif', 'png', 'JPG', 'GIF', 'PNG' );
|
||||
|
||||
$listing = '';
|
||||
|
@ -20,24 +19,76 @@ $local_folder = substr( $_SERVER['PHP_SELF'], 0, $end );
|
|||
$url = 'http://'.$_SERVER['HTTP_HOST'].$local_folder;
|
||||
|
||||
$listing.= '<url>'.$url.'</url>';
|
||||
|
||||
|
||||
/**
|
||||
* returns an array with all picture files according to $conf['picture_ext']
|
||||
*
|
||||
* @param string $dir
|
||||
* @return array
|
||||
*/
|
||||
function get_picture_files( $dir )
|
||||
{
|
||||
global $conf;
|
||||
|
||||
$pictures = array();
|
||||
if ( $opendir = opendir( $dir ) )
|
||||
{
|
||||
while ( $file = readdir( $opendir ) )
|
||||
{
|
||||
if ( in_array( get_extension( $file ), $conf['picture_ext'] ) )
|
||||
{
|
||||
array_push( $pictures, $file );
|
||||
}
|
||||
}
|
||||
}
|
||||
return $pictures;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns an array with all thumbnails according to $conf['picture_ext']
|
||||
* and $conf['prefix_thumbnail']
|
||||
*
|
||||
* @param string $dir
|
||||
* @return array
|
||||
*/
|
||||
function get_thumb_files( $dir )
|
||||
{
|
||||
global $conf;
|
||||
|
||||
$prefix_length = strlen( $conf['prefix_thumbnail'] );
|
||||
|
||||
$thumbnails = array();
|
||||
if ( $opendir = @opendir( $dir ) )
|
||||
{
|
||||
while ( $file = readdir( $opendir ) )
|
||||
{
|
||||
if ( in_array( get_extension( $file ), $conf['picture_ext'] )
|
||||
and substr($file,0,$prefix_length) == $conf['prefix_thumbnail'] )
|
||||
{
|
||||
array_push( $thumbnails, $file );
|
||||
}
|
||||
}
|
||||
}
|
||||
return $thumbnails;
|
||||
}
|
||||
|
||||
// get_dirs retourne un tableau contenant tous les sous-répertoires d'un
|
||||
// répertoire
|
||||
function get_dirs( $rep, $indent, $level )
|
||||
function get_dirs( $basedir, $indent, $level )
|
||||
{
|
||||
$sub_rep = array();
|
||||
$i = 0;
|
||||
$fs_dirs = array();
|
||||
$dirs = "";
|
||||
if ( $opendir = opendir ( $rep ) )
|
||||
|
||||
if ( $opendir = opendir( $basedir ) )
|
||||
{
|
||||
while ( $file = readdir ( $opendir ) )
|
||||
while ( $file = readdir( $opendir ) )
|
||||
{
|
||||
if ( $file != "."
|
||||
and $file != ".."
|
||||
and is_dir ( $rep."/".$file )
|
||||
and $file != "thumbnail" )
|
||||
if ( $file != '.'
|
||||
and $file != '..'
|
||||
and is_dir ( $basedir.'/'.$file )
|
||||
and $file != 'thumbnail' )
|
||||
{
|
||||
$sub_rep[$i++] = $file;
|
||||
array_push( $fs_dirs, $file );
|
||||
if ( !preg_match( '/^[a-zA-Z0-9-_.]+$/', $file ) )
|
||||
{
|
||||
echo '<span style="color:red;">"'.$file.'" : ';
|
||||
|
@ -49,11 +100,10 @@ function get_dirs( $rep, $indent, $level )
|
|||
}
|
||||
}
|
||||
// write of the dirs
|
||||
for ( $i = 0; $i < sizeof( $sub_rep ); $i++ )
|
||||
{
|
||||
$dirs.= "\n".$indent.'<dir'.$level.' name="'.$sub_rep[$i].'">';
|
||||
$dirs.= get_pictures( $rep.'/'.$sub_rep[$i], $indent.' ' );
|
||||
$dirs.= get_dirs( $rep.'/'.$sub_rep[$i], $indent.' ', $level + 1 );
|
||||
foreach ( $fs_dirs as $fs_dir ) {
|
||||
$dirs.= "\n".$indent.'<dir'.$level.' name="'.$fs_dir.'">';
|
||||
$dirs.= get_pictures( $basedir.'/'.$fs_dir, $indent.' ' );
|
||||
$dirs.= get_dirs( $basedir.'/'.$fs_dir, $indent.' ', $level + 1 );
|
||||
$dirs.= "\n".$indent.'</dir'.$level.'>';
|
||||
}
|
||||
return $dirs;
|
||||
|
@ -73,101 +123,60 @@ function get_filename_wo_extension( $filename )
|
|||
return substr( $filename, 0, strrpos( $filename, '.' ) );
|
||||
}
|
||||
|
||||
function is_image( $filename )
|
||||
function get_pictures( $dir, $indent )
|
||||
{
|
||||
global $conf;
|
||||
|
||||
// fs means filesystem : $fs_pictures contains pictures in the filesystem
|
||||
// found in $dir, $fs_thumbnails contains thumbnails...
|
||||
$fs_pictures = get_picture_files( $dir );
|
||||
$fs_thumbnails = get_thumb_files( $dir.'/thumbnail' );
|
||||
|
||||
if ( !is_dir( $filename )
|
||||
and in_array( get_extension( $filename ), $conf['picture_ext'] ) )
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
$root = "\n".$indent.'<root>';
|
||||
|
||||
function TN_exists( $dir, $file )
|
||||
{
|
||||
global $conf, $prefix_thumbnail;
|
||||
|
||||
$titre = get_filename_wo_extension( $file );
|
||||
|
||||
for ( $i = 0; $i < sizeof ( $conf['picture_ext'] ); $i++ )
|
||||
{
|
||||
$base_tn_name = $dir.'/thumbnail/'.$prefix_thumbnail.$titre.'.';
|
||||
$ext = $conf['picture_ext'][$i];
|
||||
if ( is_file( $base_tn_name.$ext ) )
|
||||
{
|
||||
return $ext;
|
||||
foreach ( $fs_pictures as $fs_picture ) {
|
||||
$file_wo_ext = get_filename_wo_extension( $fs_picture );
|
||||
$tn_ext = '';
|
||||
foreach ( $conf['picture_ext'] as $ext ) {
|
||||
$test = $conf['prefix_thumbnail'].$file_wo_ext.'.'.$ext;
|
||||
if ( !in_array( $test, $fs_thumbnails ) ) continue;
|
||||
else { $tn_ext = $ext; break; }
|
||||
}
|
||||
}
|
||||
echo 'The thumbnail is missing for '.$dir.'/'.$file;
|
||||
echo '-> '.$dir.'/thumbnail/'.$prefix_thumbnail.$titre.'.xxx';
|
||||
echo ' ("xxx" can be : ';
|
||||
for ( $i = 0; $i < sizeof ( $conf['picture_ext'] ); $i++ )
|
||||
{
|
||||
if ( $i > 0 )
|
||||
// if we found a thumnbnail corresponding to our picture...
|
||||
if ( $tn_ext != '' )
|
||||
{
|
||||
echo ', ';
|
||||
}
|
||||
echo '"'.$conf['picture_ext'][$i].'"';
|
||||
}
|
||||
echo ')<br />';
|
||||
return false;
|
||||
}
|
||||
list( $width,$height ) = @getimagesize( $dir.'/'.$fs_picture );
|
||||
|
||||
function get_pictures( $rep, $indent )
|
||||
{
|
||||
$pictures = array();
|
||||
|
||||
$tn_ext = '';
|
||||
$root = '';
|
||||
if ( $opendir = opendir ( $rep ) )
|
||||
{
|
||||
while ( $file = readdir ( $opendir ) )
|
||||
{
|
||||
if ( is_image( $file ) and $tn_ext = TN_exists( $rep, $file ) )
|
||||
{
|
||||
$picture = array();
|
||||
|
||||
$picture['file'] = $file;
|
||||
$picture['tn_ext'] = $tn_ext;
|
||||
$picture['date'] = date('Y-m-d',filemtime( $rep.'/'.$file ) );
|
||||
$picture['filesize'] = floor( filesize( $rep."/".$file ) / 1024 );
|
||||
$image_size = @getimagesize( $rep."/".$file );
|
||||
$picture['width'] = $image_size[0];
|
||||
$picture['height'] = $image_size[1];
|
||||
|
||||
array_push( $pictures, $picture );
|
||||
|
||||
if ( !preg_match( '/^[a-zA-Z0-9-_.]+$/', $file ) )
|
||||
{
|
||||
echo '<span style="color:red;">"'.$file.'" : ';
|
||||
echo 'The name of the picture should be composed of ';
|
||||
echo 'letters, figures, "-", "_" or "." ONLY';
|
||||
echo '</span><br />';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// write of the node <root> with all the pictures at the root of the
|
||||
// directory
|
||||
$root.= "\n".$indent."<root>";
|
||||
if ( sizeof( $pictures ) > 0 )
|
||||
{
|
||||
for( $i = 0; $i < sizeof( $pictures ); $i++ )
|
||||
{
|
||||
$root.= "\n".$indent.' ';
|
||||
$root.= '<picture';
|
||||
$root.= ' file="'. $pictures[$i]['file']. '"';
|
||||
$root.= ' tn_ext="'. $pictures[$i]['tn_ext']. '"';
|
||||
$root.= ' date="'. $pictures[$i]['date']. '"';
|
||||
$root.= ' filesize="'. $pictures[$i]['filesize']. '"';
|
||||
$root.= ' width="'. $pictures[$i]['width']. '"';
|
||||
$root.= ' height="'. $pictures[$i]['height']. '"';
|
||||
$root.= ' file="'. $fs_picture.'"';
|
||||
$root.= ' tn_ext="'. $tn_ext.'"';
|
||||
$root.= ' filesize="'.floor(filesize($dir.'/'.$fs_picture)/1024).'"';
|
||||
$root.= ' width="'. $width.'"';
|
||||
$root.= ' height="'. $height.'"';
|
||||
$root.= ' />';
|
||||
|
||||
if ( !preg_match( '/^[a-zA-Z0-9-_.]+$/', $fs_picture ) )
|
||||
{
|
||||
echo '<span style="color:red;">"'.$fs_picture.'" : ';
|
||||
echo 'The name of the picture should be composed of ';
|
||||
echo 'letters, figures, "-", "_" or "." ONLY';
|
||||
echo '</span><br />';
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
echo 'The thumbnail is missing for '.$dir.'/'.$fs_picture;
|
||||
echo '-> '.$dir.'/thumbnail/';
|
||||
echo $conf['prefix_thumbnail'].$file_wo_ext.'.xxx';
|
||||
echo ' ("xxx" can be : ';
|
||||
echo implode( ', ', $conf['picture_ext'] );
|
||||
echo ')<br />';
|
||||
}
|
||||
}
|
||||
|
||||
$root.= "\n".$indent.'</root>';
|
||||
|
||||
return $root;
|
||||
}
|
||||
|
||||
|
@ -177,11 +186,10 @@ if ( $fp = @fopen("./listing.xml","w") )
|
|||
{
|
||||
fwrite( $fp, $listing );
|
||||
fclose( $fp );
|
||||
echo "listing.xml created";
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "I can't write the file listing.xml";
|
||||
}
|
||||
|
||||
echo "listing.xml created";
|
||||
?>
|
|
@ -33,7 +33,7 @@ if ( isset ( $_GET['delete'] ) and is_numeric( $_GET['delete'] ) )
|
|||
$query.= ';';
|
||||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
// confirm group deletion ?
|
||||
if ( $_GET['confirm'] != 1 )
|
||||
if ( !isset( $_GET['confirm'] ) or $_GET['confirm'] != 1 )
|
||||
{
|
||||
$vtp->addSession( $sub, 'deletion' );
|
||||
$vtp->setVar( $sub, 'deletion.name', $row['name'] );
|
||||
|
|
|
@ -60,6 +60,8 @@ if ( isset( $_POST['submit'] ) )
|
|||
{
|
||||
check_favorites( $row['id'] );
|
||||
}
|
||||
// synchronization of calculated data
|
||||
synchronize_group( $_GET['group_id'] );
|
||||
// confirmation display
|
||||
$vtp->addSession( $sub, 'confirmation' );
|
||||
$url = './admin.php?page=group_list';
|
||||
|
|
|
@ -53,7 +53,59 @@ function is_image( $filename, $create_thumbnail = false )
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* returns an array with all picture files according to $conf['picture_ext']
|
||||
*
|
||||
* @param string $dir
|
||||
* @return array
|
||||
*/
|
||||
function get_picture_files( $dir )
|
||||
{
|
||||
global $conf;
|
||||
|
||||
$pictures = array();
|
||||
if ( $opendir = opendir( $dir ) )
|
||||
{
|
||||
while ( $file = readdir( $opendir ) )
|
||||
{
|
||||
if ( in_array( get_extension( $file ), $conf['picture_ext'] ) )
|
||||
{
|
||||
array_push( $pictures, $file );
|
||||
}
|
||||
}
|
||||
}
|
||||
return $pictures;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns an array with all thumbnails according to $conf['picture_ext']
|
||||
* and $conf['prefix_thumbnail']
|
||||
*
|
||||
* @param string $dir
|
||||
* @return array
|
||||
*/
|
||||
function get_thumb_files( $dir )
|
||||
{
|
||||
global $conf;
|
||||
|
||||
$prefix_length = strlen( $conf['prefix_thumbnail'] );
|
||||
|
||||
$thumbnails = array();
|
||||
if ( $opendir = @opendir( $dir ) )
|
||||
{
|
||||
while ( $file = readdir( $opendir ) )
|
||||
{
|
||||
if ( in_array( get_extension( $file ), $conf['picture_ext'] )
|
||||
and substr($file,0,$prefix_length) == $conf['prefix_thumbnail'] )
|
||||
{
|
||||
array_push( $thumbnails, $file );
|
||||
}
|
||||
}
|
||||
}
|
||||
return $thumbnails;
|
||||
}
|
||||
|
||||
function TN_exists( $dir, $file )
|
||||
{
|
||||
global $conf;
|
||||
|
@ -67,8 +119,9 @@ function TN_exists( $dir, $file )
|
|||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// The function delete_site deletes a site
|
||||
// and call the function delete_category for each primary category of the site
|
||||
function delete_site( $id )
|
||||
|
@ -91,6 +144,7 @@ function delete_site( $id )
|
|||
mysql_query( $query );
|
||||
}
|
||||
|
||||
|
||||
// The function delete_category deletes the category identified by the $id
|
||||
// It also deletes (in the database) :
|
||||
// - all the images of the images (thanks to delete_image, see further)
|
||||
|
@ -144,6 +198,7 @@ function delete_category( $id )
|
|||
mysql_query( $query );
|
||||
}
|
||||
|
||||
|
||||
// The function delete_image deletes the image identified by the $id
|
||||
// It also deletes (in the database) :
|
||||
// - all the comments related to the image
|
||||
|
@ -178,13 +233,14 @@ function delete_image( $id )
|
|||
mysql_query( $query );
|
||||
$count_deleted++;
|
||||
}
|
||||
|
||||
|
||||
// The delete_user function delete a user identified by the $user_id
|
||||
// It also deletes :
|
||||
// - all the access linked to this user
|
||||
// - all the links to any group
|
||||
// - all the favorites linked to this user
|
||||
// - all sessions linked to this user
|
||||
// - all categories informations linked to this user
|
||||
function delete_user( $user_id )
|
||||
{
|
||||
// destruction of the access linked to the user
|
||||
|
@ -210,7 +266,13 @@ function delete_user( $user_id )
|
|||
$query.= ' WHERE user_id = '.$user_id;
|
||||
$query.= ';';
|
||||
mysql_query( $query );
|
||||
|
||||
|
||||
// destruction of the categories informations linked with the user
|
||||
$query = 'DELETE FROM '.PREFIX_TABLE.'user_category';
|
||||
$query.= ' WHERE user_id = '.$user_id;
|
||||
$query.= ';';
|
||||
mysql_query( $query );
|
||||
|
||||
// destruction of the user
|
||||
$query = 'DELETE FROM '.PREFIX_TABLE.'users';
|
||||
$query.= ' WHERE id = '.$user_id;
|
||||
|
@ -230,7 +292,10 @@ function delete_group( $group_id )
|
|||
$query.= ';';
|
||||
mysql_query( $query );
|
||||
|
||||
// destruction of the group links for this group
|
||||
// synchronize all users linked to the group
|
||||
synchronize_group( $group_id );
|
||||
|
||||
// destruction of the users links for this group
|
||||
$query = 'DELETE FROM '.PREFIX_TABLE.'user_group';
|
||||
$query.= ' WHERE group_id = '.$group_id;
|
||||
$query.= ';';
|
||||
|
@ -248,14 +313,17 @@ function delete_group( $group_id )
|
|||
// or invisible)
|
||||
function check_favorites( $user_id )
|
||||
{
|
||||
$query = 'SELECT status';
|
||||
$query = 'SELECT status,forbidden_categories';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'users';
|
||||
$query.= ' WHERE id = '.$user_id;
|
||||
$query.= ';';
|
||||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
$status = $row['status'];
|
||||
// retrieving all the restricted categories for this user
|
||||
$restricted_cat = get_all_restrictions( $user_id, $status );
|
||||
if ( isset( $row['forbidden_categories'] ) )
|
||||
$restricted_cat = explode( ',', $row['forbidden_categories'] );
|
||||
else
|
||||
$restricted_cat = array();
|
||||
// retrieving all the favorites for this user and comparing their
|
||||
// categories to the restricted categories
|
||||
$query = 'SELECT image_id';
|
||||
|
@ -314,26 +382,22 @@ function update_category( $id = 'all' )
|
|||
$query.= ' FROM '.PREFIX_TABLE.'image_category';
|
||||
$query.= ' WHERE category_id = '.$id;
|
||||
$query.= ';';
|
||||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
$query = 'UPDATE '.PREFIX_TABLE.'categories';
|
||||
$query.= ' SET nb_images = '.$row['nb_images'];
|
||||
$query.= ' WHERE id = '.$id;
|
||||
$query.= ';';
|
||||
mysql_query( $query );
|
||||
list( $nb_images ) = mysql_fetch_array( mysql_query( $query ) );
|
||||
// updating the date_last
|
||||
$query = 'SELECT date_available';
|
||||
$query = 'SELECT MAX(date_available) AS date_available';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'images';
|
||||
$query.= ' LEFT JOIN '.PREFIX_TABLE.'image_category ON id = image_id';
|
||||
$query.= ' INNER JOIN '.PREFIX_TABLE.'image_category ON id = image_id';
|
||||
$query.= ' WHERE category_id = '.$id;
|
||||
$query.= ' ORDER BY date_available DESC';
|
||||
$query.= ' LIMIT 0,1';
|
||||
$query.= ';';
|
||||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
list( $date_available ) = mysql_fetch_array( mysql_query( $query ) );
|
||||
|
||||
$query = 'UPDATE '.PREFIX_TABLE.'categories';
|
||||
$query.= " SET date_last = '".$row['date_available']."'";
|
||||
$query.= " SET date_last = '".$date_available."'";
|
||||
$query.= ', nb_images = '.$nb_images;
|
||||
$query.= ' WHERE id = '.$id;
|
||||
$query.= ';';
|
||||
mysql_query( $query );
|
||||
|
||||
// updating the representative_picture_id : if the representative
|
||||
// picture of the category is not any more linked to the category, we
|
||||
// have to set representative_picture_id to NULL
|
||||
|
@ -343,7 +407,7 @@ function update_category( $id = 'all' )
|
|||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
// if the category has no representative picture (ie
|
||||
// representative_picture_id == NULL) we don't update anything
|
||||
if ( $row['representative_picture_id'] != '' )
|
||||
if ( isset( $row['representative_picture_id'] ) )
|
||||
{
|
||||
$query = 'SELECT image_id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'image_category';
|
||||
|
@ -366,7 +430,7 @@ function update_category( $id = 'all' )
|
|||
function check_date_format( $date )
|
||||
{
|
||||
// date arrives at this format : DD/MM/YYYY
|
||||
list($day,$month,$year) = explode( '/', $date );
|
||||
@list($day,$month,$year) = explode( '/', $date );
|
||||
return @checkdate( $month, $day, $year );
|
||||
}
|
||||
|
||||
|
@ -432,4 +496,517 @@ function display_categories( $categories, $indent,
|
|||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
/**
|
||||
* Complete plain structure of the gallery
|
||||
*
|
||||
* Returns the plain structure (one level array) of the gallery. In the
|
||||
* returned array, each element is an array with jeys 'id' and
|
||||
* 'id_uppercat'. The function also fills the array $page['subcats'] which
|
||||
* associate (category_id => array of sub-categories id).
|
||||
*
|
||||
* @param bool $use_name
|
||||
* @return array
|
||||
*/
|
||||
function get_plain_structure( $use_name = false )
|
||||
{
|
||||
global $page;
|
||||
|
||||
$plain_structure = array();
|
||||
|
||||
$query = 'SELECT id,id_uppercat';
|
||||
if ( $use_name ) $query.= ',name';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'categories';
|
||||
$query.= ' ORDER BY id_uppercat ASC, rank ASC';
|
||||
$query.= ';';
|
||||
|
||||
$subcats = array();
|
||||
$id_uppercat = 'NULL';
|
||||
|
||||
$result = mysql_query( $query );
|
||||
while ( $row = mysql_fetch_array( $result ) )
|
||||
{
|
||||
$plain_structure[$row['id']]['id'] = $row['id'];
|
||||
if ( !isset( $row['id_uppercat'] ) ) $row['id_uppercat'] = 'NULL';
|
||||
$plain_structure[$row['id']]['id_uppercat'] = $row['id_uppercat'];
|
||||
if ( $use_name ) $plain_structure[$row['id']]['name'] = $row['name'];
|
||||
// subcats list
|
||||
if ( $row['id_uppercat'] != $id_uppercat )
|
||||
{
|
||||
$page['subcats'][$id_uppercat] = $subcats;
|
||||
|
||||
$subcats = array();
|
||||
$id_uppercat = $row['id_uppercat'];
|
||||
}
|
||||
array_push( $subcats, $row['id'] );
|
||||
}
|
||||
mysql_free_result( $result );
|
||||
|
||||
$page['subcats'][$id_uppercat] = $subcats;
|
||||
|
||||
return $plain_structure;
|
||||
}
|
||||
|
||||
/**
|
||||
* get N levels array representing structure under the given category
|
||||
*
|
||||
* create_structure returns the N levels array representing structure under
|
||||
* the given gategory id. It also updates the
|
||||
* $page['plain_structure'][id]['all_subcats_id'] and
|
||||
* $page['plain_structure'][id]['direct_subcats_ids'] for each sub category.
|
||||
*
|
||||
* @param int $id_uppercat
|
||||
* @return array
|
||||
*/
|
||||
function create_structure( $id_uppercat )
|
||||
{
|
||||
global $page;
|
||||
|
||||
$structure = array();
|
||||
$ids = get_subcats_ids( $id_uppercat );
|
||||
foreach ( $ids as $id ) {
|
||||
$category = $page['plain_structure'][$id];
|
||||
|
||||
$category['subcats'] = create_structure( $id );
|
||||
|
||||
$page['plain_structure'][$id]['all_subcats_ids'] =
|
||||
get_all_subcats_ids( $id );
|
||||
|
||||
$page['plain_structure'][$id]['direct_subcats_ids'] =
|
||||
get_subcats_ids( $id );
|
||||
|
||||
array_push( $structure, $category );
|
||||
}
|
||||
return $structure;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns direct sub-categories ids
|
||||
*
|
||||
* Returns an array containing all the direct sub-categories ids of the
|
||||
* given category. It uses the $page['subcats'] global array.
|
||||
*
|
||||
* @param int $id_uppercat
|
||||
* @return array
|
||||
*/
|
||||
function get_subcats_ids( $id_uppercat )
|
||||
{
|
||||
global $page;
|
||||
|
||||
if ( $id_uppercat == '' ) $id_uppercat = 'NULL';
|
||||
|
||||
if ( isset( $page['subcats'][$id_uppercat] ) )
|
||||
return $page['subcats'][$id_uppercat];
|
||||
else
|
||||
return array();
|
||||
}
|
||||
|
||||
/**
|
||||
* returns all sub-categories ids, not only direct ones
|
||||
*
|
||||
* Returns an array containing all the sub-categories ids of the given
|
||||
* category, not only direct ones. This function is recursive.
|
||||
*
|
||||
* @param int $category_id
|
||||
* @return array
|
||||
*/
|
||||
function get_all_subcats_ids( $category_id )
|
||||
{
|
||||
$ids = array();
|
||||
|
||||
$subcats = get_subcats_ids( $category_id );
|
||||
$ids = array_merge( $ids, $subcats );
|
||||
foreach ( $subcats as $subcat ) {
|
||||
// recursive call
|
||||
$sub_subcats = get_all_subcats_ids( $subcat );
|
||||
$ids = array_merge( $ids, $sub_subcats );
|
||||
}
|
||||
return array_unique( $ids );
|
||||
}
|
||||
|
||||
/**
|
||||
* prepares the query to update the table user_category
|
||||
*
|
||||
* Prepares the query (global variable $values) to update table
|
||||
* user_category : for a couple (user,category) the number of sub-categories
|
||||
* and the last date of the category (all sub-categories taken into
|
||||
* account). It also calls function update_uppercats for each category. The
|
||||
* function is recursive.
|
||||
*
|
||||
* @param array $categories
|
||||
* @return void
|
||||
*/
|
||||
function update_user_category( $categories )
|
||||
{
|
||||
global $page,$user_restrictions,$value_num,$values;
|
||||
|
||||
foreach ( $categories as $category ) {
|
||||
// recursive call
|
||||
update_user_category( $category['subcats'] );
|
||||
// 1. update the table user_category
|
||||
foreach ( $user_restrictions as $user_id => $restrictions ) {
|
||||
// if the category is forbidden to this user, go to next user
|
||||
if ( in_array( $category['id'], $restrictions ) ) continue;
|
||||
|
||||
// how many sub_categories for this user ?
|
||||
$user_subcats = array_diff(
|
||||
$page['plain_structure'][$category['id']]['direct_subcats_ids'],
|
||||
$restrictions );
|
||||
$user_nb_subcats = count( array_unique( $user_subcats ) );
|
||||
// last date of the category
|
||||
$user_all_subcats = array_unique( array_diff(
|
||||
$page['plain_structure'][$category['id']]['all_subcats_ids'],
|
||||
$restrictions ) );
|
||||
|
||||
$query = 'SELECT MAX(date_last) AS last_date';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'categories';
|
||||
$query.= ' WHERE id IN ('.$category['id'];
|
||||
if ( count( $user_all_subcats ) > 0 )
|
||||
$query.= ','.implode( ',', $user_all_subcats );
|
||||
$query.= ')';
|
||||
$query.= ';';
|
||||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
|
||||
// insert a new line in database
|
||||
if ( $value_num++ > 0 ) $values.= ', ';
|
||||
else $values.= ' ';
|
||||
$values.= '('.$user_id.",".$category['id'];
|
||||
if ( isset( $row['last_date'] ) ) $values.= ",'".$row['last_date']."'";
|
||||
else $values.= ',NULL';
|
||||
$values.= ','.$user_nb_subcats.')';
|
||||
}
|
||||
update_uppercats( $category['id'] );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* updates the column categories.uppercats
|
||||
*
|
||||
* @param int $category_id
|
||||
* @return void
|
||||
*/
|
||||
function update_uppercats( $category_id )
|
||||
{
|
||||
global $page;
|
||||
|
||||
$final_id = $category_id;
|
||||
$uppercats = array();
|
||||
|
||||
array_push( $uppercats, $category_id );
|
||||
$uppercat = $page['plain_structure'][$category_id]['id_uppercat'];
|
||||
|
||||
while ( $uppercat != 'NULL' )
|
||||
{
|
||||
array_push( $uppercats, $uppercat );
|
||||
$category_id = $page['plain_structure'][$category_id]['id_uppercat'];
|
||||
$uppercat = $page['plain_structure'][$category_id]['id_uppercat'];
|
||||
}
|
||||
|
||||
$string_uppercats = implode( ',', array_reverse( $uppercats ) );
|
||||
$query = 'UPDATE '.PREFIX_TABLE.'categories';
|
||||
$query.= ' SET uppercats = '."'".$string_uppercats."'";
|
||||
$query.= ' WHERE id = '.$final_id;
|
||||
$query.= ';';
|
||||
mysql_query( $query );
|
||||
}
|
||||
|
||||
/**
|
||||
* returns an array with the ids of the restricted categories for the user
|
||||
*
|
||||
* Returns an array with the ids of the restricted categories for the
|
||||
* user. If the $check_invisible parameter is set to true, invisible
|
||||
* categorie are added to the restricted one in the array.
|
||||
*
|
||||
* @param int $user_id
|
||||
* @param string $user_status
|
||||
* @param bool $check_invisible
|
||||
* @param bool $use_groups
|
||||
* @return array
|
||||
*/
|
||||
function get_user_restrictions( $user_id, $user_status,
|
||||
$check_invisible, $use_groups = true )
|
||||
{
|
||||
// 1. retrieving ids of private categories
|
||||
$query = 'SELECT id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'categories';
|
||||
$query.= " WHERE status = 'private'";
|
||||
$query.= ';';
|
||||
$result = mysql_query( $query );
|
||||
$privates = array();
|
||||
while ( $row = mysql_fetch_array( $result ) )
|
||||
{
|
||||
array_push( $privates, $row['id'] );
|
||||
}
|
||||
// 2. retrieving all authorized categories for the user
|
||||
$authorized = array();
|
||||
// 2.1. retrieving authorized categories thanks to personnal user
|
||||
// authorization
|
||||
$query = 'SELECT cat_id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'user_access';
|
||||
$query.= ' WHERE user_id = '.$user_id;
|
||||
$query.= ';';
|
||||
$result = mysql_query( $query );
|
||||
while ( $row = mysql_fetch_array( $result ) )
|
||||
{
|
||||
array_push( $authorized, $row['cat_id'] );
|
||||
}
|
||||
// 2.2. retrieving authorized categories thanks to group authorization to
|
||||
// which the user is a member
|
||||
if ( $use_groups )
|
||||
{
|
||||
$query = 'SELECT ga.cat_id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'user_group as ug';
|
||||
$query.= ', '.PREFIX_TABLE.'group_access as ga';
|
||||
$query.= ' WHERE ug.group_id = ga.group_id';
|
||||
$query.= ' AND ug.user_id = '.$user_id;
|
||||
$query.= ';';
|
||||
$result = mysql_query( $query );
|
||||
while ( $row = mysql_fetch_array( $result ) )
|
||||
{
|
||||
array_push( $authorized, $row['cat_id'] );
|
||||
}
|
||||
$authorized = array_unique( $authorized );
|
||||
}
|
||||
|
||||
$forbidden = array();
|
||||
foreach ( $privates as $private ) {
|
||||
if ( !in_array( $private, $authorized ) )
|
||||
{
|
||||
array_push( $forbidden, $private );
|
||||
}
|
||||
}
|
||||
|
||||
if ( $check_invisible )
|
||||
{
|
||||
// 3. adding to the restricted categories, the invisible ones
|
||||
if ( $user_status != 'admin' )
|
||||
{
|
||||
$query = 'SELECT id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'categories';
|
||||
$query.= " WHERE visible = 'false';";
|
||||
$result = mysql_query( $query );
|
||||
while ( $row = mysql_fetch_array( $result ) )
|
||||
{
|
||||
array_push( $forbidden, $row['id'] );
|
||||
}
|
||||
}
|
||||
}
|
||||
return array_unique( $forbidden );
|
||||
}
|
||||
|
||||
/**
|
||||
* finalizes operation for user_category table update
|
||||
*
|
||||
* This function is called by synchronization_*. It creates the
|
||||
* $page['plain_structure'] and $page['structure'], get the SQL query to
|
||||
* update user_category, clean user_category, and finally update the
|
||||
* table. The users updates depends on the global array $user_restrictions.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function synchronize()
|
||||
{
|
||||
global $user_restrictions,$page,$values;
|
||||
|
||||
update_user_category( $page['structure'] );
|
||||
|
||||
// cleaning user_category table for users to update
|
||||
foreach( $user_restrictions as $user_id => $restrictions ) {
|
||||
$query = 'DELETE';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'user_category';
|
||||
$query.= ' WHERE user_id = '.$user_id;
|
||||
$query.= ';';
|
||||
mysql_query( $query );
|
||||
}
|
||||
|
||||
$query = 'INSERT INTO '.PREFIX_TABLE.'user_category';
|
||||
$query.= ' (user_id,category_id,date_last,nb_sub_categories) VALUES ';
|
||||
$query.= $values;
|
||||
$query.= ';';
|
||||
mysql_query( $query );
|
||||
}
|
||||
|
||||
/**
|
||||
* synchronizes all users calculated informations
|
||||
*
|
||||
* fills global array $user_restrictions with all users and related
|
||||
* restrictions before calling synchronize.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function synchronize_all_users()
|
||||
{
|
||||
global $user_restrictions,$page;
|
||||
|
||||
$page['plain_structure'] = get_plain_structure();
|
||||
$page['structure'] = create_structure( '' );
|
||||
|
||||
$user_restrictions = array();
|
||||
|
||||
$query = 'SELECT id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'users';
|
||||
$query.= ';';
|
||||
$result = mysql_query( $query );
|
||||
while ( $row = mysql_fetch_array( $result ) )
|
||||
{
|
||||
$user_restrictions[$row['id']] = update_user_restrictions( $row['id'] );
|
||||
}
|
||||
synchronize();
|
||||
}
|
||||
|
||||
/**
|
||||
* synchronizes 1 user calculated informations
|
||||
*
|
||||
* fills global array $user_restrictions with the user id and its related
|
||||
* restrictions before calling synchronize.
|
||||
*
|
||||
* @param int $user_id
|
||||
* @return void
|
||||
*/
|
||||
function synchronize_user( $user_id )
|
||||
{
|
||||
global $user_restrictions,$page;
|
||||
|
||||
$page['plain_structure'] = get_plain_structure();
|
||||
$page['structure'] = create_structure( '' );
|
||||
|
||||
$user_restrictions = array();
|
||||
$user_restrictions[$user_id] = update_user_restrictions( $user_id );
|
||||
synchronize();
|
||||
}
|
||||
|
||||
/**
|
||||
* synchronizes all users (belonging to the group) calculated informations
|
||||
*
|
||||
* fills global array $user_restrictions with all users and related
|
||||
* restrictions before calling synchronize.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function synchronize_group( $group_id )
|
||||
{
|
||||
global $user_restrictions,$page;
|
||||
|
||||
$page['plain_structure'] = get_plain_structure();
|
||||
$page['structure'] = create_structure( '' );
|
||||
|
||||
$user_restrictions = array();
|
||||
|
||||
$query = 'SELECT id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'users';
|
||||
$query.= ', '.PREFIX_TABLE.'user_group';
|
||||
$query.= ' WHERE group_id = '.$group_id;
|
||||
$query.= ' AND id = user_id';
|
||||
$query.= ';';
|
||||
$result = mysql_query( $query );
|
||||
while ( $row = mysql_fetch_array( $result ) )
|
||||
{
|
||||
$user_restrictions[$row['id']] = update_user_restrictions( $row['id'] );
|
||||
}
|
||||
synchronize();
|
||||
}
|
||||
|
||||
/**
|
||||
* updates the calculated data users.forbidden_categories, it includes
|
||||
* sub-categories of the direct forbidden categories
|
||||
*
|
||||
* @param nt $user_id
|
||||
* @return array
|
||||
*/
|
||||
function update_user_restrictions( $user_id )
|
||||
{
|
||||
$restrictions = get_user_all_restrictions( $user_id );
|
||||
|
||||
// update the users.forbidden_categories in database
|
||||
$query = 'UPDATE '.PREFIX_TABLE.'users';
|
||||
$query.= ' SET forbidden_categories = ';
|
||||
if ( count( $restrictions ) > 0 )
|
||||
$query.= "'".implode( ',', $restrictions )."'";
|
||||
else
|
||||
$query.= 'NULL';
|
||||
$query .= ' WHERE id = '.$user_id;
|
||||
$query.= ';';
|
||||
mysql_query( $query );
|
||||
|
||||
return $restrictions;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns all the restricted categories ids including sub-categories
|
||||
*
|
||||
* @param int $user_id
|
||||
* @return array
|
||||
*/
|
||||
function get_user_all_restrictions( $user_id )
|
||||
{
|
||||
global $page;
|
||||
|
||||
$query = 'SELECT status';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'users';
|
||||
$query.= ' WHERE id = '.$user_id;
|
||||
$query.= ';';
|
||||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
|
||||
$base_restrictions=get_user_restrictions($user_id,$row['status'],true,true);
|
||||
|
||||
$restrictions = $base_restrictions;
|
||||
foreach ( $base_restrictions as $category_id ) {
|
||||
$restrictions =
|
||||
array_merge( $restrictions,
|
||||
$page['plain_structure'][$category_id]['all_subcats_ids'] );
|
||||
}
|
||||
|
||||
return array_unique( $restrictions );
|
||||
}
|
||||
|
||||
// The function is_user_allowed returns :
|
||||
// - 0 : if the category is allowed with this $restrictions array
|
||||
// - 1 : if this category is not allowed
|
||||
// - 2 : if an uppercat category is not allowed
|
||||
// Note : the restrictions array must represent ONLY direct forbidden
|
||||
// categories, not all forbidden categories
|
||||
function is_user_allowed( $category_id, $restrictions )
|
||||
{
|
||||
if ( in_array( $category_id, $restrictions ) ) return 1;
|
||||
|
||||
$query = 'SELECT uppercats';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'categories';
|
||||
$query.= ' WHERE id = '.$category_id;
|
||||
$query.= ';';
|
||||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
$uppercats = explode( ',', $row['uppercats'] );
|
||||
foreach ( $uppercats as $category_id ) {
|
||||
if ( in_array( $category_id, $restrictions ) ) return 2;
|
||||
}
|
||||
|
||||
// no restriction found : the user is allowed to access this category
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns an array containing sub-directories which can be a category
|
||||
*
|
||||
* directories nammed "thumbnail" are omitted
|
||||
*
|
||||
* @param string $basedir
|
||||
* @return array
|
||||
*/
|
||||
function get_category_directories( $basedir )
|
||||
{
|
||||
$sub_dirs = array();
|
||||
|
||||
if ( $opendir = opendir( $basedir ) )
|
||||
{
|
||||
while ( $file = readdir( $opendir ) )
|
||||
{
|
||||
if ( $file != '.' and $file != '..'
|
||||
and is_dir( $basedir.'/'.$file )
|
||||
and $file != 'thumbnail' )
|
||||
{
|
||||
array_push( $sub_dirs, $file );
|
||||
}
|
||||
}
|
||||
}
|
||||
return $sub_dirs;
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* the Free Software Foundation; *
|
||||
* *
|
||||
***************************************************************************/
|
||||
define( PREFIX_INCLUDE, '.' );
|
||||
define( 'PREFIX_INCLUDE', '.' );
|
||||
|
||||
include_once( '../include/config.inc.php' );
|
||||
include_once( '../include/user.inc.php' );
|
||||
|
|
|
@ -20,110 +20,104 @@
|
|||
include_once( './include/isadmin.inc.php' );
|
||||
include_once( '../template/'.$user['template'].'/htmlfunctions.inc.php' );
|
||||
//-------------------------------------------------------------- initialization
|
||||
$page['nb_image_page'] = 5;
|
||||
|
||||
check_cat_id( $_GET['cat_id'] );
|
||||
|
||||
$errors = array();
|
||||
|
||||
if ( isset( $page['cat'] ) )
|
||||
{
|
||||
//--------------------------------------------------- update individual options
|
||||
$query = 'SELECT id,file';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'images';
|
||||
$query.= ' LEFT JOIN '.PREFIX_TABLE.'image_category ON id = image_id';
|
||||
$query.= ' WHERE category_id = '.$page['cat'];
|
||||
$query.= ';';
|
||||
$result = mysql_query( $query );
|
||||
$i = 1;
|
||||
while ( $row = mysql_fetch_array( $result ) )
|
||||
if ( isset( $_POST['submit'] ) )
|
||||
{
|
||||
$name = 'name-'.$row['id'];
|
||||
$author = 'author-'.$row['id'];
|
||||
$comment = 'comment-'.$row['id'];
|
||||
$date_creation = 'date_creation-'.$row['id'];
|
||||
$keywords = 'keywords-'.$row['id'];
|
||||
if ( isset( $_POST[$name] ) )
|
||||
if ( isset( $_POST['associate'] ) and $_POST['associate'] != '' )
|
||||
{
|
||||
$query = 'UPDATE '.PREFIX_TABLE.'images';
|
||||
|
||||
$query.= ' SET name = ';
|
||||
if ( $_POST[$name] == '' )
|
||||
$query.= 'NULL';
|
||||
else
|
||||
$query.= "'".htmlentities( $_POST[$name], ENT_QUOTES )."'";
|
||||
|
||||
$query.= ', author = ';
|
||||
if ( $_POST[$author] == '' )
|
||||
$query.= 'NULL';
|
||||
else
|
||||
$query.= "'".htmlentities($_POST[$author],ENT_QUOTES)."'";
|
||||
|
||||
$query.= ', comment = ';
|
||||
if ( $_POST[$comment] == '' )
|
||||
$query.= 'NULL';
|
||||
else
|
||||
$query.= "'".htmlentities($_POST[$comment],ENT_QUOTES)."'";
|
||||
|
||||
$query.= ', date_creation = ';
|
||||
if ( check_date_format( $_POST[$date_creation] ) )
|
||||
$query.= "'".date_convert( $_POST[$date_creation] )."'";
|
||||
else if ( $_POST[$date_creation] == '' )
|
||||
$query.= 'NULL';
|
||||
|
||||
$query.= ', keywords = ';
|
||||
$keywords_array = get_keywords( $_POST[$keywords] );
|
||||
if ( count( $keywords_array ) == 0 )
|
||||
$query.= 'NULL';
|
||||
// does the uppercat id exists in the database ?
|
||||
if ( !is_numeric( $_POST['associate'] ) )
|
||||
{
|
||||
array_push( $errors, $lang['cat_unknown_id'] );
|
||||
}
|
||||
else
|
||||
{
|
||||
$query.= "'";
|
||||
foreach ( $keywords_array as $i => $keyword ) {
|
||||
if ( $i > 0 ) $query.= ',';
|
||||
$query.= $keyword;
|
||||
}
|
||||
$query.= "'";
|
||||
$query = 'SELECT id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'categories';
|
||||
$query.= ' WHERE id = '.$_POST['associate'];
|
||||
$query.= ';';
|
||||
if ( mysql_num_rows( mysql_query( $query ) ) == 0 )
|
||||
array_push( $errors, $lang['cat_unknown_id'] );
|
||||
}
|
||||
}
|
||||
|
||||
$query.= ' WHERE id = '.$row['id'];
|
||||
$query.= ';';
|
||||
mysql_query( $query );
|
||||
}
|
||||
// add link to another category
|
||||
if ( $_POST['check-'.$row['id']] == 1 )
|
||||
{
|
||||
$query = 'INSERT INTO '.PREFIX_TABLE.'image_category';
|
||||
$query.= ' (image_id,category_id) VALUES';
|
||||
$query.= ' ('.$row['id'].','.$_POST['associate'].')';
|
||||
$query.= ';';
|
||||
mysql_query( $query );
|
||||
}
|
||||
}
|
||||
update_category( $_POST['associate'] );
|
||||
//------------------------------------------------------ update general options
|
||||
if ( $_POST['use_common_author'] == 1 )
|
||||
{
|
||||
$query = 'SELECT image_id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'image_category';
|
||||
$associate = false;
|
||||
|
||||
$query = 'SELECT id,file';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'images';
|
||||
$query.= ' INNER JOIN '.PREFIX_TABLE.'image_category ON id = image_id';
|
||||
$query.= ' WHERE category_id = '.$page['cat'];
|
||||
$query.= ';';
|
||||
$result = mysql_query( $query );
|
||||
while ( $row = mysql_fetch_array( $result ) )
|
||||
{
|
||||
$query = 'UPDATE '.PREFIX_TABLE.'images';
|
||||
if ( $_POST['author_cat'] == '' )
|
||||
$name = 'name-'.$row['id'];
|
||||
$author = 'author-'.$row['id'];
|
||||
$comment = 'comment-'.$row['id'];
|
||||
$date_creation = 'date_creation-'.$row['id'];
|
||||
$keywords = 'keywords-'.$row['id'];
|
||||
if ( isset( $_POST[$name] ) )
|
||||
{
|
||||
$query.= ' SET author = NULL';
|
||||
$query = 'UPDATE '.PREFIX_TABLE.'images';
|
||||
|
||||
$query.= ' SET name = ';
|
||||
if ( $_POST[$name] == '' )
|
||||
$query.= 'NULL';
|
||||
else
|
||||
$query.= "'".htmlentities( $_POST[$name], ENT_QUOTES )."'";
|
||||
|
||||
$query.= ', author = ';
|
||||
if ( $_POST[$author] == '' )
|
||||
$query.= 'NULL';
|
||||
else
|
||||
$query.= "'".htmlentities($_POST[$author],ENT_QUOTES)."'";
|
||||
|
||||
$query.= ', comment = ';
|
||||
if ( $_POST[$comment] == '' )
|
||||
$query.= 'NULL';
|
||||
else
|
||||
$query.= "'".htmlentities($_POST[$comment],ENT_QUOTES)."'";
|
||||
|
||||
$query.= ', date_creation = ';
|
||||
if ( check_date_format( $_POST[$date_creation] ) )
|
||||
$query.= "'".date_convert( $_POST[$date_creation] )."'";
|
||||
else if ( $_POST[$date_creation] == '' )
|
||||
$query.= 'NULL';
|
||||
|
||||
$query.= ', keywords = ';
|
||||
|
||||
$keywords_array = get_keywords( $_POST[$keywords] );
|
||||
if ( count( $keywords_array ) == 0 ) $query.= 'NULL';
|
||||
else $query.= "'".implode( ',', $keywords_array )."'";
|
||||
|
||||
$query.= ' WHERE id = '.$row['id'];
|
||||
$query.= ';';
|
||||
mysql_query( $query );
|
||||
}
|
||||
else
|
||||
// add link to another category
|
||||
if ( isset( $_POST['check-'.$row['id']] ) and count( $errors ) == 0 )
|
||||
{
|
||||
$query.= ' SET author = ';
|
||||
$query.= "'".htmlentities( $_POST['author_cat'], ENT_QUOTES )."'";
|
||||
$query = 'INSERT INTO '.PREFIX_TABLE.'image_category';
|
||||
$query.= ' (image_id,category_id) VALUES';
|
||||
$query.= ' ('.$row['id'].','.$_POST['associate'].')';
|
||||
$query.= ';';
|
||||
mysql_query( $query );
|
||||
$associate = true;
|
||||
}
|
||||
$query.= ' WHERE id = '.$row['image_id'];
|
||||
$query.= ';';
|
||||
mysql_query( $query );
|
||||
}
|
||||
}
|
||||
if ( $_POST['use_common_date_creation'] == 1 )
|
||||
{
|
||||
if ( check_date_format( $_POST['date_creation_cat'] ) )
|
||||
update_category( $_POST['associate'] );
|
||||
if ( $associate ) synchronize_all_users();
|
||||
//------------------------------------------------------ update general options
|
||||
if ( isset( $_POST['use_common_author'] ) )
|
||||
{
|
||||
$date = date_convert( $_POST['date_creation_cat'] );
|
||||
$query = 'SELECT image_id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'image_category';
|
||||
$query.= ' WHERE category_id = '.$page['cat'];
|
||||
|
@ -131,75 +125,102 @@ if ( isset( $page['cat'] ) )
|
|||
while ( $row = mysql_fetch_array( $result ) )
|
||||
{
|
||||
$query = 'UPDATE '.PREFIX_TABLE.'images';
|
||||
if ( $_POST['date_creation_cat'] == '' )
|
||||
if ( $_POST['author_cat'] == '' )
|
||||
{
|
||||
$query.= ' SET date_creation = NULL';
|
||||
$query.= ' SET author = NULL';
|
||||
}
|
||||
else
|
||||
{
|
||||
$query.= " SET date_creation = '".$date."'";
|
||||
$query.= ' SET author = ';
|
||||
$query.= "'".htmlentities( $_POST['author_cat'], ENT_QUOTES )."'";
|
||||
}
|
||||
$query.= ' WHERE id = '.$row['image_id'];
|
||||
$query.= ';';
|
||||
mysql_query( $query );
|
||||
}
|
||||
}
|
||||
else
|
||||
if ( isset( $_POST['use_common_date_creation'] ) )
|
||||
{
|
||||
echo $lang['err_date'];
|
||||
}
|
||||
}
|
||||
if ( isset( $_POST['common_keywords'] ) and $_POST['keywords_cat'] != '' )
|
||||
{
|
||||
$query = 'SELECT id,keywords';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'images';
|
||||
$query.= ' LEFT JOIN '.PREFIX_TABLE.'image_category ON id = image_id';
|
||||
$query.= ' WHERE category_id = '.$page['cat'];
|
||||
$query.= ';';
|
||||
$result = mysql_query( $query );
|
||||
while ( $row = mysql_fetch_array( $result ) )
|
||||
{
|
||||
$specific_keywords = explode( ',', $row['keywords'] );
|
||||
$common_keywords = get_keywords( $_POST['keywords_cat'] );
|
||||
// first possiblity : adding the given keywords to all the pictures
|
||||
if ( $_POST['common_keywords'] == 'add' )
|
||||
if ( check_date_format( $_POST['date_creation_cat'] ) )
|
||||
{
|
||||
$keywords = array_merge( $specific_keywords, $common_keywords );
|
||||
$keywords = array_unique( $keywords );
|
||||
}
|
||||
// second possiblity : removing the given keywords from all pictures
|
||||
// (without deleting the other specific keywords
|
||||
if ( $_POST['common_keywords'] == 'remove' )
|
||||
{
|
||||
$keywords = array_diff( $specific_keywords, $common_keywords );
|
||||
}
|
||||
// cleaning the keywords array, sometimes, an empty value still remain
|
||||
$keywords = array_remove( $keywords, '' );
|
||||
// updating the picture with new keywords array
|
||||
$query = 'UPDATE '.PREFIX_TABLE.'images';
|
||||
$query.= ' SET keywords = ';
|
||||
if ( count( $keywords ) == 0 )
|
||||
{
|
||||
$query.= 'NULL';
|
||||
$date = date_convert( $_POST['date_creation_cat'] );
|
||||
$query = 'SELECT image_id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'image_category';
|
||||
$query.= ' WHERE category_id = '.$page['cat'];
|
||||
$result = mysql_query( $query );
|
||||
while ( $row = mysql_fetch_array( $result ) )
|
||||
{
|
||||
$query = 'UPDATE '.PREFIX_TABLE.'images';
|
||||
if ( $_POST['date_creation_cat'] == '' )
|
||||
{
|
||||
$query.= ' SET date_creation = NULL';
|
||||
}
|
||||
else
|
||||
{
|
||||
$query.= " SET date_creation = '".$date."'";
|
||||
}
|
||||
$query.= ' WHERE id = '.$row['image_id'];
|
||||
$query.= ';';
|
||||
mysql_query( $query );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$query.= '"';
|
||||
$i = 0;
|
||||
foreach ( $keywords as $keyword ) {
|
||||
if ( $i++ > 0 ) $query.= ',';
|
||||
$query.= $keyword;
|
||||
}
|
||||
$query.= '"';
|
||||
array_push( $errors, $lang['err_date'] );
|
||||
}
|
||||
$query.= ' WHERE id = '.$row['id'];
|
||||
}
|
||||
if ( isset( $_POST['common_keywords'] ) and $_POST['keywords_cat'] != '' )
|
||||
{
|
||||
$query = 'SELECT id,keywords';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'images';
|
||||
$query.= ' INNER JOIN '.PREFIX_TABLE.'image_category ON id = image_id';
|
||||
$query.= ' WHERE category_id = '.$page['cat'];
|
||||
$query.= ';';
|
||||
mysql_query( $query );
|
||||
$result = mysql_query( $query );
|
||||
while ( $row = mysql_fetch_array( $result ) )
|
||||
{
|
||||
if ( !isset( $row['keywords'] ) ) $specific_keywords = array();
|
||||
else $specific_keywords = explode( ',', $row['keywords'] );
|
||||
|
||||
$common_keywords = get_keywords( $_POST['keywords_cat'] );
|
||||
// first possiblity : adding the given keywords to all the pictures
|
||||
if ( $_POST['common_keywords'] == 'add' )
|
||||
{
|
||||
$keywords = array_merge( $specific_keywords, $common_keywords );
|
||||
$keywords = array_unique( $keywords );
|
||||
}
|
||||
// second possiblity : removing the given keywords from all pictures
|
||||
// (without deleting the other specific keywords
|
||||
if ( $_POST['common_keywords'] == 'remove' )
|
||||
{
|
||||
$keywords = array_diff( $specific_keywords, $common_keywords );
|
||||
}
|
||||
// cleaning the keywords array, sometimes, an empty value still remain
|
||||
$keywords = array_remove( $keywords, '' );
|
||||
// updating the picture with new keywords array
|
||||
$query = 'UPDATE '.PREFIX_TABLE.'images';
|
||||
$query.= ' SET keywords = ';
|
||||
if ( count( $keywords ) == 0 )
|
||||
{
|
||||
$query.= 'NULL';
|
||||
}
|
||||
else
|
||||
{
|
||||
$query.= '"';
|
||||
$i = 0;
|
||||
foreach ( $keywords as $keyword ) {
|
||||
if ( $i++ > 0 ) $query.= ',';
|
||||
$query.= $keyword;
|
||||
}
|
||||
$query.= '"';
|
||||
}
|
||||
$query.= ' WHERE id = '.$row['id'];
|
||||
$query.= ';';
|
||||
mysql_query( $query );
|
||||
}
|
||||
}
|
||||
}
|
||||
//--------------------------------------------------------- form initialization
|
||||
$page['nb_image_page'] = 5;
|
||||
|
||||
if( !isset( $_GET['start'] )
|
||||
or !is_numeric( $_GET['start'] )
|
||||
or ( is_numeric( $_GET['start'] ) and $_GET['start'] < 0 ) )
|
||||
|
@ -211,13 +232,12 @@ if ( isset( $page['cat'] ) )
|
|||
$page['start'] = $_GET['start'];
|
||||
}
|
||||
|
||||
if ( is_numeric( $_GET['num'] ) and $_GET['num'] >= 0 )
|
||||
if ( isset($_GET['num']) and is_numeric($_GET['num']) and $_GET['num'] >= 0 )
|
||||
{
|
||||
$page['start'] =
|
||||
floor( $_GET['num'] / $page['nb_image_page'] ) * $page['nb_image_page'];
|
||||
}
|
||||
// retrieving category information
|
||||
$page['plain_structure'] = get_plain_structure();
|
||||
$result = get_cat_info( $page['cat'] );
|
||||
$cat['name'] = $result['name'];
|
||||
$cat['nb_images'] = $result['nb_images'];
|
||||
|
@ -228,9 +248,21 @@ if ( isset( $page['cat'] ) )
|
|||
'infoimage_title','infoimage_comment',
|
||||
'infoimage_creation_date','keywords',
|
||||
'infoimage_addtoall','infoimage_removefromall',
|
||||
'infoimage_keyword_separation','infoimage_associate' );
|
||||
'infoimage_keyword_separation','infoimage_associate',
|
||||
'errors_title' );
|
||||
templatize_array( $tpl, 'lang', $sub );
|
||||
$vtp->setGlobalVar( $sub, 'user_template', $user['template'] );
|
||||
//-------------------------------------------------------------- errors display
|
||||
if ( count( $errors ) != 0 )
|
||||
{
|
||||
$vtp->addSession( $sub, 'errors' );
|
||||
foreach ( $errors as $error ) {
|
||||
$vtp->addSession( $sub, 'li' );
|
||||
$vtp->setVar( $sub, 'li.content', $error );
|
||||
$vtp->closeSession( $sub, 'li' );
|
||||
}
|
||||
$vtp->closeSession( $sub, 'errors' );
|
||||
}
|
||||
//------------------------------------------------------------------------ form
|
||||
$url = './admin.php?page=infos_images&cat_id='.$page['cat'];
|
||||
$url.= '&start='.$page['start'];
|
||||
|
@ -243,10 +275,13 @@ if ( isset( $page['cat'] ) )
|
|||
|
||||
$array_cat_directories = array();
|
||||
|
||||
$query = 'SELECT id,file,comment,author,tn_ext,name,date_creation,keywords';
|
||||
$query.= ',storage_category_id,category_id';
|
||||
$infos = array( 'id','file','comment','author','tn_ext','name'
|
||||
,'date_creation','keywords','storage_category_id'
|
||||
,'category_id' );
|
||||
|
||||
$query = 'SELECT '.implode( ',', $infos );
|
||||
$query.= ' FROM '.PREFIX_TABLE.'images';
|
||||
$query.= ' LEFT JOIN '.PREFIX_TABLE.'image_category ON id = image_id';
|
||||
$query.= ' INNER JOIN '.PREFIX_TABLE.'image_category ON id = image_id';
|
||||
$query.= ' WHERE category_id = '.$page['cat'];
|
||||
$query.= $conf['order_by'];
|
||||
$query.= ' LIMIT '.$page['start'].','.$page['nb_image_page'];
|
||||
|
@ -254,6 +289,8 @@ if ( isset( $page['cat'] ) )
|
|||
$result = mysql_query( $query );
|
||||
while ( $row = mysql_fetch_array( $result ) )
|
||||
{
|
||||
foreach ($infos as $info) { if (!isset($row[$info])) $row[$info] = ''; }
|
||||
|
||||
$vtp->addSession( $sub, 'picture' );
|
||||
$vtp->setVar( $sub, 'picture.id', $row['id'] );
|
||||
$vtp->setVar( $sub, 'picture.filename', $row['file'] );
|
||||
|
@ -266,7 +303,7 @@ if ( isset( $page['cat'] ) )
|
|||
$file = get_filename_wo_extension( $row['file'] );
|
||||
$vtp->setVar( $sub, 'picture.default_name', $file );
|
||||
// creating url to thumbnail
|
||||
if ( $array_cat_directories[$row['storage_category_id']] == '' )
|
||||
if ( !isset( $array_cat_directories[$row['storage_category_id']] ) )
|
||||
{
|
||||
$array_cat_directories[$row['storage_category_id']] =
|
||||
get_complete_dir( $row['storage_category_id'] );
|
||||
|
@ -283,8 +320,29 @@ if ( isset( $page['cat'] ) )
|
|||
$vtp->setVar( $sub, 'picture.url', add_session_id( $url ) );
|
||||
$vtp->closeSession( $sub, 'picture' );
|
||||
}
|
||||
$structure = create_structure( '', array() );
|
||||
display_categories( $structure, ' ' );
|
||||
// Virtualy associate a picture to a category
|
||||
//
|
||||
// We only show a List Of Values if the number of categories is less than
|
||||
// $conf['max_LOV_categories']
|
||||
$query = 'SELECT COUNT(id) AS nb_total_categories';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'categories';
|
||||
$query.= ';';
|
||||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
if ( $row['nb_total_categories'] < $conf['max_LOV_categories'] )
|
||||
{
|
||||
$vtp->addSession( $sub, 'associate_LOV' );
|
||||
$page['plain_structure'] = get_plain_structure( true );
|
||||
$structure = create_structure( '', array() );
|
||||
display_categories( $structure, ' ' );
|
||||
$vtp->closeSession( $sub, 'associate_LOV' );
|
||||
}
|
||||
// else, we only display a small text field, we suppose the administrator
|
||||
// knows the id of its category
|
||||
else
|
||||
{
|
||||
$vtp->addSession( $sub, 'associate_text' );
|
||||
$vtp->closeSession( $sub, 'associate_text' );
|
||||
}
|
||||
}
|
||||
//----------------------------------------------------------- sending html code
|
||||
$vtp->Parse( $handle , 'sub', $sub );
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
***************************************************************************/
|
||||
|
||||
//-------------------------------------------------------------------- includes
|
||||
define( PREFIX_INCLUDE, '.' );
|
||||
define( 'PREFIX_INCLUDE', '.' );
|
||||
include( '../include/vtemplate.class.php' );
|
||||
include( '../include/functions.inc.php' );
|
||||
//----------------------------------------------------- template initialization
|
||||
|
@ -30,6 +30,7 @@ if ( isset( $_GET['language'] ) )
|
|||
{
|
||||
$isadmin = true;
|
||||
$lang = array();
|
||||
error_reporting( E_ALL ^ E_NOTICE );
|
||||
include( '../language/'.$_GET['language'].'.php' );
|
||||
$tpl = array( 'step1_err_copy', 'step1_err_copy_2', 'step1_err_copy_next',
|
||||
'errors_title', 'step1_title','step1_host','step1_host_info',
|
||||
|
@ -45,7 +46,7 @@ if ( isset( $_GET['language'] ) )
|
|||
$vtp->setGlobalVar( $handle, 'language', $_GET['language'] );
|
||||
}
|
||||
//---------------------- Step 1 : connection informations, write of config file
|
||||
if ( $_GET['step'] == 1 )
|
||||
if ( isset($_GET['step']) && $_GET['step'] == 1 )
|
||||
{
|
||||
$errors = array();
|
||||
$infos = array();
|
||||
|
@ -73,7 +74,9 @@ if ( $_GET['step'] == 1 )
|
|||
{
|
||||
array_push( $errors, $lang['step1_err_server'] );
|
||||
}
|
||||
|
||||
|
||||
$config_file = '../include/mysql.inc.php';
|
||||
|
||||
if ( count( $errors ) == 0 )
|
||||
{
|
||||
$file_content = "<?php";
|
||||
|
@ -84,7 +87,7 @@ if ( $_GET['step'] == 1 )
|
|||
$file_content.= "\n\$prefixeTable = '".$_POST['prefixeTable']."';";
|
||||
$file_content.= "\n?>";
|
||||
// writting the configuration file
|
||||
if ( $fp = @fopen( '../include/mysql.inc.php', 'a+' ) )
|
||||
if ( $fp = @fopen( $config_file, 'a+' ) )
|
||||
{
|
||||
fwrite( $fp, $file_content );
|
||||
fclose( $fp );
|
||||
|
@ -93,7 +96,7 @@ if ( $_GET['step'] == 1 )
|
|||
$cfgUser = '';
|
||||
$cfgPassword = '';
|
||||
$cfgBase = '';
|
||||
include( '../include/mysql.inc.php' );
|
||||
if ( is_file( $config_file ) ) include( $config_file );
|
||||
$file_OK = false;
|
||||
if ( @mysql_connect( $cfgHote, $cfgUser, $cfgPassword ) )
|
||||
{
|
||||
|
@ -150,9 +153,11 @@ if ( $_GET['step'] == 1 )
|
|||
else
|
||||
$vtp->setVar( $handle, 'step1.f_host', $_POST['cfgHote'] );
|
||||
// user
|
||||
$vtp->setVar( $handle, 'step1.f_user', $_POST['cfgUser'] );
|
||||
if ( isset( $_POST['cfgUser'] ) )
|
||||
$vtp->setVar( $handle, 'step1.f_user', $_POST['cfgUser'] );
|
||||
// base
|
||||
$vtp->setVar( $handle, 'step1.f_base', $_POST['cfgBase'] );
|
||||
if ( isset( $_POST['cfgBase'] ) )
|
||||
$vtp->setVar( $handle, 'step1.f_base', $_POST['cfgBase'] );
|
||||
// prefixeTable
|
||||
if ( !isset( $_POST['prefixeTable'] ) )
|
||||
$vtp->setVar( $handle, 'step1.f_prefixeTable', 'phpwebgallery_' );
|
||||
|
@ -163,7 +168,7 @@ if ( $_GET['step'] == 1 )
|
|||
}
|
||||
}
|
||||
//------------------------------------- Step 2 : creation of tables in database
|
||||
else if ( $_GET['step'] == 2 )
|
||||
else if ( isset($_GET['step']) && $_GET['step'] == 2 )
|
||||
{
|
||||
$errors = array();
|
||||
$infos = array();
|
||||
|
@ -237,9 +242,10 @@ else if ( $_GET['step'] == 2 )
|
|||
|
||||
// webmaster admin user
|
||||
$query = 'INSERT INTO '.$prefixeTable.'users';
|
||||
$query.= ' (id,username,password,status,language) VALUES ';
|
||||
$query.= ' (id,username,password,status,language,mail_address) VALUES ';
|
||||
$query.= "(1,'".$webmaster."','".md5( $_POST['pwdWebmaster'] )."'";
|
||||
$query.= ",'admin','".$_GET['language']."')";
|
||||
$query.= ",'admin','".$_GET['language']."'";
|
||||
$query.= ",'".$_POST['mail_webmaster']."')";
|
||||
$query.= ';';
|
||||
mysql_query($query);
|
||||
|
||||
|
@ -267,7 +273,9 @@ else if ( $_GET['step'] == 2 )
|
|||
if ( !isset( $_POST['submit'] ) or sizeof( $errors ) > 0 )
|
||||
{
|
||||
$vtp->addSession( $handle, 'step2' );
|
||||
if ( isset( $_POST['webmaster'] ))
|
||||
$vtp->setVar( $handle, 'step2.f_webmaster', $_POST['webmaster'] );
|
||||
if ( isset( $_POST['mail_webmaster'] ))
|
||||
$vtp->setVar( $handle, 'step2.f_mail_webmaster', $_POST['mail_webmaster']);
|
||||
$vtp->closeSession( $handle, 'step2' );
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
-- MySQL dump 8.21
|
||||
--
|
||||
-- Host: localhost Database: devel
|
||||
-- Host: localhost Database: pwg-1_3
|
||||
---------------------------------------------------------
|
||||
-- Server version 3.23.49-log
|
||||
|
||||
|
@ -23,7 +23,9 @@ CREATE TABLE phpwebgallery_categories (
|
|||
visible enum('true','false') NOT NULL default 'true',
|
||||
uploadable enum('true','false') NOT NULL default 'false',
|
||||
representative_picture_id mediumint(8) unsigned default NULL,
|
||||
PRIMARY KEY (id)
|
||||
uppercats varchar(255) NOT NULL default '',
|
||||
PRIMARY KEY (id),
|
||||
KEY id_uppercat (id_uppercat)
|
||||
) TYPE=MyISAM;
|
||||
|
||||
--
|
||||
|
@ -125,7 +127,9 @@ DROP TABLE IF EXISTS phpwebgallery_image_category;
|
|||
CREATE TABLE phpwebgallery_image_category (
|
||||
image_id mediumint(8) unsigned NOT NULL default '0',
|
||||
category_id smallint(5) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (image_id,category_id)
|
||||
PRIMARY KEY (image_id,category_id),
|
||||
KEY category_id (category_id),
|
||||
KEY image_id (image_id)
|
||||
) TYPE=MyISAM;
|
||||
|
||||
--
|
||||
|
@ -188,6 +192,19 @@ CREATE TABLE phpwebgallery_user_access (
|
|||
PRIMARY KEY (user_id,cat_id)
|
||||
) TYPE=MyISAM;
|
||||
|
||||
--
|
||||
-- Table structure for table 'phpwebgallery_user_category'
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS phpwebgallery_user_category;
|
||||
CREATE TABLE phpwebgallery_user_category (
|
||||
user_id smallint(5) unsigned NOT NULL default '0',
|
||||
category_id smallint(5) unsigned NOT NULL default '0',
|
||||
date_last date default NULL,
|
||||
nb_sub_categories smallint(5) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (user_id,category_id)
|
||||
) TYPE=MyISAM;
|
||||
|
||||
--
|
||||
-- Table structure for table 'phpwebgallery_user_group'
|
||||
--
|
||||
|
@ -220,6 +237,7 @@ CREATE TABLE phpwebgallery_users (
|
|||
short_period tinyint(3) unsigned NOT NULL default '7',
|
||||
long_period tinyint(3) unsigned NOT NULL default '14',
|
||||
template varchar(255) NOT NULL default 'default',
|
||||
forbidden_categories text,
|
||||
PRIMARY KEY (id),
|
||||
UNIQUE KEY username (username)
|
||||
) TYPE=MyISAM;
|
||||
|
|
|
@ -18,8 +18,6 @@
|
|||
***************************************************************************/
|
||||
|
||||
include_once( './include/isadmin.inc.php' );
|
||||
//----------------------------------------- categories structure initialization
|
||||
$page['plain_structure'] = get_plain_structure();
|
||||
//--------------------------------------------------------- update informations
|
||||
$errors = array();
|
||||
// first, we verify whether there is a mistake on the given creation date
|
||||
|
@ -87,7 +85,7 @@ if ( isset( $_POST['submit'] ) )
|
|||
// if the user ask the picture to be the representative picture of its
|
||||
// category, the category is updated in the database (without wondering
|
||||
// if this picture was already the representative one)
|
||||
if ( $_POST['representative-'.$row['category_id']] == 1 )
|
||||
if ( isset($_POST['representative-'.$row['category_id']]) )
|
||||
{
|
||||
$query = 'UPDATE '.PREFIX_TABLE.'categories';
|
||||
$query.= ' SET representative_picture_id = '.$_GET['image_id'];
|
||||
|
@ -97,7 +95,8 @@ if ( isset( $_POST['submit'] ) )
|
|||
}
|
||||
// if the user ask this picture to be not any more the representative,
|
||||
// we have to set the representative_picture_id of this category to NULL
|
||||
else if ( $row['representative_picture_id'] == $_GET['image_id'] )
|
||||
else if ( isset( $row['representative_picture_id'] )
|
||||
and $row['representative_picture_id'] == $_GET['image_id'] )
|
||||
{
|
||||
$query = 'UPDATE '.PREFIX_TABLE.'categories';
|
||||
$query.= ' SET representative_picture_id = NULL';
|
||||
|
@ -106,14 +105,35 @@ if ( isset( $_POST['submit'] ) )
|
|||
mysql_query( $query );
|
||||
}
|
||||
}
|
||||
$associate_or_dissociate = false;
|
||||
// associate with a new category ?
|
||||
if ( $_POST['associate'] != '-1' )
|
||||
if ( $_POST['associate'] != '-1' and $_POST['associate'] != '' )
|
||||
{
|
||||
// does the uppercat id exists in the database ?
|
||||
if ( !is_numeric( $_POST['associate'] ) )
|
||||
{
|
||||
array_push( $errors, $lang['cat_unknown_id'] );
|
||||
}
|
||||
else
|
||||
{
|
||||
$query = 'SELECT id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'categories';
|
||||
$query.= ' WHERE id = '.$_POST['associate'];
|
||||
$query.= ';';
|
||||
if ( mysql_num_rows( mysql_query( $query ) ) == 0 )
|
||||
array_push( $errors, $lang['cat_unknown_id'] );
|
||||
}
|
||||
}
|
||||
if ( $_POST['associate'] != '-1'
|
||||
and $_POST['associate'] != ''
|
||||
and count( $errors ) == 0 )
|
||||
{
|
||||
$query = 'INSERT INTO '.PREFIX_TABLE.'image_category';
|
||||
$query.= ' (category_id,image_id) VALUES ';
|
||||
$query.= '('.$_POST['associate'].','.$_GET['image_id'].')';
|
||||
$query.= ';';
|
||||
mysql_query( $query);
|
||||
$associate_or_dissociate = true;
|
||||
update_category( $_POST['associate'] );
|
||||
}
|
||||
// dissociate any category ?
|
||||
|
@ -125,16 +145,21 @@ if ( isset( $_POST['submit'] ) )
|
|||
$result = mysql_query( $query );
|
||||
while ( $row = mysql_fetch_array( $result ) )
|
||||
{
|
||||
if ( $_POST['dissociate-'.$row['category_id']] == 1 )
|
||||
if ( isset($_POST['dissociate-'.$row['category_id']]) )
|
||||
{
|
||||
$query = 'DELETE FROM '.PREFIX_TABLE.'image_category';
|
||||
$query.= ' WHERE image_id = '.$_GET['image_id'];
|
||||
$query.= ' AND category_id = '.$row['category_id'];
|
||||
$query.= ';';
|
||||
mysql_query( $query );
|
||||
$associate_or_dissociate = true;
|
||||
update_category( $row['category_id'] );
|
||||
}
|
||||
}
|
||||
if ( $associate_or_dissociate )
|
||||
{
|
||||
synchronize_all_users();
|
||||
}
|
||||
}
|
||||
//----------------------------------------------------- template initialization
|
||||
$sub = $vtp->Open(
|
||||
|
@ -162,12 +187,19 @@ if ( count( $errors ) != 0 )
|
|||
$action = './admin.php?'.$_SERVER['QUERY_STRING'];
|
||||
$vtp->setVar( $sub, 'form_action', $action );
|
||||
// retrieving direct information about picture
|
||||
$query = 'SELECT file,date_available,date_creation,tn_ext,name,filesize';
|
||||
$query.= ',width,height,author,comment,keywords,storage_category_id';
|
||||
$infos = array( 'file','date_available','date_creation','tn_ext','name'
|
||||
,'filesize','width','height','author','comment','keywords'
|
||||
,'storage_category_id' );
|
||||
$query = 'SELECT '. implode( ',', $infos );
|
||||
$query.= ' FROM '.PREFIX_TABLE.'images';
|
||||
$query.= ' WHERE id = '.$_GET['image_id'];
|
||||
$query.= ';';
|
||||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
|
||||
foreach ( $infos as $info ) {
|
||||
if ( !isset( $row[$info] ) ) $row[$info] = '';
|
||||
}
|
||||
|
||||
// picture title
|
||||
if ( $row['name'] == '' )
|
||||
{
|
||||
|
@ -290,7 +322,8 @@ while ( $row = mysql_fetch_array( $result ) )
|
|||
$vtp->setVar( $sub, 'linked_category.invisible', $invisible_string );
|
||||
}
|
||||
|
||||
if ( $row['representative_picture_id'] == $_GET['image_id'] )
|
||||
if ( isset( $row['representative_picture_id'] )
|
||||
and $row['representative_picture_id'] == $_GET['image_id'] )
|
||||
{
|
||||
$vtp->setVar( $sub, 'linked_category.representative_checked',
|
||||
' checked="checked"' );
|
||||
|
@ -306,12 +339,32 @@ if ( mysql_num_rows( $result ) > 0 )
|
|||
$vtp->closeSession( $sub, 'dissociate' );
|
||||
}
|
||||
// associate to another category ?
|
||||
$vtp->addSession( $sub, 'associate_cat' );
|
||||
$vtp->setVar( $sub, 'associate_cat.value', '-1' );
|
||||
$vtp->setVar( $sub, 'associate_cat.content', '' );
|
||||
$vtp->closeSession( $sub, 'associate_cat' );
|
||||
$structure = create_structure( '', array() );
|
||||
display_categories( $structure, ' ' );
|
||||
//
|
||||
// We only show a List Of Values if the number of categories is less than
|
||||
// $conf['max_LOV_categories']
|
||||
$query = 'SELECT COUNT(id) AS nb_total_categories';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'categories';
|
||||
$query.= ';';
|
||||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
if ( $row['nb_total_categories'] < $conf['max_LOV_categories'] )
|
||||
{
|
||||
$vtp->addSession( $sub, 'associate_LOV' );
|
||||
$vtp->addSession( $sub, 'associate_cat' );
|
||||
$vtp->setVar( $sub, 'associate_cat.value', '-1' );
|
||||
$vtp->setVar( $sub, 'associate_cat.content', '' );
|
||||
$vtp->closeSession( $sub, 'associate_cat' );
|
||||
$page['plain_structure'] = get_plain_structure( true );
|
||||
$structure = create_structure( '', array() );
|
||||
display_categories( $structure, ' ' );
|
||||
$vtp->closeSession( $sub, 'associate_LOV' );
|
||||
}
|
||||
// else, we only display a small text field, we suppose the administrator
|
||||
// knows the id of its category
|
||||
else
|
||||
{
|
||||
$vtp->addSession( $sub, 'associate_text' );
|
||||
$vtp->closeSession( $sub, 'associate_text' );
|
||||
}
|
||||
//----------------------------------------------------------- sending html code
|
||||
$vtp->Parse( $handle , 'sub', $sub );
|
||||
?>
|
|
@ -42,13 +42,15 @@ $tpl = array( 'stats_last_days','date','login',
|
|||
templatize_array( $tpl, 'lang', $sub );
|
||||
$vtp->setGlobalVar( $sub, 'user_template', $user['template'] );
|
||||
//--------------------------------------------------- number of days to display
|
||||
if ( isset( $_GET['last_days'] ) ) define( MAX_DAYS, $_GET['last_days'] );
|
||||
else define( MAX_DAYS, 0 );
|
||||
if ( isset( $_GET['last_days'] ) ) define( 'MAX_DAYS', $_GET['last_days'] );
|
||||
else define( 'MAX_DAYS', 0 );
|
||||
|
||||
foreach ( $conf['last_days'] as $option ) {
|
||||
$vtp->addSession( $sub, 'last_day_option' );
|
||||
$vtp->setVar( $sub, 'last_day_option.option', $option );
|
||||
$url = './admin.php?page=stats&expand='.$_GET['expand'];
|
||||
$url = './admin.php?page=stats';
|
||||
if (isset($_GET['expand']))
|
||||
$url .='&expand='.$_GET['expand'];
|
||||
$url.= '&last_days='.($option - 1);
|
||||
$vtp->setVar( $sub, 'last_day_option.link', add_session_id( $url ) );
|
||||
if ( $option == MAX_DAYS + 1 )
|
||||
|
@ -59,12 +61,18 @@ foreach ( $conf['last_days'] as $option ) {
|
|||
}
|
||||
//---------------------------------------------------------------- log history
|
||||
// empty link
|
||||
$url = './admin.php?page=stats&last_days='.$_GET['last_days'];
|
||||
$url.= '&expand='.$_GET['expand'];
|
||||
$url = './admin.php?page=stats';
|
||||
if (isset($_GET['last_days']))
|
||||
$url .='&last_days='.$_GET['last_days'];
|
||||
// expand array management
|
||||
$expand_days = array();
|
||||
if (isset($_GET['expand']))
|
||||
{
|
||||
$url.= '&expand='.$_GET['expand'];
|
||||
$expand_days = explode( ',', $_GET['expand'] );
|
||||
}
|
||||
$url.= '&act=empty';
|
||||
$vtp->setVar( $sub, 'emply_url', add_session_id( $url ) );
|
||||
// expand array management
|
||||
$expand_days = explode( ',', $_GET['expand'] );
|
||||
$page['expand_days'] = array();
|
||||
foreach ( $expand_days as $expand_day ) {
|
||||
if ( is_numeric( $expand_day ) )
|
||||
|
@ -99,7 +107,9 @@ for ( $i = 0; $i <= MAX_DAYS; $i++ )
|
|||
$vtp->setVar( $sub, 'day.open_or_close', $lang['open'] );
|
||||
array_push( $local_expand, $i );
|
||||
}
|
||||
$url = './admin.php?page=stats&last_days='.$_GET['last_days'];
|
||||
$url = './admin.php?page=stats';
|
||||
if (isset($_GET['last_days']))
|
||||
$url.= '&last_days='.$_GET['last_days'];
|
||||
$url.= '&expand='.implode( ',', $local_expand );
|
||||
$vtp->setVar( $sub, 'day.url', add_session_id( $url ) );
|
||||
// date displayed like this (in English ) :
|
||||
|
|
|
@ -47,17 +47,20 @@ function get_images_without_thumbnail( $dir )
|
|||
{
|
||||
while ( $file = readdir( $opendir ) )
|
||||
{
|
||||
$path = $dir.'/'.$file;
|
||||
if ( is_image( $path, true ) )
|
||||
if (preg_match('/^[a-zA-Z0-9-_.]+$/', $file))
|
||||
{
|
||||
if ( !TN_exists( $dir, $file ) )
|
||||
$path = $dir.'/'.$file;
|
||||
if ( is_image( $path, true ) )
|
||||
{
|
||||
$image_infos = getimagesize( $path );
|
||||
$size = floor( filesize( $path ) / 1024 ). ' KB';
|
||||
array_push( $images, array( 'name' => $file,
|
||||
'width' => $image_infos[0],
|
||||
'height' => $image_infos[1],
|
||||
'size' => $size ) );
|
||||
if ( !TN_exists( $dir, $file ) )
|
||||
{
|
||||
$image_infos = getimagesize( $path );
|
||||
$size = floor( filesize( $path ) / 1024 ). ' KB';
|
||||
array_push( $images, array( 'name' => $file,
|
||||
'width' => $image_infos[0],
|
||||
'height' => $image_infos[1],
|
||||
'size' => $size ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -65,12 +68,12 @@ function get_images_without_thumbnail( $dir )
|
|||
return $images;
|
||||
}
|
||||
|
||||
// scandir scans a dir to find pictures without thumbnails. Once found,
|
||||
// pwg_scandir scans a dir to find pictures without thumbnails. Once found,
|
||||
// creation of the thumbnails (RatioResizeImg). Only the first $_POST['n']
|
||||
// pictures without thumbnails are treated.
|
||||
// scandir returns an array with the generation time of each thumbnail (for
|
||||
// pwg_scandir returns an array with the generation time of each thumbnail (for
|
||||
// statistics purpose)
|
||||
function scandir( $dir, $width, $height )
|
||||
function pwg_scandir( $dir, $width, $height )
|
||||
{
|
||||
global $conf;
|
||||
$stats = array();
|
||||
|
@ -253,9 +256,8 @@ function get_displayed_dirs( $dir, $indent )
|
|||
}
|
||||
$vtp->closeSession( $sub, 'dir' );
|
||||
// recursive call
|
||||
$dirs.= get_displayed_dirs( $dir.'/'.$sub_dir,
|
||||
$indent+30 );
|
||||
|
||||
get_displayed_dirs( $dir.'/'.$sub_dir,
|
||||
$indent+30 );
|
||||
}
|
||||
}
|
||||
//----------------------------------------------------- template initialization
|
||||
|
@ -295,7 +297,7 @@ if ( isset( $_GET['dir'] ) )
|
|||
if ( count( $errors ) == 0 )
|
||||
{
|
||||
$vtp->addSession( $sub, 'results' );
|
||||
$stats = scandir( $_GET['dir'], $_POST['width'], $_POST['height'] );
|
||||
$stats = pwg_scandir( $_GET['dir'], $_POST['width'], $_POST['height'] );
|
||||
$times = array();
|
||||
foreach ( $stats as $stat ) {
|
||||
array_push( $times, $stat['time'] );
|
||||
|
@ -359,7 +361,7 @@ if ( isset( $_GET['dir'] ) )
|
|||
$url = './admin.php?page=thumbnail&dir='.$_GET['dir'];
|
||||
$vtp->setVar( $sub, 'params.action', add_session_id( $url ) );
|
||||
// GD version selected...
|
||||
if ( $_POST['gd'] == 1 )
|
||||
if ( isset( $_POST['gd'] ) and $_POST['gd'] == 1 )
|
||||
{
|
||||
$vtp->setVar( $sub, 'params.gd1_checked', ' checked="checked"' );
|
||||
}
|
||||
|
@ -387,10 +389,12 @@ if ( isset( $_GET['dir'] ) )
|
|||
}
|
||||
// options for the number of picture to miniaturize : "n"
|
||||
$options = array( 5,10,20,40 );
|
||||
if ( isset( $_POST['n'] ) ) $n = $_POST['n'];
|
||||
else $n = 5;
|
||||
foreach ( $options as $option ) {
|
||||
$vtp->addSession( $sub, 'n_option' );
|
||||
$vtp->setVar( $sub, 'n_option.option', $option );
|
||||
if ( $option == $_POST['n'] )
|
||||
if ( $option == $n )
|
||||
{
|
||||
$vtp->setVar( $sub, 'n_option.selected', ' selected="selected"' );
|
||||
}
|
||||
|
@ -426,4 +430,4 @@ else
|
|||
}
|
||||
//----------------------------------------------------------- sending html code
|
||||
$vtp->Parse( $handle , 'sub', $sub );
|
||||
?>
|
||||
?>
|
||||
|
|
902
admin/update.php
902
admin/update.php
File diff suppressed because it is too large
Load diff
|
@ -58,7 +58,7 @@ if ( isset ( $_GET['delete'] ) and is_numeric( $_GET['delete'] ) )
|
|||
$query.= ';';
|
||||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
// confirm user deletion ?
|
||||
if ( $_GET['confirm'] != 1 )
|
||||
if ( !isset( $_GET['confirm'] ) )
|
||||
{
|
||||
$vtp->addSession( $sub, 'deletion' );
|
||||
$vtp->setVar( $sub, 'deletion.login', $row['username'] );
|
||||
|
@ -109,7 +109,8 @@ else
|
|||
$vtp->addSession( $sub, 'add_user' );
|
||||
$action = './admin.php?'.$_SERVER['QUERY_STRING'];
|
||||
$vtp->setVar( $sub, 'add_user.form_action', $action );
|
||||
$vtp->setVar( $sub, 'add_user.f_username', $_POST['username'] );
|
||||
if (isset( $_POST['username']))
|
||||
$vtp->setVar( $sub, 'add_user.f_username', $_POST['username'] );
|
||||
$vtp->closeSession( $sub, 'add_user' );
|
||||
|
||||
$vtp->addSession( $sub, 'users' );
|
||||
|
@ -149,7 +150,7 @@ else
|
|||
}
|
||||
$vtp->addSession( $sub, 'user' );
|
||||
// checkbox for mail management if the user has a mail address
|
||||
if ( $row['mail_address'] != '' and $row['username'] != 'guest' )
|
||||
if ( isset( $row['mail_address'] ) and $row['username'] != 'guest' )
|
||||
{
|
||||
$vtp->addSession( $sub, 'checkbox' );
|
||||
$vtp->setVar( $sub, 'checkbox.name', 'mail-'.$row['id'] );
|
||||
|
@ -229,7 +230,7 @@ else
|
|||
$result = mysql_query( $query );
|
||||
while ( $row = mysql_fetch_array( $result ) )
|
||||
{
|
||||
if ( $_POST['mail-'.$row['id']] == 1 )
|
||||
if ( isset( $_POST['mail-'.$row['id']] ) )
|
||||
array_push( $mails, $row['mail_address'] );
|
||||
}
|
||||
$mail_destination = '';
|
||||
|
|
|
@ -39,6 +39,7 @@ $query.= ';';
|
|||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
$page['username'] = $row['username'];
|
||||
$page['status'] = $row['status'];
|
||||
if ( !isset( $row['mail_address'] ) ) $row['mail_address'] = '';
|
||||
$page['mail_address'] = $row['mail_address'];
|
||||
// user is not modifiable if :
|
||||
// 1. the selected user is the user "guest"
|
||||
|
@ -62,10 +63,7 @@ if ( sizeof( $error ) == 0 and isset( $_POST['submit'] ) )
|
|||
{
|
||||
// shall we use a new password and overwrite the old one ?
|
||||
$use_new_password = false;
|
||||
if ( $_POST['use_new_pwd'] == 1)
|
||||
{
|
||||
$use_new_password = true;
|
||||
}
|
||||
if ( isset( $_POST['use_new_pwd'] ) ) $use_new_password = true;
|
||||
// if we try to update the webmaster infos, we have to set the status to
|
||||
// 'admin'
|
||||
if ( $row['username'] == $conf['webmaster'] )
|
||||
|
@ -88,7 +86,7 @@ if ( isset( $_POST['submit'] ) )
|
|||
while ( $row = mysql_fetch_array( $result ) )
|
||||
{
|
||||
$dissociate = 'dissociate-'.$row['id'];
|
||||
if ( $_POST[$dissociate] == 1 )
|
||||
if ( isset( $_POST[$dissociate] ) )
|
||||
{
|
||||
$query = 'DELETE FROM '.PREFIX_TABLE.'user_group';
|
||||
$query.= ' WHERE user_id = '.$_GET['user_id'];
|
||||
|
@ -103,6 +101,8 @@ if ( isset( $_POST['submit'] ) )
|
|||
$query.= ' ('.$_GET['user_id'].','.$_POST['associate'].')';
|
||||
$query.= ';';
|
||||
mysql_query( $query );
|
||||
// synchronize category informations for this user
|
||||
synchronize_user( $_GET['user_id'] );
|
||||
}
|
||||
//-------------------------------------------------------------- errors display
|
||||
if ( sizeof( $error ) != 0 )
|
||||
|
@ -124,7 +124,7 @@ if ( sizeof( $error ) == 0 and isset( $_POST['submit'] ) )
|
|||
$url = add_session_id( './admin.php?page=user_list' );
|
||||
$vtp->setVar( $sub, 'confirmation.url', $url );
|
||||
$vtp->closeSession( $sub, 'confirmation' );
|
||||
if ( $use_new_pwd )
|
||||
if ( $use_new_password )
|
||||
{
|
||||
$vtp->addSession( $sub, 'password_updated' );
|
||||
$vtp->closeSession( $sub, 'password_updated' );
|
||||
|
|
|
@ -52,13 +52,14 @@ if ( isset( $_POST['submit'] ) )
|
|||
}
|
||||
}
|
||||
check_favorites( $_GET['user_id'] );
|
||||
synchronize_user( $_GET['user_id'] );
|
||||
$vtp->addSession( $sub, 'confirmation' );
|
||||
$url = './admin.php?page=user_list';
|
||||
$vtp->setVar( $sub, 'confirmation.back_url', add_session_id( $url ) );
|
||||
$vtp->closeSession( $sub, 'confirmation' );
|
||||
}
|
||||
//---------------------------------------------------------------- form display
|
||||
$restrictions = get_restrictions( $_GET['user_id'], $page['user_status'],
|
||||
$restrictions = get_user_restrictions( $_GET['user_id'], $page['user_status'],
|
||||
false, false );
|
||||
$action = './admin.php?page=user_perm&user_id='.$_GET['user_id'];
|
||||
$vtp->setVar( $sub, 'action', add_session_id( $action ) );
|
||||
|
|
|
@ -116,7 +116,7 @@ while ( $row = mysql_fetch_array( $result ) )
|
|||
// file name
|
||||
$vtp->setVar( $sub, 'picture.file', $row['file'] );
|
||||
// is there an existing associated thumnail ?
|
||||
if ( $row['tn_ext'] != '' )
|
||||
if ( isset( $row['tn_ext'] ) and $row['tn_ext'] != '' )
|
||||
{
|
||||
$vtp->addSession( $sub, 'thumbnail' );
|
||||
$thumbnail = $conf['prefix_thumbnail'];
|
||||
|
|
174
category.php
174
category.php
|
@ -16,14 +16,12 @@
|
|||
* the Free Software Foundation; *
|
||||
* *
|
||||
***************************************************************************/
|
||||
// determine the initial instant to indicate the generation time of this page
|
||||
$t1 = explode( ' ', microtime() );
|
||||
$t2 = explode( '.', $t1[0] );
|
||||
$t2 = $t1[1].'.'.$t2[1];
|
||||
//----------------------------------------------------------- personnal include
|
||||
include_once( './include/init.inc.php' );
|
||||
//---------------------------------------------------------------------- logout
|
||||
if ( $_GET['act'] == 'logout' and isset( $_COOKIE['id'] ) )
|
||||
if ( isset( $_GET['act'] )
|
||||
and $_GET['act'] == 'logout'
|
||||
and isset( $_COOKIE['id'] ) )
|
||||
{
|
||||
// cookie deletion if exists
|
||||
setcookie( 'id', '', 0, cookie_path() );
|
||||
|
@ -34,18 +32,34 @@ if ( $_GET['act'] == 'logout' and isset( $_COOKIE['id'] ) )
|
|||
exit();
|
||||
}
|
||||
//-------------------------------------------------- access authorization check
|
||||
// creating the plain structure : array of all the available categories and
|
||||
// their relative informations, see the definition of the function
|
||||
// get_plain_structure for further details.
|
||||
$page['plain_structure'] = get_plain_structure();
|
||||
|
||||
check_cat_id( $_GET['cat'] );
|
||||
if ( isset( $_GET['cat'] ) ) check_cat_id( $_GET['cat'] );
|
||||
check_login_authorization();
|
||||
if ( isset( $page['cat'] ) and is_numeric( $page['cat'] ) )
|
||||
{
|
||||
check_restrictions( $page['cat'] );
|
||||
}
|
||||
//-------------------------------------------------------------- initialization
|
||||
// detection of the start picture to display
|
||||
if ( !isset( $_GET['start'] )
|
||||
or !is_numeric( $_GET['start'] )
|
||||
or ( is_numeric( $_GET['start'] ) and $_GET['start'] < 0 ) )
|
||||
$page['start'] = 0;
|
||||
else
|
||||
$page['start'] = $_GET['start'];
|
||||
// Sometimes, a "num" is provided in the URL. It is the number
|
||||
// of the picture to show. This picture must be in the thumbnails page.
|
||||
// We have to find the right $page['start'] that show the num picture
|
||||
// in this category
|
||||
if ( isset( $_GET['num'] )
|
||||
and is_numeric( $_GET['num'] )
|
||||
and $_GET['num'] >= 0 )
|
||||
{
|
||||
$page['start'] = floor( $_GET['num'] / $user['nb_image_page'] );
|
||||
$page['start']*= $user['nb_image_page'];
|
||||
}
|
||||
|
||||
initialize_category();
|
||||
|
||||
// creation of the array containing the cat ids to expand in the menu
|
||||
// $page['tab_expand'] contains an array with the category ids
|
||||
// $page['expand'] contains the string to display in URL with comma
|
||||
|
@ -56,80 +70,72 @@ if ( isset ( $_GET['expand'] ) and $_GET['expand'] != 'all' )
|
|||
foreach ( $tab_expand as $id ) {
|
||||
if ( is_numeric( $id ) ) array_push( $page['tab_expand'], $id );
|
||||
}
|
||||
if ( is_numeric( $page['cat'] ) )
|
||||
{
|
||||
// the category displayed (in the URL cat=23) must be seen in the menu ->
|
||||
// parent categories must be expanded
|
||||
$parent = $page['plain_structure'][$page['cat']]['id_uppercat'];
|
||||
while ( $parent != '' )
|
||||
{
|
||||
array_push( $page['tab_expand'], $parent );
|
||||
$parent = $page['plain_structure'][$parent]['id_uppercat'];
|
||||
}
|
||||
}
|
||||
$page['expand'] = implode( ',', $page['tab_expand'] );
|
||||
}
|
||||
if ( isset($page['cat']) && is_numeric( $page['cat'] ) )
|
||||
{
|
||||
// the category displayed (in the URL cat=23) must be seen in the menu ->
|
||||
// parent categories must be expanded
|
||||
$uppercats = explode( ',', $page['uppercats'] );
|
||||
foreach ( $uppercats as $uppercat ) {
|
||||
array_push( $page['tab_expand'], $uppercat );
|
||||
}
|
||||
}
|
||||
$page['tab_expand'] = array_unique( $page['tab_expand'] );
|
||||
$page['expand'] = implode( ',', $page['tab_expand'] );
|
||||
// in case of expanding all authorized cats
|
||||
// The $page['expand'] equals 'all' and
|
||||
// $page['tab_expand'] contains all the authorized cat ids
|
||||
if ( $user['expand'] or $_GET['expand'] == 'all' )
|
||||
if ( $user['expand']
|
||||
or ( isset( $_GET['expand'] ) and $_GET['expand'] == 'all' ) )
|
||||
{
|
||||
$page['tab_expand'] = array();
|
||||
$page['expand'] = 'all';
|
||||
}
|
||||
// detection of the start picture to display
|
||||
if ( !isset( $_GET['start'] )
|
||||
or !is_numeric( $_GET['start'] )
|
||||
or ( is_numeric( $_GET['start'] ) and $_GET['start'] < 0 ) )
|
||||
{
|
||||
$page['start'] = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
$page['start'] = $_GET['start'];
|
||||
}
|
||||
// Sometimes, a "num" is provided in the URL. It is the number
|
||||
// of the picture to show. This picture must be in the thumbnails page.
|
||||
// We have to find the right $page['start'] that show the num picture
|
||||
// in this category
|
||||
if ( is_numeric( $_GET['num'] ) and $_GET['num'] >= 0 )
|
||||
{
|
||||
$page['start'] = floor( $_GET['num'] / $user['nb_image_page'] );
|
||||
$page['start']*= $user['nb_image_page'];
|
||||
}
|
||||
// creating the structure of the categories (useful for displaying the menu)
|
||||
$page['structure'] = create_structure( '', $user['restrictions'] );
|
||||
// creating the plain structure : array of all the available categories and
|
||||
// their relative informations, see the definition of the function
|
||||
// get_user_plain_structure for further details.
|
||||
$page['plain_structure'] = get_user_plain_structure();
|
||||
$page['structure'] = create_user_structure( '' );
|
||||
$page['structure'] = update_structure( $page['structure'] );
|
||||
initialize_category();
|
||||
|
||||
//----------------------------------------------------- template initialization
|
||||
$vtp = new VTemplate;
|
||||
|
||||
//
|
||||
// Start output of page
|
||||
//
|
||||
$title = $page['title'];
|
||||
include('include/page_header.php');
|
||||
|
||||
$handle = $vtp->Open( './template/'.$user['template'].'/category.vtp' );
|
||||
initialize_template();
|
||||
$tpl = array(
|
||||
'categories','hint_category','sub-cat','images_available','total',
|
||||
'title_menu','nb_image_category','send_mail','title_send_mail',
|
||||
'generation_time','connected_user','recent_image','days','generation_time',
|
||||
'connected_user','recent_image','days',
|
||||
'favorite_cat_hint','favorite_cat','stats','most_visited_cat_hint',
|
||||
'most_visited_cat','recent_cat','recent_cat_hint','upload_picture',
|
||||
'comments' );
|
||||
templatize_array( $tpl, 'lang', $handle );
|
||||
|
||||
$tpl = array( 'mail_webmaster','webmaster','top_number','version','site_url' );
|
||||
$tpl = array( 'mail_webmaster','webmaster','top_number');
|
||||
templatize_array( $tpl, 'conf', $handle );
|
||||
|
||||
$tpl = array( 'short_period','long_period','lien_collapsed', 'username' );
|
||||
templatize_array( $tpl, 'user', $handle );
|
||||
|
||||
$tpl = array( 'title','navigation_bar','cat_comment','cat_nb_images' );
|
||||
$tpl = array( 'navigation_bar','cat_comment','cat_nb_images' );
|
||||
templatize_array( $tpl, 'page', $handle );
|
||||
|
||||
// special global template vars
|
||||
$vtp->setGlobalVar( $handle, 'icon_short', get_icon( time() ) );
|
||||
$icon_long = get_icon( time() - ( $user['short_period'] * 24 * 60 * 60 + 1 ) );
|
||||
$vtp->setGlobalVar( $handle, 'icon_long', $icon_long );
|
||||
$nb_total_pictures = count_images( $page['structure'] );
|
||||
$nb_total_pictures = count_user_total_images();
|
||||
$vtp->setGlobalVar( $handle, 'nb_total_pictures',$nb_total_pictures );
|
||||
|
||||
//------------------------------------------------------------- categories menu
|
||||
$vtp->setVar( $handle, 'home_url', add_session_id( 'category.php' ) );
|
||||
// normal categories
|
||||
foreach ( $page['structure'] as $category ) {
|
||||
// display category is a function relative to the template
|
||||
|
@ -181,9 +187,10 @@ if ( !$user['is_the_guest'] )
|
|||
$vtp->closeSession( $handle, 'summary' );
|
||||
// customization link
|
||||
$vtp->addSession( $handle, 'summary' );
|
||||
$url = './profile.php?cat='.$page['cat'];
|
||||
$url.= '&expand='.$page['expand'];
|
||||
if ( $page['cat'] == 'search' )
|
||||
$url = './profile.php';
|
||||
if (isset($page['cat']) && isset($page['expand']))
|
||||
$url.='?cat='.$page['cat'].'&expand='.$page['expand'];
|
||||
if ( isset($page['cat']) && $page['cat'] == 'search' )
|
||||
{
|
||||
$url.= '&search='.$_GET['search'].'&mode='.$_GET['mode'];
|
||||
}
|
||||
|
@ -254,7 +261,7 @@ if ( isset( $page['cat'] ) and $page['cat_nb_images'] != 0 )
|
|||
$query = 'SELECT distinct(id),file,date_available,tn_ext,name,filesize';
|
||||
$query.= ',storage_category_id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'images AS i';
|
||||
$query.= ' LEFT JOIN '.PREFIX_TABLE.'image_category AS ic ON id=ic.image_id';
|
||||
$query.=' INNER JOIN '.PREFIX_TABLE.'image_category AS ic ON id=ic.image_id';
|
||||
$query.= $page['where'];
|
||||
$query.= $conf['order_by'];
|
||||
$query.= ' LIMIT '.$page['start'].','.$page['nb_image_page'];
|
||||
|
@ -270,7 +277,7 @@ if ( isset( $page['cat'] ) and $page['cat_nb_images'] != 0 )
|
|||
while ( $row = mysql_fetch_array( $result ) )
|
||||
{
|
||||
// retrieving the storage dir of the picture
|
||||
if ( $array_cat_directories[$row['storage_category_id']] == '' )
|
||||
if ( !isset($array_cat_directories[$row['storage_category_id']]))
|
||||
{
|
||||
$array_cat_directories[$row['storage_category_id']] =
|
||||
get_complete_dir( $row['storage_category_id'] );
|
||||
|
@ -279,8 +286,8 @@ if ( isset( $page['cat'] ) and $page['cat_nb_images'] != 0 )
|
|||
|
||||
$file = get_filename_wo_extension( $row['file'] );
|
||||
// name of the picture
|
||||
if ( $row['name'] != '' ) $name = $row['name'];
|
||||
else $name = str_replace( '_', ' ', $file );
|
||||
if ( isset( $row['name'] ) and $row['name'] != '' ) $name = $row['name'];
|
||||
else $name = str_replace( '_', ' ', $file );
|
||||
|
||||
if ( $page['cat'] == 'search' )
|
||||
{
|
||||
|
@ -350,13 +357,16 @@ if ( isset( $page['cat'] ) and $page['cat_nb_images'] != 0 )
|
|||
//-------------------------------------------------------------- empty category
|
||||
elseif ( ( isset( $page['cat'] )
|
||||
and is_numeric( $page['cat'] )
|
||||
and $page['cat_nb_images'] == 0 )
|
||||
or $_GET['cat'] == '' )
|
||||
and $page['cat_nb_images'] == 0
|
||||
and $page['plain_structure'][$page['cat']]['nb_sub_categories'] > 0)
|
||||
or (!isset($_GET['cat'])))
|
||||
{
|
||||
$vtp->addSession( $handle, 'thumbnails' );
|
||||
$vtp->addSession( $handle, 'line' );
|
||||
|
||||
$subcats = get_non_empty_subcat_ids( $page['cat'] );
|
||||
$subcats=array();
|
||||
if (isset($page['cat'])) $subcats = get_non_empty_subcat_ids( $page['cat'] );
|
||||
else $subcats = get_non_empty_subcat_ids( '' );
|
||||
$cell_number = 1;
|
||||
$i = 0;
|
||||
foreach ( $subcats as $subcat_id => $non_empty_id ) {
|
||||
|
@ -370,15 +380,16 @@ elseif ( ( isset( $page['cat'] )
|
|||
$query = 'SELECT representative_picture_id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'categories';
|
||||
$query.= ' WHERE id = '.$non_empty_id;
|
||||
$query.= ';';
|
||||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
|
||||
$query = 'SELECT file,tn_ext,storage_category_id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'images';
|
||||
$query.= ' LEFT JOIN '.PREFIX_TABLE.'image_category ON id = image_id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'images, '.PREFIX_TABLE.'image_category';
|
||||
$query.= ' WHERE category_id = '.$non_empty_id;
|
||||
$query.= ' AND id = image_id';
|
||||
// if the category has a representative picture, this is its thumbnail
|
||||
// tha will be displayed !
|
||||
if ( $row['representative_picture_id'] != '' )
|
||||
// that will be displayed !
|
||||
if ( isset( $row['representative_picture_id'] ) )
|
||||
$query.= ' AND id = '.$row['representative_picture_id'];
|
||||
else
|
||||
$query.= ' ORDER BY RAND()';
|
||||
|
@ -397,7 +408,7 @@ elseif ( ( isset( $page['cat'] )
|
|||
$thumbnail_title = $lang['hint_category'];
|
||||
|
||||
$url_link = './category.php?cat='.$subcat_id;
|
||||
if ( !in_array( $page['cat'], $page['tab_expand'] ) )
|
||||
if ( isset($page['cat'])&& !in_array( $page['cat'], $page['tab_expand'] ) )
|
||||
{
|
||||
array_push( $page['tab_expand'], $page['cat'] );
|
||||
$page['expand'] = implode( ',', $page['tab_expand'] );
|
||||
|
@ -459,30 +470,29 @@ if ( isset ( $page['cat'] ) )
|
|||
$vtp->setVar( $handle, 'cat_infos.cat_name',
|
||||
get_cat_display_name( $page['cat_name'], ' - ',
|
||||
'font-style:italic;' ) );
|
||||
// upload a picture in the category
|
||||
if ( $page['cat_site_id'] == 1
|
||||
and $conf['upload_available']
|
||||
and $page['cat_uploadable'] )
|
||||
{
|
||||
$vtp->addSession( $handle, 'upload' );
|
||||
$url = './upload.php?cat='.$page['cat'].'&expand='.$page['expand'];
|
||||
$vtp->setVar( $handle, 'upload.url', add_session_id( $url ) );
|
||||
$vtp->closeSession( $handle, 'upload' );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$vtp->setVar( $handle, 'cat_infos.cat_name', $page['title'] );
|
||||
}
|
||||
// upload a picture in the category
|
||||
if ( $page['cat_site_id'] == 1
|
||||
and $conf['upload_available']
|
||||
and $page['cat_uploadable'] )
|
||||
{
|
||||
$vtp->addSession( $handle, 'upload' );
|
||||
$url = './upload.php?cat='.$page['cat'].'&expand='.$page['expand'];
|
||||
$vtp->setVar( $handle, 'upload.url', add_session_id( $url ) );
|
||||
$vtp->closeSession( $handle, 'upload' );
|
||||
}
|
||||
|
||||
$vtp->closeSession( $handle, 'cat_infos' );
|
||||
}
|
||||
//------------------------------------------------------------ log informations
|
||||
pwg_log( 'category', $page['title'] );
|
||||
mysql_close();
|
||||
//------------------------------------------------------------- generation time
|
||||
$time = get_elapsed_time( $t2, get_moment() );
|
||||
$vtp->setGlobalVar( $handle, 'time', $time );
|
||||
//----------------------------------------------------------- html code display
|
||||
$code = $vtp->Display( $handle, 0 );
|
||||
echo $code;
|
||||
?>
|
||||
$output.= $vtp->Display( $handle, 0 );
|
||||
|
||||
include('include/page_tail.php');
|
||||
?>
|
||||
|
|
34
comments.php
34
comments.php
|
@ -46,7 +46,7 @@ function display_pictures( $mysql_result, $maxtime, $forbidden_cat_ids )
|
|||
$subrow = mysql_fetch_array( mysql_query( $query ) );
|
||||
$category_id = $subrow['category_id'];
|
||||
|
||||
if ( $array_cat_directories[$category_id] == '' )
|
||||
if ( !isset($array_cat_directories[$category_id]))
|
||||
{
|
||||
$array_cat_directories[$category_id] =
|
||||
get_complete_dir( $category_id );
|
||||
|
@ -133,15 +133,19 @@ function display_pictures( $mysql_result, $maxtime, $forbidden_cat_ids )
|
|||
}
|
||||
}
|
||||
//----------------------------------------------------- template initialization
|
||||
$vtp = new VTemplate;
|
||||
//
|
||||
// Start output of page
|
||||
//
|
||||
$title= $lang['title_comments'];
|
||||
include('include/page_header.php');
|
||||
|
||||
$handle = $vtp->Open( './template/'.$user['template'].'/comments.vtp' );
|
||||
initialize_template();
|
||||
$tpl = array( 'title_comments','stats_last_days','search_return_main_page' );
|
||||
templatize_array( $tpl, 'lang', $handle );
|
||||
$vtp->setGlobalVar( $handle, 'text_color', $user['couleur_text'] );
|
||||
//--------------------------------------------------- number of days to display
|
||||
if ( isset( $_GET['last_days'] ) ) define( MAX_DAYS, $_GET['last_days'] );
|
||||
else define( MAX_DAYS, 0 );
|
||||
if ( isset( $_GET['last_days'] ) ) define( 'MAX_DAYS', $_GET['last_days'] );
|
||||
else define( 'MAX_DAYS', 0 );
|
||||
//----------------------------------------- non specific section initialization
|
||||
$array_cat_directories = array();
|
||||
$array_cat_names = array();
|
||||
|
@ -168,22 +172,18 @@ $query.= ' FROM '.PREFIX_TABLE.'comments AS c';
|
|||
$query.= ', '.PREFIX_TABLE.'image_category AS ic';
|
||||
$query.= ' WHERE c.image_id = ic.image_id';
|
||||
$query.= ' AND date > '.$maxtime;
|
||||
$query.= " AND validated = 'true'";
|
||||
// we must not show pictures of a forbidden category
|
||||
$restricted_cats = get_all_restrictions( $user['id'],$user['status'] );
|
||||
if ( count( $restricted_cats ) > 0 )
|
||||
if ( $user['forbidden_categories'] != '' )
|
||||
{
|
||||
$query.= ' AND category_id NOT IN (';
|
||||
foreach ( $restricted_cats as $i => $restricted_cat ) {
|
||||
if ( $i > 0 ) $query.= ',';
|
||||
$query.= $restricted_cat;
|
||||
}
|
||||
$query.= ')';
|
||||
$query.= ' AND category_id NOT IN ';
|
||||
$query.= '('.$user['forbidden_categories'].')';
|
||||
}
|
||||
$query.= ' ORDER BY ic.image_id DESC';
|
||||
$query.= ';';
|
||||
$result = mysql_query( $query );
|
||||
display_pictures( $result, $maxtime, $restricted_cats );
|
||||
display_pictures( $result, $maxtime, $user['restrictions'] );
|
||||
//----------------------------------------------------------- html code display
|
||||
$code = $vtp->Display( $handle, 0 );
|
||||
echo $code;
|
||||
?>
|
||||
$output.= $vtp->Display( $handle, 0 );
|
||||
include('include/page_tail.php');
|
||||
?>
|
||||
|
|
|
@ -43,10 +43,14 @@ if ( isset( $_POST['login'] ) )
|
|||
}
|
||||
}
|
||||
//----------------------------------------------------- template initialization
|
||||
$vtp = new VTemplate;
|
||||
$handle = $vtp->Open( './template/default/identification.vtp' );
|
||||
//
|
||||
// Start output of page
|
||||
//
|
||||
$title = $lang['ident_page_title'];
|
||||
include('include/page_header.php');
|
||||
|
||||
$handle = $vtp->Open( './template/'.$user['template'].'/identification.vtp' );
|
||||
// language
|
||||
$vtp->setGlobalVar( $handle, 'ident_page_title', $lang['ident_page_title'] );
|
||||
$vtp->setGlobalVar( $handle, 'ident_title', $lang['ident_title'] );
|
||||
$vtp->setGlobalVar( $handle, 'login', $lang['login'] );
|
||||
$vtp->setGlobalVar( $handle, 'password', $lang['password'] );
|
||||
|
@ -107,6 +111,6 @@ if ( $conf['access'] == 'free' )
|
|||
$vtp->closeSession( $handle, 'register' );
|
||||
}
|
||||
//----------------------------------------------------------- html code display
|
||||
$code = $vtp->Display( $handle, 0 );
|
||||
echo $code;
|
||||
?>
|
||||
$output.= $vtp->Display( $handle, 0 );
|
||||
include('include/page_tail.php');
|
||||
?>
|
||||
|
|
|
@ -23,7 +23,7 @@ $user = array();
|
|||
$lang = array();
|
||||
|
||||
include_once( PREFIX_INCLUDE.'./include/functions.inc.php' );
|
||||
include_once( PREFIX_INCLUDE.'./include/vtemplate.class.php' );
|
||||
include( PREFIX_INCLUDE.'./include/vtemplate.class.php' );
|
||||
// How to change the order of display for images in a category ?
|
||||
//
|
||||
// You have to modify $conf['order_by'].
|
||||
|
@ -44,13 +44,14 @@ $conf['nb_image_row'] = array(4,5,6,7,8);
|
|||
$conf['nb_row_page'] = array(2,3,4,5,6,7,10,20,1000);
|
||||
$conf['slideshow_period'] = array(2,5,10);
|
||||
$conf['last_days'] = array(1,2,3,10,30,365);
|
||||
$conf['version'] = '1.3RC2';
|
||||
$conf['version'] = '1.3.4';
|
||||
$conf['site_url'] = 'http://www.phpwebgallery.net';
|
||||
$conf['forum_url'] = 'http://forum.phpwebgallery.net';
|
||||
$conf['picture_ext'] = array('jpg','JPG','gif','GIF','png','PNG');
|
||||
$conf['document_ext'] = array('doc','pdf','zip');
|
||||
$conf['top_number'] = 10;
|
||||
$conf['anti-flood_time'] = 60; // seconds between 2 comments : 0 to disable
|
||||
$conf['max_LOV_categories'] = 50;
|
||||
|
||||
database_connection();
|
||||
// rertieving the configuration informations for site
|
||||
|
@ -66,11 +67,7 @@ $infos = array( 'prefix_thumbnail', 'webmaster', 'mail_webmaster', 'access',
|
|||
'upload_maxheight_thumbnail','log','comments_validation',
|
||||
'comments_forall','authorize_cookies','mail_notification' );
|
||||
|
||||
$query = 'SELECT ';
|
||||
foreach ( $infos as $i => $info ) {
|
||||
if ( $i > 0 ) $query.= ',';
|
||||
$query.= $info;
|
||||
}
|
||||
$query = 'SELECT '.implode( ',', $infos );
|
||||
$query.= ' FROM '.PREFIX_TABLE.'config;';
|
||||
|
||||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
|
@ -78,12 +75,13 @@ $row = mysql_fetch_array( mysql_query( $query ) );
|
|||
// affectation of each field of the table "config" to an information of the
|
||||
// array $conf.
|
||||
foreach ( $infos as $info ) {
|
||||
$conf[$info] = $row[$info];
|
||||
if ( isset( $row[$info] ) ) $conf[$info] = $row[$info];
|
||||
else $conf[$info] = '';
|
||||
// If the field is true or false, the variable is transformed into a boolean
|
||||
// value.
|
||||
if ( $row[$info] == 'true' or $row[$info] == 'false' )
|
||||
if ( $conf[$info] == 'true' or $conf[$info] == 'false' )
|
||||
{
|
||||
$conf[$info] = get_boolean( $row[$info] );
|
||||
$conf[$info] = get_boolean( $conf[$info] );
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
|
|
@ -157,23 +157,27 @@ function get_filename_wo_extension( $filename )
|
|||
return substr( $filename, 0, strrpos( $filename, '.' ) );
|
||||
}
|
||||
|
||||
// get_dirs retourne un tableau contenant tous les sous-répertoires d'un
|
||||
// répertoire
|
||||
function get_dirs( $rep )
|
||||
/**
|
||||
* returns an array contening sub-directories
|
||||
*
|
||||
* @param string $dir
|
||||
* @return array
|
||||
*/
|
||||
function get_dirs( $directory )
|
||||
{
|
||||
$sub_rep = array();
|
||||
$sub_dirs = array();
|
||||
|
||||
if ( $opendir = opendir ( $rep ) )
|
||||
if ( $opendir = opendir( $directory ) )
|
||||
{
|
||||
while ( $file = readdir ( $opendir ) )
|
||||
{
|
||||
if ( $file != '.' and $file != '..' and is_dir ( $rep.$file ) )
|
||||
if ( $file != '.' and $file != '..' and is_dir ( $directory.'/'.$file ) )
|
||||
{
|
||||
array_push( $sub_rep, $file );
|
||||
array_push( $sub_dirs, $file );
|
||||
}
|
||||
}
|
||||
}
|
||||
return $sub_rep;
|
||||
return $sub_dirs;
|
||||
}
|
||||
|
||||
// The get_picture_size function return an array containing :
|
||||
|
@ -256,26 +260,17 @@ function get_languages( $rep_language )
|
|||
return $languages;
|
||||
}
|
||||
|
||||
// get_themes retourne un tableau contenant tous les "template - couleur"
|
||||
function get_themes( $theme_dir )
|
||||
{
|
||||
$themes = array();
|
||||
$main_themes = get_dirs( $theme_dir );
|
||||
for ( $i = 0; $i < sizeof( $main_themes ); $i++ )
|
||||
{
|
||||
$colors = get_dirs( $theme_dir.$main_themes[$i].'/' );
|
||||
for ( $j = 0; $j < sizeof( $colors ); $j++ )
|
||||
{
|
||||
array_push( $themes, $main_themes[$i].' - '.$colors[$j] );
|
||||
}
|
||||
}
|
||||
return $themes;
|
||||
}
|
||||
|
||||
// - add_style replaces the
|
||||
// $search into <span style="$style">$search</span>
|
||||
// in the given $string.
|
||||
// - The function does not replace characters in HTML tags
|
||||
/**
|
||||
* replaces the $search into <span style="$style">$search</span> in the
|
||||
* given $string.
|
||||
*
|
||||
* case insensitive replacements, does not replace characters in HTML tags
|
||||
*
|
||||
* @param string $string
|
||||
* @param string $search
|
||||
* @param string $style
|
||||
* @return string
|
||||
*/
|
||||
function add_style( $string, $search, $style )
|
||||
{
|
||||
//return $string;
|
||||
|
@ -289,15 +284,17 @@ function add_style( $string, $search, $style )
|
|||
while ( is_numeric( $start ) and is_numeric( $end ) )
|
||||
{
|
||||
$treatment = substr ( $remaining, 0, $start );
|
||||
$treatment = str_replace( $search, '<span style="'.$style.'">'.
|
||||
$search.'</span>', $treatment );
|
||||
$treatment = preg_replace( '/('.$search.')/i',
|
||||
'<span style="'.$style.'">\\0</span>',
|
||||
$treatment );
|
||||
$return_string.= $treatment.substr( $remaining, $start, $end-$start+1 );
|
||||
$remaining = substr ( $remaining, $end + 1, strlen( $remaining ) );
|
||||
$start = strpos ( $remaining, '<' );
|
||||
$end = strpos ( $remaining, '>' );
|
||||
}
|
||||
$treatment = str_replace( $search, '<span style="'.$style.'">'.
|
||||
$search.'</span>', $remaining );
|
||||
$treatment = preg_replace( '/('.$search.')/i',
|
||||
'<span style="'.$style.'">\\0</span>',
|
||||
$remaining );
|
||||
$return_string.= $treatment;
|
||||
|
||||
return $return_string;
|
||||
|
@ -318,7 +315,7 @@ function replace_search( $string, $search )
|
|||
function database_connection()
|
||||
{
|
||||
include( PREFIX_INCLUDE.'./include/mysql.inc.php' );
|
||||
define( PREFIX_TABLE, $prefixeTable );
|
||||
define( 'PREFIX_TABLE', $prefixeTable );
|
||||
|
||||
@mysql_connect( $cfgHote, $cfgUser, $cfgPassword )
|
||||
or die ( "Could not connect to server" );
|
||||
|
@ -346,6 +343,7 @@ function templatize_array( $array, $global_array_name, $handle )
|
|||
global $vtp, $lang, $page, $user, $conf;
|
||||
|
||||
foreach ( $array as $value ) {
|
||||
if (isset(${$global_array_name}[$value]))
|
||||
$vtp->setGlobalVar( $handle, $value, ${$global_array_name}[$value] );
|
||||
}
|
||||
}
|
||||
|
@ -402,6 +400,7 @@ function notify( $type, $infos = '' )
|
|||
while ( $row = mysql_fetch_array( $result ) )
|
||||
{
|
||||
$to = $row['mail_address'];
|
||||
$isadmin = false;
|
||||
include( PREFIX_INCLUDE.'./language/'.$row['language'].'.php' );
|
||||
$content = $lang['mail_hello']."\n\n";
|
||||
switch ( $type )
|
||||
|
@ -423,4 +422,47 @@ function notify( $type, $infos = '' )
|
|||
@mail( $to, $subject, $content, $headers, $options );
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
function pwg_write_debug()
|
||||
{
|
||||
global $debug;
|
||||
|
||||
$fp = @fopen( './log/debug.log', 'a+' );
|
||||
fwrite( $fp, "\n\n" );
|
||||
fwrite( $fp, $debug );
|
||||
fclose( $fp );
|
||||
}
|
||||
|
||||
function pwg_query( $query )
|
||||
{
|
||||
global $count_queries,$queries_time;
|
||||
|
||||
$start = get_moment();
|
||||
$output = '';
|
||||
|
||||
$count_queries++;
|
||||
$output.= '<br /><br />['.$count_queries.'] '.$query;
|
||||
$result = mysql_query( $query );
|
||||
$time = get_moment() - $start;
|
||||
$queries_time+= $time;
|
||||
$output.= '<b>('.number_format( $time, 3, '.', ' ').' s)</b>';
|
||||
$output.= '('.number_format( $queries_time, 3, '.', ' ').' s)';
|
||||
|
||||
// echo $output;
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
function pwg_debug( $string )
|
||||
{
|
||||
global $debug,$t2,$count_queries;
|
||||
|
||||
$now = explode( ' ', microtime() );
|
||||
$now2 = explode( '.', $now[0] );
|
||||
$now2 = $now[1].'.'.$now2[1];
|
||||
$time = number_format( $now2 - $t2, 3, '.', ' ').' s';
|
||||
$debug.= '['.$time.', ';
|
||||
$debug.= $count_queries.' queries] : '.$string;
|
||||
$debug.= "\n";
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -17,31 +17,11 @@
|
|||
* *
|
||||
***************************************************************************/
|
||||
|
||||
function get_subcats_id( $cat_id )
|
||||
{
|
||||
$restricted_cats = array();
|
||||
|
||||
$query = 'SELECT id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'categories';
|
||||
$query.= ' WHERE id_uppercat = '.$cat_id;
|
||||
$query.= ';';
|
||||
$result = mysql_query( $query );
|
||||
while ( $row = mysql_fetch_array( $result ) )
|
||||
{
|
||||
array_push( $restricted_cats, $row['id'] );
|
||||
$sub_restricted_cats = get_subcats_id( $row['id'] );
|
||||
foreach ( $sub_restricted_cats as $sub_restricted_cat ) {
|
||||
array_push( $restricted_cats, $sub_restricted_cat );
|
||||
}
|
||||
}
|
||||
return $restricted_cats;
|
||||
}
|
||||
|
||||
function check_restrictions( $category_id )
|
||||
{
|
||||
global $user,$lang;
|
||||
|
||||
if ( is_user_allowed( $category_id, $user['restrictions'] ) > 0 )
|
||||
if ( in_array( $category_id, $user['restrictions'] ) )
|
||||
{
|
||||
echo '<div style="text-align:center;">'.$lang['access_forbiden'].'<br />';
|
||||
echo '<a href="'.add_session_id( './category.php' ).'">';
|
||||
|
@ -49,7 +29,7 @@ function check_restrictions( $category_id )
|
|||
exit();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// the check_cat_id function check whether the $cat is a right parameter :
|
||||
// - $cat is numeric and corresponds to a category in the database
|
||||
// - $cat equals 'fav' (for favorites)
|
||||
|
@ -61,19 +41,16 @@ function check_cat_id( $cat )
|
|||
unset( $page['cat'] );
|
||||
if ( isset( $cat ) )
|
||||
{
|
||||
if ( isset( $page['plain_structure'] ) )
|
||||
if ( isset( $page['plain_structure'][$cat] ) )
|
||||
{
|
||||
if ( isset( $page['plain_structure'][$cat] ) )
|
||||
{
|
||||
$page['cat'] = $cat;
|
||||
}
|
||||
$page['cat'] = $cat;
|
||||
}
|
||||
else if ( is_numeric( $cat ) )
|
||||
{
|
||||
$query = 'SELECT id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'categories';
|
||||
$query.= ' WHERE id = '.$cat;
|
||||
$query. ';';
|
||||
$query.= ';';
|
||||
$result = mysql_query( $query );
|
||||
if ( mysql_num_rows( $result ) != 0 )
|
||||
{
|
||||
|
@ -91,17 +68,34 @@ function check_cat_id( $cat )
|
|||
}
|
||||
}
|
||||
|
||||
function get_plain_structure()
|
||||
function get_user_plain_structure()
|
||||
{
|
||||
$infos = array( 'name','id','date_last','nb_images','dir','id_uppercat',
|
||||
'rank','site_id');
|
||||
global $page,$user;
|
||||
|
||||
$query = 'SELECT ';
|
||||
foreach ( $infos as $i => $info ) {
|
||||
if ( $i > 0 ) $query.= ',';
|
||||
$query.= $info;
|
||||
$infos = array( 'name','id','uc.date_last','nb_images','dir','id_uppercat',
|
||||
'rank','site_id','nb_sub_categories','uppercats');
|
||||
|
||||
$query = 'SELECT '.implode( ',', $infos );
|
||||
$query.= ' FROM '.PREFIX_TABLE.'categories AS c';
|
||||
// $query.= ' ,'.PREFIX_TABLE.'user_category AS uc';
|
||||
$query.= ' INNER JOIN '.PREFIX_TABLE.'user_category AS uc';
|
||||
$query.= ' ON c.id = uc.category_id';
|
||||
$query.= ' WHERE user_id = '.$user['id'];
|
||||
if ( $page['expand'] != 'all' )
|
||||
{
|
||||
$query.= ' AND (id_uppercat is NULL';
|
||||
if ( count( $page['tab_expand'] ) > 0 )
|
||||
{
|
||||
$query.= ' OR id_uppercat IN ('.$page['expand'].')';
|
||||
}
|
||||
$query.= ')';
|
||||
}
|
||||
$query.= ' FROM '.PREFIX_TABLE.'categories';
|
||||
if ( $user['forbidden_categories'] != '' )
|
||||
{
|
||||
$query.= ' AND id NOT IN ';
|
||||
$query.= '('.$user['forbidden_categories'].')';
|
||||
}
|
||||
// $query.= ' AND c.id = uc.category_id';
|
||||
$query.= ' ORDER BY id_uppercat ASC, rank ASC';
|
||||
$query.= ';';
|
||||
|
||||
|
@ -111,12 +105,16 @@ function get_plain_structure()
|
|||
{
|
||||
$category = array();
|
||||
foreach ( $infos as $info ) {
|
||||
$category[$info] = $row[$info];
|
||||
if ( $info == 'date_last' )
|
||||
if ( $info == 'uc.date_last' )
|
||||
{
|
||||
list($year,$month,$day) = explode( '-', $row[$info] );
|
||||
$category[$info] = mktime(0,0,0,$month,$day,$year);
|
||||
if ( isset( $row['date_last'] ) and $row['date_last'] != '' )
|
||||
{
|
||||
list($year,$month,$day) = explode( '-', $row['date_last'] );
|
||||
$category['date_last'] = mktime(0,0,0,$month,$day,$year);
|
||||
}
|
||||
}
|
||||
else if ( isset( $row[$info] ) ) $category[$info] = $row[$info];
|
||||
else $category[$info] = '';
|
||||
}
|
||||
$plain_structure[$row['id']] = $category;
|
||||
}
|
||||
|
@ -124,27 +122,24 @@ function get_plain_structure()
|
|||
return $plain_structure;
|
||||
}
|
||||
|
||||
function create_structure( $id_uppercat, $restrictions )
|
||||
function create_user_structure( $id_uppercat )
|
||||
{
|
||||
global $page;
|
||||
|
||||
if ( !isset( $page['plain_structure'] ) )
|
||||
$page['plain_structure'] = get_plain_structure();
|
||||
$page['plain_structure'] = get_user_plain_structure();
|
||||
|
||||
$structure = array();
|
||||
$ids = get_subcat_ids( $id_uppercat );
|
||||
$ids = get_user_subcat_ids( $id_uppercat );
|
||||
foreach ( $ids as $id ) {
|
||||
if ( !in_array( $id, $restrictions ) )
|
||||
{
|
||||
$category = $page['plain_structure'][$id];
|
||||
$category['subcats'] = create_structure( $id, $restrictions );
|
||||
array_push( $structure, $category );
|
||||
}
|
||||
$category = $page['plain_structure'][$id];
|
||||
$category['subcats'] = create_user_structure( $id );
|
||||
array_push( $structure, $category );
|
||||
}
|
||||
return $structure;
|
||||
}
|
||||
|
||||
function get_subcat_ids( $id_uppercat )
|
||||
function get_user_subcat_ids( $id_uppercat )
|
||||
{
|
||||
global $page;
|
||||
|
||||
|
@ -157,31 +152,14 @@ function get_subcat_ids( $id_uppercat )
|
|||
}
|
||||
|
||||
// update_structure updates or add informations about each node of the
|
||||
// structure : the last date, should the category be expanded in the menu ?,
|
||||
// the associated expand string "48,14,54"
|
||||
// structure :
|
||||
//
|
||||
// 1. last date
|
||||
// for each category of the structure, we have to find the most recent
|
||||
// subcat so that the parent cat has the same last_date info.
|
||||
// For example : we have :
|
||||
// > pets (2003.02.15)
|
||||
// > dogs (2003.06.14)
|
||||
// > rex (2003.06.18)
|
||||
// > toby (2003.06.13)
|
||||
// > kitten (2003.07.05)
|
||||
// We finally want to have :
|
||||
// > pets (2003.07.05) <- changed to pets > kitten last date
|
||||
// > dogs (2003.06.18) <- changed to pets > dogs > rex last date
|
||||
// > rex (2003.06.18)
|
||||
// > toby (2003.06.13)
|
||||
// > kitten (2003.07.05)
|
||||
//
|
||||
// 2. should the category be expanded in the menu ?
|
||||
// 1. should the category be expanded in the menu ?
|
||||
// If the category has to be expanded (ie its id is in the
|
||||
// $page['tab_expand'] or all the categories must be expanded by default),
|
||||
// $category['expanded'] is set to true.
|
||||
//
|
||||
// 3. associated expand string
|
||||
// 2. associated expand string
|
||||
// in the menu, there is a expand string (used in the URL) to tell which
|
||||
// categories must be expanded in the menu if this category is chosen
|
||||
function update_structure( $categories )
|
||||
|
@ -191,9 +169,6 @@ function update_structure( $categories )
|
|||
$updated_categories = array();
|
||||
|
||||
foreach ( $categories as $category ) {
|
||||
// update the last date of the category
|
||||
$last_date = search_last_date( $category );
|
||||
$category['date_last'] = $last_date;
|
||||
// update the "expanded" key
|
||||
if ( $user['expand']
|
||||
or $page['expand'] == 'all'
|
||||
|
@ -205,7 +180,7 @@ function update_structure( $categories )
|
|||
{
|
||||
$category['expanded'] = false;
|
||||
}
|
||||
// update the "expand_string" key
|
||||
// update the "expand_string" key
|
||||
if ( $page['expand'] == 'all' )
|
||||
{
|
||||
$category['expand_string'] = 'all';
|
||||
|
@ -219,7 +194,7 @@ function update_structure( $categories )
|
|||
// the $category['id']
|
||||
$tab_expand = array_diff( $page['tab_expand'],array($category['id']) );
|
||||
}
|
||||
else if ( count( $category['subcats'] ) > 0 )
|
||||
else if ( $category['nb_sub_categories'] > 0 )
|
||||
{
|
||||
// we have this time to add the $category['id']...
|
||||
$tab_expand = array_merge($page['tab_expand'],array($category['id']));
|
||||
|
@ -235,24 +210,6 @@ function update_structure( $categories )
|
|||
return $updated_categories;
|
||||
}
|
||||
|
||||
// search_last_date searchs the last date for a given category. If we take
|
||||
// back the example given for update_last_dates, we should have :
|
||||
// search_last_date( pets ) --> 2003.07.05
|
||||
// search_last_date( pets > dogs ) --> 2003.06.18
|
||||
// and so on
|
||||
function search_last_date( $category )
|
||||
{
|
||||
$date_last = $category['date_last'];
|
||||
foreach ( $category['subcats'] as $subcat ) {
|
||||
$subcat_date_last = search_last_date( $subcat );
|
||||
if ( $subcat_date_last > $date_last )
|
||||
{
|
||||
$date_last = $subcat_date_last;
|
||||
}
|
||||
}
|
||||
return $date_last;
|
||||
}
|
||||
|
||||
// count_images returns the number of pictures contained in the given
|
||||
// category represented by an array, in this array, we have (among other
|
||||
// things) :
|
||||
|
@ -262,6 +219,7 @@ function search_last_date( $category )
|
|||
// pictures contained in the given given category
|
||||
function count_images( $categories )
|
||||
{
|
||||
return count_user_total_images();
|
||||
$total = 0;
|
||||
foreach ( $categories as $category ) {
|
||||
$total+= $category['nb_images'];
|
||||
|
@ -270,6 +228,23 @@ function count_images( $categories )
|
|||
return $total;
|
||||
}
|
||||
|
||||
function count_user_total_images()
|
||||
{
|
||||
global $user;
|
||||
|
||||
$query = 'SELECT SUM(nb_images) AS total';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'categories';
|
||||
if ( count( $user['restrictions'] ) > 0 )
|
||||
$query.= ' WHERE id NOT IN ('.$user['forbidden_categories'].')';
|
||||
$query.= ';';
|
||||
|
||||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
|
||||
if ( !isset( $row['total'] ) ) $row['total'] = 0;
|
||||
|
||||
return $row['total'];
|
||||
}
|
||||
|
||||
// variables :
|
||||
// $cat['comment']
|
||||
// $cat['dir']
|
||||
|
@ -285,37 +260,55 @@ function get_cat_info( $id )
|
|||
{
|
||||
global $page;
|
||||
|
||||
$cat = array();
|
||||
|
||||
$query = 'SELECT nb_images,id_uppercat,comment,site_id,galleries_url,dir';
|
||||
$query.= ',date_last,uploadable,status,visible,representative_picture_id';
|
||||
$infos = array( 'nb_images','id_uppercat','comment','site_id','galleries_url'
|
||||
,'dir','date_last','uploadable','status','visible'
|
||||
,'representative_picture_id','uppercats' );
|
||||
|
||||
$query = 'SELECT '.implode( ',', $infos );
|
||||
$query.= ' FROM '.PREFIX_TABLE.'categories AS a';
|
||||
$query.= ', '.PREFIX_TABLE.'sites AS b';
|
||||
$query.= ' WHERE a.id = '.$id;
|
||||
$query.= ' AND a.site_id = b.id;';
|
||||
$query.= ' AND a.site_id = b.id';
|
||||
$query.= ';';
|
||||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
$cat['site_id'] = $row['site_id'];
|
||||
$cat['id_uppercat'] = $row['id_uppercat'];
|
||||
$cat['comment'] = nl2br( $row['comment'] );
|
||||
$cat['nb_images'] = $row['nb_images'];
|
||||
$cat['dir'] = $row['dir'];
|
||||
$cat['date_last'] = $row['date_last'];
|
||||
$cat['uploadable'] = get_boolean( $row['uploadable'] );
|
||||
$cat['status'] = $row['status'];
|
||||
$cat['visible'] = get_boolean( $row['visible'] );
|
||||
$cat['representative_picture_id'] = $row['representative_picture_id'];
|
||||
|
||||
$cat['name'] = array();
|
||||
|
||||
if ( !isset( $page['plain_structure'] ) )
|
||||
$page['plain_structure'] = get_plain_structure();
|
||||
|
||||
array_push( $cat['name'], $page['plain_structure'][$id]['name'] );
|
||||
while ( $page['plain_structure'][$id]['id_uppercat'] != '' )
|
||||
{
|
||||
$id = $page['plain_structure'][$id]['id_uppercat'];
|
||||
array_push( $cat['name'], $page['plain_structure'][$id]['name'] );
|
||||
$cat = array();
|
||||
// affectation of each field of the table "config" to an information of the
|
||||
// array $cat.
|
||||
foreach ( $infos as $info ) {
|
||||
if ( isset( $row[$info] ) ) $cat[$info] = $row[$info];
|
||||
else $cat[$info] = '';
|
||||
// If the field is true or false, the variable is transformed into a
|
||||
// boolean value.
|
||||
if ( $cat[$info] == 'true' or $cat[$info] == 'false' )
|
||||
{
|
||||
$cat[$info] = get_boolean( $cat[$info] );
|
||||
}
|
||||
}
|
||||
$cat['comment'] = nl2br( $cat['comment'] );
|
||||
|
||||
// first, we retrieve the names of upper categories in the default order
|
||||
// (not the correct one automatically)
|
||||
$buffers_name = array();
|
||||
|
||||
$query = 'SELECT id, name';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'categories';
|
||||
$query.= ' WHERE id IN ('.$cat['uppercats'].')';
|
||||
$query.= ';';
|
||||
$result = mysql_query( $query );
|
||||
while( $row = mysql_fetch_array( $result ) )
|
||||
{
|
||||
$buffer_names[$row['id']] = $row['name'];
|
||||
}
|
||||
|
||||
// then we reorder the names with the order given in the
|
||||
// categories.uppercats database field
|
||||
$cat['name'] = array();
|
||||
|
||||
foreach ( explode( ',', $cat['uppercats'] ) as $id_uppercat ) {
|
||||
array_push( $cat['name'], $buffer_names[$id_uppercat] );
|
||||
}
|
||||
|
||||
return $cat;
|
||||
}
|
||||
|
||||
|
@ -337,17 +330,40 @@ function get_local_dir( $category_id )
|
|||
{
|
||||
global $page;
|
||||
|
||||
if ( !isset( $page['plain_structure'] ) )
|
||||
$page['plain_structure'] = get_plain_structure();
|
||||
|
||||
// creating the local path : "root_cat/sub_cat/sub_sub_cat/"
|
||||
$dir = $page['plain_structure'][$category_id]['dir'].'/';
|
||||
while ( $page['plain_structure'][$category_id]['id_uppercat'] != '' )
|
||||
$uppercats = '';
|
||||
$local_dir = '';
|
||||
|
||||
if ( isset( $page['plain_structure'][$category_id]['uppercats'] ) )
|
||||
{
|
||||
$category_id = $page['plain_structure'][$category_id]['id_uppercat'];
|
||||
$dir = $page['plain_structure'][$category_id]['dir'].'/'.$dir;
|
||||
$uppercats = $page['plain_structure'][$category_id]['uppercats'];
|
||||
}
|
||||
return $dir;
|
||||
else
|
||||
{
|
||||
$query = 'SELECT uppercats';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'categories';
|
||||
$query.= ' WHERE id = '.$category_id;
|
||||
$query.= ';';
|
||||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
$uppercats = $row['uppercats'];
|
||||
}
|
||||
|
||||
$upper_array = explode( ',', $uppercats );
|
||||
|
||||
$database_dirs = array();
|
||||
$query = 'SELECT id,dir';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'categories';
|
||||
$query.= ' WHERE id IN ('.$uppercats.')';
|
||||
$query.= ';';
|
||||
$result = mysql_query( $query );
|
||||
while( $row = mysql_fetch_array( $result ) )
|
||||
{
|
||||
$database_dirs[$row['id']] = $row['dir'];
|
||||
}
|
||||
foreach ( $upper_array as $id ) {
|
||||
$local_dir.= $database_dirs[$id].'/';
|
||||
}
|
||||
|
||||
return $local_dir;
|
||||
}
|
||||
|
||||
// retrieving the site url : "http://domain.com/gallery/" or
|
||||
|
@ -356,12 +372,10 @@ function get_site_url( $category_id )
|
|||
{
|
||||
global $page;
|
||||
|
||||
if ( !isset( $page['plain_structure'] ) )
|
||||
$page['plain_structure'] = get_plain_structure();
|
||||
|
||||
$query = 'SELECT galleries_url';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'sites';
|
||||
$query.= ' WHERE id = '.$page['plain_structure'][$category_id]['site_id'];
|
||||
$query.= ' FROM '.PREFIX_TABLE.'sites AS s,'.PREFIX_TABLE.'categories AS c';
|
||||
$query.= ' WHERE s.id = c.site_id';
|
||||
$query.= ' AND c.id = '.$category_id;
|
||||
$query.= ';';
|
||||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
return $row['galleries_url'];
|
||||
|
@ -374,33 +388,19 @@ function get_site_url( $category_id )
|
|||
// - $separation : the string between each category name " - " for example
|
||||
// - $style : the style of the span tag for the lowest category,
|
||||
// "font-style:italic;" for example
|
||||
function get_cat_display_name( $array_cat_names, $separation, $style )
|
||||
function get_cat_display_name( $array_cat_names, $separation,
|
||||
$style, $replace_space = true )
|
||||
{
|
||||
$output = "";
|
||||
for ( $i = sizeof( $array_cat_names ) - 1; $i >= 0; $i-- )
|
||||
{
|
||||
if ( $i != sizeof( $array_cat_names ) - 1 )
|
||||
{
|
||||
$output.= $separation;
|
||||
}
|
||||
if ( $i != 0 )
|
||||
{
|
||||
$output.= $array_cat_names[$i];
|
||||
}
|
||||
$output = '';
|
||||
foreach ( $array_cat_names as $i => $name ) {
|
||||
if ( $i > 0 ) $output.= $separation;
|
||||
if ( $i < count( $array_cat_names ) - 1 or $style == '')
|
||||
$output.= $name;
|
||||
else
|
||||
{
|
||||
if ( $style != "" )
|
||||
{
|
||||
$output.= '<span style="'.$style.'">';
|
||||
}
|
||||
$output.= $array_cat_names[$i];
|
||||
if ( $style != "" )
|
||||
{
|
||||
$output.= "</span>";
|
||||
}
|
||||
}
|
||||
$output.= '<span style="'.$style.'">'.$name.'</span>';
|
||||
}
|
||||
return replace_space( $output );
|
||||
if ( $replace_space ) return replace_space( $output );
|
||||
else return $output;
|
||||
}
|
||||
|
||||
// initialize_category initializes ;-) the variables in relation
|
||||
|
@ -418,6 +418,7 @@ function get_cat_display_name( $array_cat_names, $separation, $style )
|
|||
// 4. creation of the navigation bar
|
||||
function initialize_category( $calling_page = 'category' )
|
||||
{
|
||||
pwg_debug( 'start initialize_category' );
|
||||
global $page,$lang,$user,$conf;
|
||||
|
||||
if ( isset( $page['cat'] ) )
|
||||
|
@ -426,7 +427,8 @@ function initialize_category( $calling_page = 'category' )
|
|||
// By default, it is the same as the $user['nb_image_page']
|
||||
$page['nb_image_page'] = $user['nb_image_page'];
|
||||
// $url is used to create the navigation bar
|
||||
$url = './category.php?cat='.$page['cat'].'&expand='.$page['expand'];
|
||||
$url = './category.php?cat='.$page['cat'];
|
||||
if ( isset($page['expand']) ) $url.= '&expand='.$page['expand'];
|
||||
// simple category
|
||||
if ( is_numeric( $page['cat'] ) )
|
||||
{
|
||||
|
@ -437,7 +439,8 @@ function initialize_category( $calling_page = 'category' )
|
|||
$page['cat_nb_images'] = $result['nb_images'];
|
||||
$page['cat_site_id'] = $result['site_id'];
|
||||
$page['cat_uploadable'] = $result['uploadable'];
|
||||
$page['title'] = get_cat_display_name( $page['cat_name'], ' - ', '' );
|
||||
$page['uppercats'] = $result['uppercats'];
|
||||
$page['title'] = get_cat_display_name( $page['cat_name'],' - ','',false);
|
||||
$page['where'] = ' WHERE category_id = '.$page['cat'];
|
||||
}
|
||||
else
|
||||
|
@ -446,15 +449,10 @@ function initialize_category( $calling_page = 'category' )
|
|||
or $page['cat'] == 'recent' or $page['cat'] == 'best_rated' )
|
||||
{
|
||||
// we must not show pictures of a forbidden category
|
||||
$restricted_cats = get_all_restrictions( $user['id'],$user['status'] );
|
||||
if ( count( $restricted_cats ) > 0 )
|
||||
if ( $user['forbidden_categories'] != '' )
|
||||
{
|
||||
$where_append.= ' AND category_id NOT IN (';
|
||||
foreach ( $restricted_cats as $i => $restricted_cat ) {
|
||||
if ( $i > 0 ) $where_append.= ',';
|
||||
$where_append.= $restricted_cat;
|
||||
}
|
||||
$where_append.= ')';
|
||||
$forbidden = ' category_id NOT IN ';
|
||||
$forbidden.= '('.$user['forbidden_categories'].')';
|
||||
}
|
||||
}
|
||||
// search result
|
||||
|
@ -499,11 +497,11 @@ function initialize_category( $calling_page = 'category' )
|
|||
}
|
||||
}
|
||||
$page['where'].= ' )';
|
||||
$page['where'].= $where_append;
|
||||
if ( isset( $forbidden ) ) $page['where'].= ' AND '.$forbidden;
|
||||
|
||||
$query = 'SELECT COUNT(DISTINCT(id)) AS nb_total_images';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'images';
|
||||
$query.= ' LEFT JOIN '.PREFIX_TABLE.'image_category AS ic';
|
||||
$query.= ' INNER JOIN '.PREFIX_TABLE.'image_category AS ic';
|
||||
$query.= ' ON id = ic.image_id';
|
||||
$query.= $page['where'];
|
||||
$query.= ';';
|
||||
|
@ -533,11 +531,11 @@ function initialize_category( $calling_page = 'category' )
|
|||
$date = time() - 60*60*24*$user['short_period'];
|
||||
$page['where'] = " WHERE date_available > '";
|
||||
$page['where'].= date( 'Y-m-d', $date )."'";
|
||||
$page['where'].= $where_append;
|
||||
if ( isset( $forbidden ) ) $page['where'].= ' AND '.$forbidden;
|
||||
|
||||
$query = 'SELECT COUNT(DISTINCT(id)) AS nb_total_images';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'images';
|
||||
$query.= ' LEFT JOIN '.PREFIX_TABLE.'image_category AS ic';
|
||||
$query.= ' INNER JOIN '.PREFIX_TABLE.'image_category AS ic';
|
||||
$query.= ' ON id = ic.image_id';
|
||||
$query.= $page['where'];
|
||||
$query.= ';';
|
||||
|
@ -546,16 +544,19 @@ function initialize_category( $calling_page = 'category' )
|
|||
else if ( $page['cat'] == 'most_visited' )
|
||||
{
|
||||
$page['title'] = $conf['top_number'].' '.$lang['most_visited_cat'];
|
||||
$page['where'] = ' WHERE category_id != -1'.$where_append;
|
||||
|
||||
if ( isset( $forbidden ) ) $page['where'] = ' WHERE '.$forbidden;
|
||||
else $page['where'] = '';
|
||||
$conf['order_by'] = ' ORDER BY hit DESC, file ASC';
|
||||
$page['cat_nb_images'] = $conf['top_number'];
|
||||
if ( $page['start'] + $user['nb_image_page'] >= $conf['top_number'] )
|
||||
if ( isset( $page['start'] )
|
||||
and ($page['start']+$user['nb_image_page']>=$conf['top_number']))
|
||||
{
|
||||
$page['nb_image_page'] = $conf['top_number'] - $page['start'];
|
||||
}
|
||||
}
|
||||
|
||||
if ( $query != '' )
|
||||
if ( isset($query))
|
||||
{
|
||||
$result = mysql_query( $query );
|
||||
$row = mysql_fetch_array( $result );
|
||||
|
@ -573,6 +574,7 @@ function initialize_category( $calling_page = 'category' )
|
|||
{
|
||||
$page['title'] = $lang['diapo_default_page_title'];
|
||||
}
|
||||
pwg_debug( 'end initialize_category' );
|
||||
}
|
||||
|
||||
// get_non_empty_subcat_ids returns an array with sub-categories id
|
||||
|
@ -604,8 +606,9 @@ function get_non_empty_subcat_ids( $id_uppercat )
|
|||
if ( !is_numeric( $id_uppercat ) ) $query.= 'is NULL';
|
||||
else $query.= '= '.$id_uppercat;
|
||||
// we must not show pictures of a forbidden category
|
||||
foreach ( $user['restrictions'] as $restricted_cat ) {
|
||||
$query.= ' AND id != '.$restricted_cat;
|
||||
if ( $user['forbidden_categories'] != '' )
|
||||
{
|
||||
$query.= ' AND id NOT IN ('.$user['forbidden_categories'].')';
|
||||
}
|
||||
$query.= ' ORDER BY rank';
|
||||
$query.= ';';
|
||||
|
@ -635,8 +638,9 @@ function get_first_non_empty_cat_id( $id_uppercat )
|
|||
$query.= ' FROM '.PREFIX_TABLE.'categories';
|
||||
$query.= ' WHERE id_uppercat = '.$id_uppercat;
|
||||
// we must not show pictures of a forbidden category
|
||||
foreach ( $user['restrictions'] as $restricted_cat ) {
|
||||
$query.= ' AND id != '.$restricted_cat;
|
||||
if ( $user['forbidden_categories'] != '' )
|
||||
{
|
||||
$query.= ' AND id NOT IN ('.$user['forbidden_categories'].')';
|
||||
}
|
||||
$query.= ' ORDER BY RAND()';
|
||||
$query.= ';';
|
||||
|
|
|
@ -85,10 +85,8 @@ function is_group_allowed( $category_id, $restrictions )
|
|||
$query.= ' WHERE id = '.$category_id;
|
||||
$query.= ';';
|
||||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
if ( $row['id_uppercat'] == '' )
|
||||
{
|
||||
$is_root = true;
|
||||
}
|
||||
if ( !isset( $row['id_uppercat'] ) ) $row['id_uppercat'] = '';
|
||||
if ( $row['id_uppercat'] == '' ) $is_root = true;
|
||||
$category_id = $row['id_uppercat'];
|
||||
}
|
||||
|
||||
|
|
|
@ -37,8 +37,8 @@ function validate_mail_address( $mail_address )
|
|||
}
|
||||
}
|
||||
|
||||
function register_user(
|
||||
$login, $password, $password_conf, $mail_address, $status = 'guest' )
|
||||
function register_user( $login, $password, $password_conf,
|
||||
$mail_address, $status = 'guest' )
|
||||
{
|
||||
global $lang;
|
||||
|
||||
|
@ -49,44 +49,26 @@ function register_user(
|
|||
// 2. start ou end with space character
|
||||
// 3. include ' or " characters
|
||||
// 4. be already used
|
||||
if ( $login == '' )
|
||||
{
|
||||
$error[$i++] = $lang['reg_err_login1'];
|
||||
}
|
||||
if ( ereg( "^.* $", $login) )
|
||||
{
|
||||
$error[$i++] = $lang['reg_err_login2'];
|
||||
}
|
||||
if ( ereg( "^ .*$", $login ) )
|
||||
{
|
||||
$error[$i++] = $lang['reg_err_login3'];
|
||||
}
|
||||
if ( $login == '' ) $error[$i++] = $lang['reg_err_login1'];
|
||||
if ( ereg( "^.* $", $login) ) $error[$i++] = $lang['reg_err_login2'];
|
||||
if ( ereg( "^ .*$", $login ) ) $error[$i++] = $lang['reg_err_login3'];
|
||||
|
||||
if ( ereg( "'", $login ) or ereg( "\"", $login ) )
|
||||
{
|
||||
$error[$i++] = $lang['reg_err_login4'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$query = 'select id';
|
||||
$query.= ' from '.PREFIX_TABLE.'users';
|
||||
$query.= " where username = '".$login."';";
|
||||
$query = 'SELECT id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'users';
|
||||
$query.= " WHERE username = '".$login."'";
|
||||
$query.= ';';
|
||||
$result = mysql_query( $query );
|
||||
if ( mysql_num_rows( $result ) > 0 )
|
||||
{
|
||||
$error[$i++] = $lang['reg_err_login5'];
|
||||
}
|
||||
if ( mysql_num_rows($result) > 0 ) $error[$i++] = $lang['reg_err_login5'];
|
||||
}
|
||||
// given password must be the same as the confirmation
|
||||
if ( $password != $password_conf )
|
||||
{
|
||||
$error[$i++] = $lang['reg_err_pass'];
|
||||
}
|
||||
if ( $password != $password_conf ) $error[$i++] = $lang['reg_err_pass'];
|
||||
|
||||
$error_mail_address = validate_mail_address( $mail_address );
|
||||
if ( $error_mail_address != '' )
|
||||
{
|
||||
$error[$i++] = $error_mail_address;
|
||||
}
|
||||
if ( $error_mail_address != '' ) $error[$i++] = $error_mail_address;
|
||||
|
||||
// if no error until here, registration of the user
|
||||
if ( sizeof( $error ) == 0 )
|
||||
|
@ -94,25 +76,20 @@ function register_user(
|
|||
// 1. retrieving default values, the ones of the user "guest"
|
||||
$infos = array( 'nb_image_line', 'nb_line_page', 'language',
|
||||
'maxwidth', 'maxheight', 'expand', 'show_nb_comments',
|
||||
'short_period', 'long_period', 'template' );
|
||||
$query = 'select';
|
||||
'short_period', 'long_period', 'template',
|
||||
'forbidden_categories' );
|
||||
$query = 'SELECT ';
|
||||
for ( $i = 0; $i < sizeof( $infos ); $i++ )
|
||||
{
|
||||
if ( $i > 0 )
|
||||
{
|
||||
$query.= ',';
|
||||
}
|
||||
else
|
||||
{
|
||||
$query.= ' ';
|
||||
}
|
||||
if ( $i > 0 ) $query.= ',';
|
||||
$query.= $infos[$i];
|
||||
}
|
||||
$query.= ' from '.PREFIX_TABLE.'users';
|
||||
$query.= " where username = 'guest';";
|
||||
$query.= ' FROM '.PREFIX_TABLE.'users';
|
||||
$query.= " WHERE username = 'guest'";
|
||||
$query.= ';';
|
||||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
// 2. adding new user
|
||||
$query = 'insert into '.PREFIX_TABLE.'users';
|
||||
$query = 'INSERT INTO '.PREFIX_TABLE.'users';
|
||||
$query.= ' (';
|
||||
$query.= ' username,password,mail_address,status';
|
||||
for ( $i = 0; $i < sizeof( $infos ); $i++ )
|
||||
|
@ -122,26 +99,13 @@ function register_user(
|
|||
$query.= ') values (';
|
||||
$query.= " '".$login."'";
|
||||
$query.= ",'".md5( $password )."'";
|
||||
if ( $mail_address != '' )
|
||||
{
|
||||
$query.= ",'".$mail_address."'";
|
||||
}
|
||||
else
|
||||
{
|
||||
$query.= ',NULL';
|
||||
}
|
||||
if ( $mail_address != '' ) $query.= ",'".$mail_address."'";
|
||||
else $query.= ',NULL';
|
||||
$query.= ",'".$status."'";
|
||||
for ( $i = 0; $i < sizeof( $infos ); $i++ )
|
||||
{
|
||||
foreach ( $infos as $info ) {
|
||||
$query.= ',';
|
||||
if ( $row[$infos[$i]] == '' )
|
||||
{
|
||||
$query.= 'NULL';
|
||||
}
|
||||
else
|
||||
{
|
||||
$query.= "'".$row[$infos[$i]]."'";
|
||||
}
|
||||
if ( !isset( $row[$info] ) ) $query.= 'NULL';
|
||||
else $query.= "'".$row[$info]."'";
|
||||
}
|
||||
$query.= ');';
|
||||
mysql_query( $query );
|
||||
|
@ -165,6 +129,48 @@ function register_user(
|
|||
$query.= ' ('.$user_id.','.$row['cat_id'].');';
|
||||
mysql_query ( $query );
|
||||
}
|
||||
// 5. associate new user to the same groups that the guest
|
||||
$query = 'SELECT group_id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'user_group AS ug';
|
||||
$query.= ', '.PREFIX_TABLE.'users AS u';
|
||||
$query.= " WHERE u.username = 'guest'";
|
||||
$query.= ' AND ug.user_id = u.id';
|
||||
$query.= ';';
|
||||
$result = mysql_query( $query );
|
||||
while( $row = mysql_fetch_array( $result ) )
|
||||
{
|
||||
$query = 'INSERT INTO '.PREFIX_TABLE.'user_group';
|
||||
$query.= ' (user_id,group_id) VALUES';
|
||||
$query.= ' ('.$user_id.','.$row['group_id'].')';
|
||||
$query.= ';';
|
||||
mysql_query ( $query );
|
||||
}
|
||||
// 6. has the same categories informations than guest
|
||||
$query = 'SELECT category_id,date_last,nb_sub_categories';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'user_category AS uc';
|
||||
$query.= ', '.PREFIX_TABLE.'users AS u';
|
||||
$query.= " WHERE u.username = 'guest'";
|
||||
$query.= ' AND uc.user_id = u.id';
|
||||
$query.= ';';
|
||||
$result = mysql_query( $query );
|
||||
while( $row = mysql_fetch_array( $result ) )
|
||||
{
|
||||
$query = 'INSERT INTO '.PREFIX_TABLE.'user_category';
|
||||
$query.= ' (user_id,category_id,date_last,nb_sub_categories) VALUES';
|
||||
$query.= ' ('.$user_id.','.$row['category_id'];
|
||||
$query.= ",";
|
||||
if (!isset($row['date_last']) or $row['date_last'] == '')
|
||||
{
|
||||
$query.= 'NULL';
|
||||
}
|
||||
else
|
||||
{
|
||||
$query.= "'".$row['date_last']."'";
|
||||
}
|
||||
$query.= ",".$row['nb_sub_categories'].')';
|
||||
$query.= ';';
|
||||
mysql_query ( $query );
|
||||
}
|
||||
}
|
||||
return $error;
|
||||
}
|
||||
|
@ -209,128 +215,14 @@ function check_login_authorization()
|
|||
{
|
||||
global $user,$lang,$conf,$page;
|
||||
|
||||
if ( $user['is_the_guest']
|
||||
and ( $conf['access'] == 'restricted' or $page['cat'] == 'fav' ) )
|
||||
if ( $user['is_the_guest'])
|
||||
{
|
||||
if ( $conf['access'] == 'restricted' || (isset($page['cat']) && $page['cat'] == 'fav' ) )
|
||||
{
|
||||
echo '<div style="text-align:center;">'.$lang['only_members'].'<br />';
|
||||
echo '<a href="./identification.php">'.$lang['ident_title'].'</a></div>';
|
||||
exit();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// The function get_restrictions returns an array with the ids of the
|
||||
// restricted categories for the user.
|
||||
// If the $check_invisible parameter is set to true, invisible categories
|
||||
// are added to the restricted one in the array.
|
||||
function get_restrictions( $user_id, $user_status,
|
||||
$check_invisible, $use_groups = true )
|
||||
{
|
||||
// 1. retrieving ids of private categories
|
||||
$query = 'SELECT id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'categories';
|
||||
$query.= " WHERE status = 'private'";
|
||||
$query.= ';';
|
||||
$result = mysql_query( $query );
|
||||
$privates = array();
|
||||
while ( $row = mysql_fetch_array( $result ) )
|
||||
{
|
||||
array_push( $privates, $row['id'] );
|
||||
}
|
||||
// 2. retrieving all authorized categories for the user
|
||||
$authorized = array();
|
||||
// 2.1. retrieving authorized categories thanks to personnal user
|
||||
// authorization
|
||||
$query = 'SELECT cat_id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'user_access';
|
||||
$query.= ' WHERE user_id = '.$user_id;
|
||||
$query.= ';';
|
||||
$result = mysql_query( $query );
|
||||
while ( $row = mysql_fetch_array( $result ) )
|
||||
{
|
||||
array_push( $authorized, $row['cat_id'] );
|
||||
}
|
||||
// 2.2. retrieving authorized categories thanks to group authorization to
|
||||
// which the user is a member
|
||||
if ( $use_groups )
|
||||
{
|
||||
$query = 'SELECT ga.cat_id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'user_group as ug';
|
||||
$query.= ', '.PREFIX_TABLE.'group_access as ga';
|
||||
$query.= ' WHERE ug.group_id = ga.group_id';
|
||||
$query.= ' AND ug.user_id = '.$user_id;
|
||||
$query.= ';';
|
||||
$result = mysql_query( $query );
|
||||
while ( $row = mysql_fetch_array( $result ) )
|
||||
{
|
||||
array_push( $authorized, $row['cat_id'] );
|
||||
}
|
||||
$authorized = array_unique( $authorized );
|
||||
}
|
||||
|
||||
$forbidden = array();
|
||||
foreach ( $privates as $private ) {
|
||||
if ( !in_array( $private, $authorized ) )
|
||||
{
|
||||
array_push( $forbidden, $private );
|
||||
}
|
||||
}
|
||||
|
||||
if ( $check_invisible )
|
||||
{
|
||||
// 3. adding to the restricted categories, the invisible ones
|
||||
if ( $user_status != 'admin' )
|
||||
{
|
||||
$query = 'SELECT id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'categories';
|
||||
$query.= " WHERE visible = 'false';";
|
||||
$result = mysql_query( $query );
|
||||
while ( $row = mysql_fetch_array( $result ) )
|
||||
{
|
||||
array_push( $forbidden, $row['id'] );
|
||||
}
|
||||
}
|
||||
}
|
||||
return array_unique( $forbidden );
|
||||
}
|
||||
|
||||
// The get_all_restrictions function returns an array with all the
|
||||
// categories id which are restricted for the user. Including the
|
||||
// sub-categories and invisible categories
|
||||
function get_all_restrictions( $user_id, $user_status )
|
||||
{
|
||||
$restricted_cats = get_restrictions( $user_id, $user_status, true );
|
||||
foreach ( $restricted_cats as $restricted_cat ) {
|
||||
$sub_restricted_cats = get_subcats_id( $restricted_cat );
|
||||
foreach ( $sub_restricted_cats as $sub_restricted_cat ) {
|
||||
array_push( $restricted_cats, $sub_restricted_cat );
|
||||
}
|
||||
}
|
||||
return $restricted_cats;
|
||||
}
|
||||
|
||||
// The function is_user_allowed returns :
|
||||
// - 0 : if the category is allowed with this $restrictions array
|
||||
// - 1 : if this category is not allowed
|
||||
// - 2 : if an uppercat category is not allowed
|
||||
function is_user_allowed( $category_id, $restrictions )
|
||||
{
|
||||
$lowest_category_id = $category_id;
|
||||
|
||||
$is_root = false;
|
||||
while ( !$is_root and !in_array( $category_id, $restrictions ) )
|
||||
{
|
||||
$query = 'SELECT id_uppercat';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'categories';
|
||||
$query.= ' WHERE id = '.$category_id;
|
||||
$query.= ';';
|
||||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
if ( $row['id_uppercat'] == '' ) $is_root = true;
|
||||
$category_id = $row['id_uppercat'];
|
||||
}
|
||||
|
||||
if ( in_array( $lowest_category_id, $restrictions ) ) return 1;
|
||||
if ( in_array( $category_id, $restrictions ) ) return 2;
|
||||
// this user is allowed to go in this category
|
||||
return 0;
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
|
|
@ -16,10 +16,9 @@
|
|||
* the Free Software Foundation; *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
//------------------------------------------------------------------ constantes
|
||||
define( ATT_REG, '\w+' );
|
||||
define( VAL_REG, '[^"]*' );
|
||||
define( 'ATT_REG', '\w+' );
|
||||
define( 'VAL_REG', '[^"]*' );
|
||||
//------------------------------------------------------------------- functions
|
||||
// getContent returns the content of a tag
|
||||
//
|
||||
|
|
|
@ -16,16 +16,19 @@
|
|||
* the Free Software Foundation; *
|
||||
* *
|
||||
***************************************************************************/
|
||||
define( PREFIX_INCLUDE, '' );
|
||||
// determine the initial instant to indicate the generation time of this page
|
||||
$t1 = explode( ' ', microtime() );
|
||||
$t2 = explode( '.', $t1[0] );
|
||||
$t2 = $t1[1].'.'.$t2[1];
|
||||
|
||||
define( 'PREFIX_INCLUDE', '' );
|
||||
|
||||
include_once( './include/config.inc.php' );
|
||||
include_once( './include/user.inc.php' );
|
||||
|
||||
// calculation of the number of picture to display per page
|
||||
$user['nb_image_page'] = $user['nb_image_line'] * $user['nb_line_page'];
|
||||
// retrieving the restrictions for this user
|
||||
$user['restrictions'] = get_restrictions( $user['id'], $user['status'], true );
|
||||
|
||||
|
||||
$isadmin = false;
|
||||
include_once( './language/'.$user['language'].'.php' );
|
||||
// displaying the username in the language of the connected user, instead of
|
||||
|
|
47
include/page_header.php
Normal file
47
include/page_header.php
Normal file
|
@ -0,0 +1,47 @@
|
|||
<?php
|
||||
/***************************************************************************
|
||||
* page_header.php *
|
||||
* ------------------- *
|
||||
* application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
|
||||
* author : Pierrick LE GALL <pierrick@z0rglub.com> *
|
||||
* *
|
||||
* $Id$
|
||||
* *
|
||||
***************************************************************************
|
||||
|
||||
***************************************************************************
|
||||
* *
|
||||
* 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; *
|
||||
* *
|
||||
***************************************************************************/
|
||||
//
|
||||
// Start output of page
|
||||
//
|
||||
$vtp = new VTemplate;
|
||||
$handle = $vtp->Open( './template/'.$user['template'].'/header.vtp' );
|
||||
$vtp->setGlobalVar( $handle, 'charset', $lang['charset'] );
|
||||
$vtp->setGlobalVar( $handle, 'style',
|
||||
'./template/'.$user['template'].'/default.css');
|
||||
|
||||
// refresh
|
||||
if ( isset( $refresh ) and $refresh > 0 and isset( $url_link ) )
|
||||
{
|
||||
$vtp->addSession( $handle, 'refresh' );
|
||||
$vtp->setVar( $handle, 'refresh.time', $refresh );
|
||||
$url = $url_link.'&slideshow='.$refresh;
|
||||
$vtp->setVar( $handle, 'refresh.url', add_session_id( $url ) );
|
||||
$vtp->closeSession( $handle, 'refresh' );
|
||||
}
|
||||
|
||||
$vtp->setGlobalVar( $handle, 'title', $title );
|
||||
$vtp->setVarF( $handle, 'header',
|
||||
'./template/'.$user['template'].'/header.htm' );
|
||||
|
||||
//
|
||||
// Generate the page
|
||||
//
|
||||
|
||||
$output = $vtp->Display( $handle, 0 );
|
||||
?>
|
|
@ -1,15 +1,15 @@
|
|||
<?php
|
||||
/***************************************************************************
|
||||
* conf.php *
|
||||
* page_footer.php *
|
||||
* ------------------- *
|
||||
* application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
|
||||
* author : Jerome <http://www.ze-labo.com> *
|
||||
* author : Pierrick LE GALL <pierrick@z0rglub.com> *
|
||||
* *
|
||||
* $Id$
|
||||
* *
|
||||
***************************************************************************/
|
||||
***************************************************************************
|
||||
|
||||
/***************************************************************************
|
||||
***************************************************************************
|
||||
* *
|
||||
* 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 *
|
||||
|
@ -17,7 +17,21 @@
|
|||
* *
|
||||
***************************************************************************/
|
||||
|
||||
$user['couleur_fond'] = '#444444';
|
||||
$user['couleur_text_fond'] = 'white';
|
||||
$user['couleur_text'] = 'white';
|
||||
$handle = $vtp->Open( './template/'.$user['template'].'/footer.vtp' );
|
||||
//------------------------------------------------------------- generation time
|
||||
$time = get_elapsed_time( $t2, get_moment() );
|
||||
$vtp->setGlobalVar( $handle, 'time', $time );
|
||||
|
||||
$vtp->setGlobalVar( $handle, 'generation_time', $lang['generation_time'] );
|
||||
$vtp->setGlobalVar( $handle, 'version', $conf['version'] );
|
||||
$vtp->setGlobalVar( $handle, 'site_url', $conf['site_url'] );
|
||||
$vtp->setVarF( $handle, 'footer',
|
||||
'./template/'.$user['template'].'/footer.htm' );
|
||||
|
||||
//
|
||||
// Generate the page
|
||||
//
|
||||
|
||||
$output.= $vtp->Display( $handle, 0 );
|
||||
echo $output;
|
||||
?>
|
|
@ -16,6 +16,7 @@
|
|||
* the Free Software Foundation; *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
// retrieving user informations
|
||||
// $infos array is used to know the fields to retrieve in the table "users"
|
||||
// Each field becomes an information of the array $user.
|
||||
|
@ -24,13 +25,9 @@
|
|||
$infos = array( 'id', 'username', 'mail_address', 'nb_image_line',
|
||||
'nb_line_page', 'status', 'language', 'maxwidth',
|
||||
'maxheight', 'expand', 'show_nb_comments', 'short_period',
|
||||
'long_period', 'template' );
|
||||
'long_period', 'template', 'forbidden_categories' );
|
||||
|
||||
$query_user = 'SELECT ';
|
||||
foreach ( $infos as $i => $info ) {
|
||||
if ( $i > 0 ) $query_user.= ',';
|
||||
$query_user.= $info;
|
||||
}
|
||||
$query_user = 'SELECT '.implode( ',', $infos );
|
||||
$query_user.= ' FROM '.PREFIX_TABLE.'users';
|
||||
$query_done = false;
|
||||
$user['is_the_guest'] = false;
|
||||
|
@ -96,18 +93,27 @@ if ( !$query_done )
|
|||
$user['is_the_guest'] = true;
|
||||
}
|
||||
$query_user .= ';';
|
||||
|
||||
$row = mysql_fetch_array( mysql_query( $query_user ) );
|
||||
|
||||
// affectation of each value retrieved in the users table into a variable
|
||||
// of the array $user.
|
||||
foreach ( $infos as $info ) {
|
||||
$user[$info] = $row[$info];
|
||||
// If the field is true or false, the variable is transformed into a
|
||||
// boolean value.
|
||||
if ( $row[$info] == 'true' or $row[$info] == 'false' )
|
||||
if ( isset( $row[$info] ) )
|
||||
{
|
||||
$user[$info] = get_boolean( $row[$info] );
|
||||
// If the field is true or false, the variable is transformed into a
|
||||
// boolean value.
|
||||
if ( $row[$info] == 'true' or $row[$info] == 'false' )
|
||||
$user[$info] = get_boolean( $row[$info] );
|
||||
else
|
||||
$user[$info] = $row[$info];
|
||||
}
|
||||
else
|
||||
{
|
||||
$user[$info] = '';
|
||||
}
|
||||
}
|
||||
|
||||
// special for $user['restrictions'] array
|
||||
$user['restrictions'] = explode( ',', $user['forbidden_categories'] );
|
||||
if ( $user['restrictions'][0] == '' ) $user['restrictions'] = array();
|
||||
?>
|
|
@ -15,7 +15,6 @@
|
|||
*
|
||||
*
|
||||
*****************************************************************/
|
||||
|
||||
// to make it work on nexen.net
|
||||
set_magic_quotes_runtime(0);
|
||||
|
||||
|
@ -142,7 +141,7 @@ if ( !isset( $DEFINE_VTEMPLATE ) )
|
|||
$regle = "|".VARTAG."(.*)}|sU";
|
||||
preg_match_all ($regle,$this->source,$var1);
|
||||
// Création du tableau de variable à partir de la liste parsée.
|
||||
$this->varlist=@array_merge($var[1],$var1[1]);
|
||||
$this->varlist=@array_merge((array)$var[1],(array)$var1[1]);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
* *
|
||||
***************************************************************************/
|
||||
|
||||
define( PREFIX_INCLUDE, '' );
|
||||
define( 'PREFIX_INCLUDE', '' );
|
||||
include_once( './include/functions.inc.php' );
|
||||
database_connection();
|
||||
// retrieving configuration informations
|
||||
|
@ -36,4 +36,4 @@ header( 'Request-URI: '.$url );
|
|||
header( 'Content-Location: '.$url );
|
||||
header( 'Location: '.$url );
|
||||
exit();
|
||||
?>
|
||||
?>
|
||||
|
|
550
language/catala.php
Normal file
550
language/catala.php
Normal file
|
@ -0,0 +1,550 @@
|
|||
<?php
|
||||
/***************************************************************************
|
||||
* catala.php *
|
||||
* ------------------- *
|
||||
* application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
|
||||
* author : Pierrick LE GALL <pierrick@z0rglub.com> *
|
||||
* translation : Xolda <xolda@hotmail.com> *
|
||||
* *
|
||||
* $Id$
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* 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; *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
$lang['only_members'] = 'Accés restringit a membres';
|
||||
$lang['invalid_pwd'] = '¡Contrasenya errònia!';
|
||||
$lang['access_forbiden'] = 'No està autoritzat per accedir a aquesta plana';
|
||||
$lang['submit'] = 'Validar';
|
||||
$lang['login'] = 'usuari';
|
||||
$lang['password'] = 'contrasenya';
|
||||
$lang['new'] = 'nova';
|
||||
$lang['delete'] = 'esborrar';
|
||||
$lang['category'] = 'categoria';
|
||||
$lang['thumbnail'] = 'miniatura';
|
||||
$lang['date'] = 'data';
|
||||
$lang['diapo_default_page_title'] = 'No hi ha cap categoria seleccionada';
|
||||
$lang['thumbnails'] = 'Miniatures';
|
||||
$lang['categories'] = 'Categories';
|
||||
$lang['hint_category'] = 'mostra imatges a l\'arrel d\'aquesta categoria';
|
||||
$lang['total_images'] = 'total';
|
||||
$lang['title_menu'] = 'Menú';
|
||||
$lang['change_login'] = 'canviar usuari';
|
||||
$lang['login'] = 'usuari';
|
||||
$lang['hint_login'] = 'identificar-se li permet modificar l\'aparença del site';
|
||||
$lang['logout'] = 'sortir';
|
||||
$lang['customize'] = 'personalitzar';
|
||||
$lang['hint_customize'] = 'personalitzar l\'aspecte de la galeria';
|
||||
$lang['hint_search'] = 'cercar';
|
||||
$lang['search'] = 'cercar';
|
||||
$lang['favorite_cat'] = 'favorits';
|
||||
$lang['favorite_cat_hint'] = 'mostrar els seus favorits';
|
||||
$lang['about'] = 'quant a';
|
||||
$lang['hint_about'] = 'més informació a PhpWebGallery...';
|
||||
$lang['admin'] = 'admin';
|
||||
$lang['hint_admin'] = 'disponible només per a administradors';
|
||||
$lang['no_category'] = 'No hi ha una categoria seleccionada,<br>si us plau, seleccioni\'n una al menú';
|
||||
$lang['page_number'] = 'plana número';
|
||||
$lang['previous_page'] = 'Anterior';
|
||||
$lang['next_page'] = 'Següent';
|
||||
$lang['nb_image_category'] = 'número d\'imatges en aquesta categoria';
|
||||
$lang['recent_image'] = 'imatge dels darrers';
|
||||
$lang['days'] = 'dies';
|
||||
$lang['send_mail'] = 'Si té cap comentari o desitja comprar<br>alguna imatge, enviï un correu electrònic';
|
||||
$lang['title_send_mail'] = 'Comentari del site o comprar imatge';
|
||||
$lang['sub-cat'] = 'subcategories';
|
||||
$lang['images_available'] = 'imatges en aquesta categoria';
|
||||
$lang['total'] = 'imatges';
|
||||
$lang['upload_picture'] = 'Pujar una imatge';
|
||||
$lang['registration_date'] = 'registrada el';
|
||||
$lang['creation_date'] = 'creada el';
|
||||
$lang['comment'] = 'comentari';
|
||||
$lang['author'] = 'autor';
|
||||
$lang['size'] = 'tamany';
|
||||
$lang['filesize'] = 'tamany de l\'arxiu';
|
||||
$lang['file'] = 'arxiu';
|
||||
$lang['generation_time'] = 'Plana creada en';
|
||||
$lang['favorites'] = 'Favorits';
|
||||
$lang['search_result'] = 'Resultats de la cerca';
|
||||
$lang['about_page_title'] = 'Quant a PhpWebGallery';
|
||||
$lang['about_title'] = 'Quant a...';
|
||||
$lang['about_message'] = '<div style="text-align:center;font-weigh:bold;">Informació quant a PhpWebGallery</div>
|
||||
<ul>
|
||||
<li>Aquest lloc web utilitza <a href="'.$conf['site_url'].'" style="text-decoration:underline">PhpWebGallery</a> versió '.$conf['version'].'. PhpWebGallery és una aplicació web que li ofereix la possibilitat de crear fàcilment una galeria d\'imatges on-line.</li>
|
||||
<li>Tècnicament, PhpWebGallery està totalment desenvolupat en PHP (the elePHPant) en combinació amb la base de dades MySQL (the SQuirreL).</li>
|
||||
<li>Si té qualsevol suggerència o comentari, si us plau, visiti el site oficial de <a href="'.$conf['site_url'].'" style="text-decoration:underline">PhpWebGallery</a> i el seu <a href="'.$conf['forum_url'].'" style="text-decoration:underline">fòrum de discussió</a>.</li>
|
||||
</ul>';
|
||||
$lang['about_return'] = 'Enrere';
|
||||
$lang['ident_page_title'] = 'Identificació';
|
||||
$lang['ident_title'] = 'Identificació';
|
||||
$lang['ident_register'] = 'Registrar';
|
||||
$lang['ident_forgotten_password'] = 'Ha oblidat la seva contrasenya?';
|
||||
$lang['ident_guest_visit'] = 'Entri a la Galeria com a visitant';
|
||||
$lang['customize_page_title'] = 'Personalització';
|
||||
$lang['customize_title'] = 'Personalització';
|
||||
$lang['customize_nb_image_per_row'] = 'número d\'imatges per filera';
|
||||
$lang['customize_nb_row_per_page'] = 'número d\'imatges per plana';
|
||||
$lang['customize_language'] = 'idioma';
|
||||
$lang['maxwidth'] = 'amplada màxima de les imatges';
|
||||
$lang['maxheight'] = 'alçada màxima de les imatges';
|
||||
$lang['err_maxwidth'] = 'l\'amplada màxima ha de ser un número superior a 50';
|
||||
$lang['err_maxheight'] = 'l\'alçada màxima ha de ser un número superior a 50';
|
||||
$lang['previous_image'] = 'Anterior';
|
||||
$lang['next_image'] = 'Següent';
|
||||
$lang['back'] = 'Polsi a l\'imatge per tornar a la plana de miniatures';
|
||||
$lang['info_image_title'] = 'Informació de l\'imatge';
|
||||
$lang['link_info_image'] = 'Modificar informació';
|
||||
$lang['true_size'] = 'Tamany real';
|
||||
$lang['comments_title'] = 'Comentaris dels usuaris del lloc web';
|
||||
$lang['comments_del'] = 'esborrar aquest comentari';
|
||||
$lang['comments_add'] = 'Afegir un comentari';
|
||||
$lang['month'][1] = 'Gener';
|
||||
$lang['month'][2] = 'Febrer';
|
||||
$lang['month'][3] = 'Març';
|
||||
$lang['month'][4] = 'Abril';
|
||||
$lang['month'][5] = 'Maig';
|
||||
$lang['month'][6] = 'Juny';
|
||||
$lang['month'][7] = 'Juliol';
|
||||
$lang['month'][8] = 'Agost';
|
||||
$lang['month'][9] = 'Setembre';
|
||||
$lang['month'][10] = 'Octubre';
|
||||
$lang['month'][11] = 'Novembre';
|
||||
$lang['month'][12] = 'Desembre';
|
||||
$lang['day'][0] = 'Diumenge';
|
||||
$lang['day'][1] = 'Dilluns';
|
||||
$lang['day'][2] = 'Dimarts';
|
||||
$lang['day'][3] = 'Dimecres';
|
||||
$lang['day'][4] = 'Dijous';
|
||||
$lang['day'][5] = 'Divendres';
|
||||
$lang['day'][6] = 'Dissabte';
|
||||
$lang['add_favorites_alt'] = 'Afegir a favorits';
|
||||
$lang['add_favorites_hint'] = 'Afegir imatge a favorits';
|
||||
$lang['del_favorites_alt'] = 'Eliminar imatge de favorits';
|
||||
$lang['del_favorites_hint'] = 'Eliminar imatge de favorits';
|
||||
$lang['register_page_title'] = 'Registre';
|
||||
$lang['register_title'] = 'Registre';
|
||||
$lang['reg_err_login1'] = 'Si us plau, introdueixi un nom d\'usuari';
|
||||
$lang['reg_err_login2'] = 'el nom d\'usuari no pot acabar en espai';
|
||||
$lang['reg_err_login3'] = 'el nom d\'usuari no pot començar en espai';
|
||||
$lang['reg_err_login4'] = 'el nom d\'usuari no pot contenir " ni \'';
|
||||
$lang['reg_err_login5'] = 'el nom d\'usuari ja existeix';
|
||||
$lang['reg_err_pass'] = 'si us plau, introdueixi la seva contrasenya de nou';
|
||||
$lang['reg_confirm'] = 'confirmar';
|
||||
$lang['reg_err_mail_address'] = 'l\'adreça de correu ha de ser del tipus xxx@yyy.eee (p.ex.: usuari@proveidor.com)';
|
||||
$lang['search_title'] = 'Cercar';
|
||||
$lang['invalid_search'] = 'la cerca ha de tenir 3 caràcters o més';
|
||||
$lang['search_field_search'] = 'Cercar';
|
||||
$lang['search_return_main_page'] = 'Tornar a la plana de miniatures';
|
||||
$lang['upload_forbidden'] = 'No pot pujar imatges en aquesta categoria';
|
||||
$lang['upload_file_exists'] = 'El nom d\'alguna imatge ja existeix';
|
||||
$lang['upload_filenotfound'] = 'Ha d\'escollir un format d\'imatge per a l\'arxiu';
|
||||
$lang['upload_cannot_upload'] = 'no es pot pujar la imatge al servidor';
|
||||
$lang['upload_title'] = 'Pujar una imatge';
|
||||
$lang['upload_advise'] = 'Esculli una imatge per posar-la a la categoria: ';
|
||||
$lang['upload_advise_thumbnail'] = 'Opcional, però recomanable: esculli una miniatura per associar-la a ';
|
||||
$lang['upload_advise_filesize'] = 'el tamany de l\'arxiu de la imatge no ha de passar de: ';
|
||||
$lang['upload_advise_width'] = 'l\'amplada de la imatge no ha de passar de: ';
|
||||
$lang['upload_advise_height'] = 'l\'alçada de la imatge no ha de passar de: ';
|
||||
$lang['upload_advise_filetype'] = 'la imatge ha d\'estar en format JPG, GIF ó PNG';
|
||||
$lang['upload_err_username'] = 'ha de donar el nom d\'usuari';
|
||||
$lang['upload_username'] = 'Usuari';
|
||||
$lang['upload_successful'] = 'Imatge pujada correctament, un administrador la validarà tan aviat com sigui possible';
|
||||
// new or modified in release 1.3
|
||||
$lang['charset'] = 'iso-8859-1';
|
||||
$lang['no'] = 'no';
|
||||
$lang['yes'] = 'si';
|
||||
$lang['guest'] = 'convidat';
|
||||
$lang['mail_address'] = 'adreça de correu';
|
||||
$lang['public'] = 'públic';
|
||||
$lang['private'] = 'privat';
|
||||
$lang['add'] = 'afegir';
|
||||
$lang['dissociate'] = 'diferenciar';
|
||||
$lang['mandatory'] = 'obligatori';
|
||||
$lang['err_date'] = 'data errònia';
|
||||
$lang['picture'] = 'imatge';
|
||||
$lang['IP'] = 'IP';
|
||||
$lang['close'] = 'tancar';
|
||||
$lang['open'] = 'obrir';
|
||||
$lang['keywords'] = 'paraules clau';
|
||||
$lang['errors_title'] = 'Errors';
|
||||
$lang['infos_title'] = 'Informacions';
|
||||
$lang['default'] = 'per defecte';
|
||||
$lang['comments'] = 'comentaris';
|
||||
$lang['category_representative'] = 'representativa';
|
||||
$lang['stats'] = 'estadístiques';
|
||||
$lang['most_visited_cat_hint'] = 'mostra les imatges més visitades';
|
||||
$lang['most_visited_cat'] = 'més visitades';
|
||||
$lang['best_rated_cat_hint'] = 'mostra les imatges millor valorades';
|
||||
$lang['best_rated_cat'] = 'millor valorades';
|
||||
$lang['recent_cat_hint'] = 'mostra les imatges més recents';
|
||||
$lang['recent_cat'] = 'més recents';
|
||||
$lang['recent_cat_title'] = 'Imatges recents';
|
||||
$lang['visited'] = 'visitada';
|
||||
$lang['times'] = 'vegades';
|
||||
$lang['customize_theme'] = 'tema de l\'interface';
|
||||
$lang['customize_expand'] = 'expandir totes les categories';
|
||||
$lang['customize_show_nb_comments'] = 'mostrar el nombre de comentaris';
|
||||
$lang['customize_short_period'] = 'període curt';
|
||||
$lang['customize_long_period'] = 'període llarg';
|
||||
$lang['customize_template'] = 'plantilla';
|
||||
$lang['err_periods'] = 'els períodes han de ser valors enters';
|
||||
$lang['err_periods_2'] = 'els períodes han de ser superiors a 0. El període llarg ha de ser més gran que el període curt.';
|
||||
$lang['create_cookie'] = 'crear una cookie';
|
||||
$lang['customize_day'] = 'dia';
|
||||
$lang['customize_week'] = 'setmana';
|
||||
$lang['customize_month'] = 'mes';
|
||||
$lang['customize_year'] = 'any';
|
||||
$lang['slideshow'] = 'slideshow';
|
||||
$lang['period_seconds'] = 'segons per imatge';
|
||||
$lang['slideshow_stop'] = 'parar l\'slideshow';
|
||||
$lang['comment_added'] = 'El seu comentari ha estat registrat';
|
||||
$lang['comment_to_validate'] = 'Un administrador ha d\'autoritzar el comentari abans de que sigui visible.';
|
||||
$lang['comment_anti-flood'] = 'Sistema Anti-flood: si us plau, esperi un moment abans d\'intentar enviar un altre comentari';
|
||||
$lang['comment_user_exists'] = 'El nom d\'usuari ja està en us';
|
||||
$lang['invalid_search'] = 'Les paraules cercades han de ser de més de 3 caràcters i no han de contenir signes de puntuació';
|
||||
$lang['search_mode_or'] = 'almenys una paraula';
|
||||
$lang['search_mode_and'] = 'totes les paraules';
|
||||
$lang['search_comments'] = 'separi les diferents paraules amb espais';
|
||||
$lang['upload_name'] = 'Nom de la imatge';
|
||||
$lang['upload_author'] = 'Autor (ex "Pierrick LE GALL")';
|
||||
$lang['upload_creation_date'] = 'Data de creació (DD/MM/AAAA)';
|
||||
$lang['upload_comment'] = 'Comentari';
|
||||
$lang['mail_hello'] = 'Hola,';
|
||||
$lang['mail_new_upload_subject'] = 'Nova imatge al lloc web';
|
||||
$lang['mail_new_upload_content'] = 'S\'ha pujat una nova imatge a la galeria. Està esperant a ser validada. Vagi al panell d\'administració per autoritzar o refusar la imatge.';
|
||||
$lang['mail_new_comment_subject'] = 'Nou comentari del lloc web';
|
||||
$lang['mail_new_comment_content'] = 'S\'ha registrat un nou comentari a la galeria. Si escull validar cada comentari, primer haurà de validar aquest comentari al panell d\'administració per fer-lo visible a la galeria.'."\n\n".'Pot veure els últims comentaris al panell d\'administració';
|
||||
$lang['connected_user'] = 'usuari connectat';
|
||||
$lang['title_comments'] = 'Comentaris dels usuaris';
|
||||
$lang['stats_last_days'] = 'últims dies';
|
||||
$lang['hint_comments'] = 'Veure els últims comentaris dels usuaris';
|
||||
$lang['menu_login'] = 'usuari';
|
||||
//-------------------------------------------------------------- administration
|
||||
if ( $isadmin )
|
||||
{
|
||||
$lang['title_liste_users'] = 'Llista d\'usuaris';
|
||||
$lang['title_history'] = 'Historial';
|
||||
$lang['title_update'] = 'Actualitzar base de dades';
|
||||
$lang['title_configuration'] = 'Configuració de PhpWebGallery';
|
||||
$lang['title_instructions'] = 'Instruccions';
|
||||
$lang['title_categories'] = 'Administració de categories';
|
||||
$lang['title_edit_cat'] = 'Editar una categoria';
|
||||
$lang['title_info_images'] = 'Modificar informació de la categoria d\'imatges';
|
||||
$lang['title_thumbnails'] = 'Creació de miniatures';
|
||||
$lang['title_thumbnails_2'] = 'per a';
|
||||
$lang['title_default'] = 'Administració de PhpWebGallery';
|
||||
$lang['menu_title'] = 'Administració';
|
||||
$lang['menu_config'] = 'Configuració';
|
||||
$lang['menu_users'] = 'Usuaris';
|
||||
$lang['menu_add_user'] = 'afegir';
|
||||
$lang['menu_list_user'] = 'llistar';
|
||||
$lang['menu_categories'] = 'Categories';
|
||||
$lang['menu_update'] = 'Actualitzar base de dades';
|
||||
$lang['menu_thumbnails'] = 'Miniatures';
|
||||
$lang['menu_history'] = 'Historial';
|
||||
$lang['menu_instructions'] = 'Instruccions';
|
||||
$lang['menu_back'] = 'Tornar a les galeries';
|
||||
$lang['title_waiting'] = 'Imatges pendents de validació';
|
||||
$lang['menu_waiting'] = 'En espera';
|
||||
$lang['default_message'] = 'Panell d\'administració de PhpWebGallery';
|
||||
$lang['conf_err_prefixe'] = 'el prefix de la miniatura no ha de contenir caràcters accentuats';
|
||||
$lang['conf_err_mail'] = 'direcció d\'E-mail refusada, ha de ser del tipus usuari@servidor.com';
|
||||
$lang['conf_err_sid_size'] = 'el tamany d\'identificador de sessió ha de ser un valor enter entre 4 i 50';
|
||||
$lang['conf_err_sid_time'] = 'el temps de sessió ha de ser un valor enter entre 5 i 60';
|
||||
$lang['conf_err_max_user_listbox'] = 'el nombre màxim d\'usuaris a la llista ha de ser un valor enter entre 0 i 255';
|
||||
$lang['conf_confirmation'] = 'Informació registrada a la base de dades';
|
||||
$lang['conf_general_title'] = 'Configuració principal';
|
||||
$lang['conf_general_webmaster'] = 'login del webmaster';
|
||||
$lang['conf_general_webmaster_info'] = 'Serà mostrat als visitants. Es necessari per a l\'administració del lloc web';
|
||||
$lang['conf_general_mail'] = 'E-mail del Webmaster';
|
||||
$lang['conf_general_mail_info'] = 'Els visitants podran contactar mitjançant aquest E-mail';
|
||||
$lang['conf_general_prefix'] = 'prefix de las miniatures';
|
||||
$lang['conf_general_prefix_info'] = 'Les miniatures utilitzaran aquest prefix. Deixar en blanc en cas de dubte.';
|
||||
$lang['conf_general_access'] = 'tipus d\'accés';
|
||||
$lang['conf_general_access_1'] = 'lliure';
|
||||
$lang['conf_general_access_2'] = 'restringit';
|
||||
$lang['conf_general_access_info'] = '- lliure: qualsevol pot entrar al site i crear un compte per personalitzar l\'apariència del lloc web<br />- restringit: el webmaster crea els comptes. Només els usuaris registrats poden entrar al lloc web';
|
||||
$lang['conf_general_max_user_listbox'] = 'màxim nombre d\'usuaris a la llista';
|
||||
$lang['conf_general_max_user_listbox_info'] = '- aquest és el nombre màx. d\'usuaris que PhpWebGallery mostrarà a la llista en lloc d\'una simple caixa de text a la plana d\'identificació<br />- introdueixi un número entre 0 i 255, 0 farà que es mostri la llista';
|
||||
$lang['conf_comments'] = 'comentaris dels usuaris';
|
||||
$lang['conf_comments_title'] = 'Configuració dels '.$lang['conf_comments'];
|
||||
$lang['conf_comments_show_comments'] = $lang['conf_comments'];
|
||||
$lang['conf_comments_show_comments_info'] = '¿mostrar comentaris dels usuaris a sota de cada imatge?';
|
||||
$lang['conf_comments_comments_number'] = 'nombre de comentaris per plana';
|
||||
$lang['conf_comments_comments_number_info'] = 'nombre de comentaris a mostrar a cada plana. Aquest nombre és ilimitat per a cada imatge. Introdueixi un número entre 5 i 50.';
|
||||
$lang['conf_err_comment_number'] = 'El nombre de comentaris per plana ha d\'estar entre 5 i 50 (inclòs).';
|
||||
$lang['conf_remote_site_delete_info'] = 'Si elimina un servidor remot, esborrarà totes les imatges i categories relacionades amb el servidor.';
|
||||
$lang['conf_upload_title'] = 'Configuració dels enviaments dels usuaris';
|
||||
$lang['conf_upload_available'] = 'autoritzada la pujada d\'imatges';
|
||||
$lang['conf_upload_maxfilesize'] = 'tamany màxim de l\'arxiu';
|
||||
$lang['conf_upload_maxfilesize_info'] = 'Tamany màxim dels arxius a pujar. Ha de ser un enter entre 10 i 1000 (Kb).';
|
||||
$lang['conf_err_upload_maxfilesize'] = 'tamany màxim dels arxius a pujar. Ha de ser un enter entre 10 i 1000 (Kb).';
|
||||
$lang['conf_upload_maxwidth'] = 'amplada màxima';
|
||||
$lang['conf_upload_maxwidth_info'] = 'Amplada màxima de les imatges a pujar. Ha de ser un número superior a 10 (píxels).';
|
||||
$lang['conf_err_upload_maxwidth'] = 'amplada màxima de les imatges a pujar. Ha de ser un número superior a 10 (píxels).';
|
||||
$lang['conf_upload_maxheight'] = 'alçada màxima';
|
||||
$lang['conf_upload_maxheight_info'] = 'Alçada màxima de les imatges a pujar. Ha de ser un número superior a 10 (píxels).';
|
||||
$lang['conf_err_upload_maxwidth'] = 'alçada màxima de les imatges a pujar. Ha de ser un número superior a 10 (píxels).';
|
||||
$lang['conf_upload_maxwidth_thumbnail'] = 'amplada màxima de les miniatures';
|
||||
$lang['conf_upload_maxwidth_thumbnail_info'] = 'Amplada màxima de les miniatures a pujar. Ha de ser un número superior a 10 (píxels).';
|
||||
$lang['conf_err_upload_maxwidth_thumbnail'] = 'amplada màxima de les miniatures a pujar. Ha de ser un número superior a 10 (píxels).';
|
||||
$lang['conf_upload_maxheight_thumbnail'] = 'alçada màxima de les miniatures';
|
||||
$lang['conf_upload_maxheight_thumbnail_info'] = 'Alçada màxima de les miniatures a pujar. Ha de ser un número superior a 10 (píxels).';
|
||||
$lang['conf_err_upload_maxheight_thumbnail'] = 'alçada màxima de les miniatures a pujar. Ha de ser un número superior a 10 (píxels).';
|
||||
$lang['conf_default_title'] = 'Propietats de visualització per defecte per a usuaris no registrats i nous comptes';
|
||||
$lang['conf_default_language_info'] = 'idioma per defecte';
|
||||
$lang['conf_default_theme_info'] = 'tema per defecte';
|
||||
$lang['conf_session_title'] = 'Configuració de les sessions';
|
||||
$lang['conf_session_size'] = 'tamany de l\'identificador';
|
||||
$lang['conf_session_size_info'] = '- com més llarg sigui l\'identificador, més segur serà el site<br />- introdueixi un número entre 4 i 50';
|
||||
$lang['conf_session_time'] = 'període de validesa';
|
||||
$lang['conf_session_time_info'] = '- com més curt sigui el període de validesa més segur serà el site<br />- introdueixi un número entre 5 i 60, en minuts';
|
||||
$lang['conf_session_key'] = 'paraula clau';
|
||||
$lang['conf_session_key_info'] = '- la paraula clau de la sessió millora la codificació de l\'identificador de sessió<br />- introdueixi una frase que no passi de 255 caràcters';
|
||||
$lang['conf_session_delete'] = 'esborrar sessions caducades';
|
||||
$lang['conf_session_delete_info'] = 'és recomanable buidar la taula de sessions de la base de dades, perquè les sessions caducades romanen a la base de dades (encara que no representen cap problema de seguretat)';
|
||||
$lang['user_err_modify'] = 'Aquest usuari no pot ser modificat ni esborrat';
|
||||
$lang['user_err_unknown'] = 'Aquest usuari no existeix a la base de dades';
|
||||
$lang['adduser_info_message'] = 'Informació registrada a la base de dades per a l\'usuari ';
|
||||
$lang['adduser_info_password_updated'] = '(contrasenya actualitzada)';
|
||||
$lang['adduser_info_back'] = 'tornar a la llista d\'usuaris';
|
||||
$lang['adduser_fill_form'] = 'Si us plau, empleni el següent formulari';
|
||||
$lang['adduser_unmodify'] = 'no-modificable';
|
||||
$lang['adduser_status'] = 'estat';
|
||||
$lang['adduser_status_admin'] = 'admin';
|
||||
$lang['adduser_status_guest'] = 'convidat';
|
||||
$lang['permuser_info_message'] = 'Permisos registrats';
|
||||
$lang['permuser_title'] = 'Restriccions per a l\'usuari';
|
||||
$lang['permuser_warning'] = 'Atenció : un "<span style="font-weight:bold;">accés prohibit</span>" a l\'arrel d\'una categoria denega l\'accés a tota la categoria';
|
||||
$lang['permuser_authorized'] = 'autoritzat';
|
||||
$lang['permuser_forbidden'] = 'prohibit';
|
||||
$lang['permuser_parent_forbidden'] = 'categoria superior prohibida';
|
||||
$lang['listuser_confirm'] = 'Realment desitja esborrar aquest usuari?';
|
||||
$lang['listuser_info_deletion'] = 'esborrat de la base de dades';
|
||||
$lang['listuser_user_group'] = 'Grup d\'usuaris';
|
||||
$lang['listuser_modify'] = 'modificar';
|
||||
$lang['listuser_modify_hint'] = 'modificar la informació de';
|
||||
$lang['listuser_permission'] = 'permisos';
|
||||
$lang['listuser_permission_hint'] = 'modifica els permisos de';
|
||||
$lang['listuser_delete'] = 'esborrar';
|
||||
$lang['listuser_delete_hint'] = 'esborrar usuari';
|
||||
$lang['listuser_button_all'] = 'tots';
|
||||
$lang['listuser_button_invert'] = 'invertir';
|
||||
$lang['listuser_button_create_address'] = 'crear adreça de correu';
|
||||
$lang['cat_invisible'] = 'invisible';
|
||||
$lang['cat_edit'] = 'Editar';
|
||||
$lang['cat_up'] = 'Pujar';
|
||||
$lang['cat_down'] = 'Baixar';
|
||||
$lang['cat_image_info'] = 'Informació de les imatges';
|
||||
$lang['cat_total'] = 'total';
|
||||
$lang['editcat_confirm'] = 'Informació registrada a la base de dades';
|
||||
$lang['editcat_back'] = 'categories';
|
||||
$lang['editcat_title1'] = 'Opcions per al';
|
||||
$lang['editcat_name'] = 'Nom';
|
||||
$lang['editcat_comment'] = 'Comentari';
|
||||
$lang['editcat_status'] = 'Estat';
|
||||
$lang['infoimage_general'] = 'Opcions generals per a la categoria';
|
||||
$lang['infoimage_useforall'] = 'utilitzar per a totes les imatges?';
|
||||
$lang['infoimage_creation_date'] = 'data de creació';
|
||||
$lang['infoimage_detailed'] = 'Opció per a cada imatge';
|
||||
$lang['infoimage_title'] = 'títol';
|
||||
$lang['infoimage_comment'] = 'comentari';
|
||||
$lang['update_missing_tn'] = 'no hi ha miniatura per a';
|
||||
$lang['update_disappeared_tn'] = 'la miniatura no existeix';
|
||||
$lang['update_disappeared'] = 'no existeix';
|
||||
$lang['update_part_deletion'] = 'Esborrat d\'imatges que no tenen miniatura o que no existeixen';
|
||||
$lang['update_deletion_conclusion'] = 'imatges esborrades de la base de dades';
|
||||
$lang['update_part_research'] = 'Buscar noves imatges als directoris';
|
||||
$lang['update_research_added'] = 'afegides';
|
||||
$lang['update_research_tn_ext'] = 'miniatures a';
|
||||
$lang['update_research_conclusion'] = 'imatges afegides a la base de dades';
|
||||
$lang['update_default_title'] = 'Esculli una opció';
|
||||
$lang['update_only_cat'] = 'actualitzar categories, no imatges';
|
||||
$lang['update_all'] = 'actualitzar totes';
|
||||
$lang['tn_width'] = 'amplada';
|
||||
$lang['tn_height'] = 'alçada';
|
||||
$lang['tn_no_support'] = 'Imatge inaccessible o sense suport';
|
||||
$lang['tn_format'] = 'per al format d\'arxiu';
|
||||
$lang['tn_thisformat'] = 'per a aquest format d\'arxiu';
|
||||
$lang['tn_err_width'] = 'l\'amplada ha de ser un número superior a';
|
||||
$lang['tn_err_height'] = 'l\'alçada ha de ser un número superior a';
|
||||
$lang['tn_results_title'] = 'Resultats de la miniaturització';
|
||||
$lang['tn_picture'] = 'imatge';
|
||||
$lang['tn_results_gen_time'] = 'generada en';
|
||||
$lang['tn_stats'] = 'Estadístiques generals';
|
||||
$lang['tn_stats_nb'] = 'nombre d\'imatges miniaturitzades';
|
||||
$lang['tn_stats_total'] = 'temps total';
|
||||
$lang['tn_stats_max'] = 'temps màx.';
|
||||
$lang['tn_stats_min'] = 'temps mín.';
|
||||
$lang['tn_stats_mean'] = 'temps mitjà';
|
||||
$lang['tn_err'] = 'Ha comès errors';
|
||||
$lang['tn_params_title'] = 'Paràmetres de la miniaturització';
|
||||
$lang['tn_params_GD'] = 'Versió de GD';
|
||||
$lang['tn_params_GD_info'] = '- GD és la llibreria de manipulació de miniatures per a PHP<br />-esculli la versió instal·lada en el seu servidor. Si n\'escull una d\'incorrecta, obtindrà missatges d\'error, torni enrere amb el seu navegador i esculli una altra versió. Si no funciona, és que el seu servidor no suporta GD.';
|
||||
$lang['tn_params_width_info'] = 'màxima amplada de les miniatures';
|
||||
$lang['tn_params_height_info'] = 'màxima alçada de les miniatures';
|
||||
$lang['tn_params_create'] = 'crear';
|
||||
$lang['tn_params_create_info'] = 'No intenti miniaturitzar massa imatges a la vegada.<br />De fet, la miniaturització utilitza molts recursos de la CPU. Si va instal·lar PhpWebGallery a un proveïdor gratuït, una sobrecàrrega de la CPU pot derivar en l\'eliminació del seu lloc web.';
|
||||
$lang['tn_params_format'] = 'format d\'arxiu';
|
||||
$lang['tn_params_format_info'] = 'únicament es permet el format JPG per a la creació de miniatures.';
|
||||
$lang['tn_alone_title'] = 'imatge sense miniatura (només JPG i PNG)';
|
||||
$lang['tn_dirs_title'] = 'Llista de directoris';
|
||||
$lang['tn_dirs_alone'] = 'imatges sense miniatura';
|
||||
$lang['help_images_title'] = 'Afegir imatges';
|
||||
$lang['help_images_intro'] = 'Com posar les imatges als seus directoris';
|
||||
$lang['help_images'][0] = 'al directori "galleries", creï directoris que representin a les seves categories.';
|
||||
$lang['help_images'][1] = 'a cada directori, pot crear tants subdirectoris com desitgi.';
|
||||
$lang['help_images'][2] = 'pot crear tantes categories i subcategories com desitgi.';
|
||||
$lang['help_images'][3] = 'les imatges han de ser en format JPG (extensió jpg ó JPG), format GIF (extensió gif ó GIF) o format PNG (extensió png ó PNG).';
|
||||
$lang['help_images'][4] = 'intenti NO utilitzar espais en blanc " " ni guions "-" als noms d\'imatge, li recomanem utilitzar el caràcter "_" de subratllat suportat per PhpWebGallery i obtindrà millors resultats.';
|
||||
$lang['help_thumbnails_title'] = 'Miniatures';
|
||||
$lang['help_thumbnails'][0] = 'a cada directori que contingui imatges a mostrar, ha d\'haver-hi un subdirectori amb el nom "thumbnail", si no existeix, creï\'l i posi les miniatures dins d\'ell.';
|
||||
$lang['help_thumbnails'][1] = 'les miniatures no necessiten tenir la mateixa extensió que la seva imatge associada (una imatge en format .JPG pot tenir associada una miniatura en format .GIF).';
|
||||
$lang['help_thumbnails'][2] = 'la miniatura associada a la imatge ha de tenir el prefix que es va indicar a la plana de configuració (imatge.jpg -> TN_imatge.GIF, per exemple).';
|
||||
$lang['help_thumbnails'][3] = 'li recomanem utilitzar el mòdul per a Windows, descarregable al site de presentació de PhpWebGallery, per a la gestió de les miniatures.';
|
||||
$lang['help_thumbnails'][4] = 'pot utilitzar la plana de creació de miniatures integrada a PhpWebGallery, però no és aconsellable, perquè la qualitat pot ser bastant pobre i carrega bastant la CPU, cosa que pot ser un problema si utilitza un servidor gratuït.';
|
||||
$lang['help_thumbnails'][5] = 'si escull utilitzar al seu proveïdor de hosting per crear les miniatures, ha de donar els drets 775 a la carpeta "galleries" i a totes les seves subcarpetes.';
|
||||
$lang['help_database_title'] = 'Actualitzant la base de dades';
|
||||
$lang['help_database'][0] = 'un cop ubicades correctament les imatges i miniatures als directoris, polsi a "database update" al menú del panell d\'administració.';
|
||||
$lang['help_infos_title'] = 'Informació diversa';
|
||||
$lang['help_infos'][1] = 'Un cop hagi creat la seva galeria, vagi a la llista d\'usuaris i modifiqui els permisos per al "visiteur". De fet, cada nou usuari tindrà per defecte els mateixos permisos que l\'usuari "visiteur".';
|
||||
$lang['help_remote_title'] = 'Site remot';
|
||||
$lang['help_remote'][0] = 'PhpWebGallery ofereix la possibilitat d\'utilitzar diversos servidors per emmagatzemar les imatges que componen la seva galeria. Pot ser útil si la seva galeria està instal·lada en un espai web reduït i té gran quantitat d\'imatges per mostrar. Si us plau, segueixi el següent procediment: ';
|
||||
$lang['help_remote'][1] = '1. Editi el fitxer "create_listing_file.php" (el trobarà al directori "admin"), i modifiqui la línia "$prefix_thumbnail = "TN-";" si el prefix de les seves miniatures no és "TN-".';
|
||||
$lang['help_remote'][2] = '2. Posi l\'arxiu "create_listing_file.php" modificat al seu website remot, al directori arrel dels seus directoris d\'imatges (com el directori "galleries" d\'aquest website), mitjançant l\'ftp.';
|
||||
$lang['help_remote'][3] = '3. Executi l\'script utilitzant la url http://DominiRemot/Galeria/create_listing_file.php, i es crearà l\'arxiu listing.xml.';
|
||||
$lang['help_remote'][4] = '4. Recuperi el fitxer listing.xml del seu website remot i posi\'l al directori "admin" d\'aquest website.';
|
||||
$lang['help_remote'][5] = '5. Si us plau, realitzi una actualització de les dades de les imatges mitjançant l\'interface d\'administració, i un cop utilitzat el fitxer listing.xml, esborri\'l del directori "admin".';
|
||||
$lang['help_remote'][6] = 'Pot actualitzar els continguts del site remot repetint els passos descrits. També pot eliminar el site remot escollint l\'opció a la secció de configuració del panell d\'administració.';
|
||||
$lang['help_upload_title'] = 'Imatges afegides pels usuaris';
|
||||
$lang['help_upload'][0] = 'PhpWebGallery ofereix la possibilitat als usuaris de pujar imatges. Per fer-ho:';
|
||||
$lang['help_upload'][1] = '1. Autoritzi l\'opció a la zona de configuració del panell d\'administració';
|
||||
$lang['help_upload'][2] = '2. Autoritzi els drets d\'escriptura als directoris d\'imatges';
|
||||
$lang['install_message'] = 'Missatge';
|
||||
$lang['step1_confirmation'] = 'Paràmetres correctes';
|
||||
$lang['step1_err_db'] = 'Connexió al servidor realitzada, però impossible connectar amb la base de dades';
|
||||
$lang['step1_err_server'] = 'No es pot connectar al servidor';
|
||||
$lang['step1_err_copy_2'] = 'Es pot procedir al següent pas de la instal·lació';
|
||||
$lang['step1_err_copy_next'] = 'següent pas';
|
||||
$lang['step1_title'] = 'Pas 1/2';
|
||||
$lang['step1_host'] = 'Servidor MySQL';
|
||||
$lang['step1_host_info'] = 'localhost, sql.multimania.com, toto.freesurf.fr';
|
||||
$lang['step1_user'] = 'usuari';
|
||||
$lang['step1_user_info'] = 'nom d\'usuari proporcionat pel seu proveïdor';
|
||||
$lang['step1_pass'] = 'Contrasenya';
|
||||
$lang['step1_pass_info'] = 'contrasenya d\'usuari proporcionada pel seu proveïdor';
|
||||
$lang['step1_database'] = 'Nom de la base de dades';
|
||||
$lang['step1_database_info'] = 'també proporcionat pel seu proveïdor';
|
||||
$lang['step1_prefix'] = 'Prefix per a les taules a la base de dades';
|
||||
$lang['step1_prefix_info'] = 'els noms de les taules de la base de dades hauran de dur un prefix (facilita la gestió de les taules)';
|
||||
$lang['step2_err_login1'] = 'introdueixi un nom d\'usuari per al webmaster';
|
||||
$lang['step2_err_login3'] = 'el nom del Webmaster no pot incloure caràcters com \' o "';
|
||||
$lang['step2_err_pass'] = 'si us plau, confirmi la seva contrasenya';
|
||||
$lang['step2_err_mail'] = $lang['conf_err_mail'];
|
||||
$lang['install_end_title'] = 'Instal·lació finalitzada';
|
||||
$lang['install_end_message'] = 'La configuració de PhpWebGallery s\'ha acabat, aquest és el següent pas<br /><br />
|
||||
Per raons de seguretat, si us plau esborri el fitxer "install.php" del directori "admin"<br />
|
||||
Un cop esborrat, segueixi aquestes instruccions:
|
||||
<ul>
|
||||
<li>vagi a la plana d\'identificació: [ <a href="../identification.php">identificació</a> ] i introdueixi l\'usuari/contrasenya assignats al webmaster</li>
|
||||
<li>Aquesta identificació li donarà accés al [ <a href="admin.php">panell d\'administració</a> ] i a les instruccions necessàries per posar imatges als seus directoris</li>
|
||||
</ul>';
|
||||
$lang['step2_title'] = 'Pas 2/2';
|
||||
$lang['step2_pwd'] = 'contrasenya del webmaster';
|
||||
$lang['step2_pwd_info'] = 'Mantingui-la confidencial, ja que li dóna accés al panell d\'administració';
|
||||
$lang['step2_pwd_conf'] = 'confirmar contrasenya';
|
||||
$lang['step2_pwd_conf_info'] = 'verificació';
|
||||
// new or modified in release 1.3
|
||||
$lang['remote_site'] = 'Site remot';
|
||||
$lang['title_add'] = 'Afegir usuari';
|
||||
$lang['title_modify'] = 'Modificar usuari';
|
||||
$lang['title_groups'] = 'Gestió de grups';
|
||||
$lang['title_user_perm'] = 'Modificar permisos per a l\'usuari';
|
||||
$lang['title_cat_perm'] = 'Modificar permisos per a la categoria';
|
||||
$lang['title_group_perm'] = 'Modificar permisos per al grup';
|
||||
$lang['title_picmod'] = 'Modificar informació de la imatge';
|
||||
$lang['menu_groups'] = 'Grups';
|
||||
$lang['menu_comments'] = 'Comentaris';
|
||||
$lang['conf_general_log'] = 'historial';
|
||||
$lang['conf_general_log_info'] = 'Mantenir historial de visites del seu lloc web? Les visites es mostraran a la secció d\'historial del panell d\'administració';
|
||||
$lang['conf_general_mail_notification'] = 'Notificació per correu';
|
||||
$lang['conf_general_mail_notification_info'] = 'Notificació automàtica de correu per als administradors (i només per a ells) quan un usuari afegeixi un comentari o pugi una imatge.';
|
||||
$lang['conf_comments_validation'] = 'validació';
|
||||
$lang['conf_comments_validation_info'] = 'Un administrador valida els comentaris enviats pels usuaris abans de que siguin visibles al lloc web.';
|
||||
$lang['conf_comments_forall'] = 'per a tots?';
|
||||
$lang['conf_comments_forall_info'] = 'Els usuaris no registrats poden enviar comentaris';
|
||||
$lang['conf_default_nb_image_per_row_info'] = 'nombre d\'imatges per fila per defecte';
|
||||
$lang['conf_default_nb_row_per_page_info'] = 'nombre de files per plana per defecte';
|
||||
$lang['conf_default_short_period_info'] = 'Per dies. Període durant el qual una imatge es mostra amb la marca vermella. El període curt ha de ser superior a 1 dia.';
|
||||
$lang['conf_default_long_period_info'] = 'Per dies. Període durant el qual una imatge es mostra amb la marca verda. El període llarg ha de ser superior al període curt.';
|
||||
$lang['conf_default_expand_info'] = 'expandir totes les categories per defecte al menú?';
|
||||
$lang['conf_default_show_nb_comments_info'] = 'mostrar el nombre de comentaris per a cada imatge a la plana de miniatures';
|
||||
$lang['conf_default_maxwidth_info'] = 'Màxima amplada per a la visualització d\'imatges: la imatge tindrà una nova amplada només per a la visualització, els arxius d\'imatge no es canviaran. Deixi-ho buit si no vol posar límit.';
|
||||
$lang['conf_default_maxheight_info'] = 'Només com la màxima amplada, excepte per a l\'alçada';
|
||||
$lang['conf_session_cookie'] = 'autoritzar cookies';
|
||||
$lang['conf_session_cookie_info'] = 'els usuaris no hauran d\'identificar-se a cada visita. Menys segur.';
|
||||
$lang['adduser_associate'] = 'Associar al grup';
|
||||
$lang['group_add'] = 'Afegir un grup';
|
||||
$lang['group_add_error1'] = 'El nom del grup no ha d\'incloure " o \'';
|
||||
$lang['group_add_error2'] = 'El nom ja l\'utilitza un altre grup';
|
||||
$lang['group_confirm'] = 'Està segur de que vol esborrar aquest grup?';
|
||||
$lang['group_list_title'] = 'Llista de grups existents';
|
||||
$lang['group_err_unknown'] = 'Aquest grup no existeix a la base de dades';
|
||||
$lang['cat_permission'] = 'permisos';
|
||||
$lang['cat_update'] = 'actualitzar';
|
||||
$lang['cat_add'] = 'Afegir una categoria virtual';
|
||||
$lang['cat_parent'] = 'categoria pare';
|
||||
$lang['cat_error_name'] = 'El nom de la categoria no ha d\'estar buit';
|
||||
$lang['cat_virtual'] = 'virtual';
|
||||
$lang['cat_first'] = 'Posar primera';
|
||||
$lang['cat_last'] = 'Posar última';
|
||||
$lang['editcat_visible_info'] = '(invisible excepte per als administradors)';
|
||||
$lang['editcat_visible'] = 'Visible';
|
||||
$lang['editcat_uploadable'] = 'Pujar disponible';
|
||||
$lang['infoimage_keyword_separation'] = '(separar amb coma ",")';
|
||||
$lang['infoimage_addtoall'] = 'afegir a totes';
|
||||
$lang['infoimage_removefromall'] = 'esborrar de totes';
|
||||
$lang['infoimage_associate'] = 'Associar a la categoria';
|
||||
$lang['update_wrong_dirname'] = 'El nom dels directoris i dels arxius ha d\'estar compost de lletres, xifres, "-", "_" o "."';
|
||||
$lang['stats_pages_seen'] = 'planes visitades';
|
||||
$lang['stats_visitors'] = 'convidats';
|
||||
$lang['stats_empty'] = 'esborrar historial';
|
||||
$lang['stats_pages_seen_graph_title'] = 'Nombre de planes visitades per dia';
|
||||
$lang['stats_visitors_graph_title'] = 'Nombre de convidats per dia';
|
||||
$lang['comments_last_title'] = 'Darrers comentaris';
|
||||
$lang['comments_non_validated_title'] = 'Comentaris en espera de validació';
|
||||
$lang['help_database'][1] = 'Per a evitar l\'actualització de massa imatges en una actualització simple, li recomanem que comenci actualitzant només les categories, i llavors a la secció de categories del panell d\'administració, actualitzi cada categoria des de l\'enllaç "actualitzar"';
|
||||
$lang['help_upload'][3] = 'La categoria ha de tenir habilitat "pujar" per poder fer-ho.';
|
||||
$lang['help_upload'][4] = 'Les imatges pujades pels usuaris no estan directament visibles al lloc web, han de ser validades per l\'administrador. Per fer-ho, un administrador ha d\'entrar a la plana "en attente" del panell d\'administració, per validar o refusar les imatges proposades, i llavors realitzar una actualització de les dades de les imatges.';
|
||||
$lang['help_virtual_title'] = 'Enllaços entre les imatges i les categories i les categories virtuals';
|
||||
$lang['help_virtual'][0] = 'PhpWebGallery és capaç de diferenciar les categories on les imatges estan guardades i les categories on les imatges es mostren.';
|
||||
$lang['help_virtual'][1] = 'Per defecte, les imatges només es mostren a les seves categories reals: les que es corresponguin als directoris al servidor web.';
|
||||
$lang['help_virtual'][2] = 'Per a enllaçar una imatge a una categoria, només ha de fer l\'associació a la pàgina d\'informació de la imatge o a les informacions de totes les imatges d\'una categoria.';
|
||||
$lang['help_virtual'][3] = 'Utilitzant aquest principi, és possible crear categories virtuals a PhpWebGallery: cap directori real correspon a aquesta categoria. Només ha de crear aquesta categoria a la secció de "categories" del panell d\'administració.';
|
||||
$lang['help_groups_title'] = 'Grups d\'Usuaris';
|
||||
$lang['help_groups'][0] = 'PhpWebGallery pot gestionar grups d\'usuaris. Pot ser molt útil tenir un permís d\'accés comú per a les categories privades.';
|
||||
$lang['help_groups'][1] = '1. Crear el grup "família" a la secció "Grups" del panell d\'administració.';
|
||||
$lang['help_groups'][2] = '2. A la secció d\'"Usuaris", editi un d\'ells i associï\'l al grup "família".';
|
||||
$lang['help_groups'][3] = '3. Modificant els permisos d\'una categoria o grup, veurà que totes les categories accessibles per a un grup són accessibles per als seus membres.';
|
||||
$lang['help_groups'][4] = 'Un usuari pot pertànyer a diversos grups. L\'autorització té més pes que la prohibició: si l\'usuari "pep" pertany al grup "família" i "amics", i només el grup "família" pot veure la categoria "Nadal 2003", "pep" podrà veure "Nadal 2003".';
|
||||
$lang['help_access_title'] = 'Autorització d\'accés';
|
||||
$lang['help_access'][0] = 'PhpWebGallery pot prohibir l\'accés a les categories. Les categories poden ser "públiques" o "privades". Per prohibir l\'accés a una categoria:';
|
||||
$lang['help_access'][1] = '1. Modifiqui les informacions de la categoria (des de la secció de "categories" al panell d\'administració) i faci-la "privada".';
|
||||
$lang['help_access'][2] = '2. A la pàgina de permisos (per a un grup o un usuari) la categoria privada es mostrarà i podrà autoritzar l\'accés o no.';
|
||||
$lang['help_infos'][2] = 'Si té alguna pregunta, no dubti en entrar al fòrum o realitzi una consulta des d\'allà. El <a href="'.$conf['forum_url'].'" style="text-decoration:underline">fòrum</a> (taulell de missatges) està disponible al site de presentació de PhpWebGallery.';
|
||||
$lang['step1_err_copy'] = 'Copiï el text entre parèntesi i enganxi\'l a l\'arxiu "include/mysql.inc.php"(Atenció: mysql.inc.php només ha de contenir el que està en blau, sense cap salt de línia ni espai)';
|
||||
$lang['permuser_only_private'] = 'Només es mostren les categories privades';
|
||||
$lang['waiting_update'] = 'Les imatges validades seran mostrades quan s\'actualitzi la base de dades de les imatges';
|
||||
$lang['conf_upload_available_info'] = 'Autoritzant la pujada d\'imatges pels usuaris a les categories del lloc web (no a un servidor remot). Aquest és un paràmetre general, és necessari autoritzar la pujada categoria per categoria, ja que per defecte no es poden pujar imatges a les categories.';
|
||||
$lang['install_help'] = 'Necessita ajuda? Realitzi la seva consulta al <a href="http://forum.phpwebgallery.net">Taulell de missatges de PhpWebGallery</a>.';
|
||||
$lang['install_warning'] = 'L\'arxiu "admin/install.php" encara està present. Si us plau, elimini\'l del seu servidor. No és segur mantenir-lo.';
|
||||
// new or modified in release 1.3.1
|
||||
$lang['cat_unknown_id'] = 'This category is unknown in the database';
|
||||
}
|
||||
?>
|
551
language/czech.php
Normal file
551
language/czech.php
Normal file
|
@ -0,0 +1,551 @@
|
|||
<?php
|
||||
/***************************************************************************
|
||||
* english.php *
|
||||
* ------------------- *
|
||||
* application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
|
||||
* author : Pierrick LE GALL <pierrick@z0rglub.com> *
|
||||
* *
|
||||
* $Id$
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* 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; *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
$lang['only_members'] = 'Na tyto stránky mají pøístup pouze èlenové';
|
||||
$lang['invalid_pwd'] = 'Špatné heslo!';
|
||||
$lang['access_forbiden'] = 'Na tuto stránku nemáte pøístup';
|
||||
$lang['submit'] = 'Odeslat';
|
||||
$lang['login'] = 'pøihlásit';
|
||||
$lang['password'] = 'heslo';
|
||||
$lang['new'] = 'nové';
|
||||
$lang['delete'] = 'smazat';
|
||||
$lang['category'] = 'kategorie';
|
||||
$lang['thumbnail'] = 'thumbnail';
|
||||
$lang['date'] = 'datum';
|
||||
$lang['diapo_default_page_title'] = 'Nebyla vybrána kategorie';
|
||||
$lang['thumbnails'] = 'Thumbnails';
|
||||
$lang['categories'] = 'Kategorie';
|
||||
$lang['hint_category'] = 'zobraz obrázky v koøeni této kategorie';
|
||||
$lang['total_images'] = 'celkem';
|
||||
$lang['title_menu'] = 'Menu';
|
||||
$lang['change_login'] = 'pøihlásit';
|
||||
$lang['login'] = 'jméno';
|
||||
$lang['hint_login'] = 'identification enables site\'s appareance customization';
|
||||
$lang['logout'] = 'odhlásit';
|
||||
$lang['customize'] = 'nastavení';
|
||||
$lang['hint_customize'] = 'pøizpùsobit vzhled galerie';
|
||||
$lang['hint_search'] = 'hledat';
|
||||
$lang['search'] = 'hledat';
|
||||
$lang['favorite_cat'] = 'oblíbené';
|
||||
$lang['favorite_cat_hint'] = 'zobrazit Vaše oblíbené';
|
||||
$lang['about'] = 'O ...';
|
||||
$lang['hint_about'] = 'více informací o PhpWebGallery...';
|
||||
$lang['admin'] = 'admin';
|
||||
$lang['hint_admin'] = 'dostupné pouze pro administrátory';
|
||||
$lang['no_category'] = 'Nebyla vybrána kategorie<br />prosím, vyberte ji v menu';
|
||||
$lang['page_number'] = 'stránka èislo';
|
||||
$lang['previous_page'] = 'Pøedchozí';
|
||||
$lang['next_page'] = 'Další';
|
||||
$lang['nb_image_category'] = 'poèet obrázkù v kategorii';
|
||||
$lang['recent_image'] = 'obrázky bìhem';
|
||||
$lang['days'] = 'dní';
|
||||
$lang['send_mail'] = 'Máte nìjaký komentáø? ? Pošlete e-mail na';
|
||||
$lang['title_send_mail'] = 'A comment on your site';
|
||||
$lang['sub-cat'] = 'podkategorie';
|
||||
$lang['images_available'] = 'obrázky v této kategorii';
|
||||
$lang['total'] = 'obrázkù';
|
||||
$lang['upload_picture'] = 'Pøidat obrázek';
|
||||
$lang['registration_date'] = 'registrován';
|
||||
$lang['creation_date'] = 'vytvoøen';
|
||||
$lang['comment'] = 'komentáø';
|
||||
$lang['author'] = 'autor';
|
||||
$lang['size'] = 'velikost';
|
||||
$lang['filesize'] = 'velikost souboru';
|
||||
$lang['file'] = 'soubor';
|
||||
$lang['generation_time'] = 'Stránka vygenerována';
|
||||
$lang['favorites'] = 'Oblíbené';
|
||||
$lang['search_result'] = 'Výsledky vyhledávání';
|
||||
$lang['about_page_title'] = 'O PhpWebGallery';
|
||||
$lang['about_title'] = 'O...';
|
||||
$lang['about_message'] = '<div style="text-align:center;font-weigh:bold;">Informace o PhpWebGallery</div>
|
||||
<ul>
|
||||
<li>Tyto stránky používají <a href="'.$conf['site_url'].'" style="text-decoration:underline">PhpWebGallery</a> release '.$conf['version'].'. PhpWebGallery je webová aplikace, která Vám umožòuje jednoduše vytváøet online obrázkovou galerii.</li>
|
||||
<li>Technicaly, PhpWebGallery is fully developped with PHP (the elePHPant) with a MySQL database (the SQuirreL).</li>
|
||||
<li>If you have any suggestions or comments, please visit <a href="'.$conf['site_url'].'" style="text-decoration:underline">PhpWebGallery</a> official site, and its dedicated <a href="'.$conf['forum_url'].'" style="text-decoration:underline">forum</a>.</li>
|
||||
</ul>';
|
||||
$lang['about_return'] = 'Zpìt';
|
||||
$lang['ident_page_title'] = 'Pøihlášení';
|
||||
$lang['ident_title'] = 'Pøihlášení';
|
||||
$lang['ident_register'] = 'Registrovat';
|
||||
$lang['ident_forgotten_password'] = 'Zapomìli jste heslo ?';
|
||||
$lang['ident_guest_visit'] = 'Procházet galerii jako host';
|
||||
$lang['customize_page_title'] = 'Pøispùspbení';
|
||||
$lang['customize_title'] = 'Pøispùspbení';
|
||||
$lang['customize_nb_image_per_row'] = 'poèet obrázkú na øádek';
|
||||
$lang['customize_nb_row_per_page'] = 'poèet obrázkú na stránku';
|
||||
$lang['customize_language'] = 'jazyk';
|
||||
$lang['maxwidth'] = 'maximální šíøka obrázkù';
|
||||
$lang['maxheight'] = 'maximální výška obrázkù';
|
||||
$lang['err_maxwidth'] = 'maximální šíøka musí být èíslo vyšší než 50';
|
||||
$lang['err_maxheight'] = 'maximální výška musí být èíslo vyšší než 50';
|
||||
$lang['previous_image'] = 'Pøedchozí';
|
||||
$lang['next_image'] = 'Další';
|
||||
$lang['back'] = 'Kliknutím na obrázek se vrátíte zpìt na stránku s náhledy';
|
||||
$lang['info_image_title'] = 'Informace o obrázku';
|
||||
$lang['link_info_image'] = 'Zmìnit informace';
|
||||
$lang['true_size'] = 'Reálná velikost';
|
||||
$lang['comments_title'] = 'Komentáøe od uživatelù tìchto stránek';
|
||||
$lang['comments_del'] = 'smazat tento komentáø';
|
||||
$lang['comments_add'] = 'Pøidat komentáø';
|
||||
$lang['month'][1] = 'Leden';
|
||||
$lang['month'][2] = 'Únor';
|
||||
$lang['month'][3] = 'Bøezen';
|
||||
$lang['month'][4] = 'Duben';
|
||||
$lang['month'][5] = 'Kvìten';
|
||||
$lang['month'][6] = 'Èerven';
|
||||
$lang['month'][7] = 'Èervenec';
|
||||
$lang['month'][8] = 'Srpen';
|
||||
$lang['month'][9] = 'Záøí';
|
||||
$lang['month'][10] = 'Øíjen';
|
||||
$lang['month'][11] = 'Listopad';
|
||||
$lang['month'][12] = 'Prosinec';
|
||||
$lang['day'][0] = 'Nedìle';
|
||||
$lang['day'][1] = 'Pondìlí';
|
||||
$lang['day'][2] = 'Úterý';
|
||||
$lang['day'][3] = 'Støeda';
|
||||
$lang['day'][4] = 'Ètvrtek';
|
||||
$lang['day'][5] = 'Pátek';
|
||||
$lang['day'][6] = 'Sobota';
|
||||
$lang['add_favorites_alt'] = 'Pøidat k oblíbeným';
|
||||
$lang['add_favorites_hint'] = 'Pøidat tento obrázek k oblíbeným';
|
||||
$lang['del_favorites_alt'] = 'Smazat z oblíbených';
|
||||
$lang['del_favorites_hint'] = 'Smazat tento obrázek z oblíbených';
|
||||
$lang['register_page_title'] = 'Registrace';
|
||||
$lang['register_title'] = 'Registrace';
|
||||
$lang['reg_err_login1'] = 'Prosím, zadejte login';
|
||||
$lang['reg_err_login2'] = 'login nesmí konèit prázdným znakem';
|
||||
$lang['reg_err_login3'] = 'login nesmí zaèínat mezerou';
|
||||
$lang['reg_err_login4'] = 'login nesmí obsahovat znak " a \'';
|
||||
$lang['reg_err_login5'] = 'tento login je již registrován';
|
||||
$lang['reg_err_pass'] = 'prosím zadejte Vaše heslo znova';
|
||||
$lang['reg_confirm'] = 'potvrdit heslo';
|
||||
$lang['reg_err_mail_address'] = 'e-mail adresa musí být ve formátu xxx@yyy.eee (napø. : jack@altern.org)';
|
||||
$lang['search_title'] = 'Hledat';
|
||||
$lang['invalid_search'] = 'vyhledávání musí být minimálnì 3 znaky';
|
||||
$lang['search_field_search'] = 'Hledat';
|
||||
$lang['search_return_main_page'] = 'Zpìt na stránku s náhledy';
|
||||
$lang['upload_forbidden'] = 'Do této kategorie nemùžete uploadovat obrázky';
|
||||
$lang['upload_file_exists'] = 'Obrázek je již používán';
|
||||
$lang['upload_filenotfound'] = 'Pro tento obrázek musíte vybrat formát';
|
||||
$lang['upload_cannot_upload'] = 'nelze uploadovat obrázek na server';
|
||||
$lang['upload_title'] = 'Upload obrázek';
|
||||
$lang['upload_advise'] = 'Zvolte obrázek, který chcete umístin v kategorii : ';
|
||||
$lang['upload_advise_thumbnail'] = 'Volitelné, ale doporuèené : zvlote náhled k asocici ';
|
||||
$lang['upload_advise_filesize'] = 'velikost obrázku nesmí pøekroèit : ';
|
||||
$lang['upload_advise_width'] = 'šíøka obrázku nesmí pøekroèit : ';
|
||||
$lang['upload_advise_height'] = 'výška obrázku nesmí pøekroèit : ';
|
||||
$lang['upload_advise_filetype'] = 'formát obrázku musí být jpg, gif nebo png';
|
||||
$lang['upload_err_username'] = 'musí být zadáno uživatelské jméno';
|
||||
$lang['upload_username'] = 'Uživatelské jméno';
|
||||
$lang['upload_successful'] = 'Obrázek byl úspìšnì nahrán, administrátor jej registruje jakmile to bude možné';
|
||||
// new or modified in release 1.3
|
||||
$lang['charset'] = 'windows-1250';
|
||||
$lang['no'] = 'ne';
|
||||
$lang['yes'] = 'ano';
|
||||
$lang['guest'] = 'host';
|
||||
$lang['mail_address'] = 'e-mailová adresa';
|
||||
$lang['public'] = 'veøejné';
|
||||
$lang['private'] = 'soukromé';
|
||||
$lang['add'] = 'pøidat';
|
||||
$lang['dissociate'] = 'oddìlit';
|
||||
$lang['mandatory'] = 'povinný';
|
||||
$lang['err_date'] = 'špatné datum';
|
||||
$lang['picture'] = 'obrázek';
|
||||
$lang['IP'] = 'IP';
|
||||
$lang['close'] = 'zavøít';
|
||||
$lang['open'] = 'otevøít';
|
||||
$lang['keywords'] = 'Klíèová slova';
|
||||
$lang['errors_title'] = 'Chyba';
|
||||
$lang['infos_title'] = 'Informace';
|
||||
$lang['default'] = 'default';
|
||||
$lang['comments'] = 'komentáøe';
|
||||
$lang['category_representative'] = 'zástupce';
|
||||
$lang['stats'] = 'statistiky';
|
||||
$lang['most_visited_cat_hint'] = 'zobrazí nejnavštìvovanìjší obrázky';
|
||||
$lang['most_visited_cat'] = 'nejnavštìvovanìjší';
|
||||
$lang['best_rated_cat_hint'] = 'zobrazí nejhodnocenìjší obrázky';
|
||||
$lang['best_rated_cat'] = 'nejhodnocenìjší';
|
||||
$lang['recent_cat_hint'] = 'zobrazí nejposlednìjší obrázky';
|
||||
$lang['recent_cat'] = 'nejposlednìjší';
|
||||
$lang['recent_cat_title'] = 'Nejposlednìjší obrázky';
|
||||
$lang['visited'] = 'navštíveno';
|
||||
$lang['times'] = 'krát';
|
||||
$lang['customize_theme'] = 'téma';
|
||||
$lang['customize_expand'] = 'rozbali všechny kategorie';
|
||||
$lang['customize_show_nb_comments'] = 'zobrazit poèet komentáøù';
|
||||
$lang['customize_short_period'] = 'krátké období';
|
||||
$lang['customize_long_period'] = 'dlouhé období';
|
||||
$lang['customize_template'] = 'template';
|
||||
$lang['err_periods'] = 'periods must be integer values';
|
||||
$lang['err_periods_2'] = 'periods must be superior to 0. The long period must be grater than the short period.';
|
||||
$lang['create_cookie'] = 'create a cookie';
|
||||
$lang['customize_day'] = 'day';
|
||||
$lang['customize_week'] = 'week';
|
||||
$lang['customize_month'] = 'month';
|
||||
$lang['customize_year'] = 'year';
|
||||
$lang['slideshow'] = 'slideshow';
|
||||
$lang['period_seconds'] = 'seconds per picture';
|
||||
$lang['slideshow_stop'] = 'stop the slideshow';
|
||||
$lang['comment_added'] = 'Your comment has been registered';
|
||||
$lang['comment_to_validate'] = 'An administrator must authorize your comment before it is visible.';
|
||||
$lang['comment_anti-flood'] = 'Anti-flood system : please wait for a moment before trying to post another comment';
|
||||
$lang['comment_user_exists'] = 'This login is already used by another user';
|
||||
$lang['invalid_search'] = 'Searched words must be grater than 3 characters and must not contain punctuation mark';
|
||||
$lang['search_mode_or'] = 'alespoò jedno ze slov';
|
||||
$lang['search_mode_and'] = 'všechny slova';
|
||||
$lang['search_comments'] = 'oddìlte odlišná slova mezerami';
|
||||
$lang['upload_name'] = 'Název obrázku';
|
||||
$lang['upload_author'] = 'Autor (napø. "Pierrick LE GALL")';
|
||||
$lang['upload_creation_date'] = 'Datum vytvoøení (DD/MM/YYYY)';
|
||||
$lang['upload_comment'] = 'Komentáø';
|
||||
$lang['mail_hello'] = 'Ahoj,';
|
||||
$lang['mail_new_upload_subject'] = 'Nový obrázek v galerii';
|
||||
$lang['mail_new_upload_content'] = 'Do galerie byl uploadován nový obrázek. Èeká na Vaše ovìøení. Pøihlašte se jako administrátor a povolte nebo zamítnìte tento obrázek.';
|
||||
$lang['mail_new_comment_subject'] = 'V gelerii je nový komentáø.';
|
||||
$lang['mail_new_comment_content'] = '??? Do geleri pøibyl nový komentáø. Pokud zvolíte ovìøovat každý komentáø, you first have to validate this comment in the administration panel to make it visible in the gallery.'."\n\n".'You can see last comments in the administration panel';
|
||||
$lang['connected_user'] = 'pøihlášený uživatel';
|
||||
$lang['title_comments'] = 'Komentáøe uživatelù';
|
||||
$lang['stats_last_days'] = 'poslední dny';
|
||||
$lang['hint_comments'] = 'Zobraz nejnovìjší komentáøe uživatele';
|
||||
$lang['menu_login'] = 'pøihlásit';
|
||||
//-------------------------------------------------------------- administration
|
||||
if ( $isadmin )
|
||||
{
|
||||
$lang['title_liste_users'] = 'Seznam uživatelù';
|
||||
$lang['title_history'] = 'Historie';
|
||||
$lang['title_update'] = 'Aktualizovat databázi';
|
||||
$lang['title_configuration'] = 'Konfigurace PhpWebGallery';
|
||||
$lang['title_instructions'] = 'Manuál';
|
||||
$lang['title_categories'] = 'Správa kategorií';
|
||||
$lang['title_edit_cat'] = 'Editovat kategorii';
|
||||
$lang['title_info_images'] = 'Zmìnit informace kategorie tohoto obrázku';
|
||||
$lang['title_thumbnails'] = 'Vytvoøit náhledy';
|
||||
$lang['title_thumbnails_2'] = 'pro';
|
||||
$lang['title_default'] = 'Administrace PhpWebGallery';
|
||||
$lang['menu_title'] = 'Administrace';
|
||||
$lang['menu_config'] = 'Konfigurace';
|
||||
$lang['menu_users'] = 'Uživatelé';
|
||||
$lang['menu_add_user'] = 'pøidat';
|
||||
$lang['menu_list_user'] = 'seznam';
|
||||
$lang['menu_categories'] = 'Kategorie';
|
||||
$lang['menu_update'] = 'Aktualizovat databázi';
|
||||
$lang['menu_thumbnails'] = 'Náhledy';
|
||||
$lang['menu_history'] = 'Historie';
|
||||
$lang['menu_instructions'] = 'Manuál';
|
||||
$lang['menu_back'] = 'Zpìt do galerie';
|
||||
$lang['title_waiting'] = 'Obrázky èekající na ovìøení';
|
||||
$lang['menu_waiting'] = 'Ovìøení uploadù';
|
||||
$lang['default_message'] = 'PhpWebGallery administration panel';
|
||||
$lang['conf_err_prefixe'] = 'thumbnail\'s prefix mustn\'t contain any accentued character';
|
||||
$lang['conf_err_mail'] = 'e-mail address refused, it must be like name@server.com';
|
||||
$lang['conf_err_sid_size'] = 'the session identifier size must be an integer value between 4 and 50';
|
||||
$lang['conf_err_sid_time'] = 'the session time must be an integer value between 5 and 60';
|
||||
$lang['conf_err_max_user_listbox'] = 'the max user listbox number must be an integer value between 0 and 255';
|
||||
$lang['conf_confirmation'] = 'Information data registered in database';
|
||||
$lang['conf_general_title'] = 'Hlavní konfigurace';
|
||||
$lang['conf_general_webmaster'] = 'pøihlášení webmastera';
|
||||
$lang['conf_general_webmaster_info'] = 'Bude zobrazeno všem. Je dùležité pro administraci.';
|
||||
$lang['conf_general_mail'] = 'e-mail adresa webmastera';
|
||||
$lang['conf_general_mail_info'] = 'Hosté budou moci použít tento kontakt';
|
||||
$lang['conf_general_prefix'] = 'prefix náhledu';
|
||||
$lang['conf_general_prefix_info'] = 'náhledy obrázkù používají tuto pøedponu. Pokud si nejste jisti, nevyplòujte.';
|
||||
$lang['conf_general_access'] = 'typ pøístupu';
|
||||
$lang['conf_general_access_1'] = 'volný';
|
||||
$lang['conf_general_access_2'] = 'omezený';
|
||||
$lang['conf_general_access_info'] = '- volný : kdokoli mùže vstoupit na stránky, kdokoli mùže vytvoøit úèet s právy mìnit vzhled stránek<br />- omezený : úèty vytváøí webmaster. Pouze registrovaní uživatelé mohou vstupovat na stránky';
|
||||
$lang['conf_general_max_user_listbox'] = 'poèet uživatelù v listboxu pøihlášení';
|
||||
$lang['conf_general_max_user_listbox_info'] = '- poèet uživatelù zobrazených v listboxu na pøihlašovaí stránce. Pokud je uživatelù stránek více, zobrazí se pouze textové zadávání. <br />- zadejte èíslo mezí 0 a 255, 0 znamená, že chcete zobrazit listbox';
|
||||
$lang['conf_comments'] = 'komentáøe uživatelù';
|
||||
$lang['conf_comments_title'] = 'Konfigurace: '.$lang['conf_comments'];
|
||||
$lang['conf_comments_show_comments'] = $lang['conf_comments'];
|
||||
$lang['conf_comments_show_comments_info'] = 'display the users comments under each picture ?';
|
||||
$lang['conf_comments_comments_number'] = 'number of comments per page';
|
||||
$lang['conf_comments_comments_number_info'] = 'number of comments to display on each page. This number is unlimited for a picture. Enter a number between 5 and 50.';
|
||||
$lang['conf_err_comment_number'] = 'The number of comments a page must be between 5 and 50 included.';
|
||||
$lang['conf_remote_site_delete_info'] = 'Deleting a remote server will delete all the image and the categories in relation with this server.';
|
||||
$lang['conf_upload_title'] = 'Konfigurace uploadù';
|
||||
$lang['conf_upload_available'] = 'povolit upload obrázkù';
|
||||
$lang['conf_upload_maxfilesize'] = 'maximílní velikost souboru s obrázkem';
|
||||
$lang['conf_upload_maxfilesize_info'] = 'Maximílní velikost uploadovaného souboru s obrázkem. Musí být èíslo mezi 10 a 1000 KB.';
|
||||
$lang['conf_err_upload_maxfilesize'] = 'Maximílní velikost uploadovaného souboru s obrázkem musí být èíslo mezi 10 a 1000 KB.';
|
||||
$lang['conf_upload_maxwidth'] = 'maximílní šíøka';
|
||||
$lang['conf_upload_maxwidth_info'] = 'Maximílní šíøka uploadovaných obrázkù. Musí být èíslo vìtší než 10 pixelù.';
|
||||
$lang['conf_err_upload_maxwidth'] = 'maximílní šíøka uploadovaných obrázkù musí být èíslo vìtší než 10 pixelù.';
|
||||
$lang['conf_upload_maxheight'] = 'maximílní výška';
|
||||
$lang['conf_upload_maxheight_info'] = 'Maximílní výška uploadovaných obrázkù. Musí být èíslo vìtší než 10 pixelù.';
|
||||
$lang['conf_err_upload_maxwidth'] = 'maximílní výška uploadovaných obrázkù musí být èíslo vìtší než 10 pixelù.';
|
||||
$lang['conf_upload_maxwidth_thumbnail'] = 'maximální šíøka náhledu';
|
||||
$lang['conf_upload_maxwidth_thumbnail_info'] = 'Maximální šíøka náhledu. Musí být vìtší než 10 pixelù.';
|
||||
$lang['conf_err_upload_maxwidth_thumbnail'] = 'Maximální šíøka náhledu musí být vìtší než 10 pixelù.';
|
||||
$lang['conf_upload_maxheight_thumbnail'] = 'maximální výška náhledu';
|
||||
$lang['conf_upload_maxheight_thumbnail_info'] = 'Maximální výška náhledu. Musí být vìtší než 10 pixelù.';
|
||||
$lang['conf_err_upload_maxheight_thumbnail'] = 'Maximální výška náhledu musí být vìtší než 10 pixelù.';
|
||||
$lang['conf_default_title'] = 'Implicitní nastavení zobrazení pro neregistrované uživatele a nové uživatele';
|
||||
$lang['conf_default_language_info'] = 'default language';
|
||||
$lang['conf_default_theme_info'] = 'implicitní téma';
|
||||
$lang['conf_session_title'] = 'Konfigurace session';
|
||||
$lang['conf_session_size'] = 'délka identifikátoru';
|
||||
$lang['conf_session_size_info'] = '- èím delší je identifikátor, tím bezpeènìjší je aplikace<br />- zadejte èíslo mezi 4 a 50';
|
||||
$lang['conf_session_time'] = 'období platnosti';
|
||||
$lang['conf_session_time_info'] = '- kratší období = vyšší bezpeènost<br />- zadejte èíslo mezi 5 a 60, v minutách';
|
||||
$lang['conf_session_key'] = 'klíèové slovo';
|
||||
$lang['conf_session_key_info'] = '- klíèové slovo sezení zlepšuje zakódování identifikátoru<br />- zadejte jakoukoli vìtu kratší než 255 znakù';
|
||||
$lang['conf_session_delete'] = 'mazat neplatné session';
|
||||
$lang['conf_session_delete_info'] = 'je doporuèeno smazat tabulku session v databázi';
|
||||
$lang['user_err_modify'] = 'Tento uživatel nemùže být modifikován nebo smazán';
|
||||
$lang['user_err_unknown'] = 'Tento uživatel v databázi neexistuje';
|
||||
$lang['adduser_info_message'] = 'Registraèní údaje uživatele ';
|
||||
$lang['adduser_info_password_updated'] = '(heslo aktualizováno)';
|
||||
$lang['adduser_info_back'] = 'zpìt na seznam';
|
||||
$lang['adduser_fill_form'] = 'Prosím, vyplòte následující formuláø';
|
||||
$lang['adduser_unmodify'] = 'nemodifikovaný';
|
||||
$lang['adduser_status'] = 'stav';
|
||||
$lang['adduser_status_admin'] = 'administátoøi';
|
||||
$lang['adduser_status_guest'] = 'hosté';
|
||||
$lang['permuser_info_message'] = 'Registrovaná práva';
|
||||
$lang['permuser_title'] = 'Omezení uživatele';
|
||||
$lang['permuser_warning'] = 'Varovaní : "<span style="font-weight:bold;">pøístup odmítnut</span>" do koøene kategorie chrání pøed pøístupem do celé kategorie';
|
||||
$lang['permuser_authorized'] = 'oprávnìný';
|
||||
$lang['permuser_forbidden'] = 'odmítnut';
|
||||
$lang['permuser_parent_forbidden'] = 'nadøazená kategorie nepøístupna';
|
||||
$lang['listuser_confirm'] = 'Opravdu chcete smazat tohoto uživatele';
|
||||
$lang['listuser_info_deletion'] = 'byl(a) odstranìn(a) z databáze';
|
||||
$lang['listuser_user_group'] = 'Uživatelské skupiny';
|
||||
$lang['listuser_modify'] = 'zmìnit';
|
||||
$lang['listuser_modify_hint'] = 'zmìnit informace';
|
||||
$lang['listuser_permission'] = 'práva';
|
||||
$lang['listuser_permission_hint'] = 'modify permissions of';
|
||||
$lang['listuser_delete'] = 'delete';
|
||||
$lang['listuser_delete_hint'] = 'delete user';
|
||||
$lang['listuser_button_all'] = 'all';
|
||||
$lang['listuser_button_invert'] = 'invert';
|
||||
$lang['listuser_button_create_address'] = 'create mail address';
|
||||
$lang['cat_invisible'] = 'invisible';
|
||||
$lang['cat_edit'] = 'Editovat';
|
||||
$lang['cat_up'] = 'Nahoru';
|
||||
$lang['cat_down'] = 'Dolù';
|
||||
$lang['cat_image_info'] = 'Obrázky->info';
|
||||
$lang['cat_total'] = 'celkem';
|
||||
$lang['editcat_confirm'] = 'Informace byly uloženy v databázi';
|
||||
$lang['editcat_back'] = 'seznam kategorií';
|
||||
$lang['editcat_title1'] = 'Editace';
|
||||
$lang['editcat_name'] = 'Název';
|
||||
$lang['editcat_comment'] = 'Komentáø';
|
||||
$lang['editcat_status'] = 'Stav';
|
||||
$lang['infoimage_general'] = 'Obecné nastavní pro kategorii';
|
||||
$lang['infoimage_useforall'] = 'použít pro všechny obrázky?';
|
||||
$lang['infoimage_creation_date'] = 'datum vytvoøení';
|
||||
$lang['infoimage_detailed'] = 'Nastavení pro jednotlivé obrázky';
|
||||
$lang['infoimage_title'] = 'nadpis';
|
||||
$lang['infoimage_comment'] = 'komentáø';
|
||||
$lang['update_missing_tn'] = 'chybí náhled pro';
|
||||
$lang['update_disappeared_tn'] = 'náhled the thumbnail zmizel';
|
||||
$lang['update_disappeared'] = 'neexistuje';
|
||||
$lang['update_part_deletion'] = 'Smazání obrázkù, které nemají náhled nebo které neexistují';
|
||||
$lang['update_deletion_conclusion'] = 'obrázky byly odstranìny z databáze';
|
||||
$lang['update_part_research'] = 'Hledat nové obrázky v adresáøích';
|
||||
$lang['update_research_added'] = 'pøidán';
|
||||
$lang['update_research_tn_ext'] = 'náhled v';
|
||||
$lang['update_research_conclusion'] = 'obrázky byly vloženy do databáze';
|
||||
$lang['update_default_title'] = 'Zvolte';
|
||||
$lang['update_only_cat'] = 'aktualizovat kategorie, ne obrazky';
|
||||
$lang['update_all'] = 'aktualizovat vše';
|
||||
$lang['tn_width'] = 'šíøka';
|
||||
$lang['tn_height'] = 'výška';
|
||||
$lang['tn_no_support'] = 'Obrázek je nedosažitelný nebo nepodporovaný';
|
||||
$lang['tn_format'] = 'pro formát souboru';
|
||||
$lang['tn_thisformat'] = 'pro tento formát souboru';
|
||||
$lang['tn_err_width'] = 'šíøka musí být èíslo vyšší než';
|
||||
$lang['tn_err_height'] = 'výška musí být èíslo vyšší než';
|
||||
$lang['tn_results_title'] = 'Výsledek miniaturizace';
|
||||
$lang['tn_picture'] = 'obrázek';
|
||||
$lang['tn_results_gen_time'] = 'vygenerováno bìhem';
|
||||
$lang['tn_stats'] = 'Hlavní statistiky';
|
||||
$lang['tn_stats_nb'] = 'poèet zmenšených obrázkù';
|
||||
$lang['tn_stats_total'] = 'celkový èas';
|
||||
$lang['tn_stats_max'] = 'maximální èas';
|
||||
$lang['tn_stats_min'] = 'minimální èas';
|
||||
$lang['tn_stats_mean'] = 'prùmìrný èas';
|
||||
$lang['tn_err'] = 'Udìlali jste chybu';
|
||||
$lang['tn_params_title'] = 'Parametry pro miniaturizaci';
|
||||
$lang['tn_params_GD'] = 'GD verze';
|
||||
$lang['tn_params_GD_info'] = '- GD je knihovna pro práci s obrázky pro jazyk PHP<br />-zvolte verzi, která je nainstalována na Vašem serveru. Pokud zvolíte špatnì, zobrazí se pouze chybové hlášky, vra<72>te se zpìt a zkuste to s výbìrem jiné verze. Pokud nefunguje ani jedna verze, znamená to, že na Vašem serveru není nainstalována knihovna GD.';
|
||||
$lang['tn_params_width_info'] = 'maximální šíøka, kterou náhled mùže mít';
|
||||
$lang['tn_params_height_info'] = 'maximální výška, kterou náhled mùže mít';
|
||||
$lang['tn_params_create'] = 'vytvoøit';
|
||||
$lang['tn_params_create_info'] = 'Nezkoušejte zmenšovat pøíliš mnoho obrázkù najednou.<br />Zpracování spotøebuje hodnì èasu procesoru. Pokud máte nainstalovanou PhpWebGallery na free hostingu, pøíliš velké zatížení procesoru mùže vést ke zrušení Vašeho hostingového úètu.';
|
||||
$lang['tn_params_format'] = 'formát souboru';
|
||||
$lang['tn_params_format_info'] = 'pro vytváøení náhledu je podporován pouze formát jpeg';
|
||||
$lang['tn_alone_title'] = 'obrázek bez náhledu (pouze jpeg a png)';
|
||||
$lang['tn_dirs_title'] = 'Seznam adresáøù';
|
||||
$lang['tn_dirs_alone'] = 'obrázky bez náhledù';
|
||||
$lang['help_images_title'] = 'Pøidávání obrázkù';
|
||||
$lang['help_images_intro'] = 'Jak umístit obrázky ve Vašich adresáøích';
|
||||
$lang['help_images'][0] = 'v adresáøi "galleries", vytvoøte podadresáøe, které budou reprezentovat Vaše kategorie';
|
||||
$lang['help_images'][1] = 'v každém adresáøi mùžete vytvoøit další podadresáøe. Jejich poèet není omezen.';
|
||||
$lang['help_images'][2] = 'you can create as many categories and sub-categories for each category as you wish';
|
||||
$lang['help_images'][3] = 'picture files must have jpeg format (extension jpg or JPG), gif format (extension gif or GIF) or png format (extension png or PNG).';
|
||||
$lang['help_images'][4] = 'try not to use blank space " " or hyphen "-" in picture files, I advise you to use underscore "_" character which is managed by PhpWebGallery and will provide better results';
|
||||
$lang['help_thumbnails_title'] = 'Thumbnails';
|
||||
$lang['help_thumbnails'][0] = 'in each directory containing picture to display on your site, there is a sub-directory nammed "thumbnail", if it doesn\'t exist, create it to place your thumbnails into it.';
|
||||
$lang['help_thumbnails'][1] = 'thumbnails don\'t need to have the same extension as their associated picture (a picture with .jpg extension can have a thumbnail in .GIF extention for instance).';
|
||||
$lang['help_thumbnails'][2] = 'the thumbnail associated to a picture must be prefixed with the prefix given on the configuration page(image.jpg -> TN_image.GIF for instance).';
|
||||
$lang['help_thumbnails'][3] = 'I advise you to use the module for windows downloadable on the presentation site of PhpWebGallery for thumbnails management.';
|
||||
$lang['help_thumbnails'][4] = 'you can use the thumbnail creation page integrated in PhpWebGallery, but I don\'t advice you so, because thumbnail quality may be poor and it uses a high CPU load which can be a problem if you use free web hosting.';
|
||||
$lang['help_thumbnails'][5] = 'if you choose to use your hosting provider to create thumbnails, you must give 775 rights on "galleries" folder and all its sub-folders.';
|
||||
$lang['help_database_title'] = 'Updating database';
|
||||
$lang['help_database'][0] = 'once pictures files and thumbnails correctly placed in the directories, clic on "database update" in the menu of the administration panel.';
|
||||
$lang['help_infos_title'] = 'Miscellanous informations';
|
||||
$lang['help_infos'][1] = 'As soon as you created your gallery, go in the user list and modify permissions for user "visiteur". Indeed, every new registered users will have by default the same permissions as "visiteur" user.';
|
||||
$lang['help_remote_title'] = 'Remote site';
|
||||
$lang['help_remote'][0] = 'PhpWebGallery offers the possibility to use several servers to store the images which will compose your gallery. It can be useful if your gallery is installed on one limited space and that you have a big quantity of images to be shown. Please , follow this procedure : ';
|
||||
$lang['help_remote'][1] = '1. edit file "create_listing_file.php" (you will find it in the directory "admin"), by modifying the line "$prefix_thumbnail = "TN-";" if the prefix for your thumbnails is not "TN-".';
|
||||
$lang['help_remote'][2] = '2. place file "create_listing_file.php" modified on your distant website, in the root directory of your directories of images (as the directory "galleries" of this website) by ftp.';
|
||||
$lang['help_remote'][3] = '3. launch script using the url http://domaineDistant/repGalerie/create_listing_file.php, a file listing.xml has just been created.';
|
||||
$lang['help_remote'][4] = '4. get back file listing.xml from your distant website to place it in directory "admin" of this website.';
|
||||
$lang['help_remote'][5] = '5. please , launch an update of the data of images by the interface of administration, once the listing.xml used file, kill it from the directory "admin".';
|
||||
$lang['help_remote'][6] = 'You can update the contents of a distant website by redoing the described manipulation. You can also kill a distant website by choosing the option in the configuration section of the administration panel.';
|
||||
$lang['help_upload_title'] = 'Added images by users';
|
||||
$lang['help_upload'][0] = 'PhpWebGallery offers the possibility for users to upload images. in order to do it :';
|
||||
$lang['help_upload'][1] = '1. authorize the option in the configuration zone of the administration panel';
|
||||
$lang['help_upload'][2] = '2. authorize the rights in writing in the images directories';
|
||||
$lang['install_message'] = 'Message';
|
||||
$lang['step1_confirmation'] = 'Parameters are correct';
|
||||
$lang['step1_err_db'] = 'Pøipojení k serveru bylo úspìšné, ale nebylo možné pøipojit se k databázi';
|
||||
$lang['step1_err_server'] = 'Can\'t connect to server';
|
||||
$lang['step1_err_copy_2'] = 'The next step of the installation is now possible';
|
||||
$lang['step1_err_copy_next'] = 'next step';
|
||||
$lang['step1_title'] = 'Krok 1/2';
|
||||
$lang['step1_host'] = 'MySQL host';
|
||||
$lang['step1_host_info'] = 'localhost, sql.multimania.com, toto.freesurf.fr';
|
||||
$lang['step1_user'] = 'Uživatel';
|
||||
$lang['step1_user_info'] = 'uživatelské jméno pøidìlené poskytovatelem hostingu';
|
||||
$lang['step1_pass'] = 'Heslo';
|
||||
$lang['step1_pass_info'] = 'heslo pøidìlené poskytovatelem hostingu';
|
||||
$lang['step1_database'] = 'Jméno databáze';
|
||||
$lang['step1_database_info'] = 'jméno databáze pøidìlené poskytovatelem hostingu';
|
||||
$lang['step1_prefix'] = 'Pøedpona databázových tabulek';
|
||||
$lang['step1_prefix_info'] = 'tabulky v databázi budou mít pøed jménem tuto pøedponu (správa db je pak pøehlednìjší)';
|
||||
$lang['step2_err_login1'] = 'zadejte jméno pro vytvoøení administrátorského úètu';
|
||||
$lang['step2_err_login3'] = 'administrátorský úèet nesmí obsahovat znaky \' a "';
|
||||
$lang['step2_err_pass'] = 'prosím zadejte Vaše heslo znovu';
|
||||
$lang['step2_err_mail'] = $lang['conf_err_mail'];
|
||||
$lang['install_end_title'] = 'Instalace dokonèena';
|
||||
$lang['install_end_message'] = 'Konfigurace byla dokonèena, následuje další krok.<br /><br />
|
||||
Z bezpeènostních dùvodù, prosím smažte soubor "install.php" v adresáøi "admin"<br />
|
||||
Jakmile je smazán, pokraèujte podle následujících instrukcí :
|
||||
<ul>
|
||||
<li>pøejdìte na pøihlašovací stránku : [ <a href="../identification.php">pøihlášení</a> ] a použijte uživatelské jméno/heslo webmastera</li>
|
||||
<li>takto pøihlášeni budete moci pøejít do [ <a href="admin.php">administrátorské sekce</a> ] a k návodu jak umístit obrázky v adresáøích</li>
|
||||
</ul>';
|
||||
$lang['step2_title'] = 'Krok 2/2';
|
||||
$lang['step2_pwd'] = 'heslo webmastera';
|
||||
$lang['step2_pwd_info'] = 'Dobøe uschovejte, umožní Vám pøístup do administrace';
|
||||
$lang['step2_pwd_conf'] = 'potvrdit heslo';
|
||||
$lang['step2_pwd_conf_info'] = 'Potvrzení';
|
||||
// new or modified in release 1.3
|
||||
$lang['remote_site'] = 'Vzdálená sí<73>';
|
||||
$lang['title_add'] = 'Pøidat uživatele';
|
||||
$lang['title_modify'] = 'Modifikovat uživatele';
|
||||
$lang['title_groups'] = 'Správa skupin';
|
||||
$lang['title_user_perm'] = 'Zmìnit práva uživatele';
|
||||
$lang['title_cat_perm'] = 'Zmìnit práva kategorie';
|
||||
$lang['title_group_perm'] = 'Zmìnit práva skupiny';
|
||||
$lang['title_picmod'] = 'Zmìnit informace o obrázku';
|
||||
$lang['menu_groups'] = 'Skupiny';
|
||||
$lang['menu_comments'] = 'Komentáøe';
|
||||
$lang['conf_general_log'] = 'historie';
|
||||
$lang['conf_general_log_info'] = 'Vytváøet histirii pøístupù na stránkách? Pøístupy budou zobrazeny v administraci v sekci historie';
|
||||
$lang['conf_general_mail_notification'] = 'upozornìní e-mailem';
|
||||
$lang['conf_general_mail_notification_info'] = 'Automatické upozornìní e-mailem (jen pro administrátory), když uživatel pøidá komentáø nebo uploadne obrázek.';
|
||||
$lang['conf_comments_validation'] = 'ovìøení';
|
||||
$lang['conf_comments_validation_info'] = 'Administrátor ovìøí komentáøe zadané uživateli pøedtím, než budou viditelné na stránkách';
|
||||
$lang['conf_comments_forall'] = 'všichni uživatelé?';
|
||||
$lang['conf_comments_forall_info'] = 'Také hosté (bez uživatelského úètu) mohou zadávat komentáøe';
|
||||
$lang['conf_default_nb_image_per_row_info'] = 'poèet obrázkù na øádek, implicitnì';
|
||||
$lang['conf_default_nb_row_per_page_info'] = 'poèet øádkù na stránce, implicitnì';
|
||||
$lang['conf_default_short_period_info'] = 'Ve dnech. Období, ve kterém jsou obrázky zobrazeny s èervenou znaèkou. Krátké období musí být vìtší než 1 den.';
|
||||
$lang['conf_default_long_period_info'] = 'Ve dnech. Období, ve kterém jsou obrázky zobrazeny s zelenou znaèkou. Dlouhé období musí být vìtší než hodnota krátkého období.';
|
||||
$lang['conf_default_expand_info'] = 'Rozbalit všechny kategorie v menu?';
|
||||
$lang['conf_default_show_nb_comments_info'] = 'Zobrazit poèet komentáøù pro každý obrázek na stránce s náhledy.';
|
||||
$lang['conf_default_maxwidth_info'] = 'Maximální šíøka pro zobrazení obrázku: obrázek bude mít novou šíøku (jen pro zobrazení), soubor s obrázkem se nijak nezmìní. Ponechte prázdné pokud nechcete mít žádný limit.';
|
||||
$lang['conf_default_maxheight_info'] = 'Stejné jako pøedchozí, ale pro výšku.';
|
||||
$lang['conf_session_cookie'] = 'autorizaèní cookie';
|
||||
$lang['conf_session_cookie_info'] = 'uživatelé se nemusí pokaždé pøihlašovat, www prohlížeè si uloží cookie. Je to ménì bezpeèné.';
|
||||
$lang['adduser_associate'] = 'Pøiøadit ke skupinì';
|
||||
$lang['group_add'] = 'Pøidat skupinu';
|
||||
$lang['group_add_error1'] = 'Jméno skupiny nesmí obsahovat znaky " nebo \'';
|
||||
$lang['group_add_error2'] = 'Jméno skupiny již existuje';
|
||||
$lang['group_confirm'] = 'Opravdu chcete smazat tuto skupinu?';
|
||||
$lang['group_list_title'] = 'Seznam existujících skupin';
|
||||
$lang['group_err_unknown'] = 'Tato skupina v databázi neexistuje';
|
||||
$lang['cat_permission'] = 'práva';
|
||||
$lang['cat_update'] = 'aktualizovat';
|
||||
$lang['cat_add'] = 'Pøidat virtuílní kategorii';
|
||||
$lang['cat_parent'] = 'nadøazená kategorie';
|
||||
$lang['cat_error_name'] = 'Jméno skupiny nesmí být prázdné';
|
||||
$lang['cat_virtual'] = 'virtuální';
|
||||
$lang['cat_first'] = 'Na zaèátek';
|
||||
$lang['cat_last'] = 'Na konec';
|
||||
$lang['editcat_visible_info'] = '(viditelné jen pro administrátora)';
|
||||
$lang['editcat_visible'] = 'Viditelná';
|
||||
$lang['editcat_uploadable'] = 'Upload povolen';
|
||||
$lang['infoimage_keyword_separation'] = '(separate with coma ",")';
|
||||
$lang['infoimage_addtoall'] = 'pøidat do všech';
|
||||
$lang['infoimage_removefromall'] = 'odstranit ze všech';
|
||||
$lang['infoimage_associate'] = 'Pøipojit ke kategorii';
|
||||
$lang['update_wrong_dirname'] = 'Jména adresáøù a souborù se musejí skládat z písmen, èíslic, znakù "-", "_" nebo "."';
|
||||
$lang['stats_pages_seen'] = 'navštívených stránek';
|
||||
$lang['stats_visitors'] = 'hosté';
|
||||
$lang['stats_empty'] = 'vyprázdnit historii';
|
||||
$lang['stats_pages_seen_graph_title'] = 'Zobrazených stránek za den';
|
||||
$lang['stats_visitors_graph_title'] = 'Poèet hostù za den';
|
||||
$lang['comments_last_title'] = 'Poslední komentáøe';
|
||||
$lang['comments_non_validated_title'] = 'Komentáøe èekající na ovìøení';
|
||||
$lang['help_database'][1] = 'In order to avoid the update of too many pictures in a single update, I advise to start by updating only categories, then on the categories section of the administration panel, update each category thanks to the link "update"';
|
||||
$lang['help_upload'][3] = 'The category must have upload available itself for upload.';
|
||||
$lang['help_upload'][4] = 'Uploaded images by the users are not directly visible on the website, they must be validated by an administrator. For that purpose, an administrator must go on the page "en attente" of the administration panel, to validate or to refuse the images proposed, then launch an update of the images data.';
|
||||
$lang['help_virtual_title'] = 'Links between pictures and categories and virtual categories';
|
||||
$lang['help_virtual'][0] = 'PhpWebGallery is able to dissociate categories where pictures are stored and categories where pictures are shown.';
|
||||
$lang['help_virtual'][1] = 'By default, pictures are shown only in their real categories : the ones corresponding to directories on the web server.';
|
||||
$lang['help_virtual'][2] = 'To link a picture to a category, you just have to make the association on the page of picture informations or on the informations of all pictures of a category.';
|
||||
$lang['help_virtual'][3] = 'Using this principle, it is possible to create virtual categories in PhpWebGallery : no real directory coresponds to this category. You just have to create this category on the section "categories" of the admin panel.';
|
||||
$lang['help_groups_title'] = 'Users Groups';
|
||||
$lang['help_groups'][0] = 'PhpWebGallery is able to manage groups of users. It can be very useful to have common permission access for private categories.';
|
||||
$lang['help_groups'][1] = '1. Create the group "family" on the section "Groups" of admin panel.';
|
||||
$lang['help_groups'][2] = '2. On the section "Users", edit on of them and associate him to the group "family".';
|
||||
$lang['help_groups'][3] = '3. By modifying the permissions for a category or for a group, you\'ll see that all categories accessible for a group are accessible for its members.';
|
||||
$lang['help_groups'][4] = 'A user can belong to several groups. The authorization is stronger than prohibition : if a user "jack" belongs to the group "family" and "friends", and that only group "family" can see category "Christmas 2003", "jack" will be able to see "Christmas 2003".';
|
||||
$lang['help_access_title'] = 'Access authorization';
|
||||
$lang['help_access'][0] = 'PhpWebGallery is able to forbid access to categories. Categories can be "public" or "private". In order to forbid access to a category :';
|
||||
$lang['help_access'][1] = '1. Modify category informations (from the "categories" section in tha admin panel) and make it "private".';
|
||||
$lang['help_access'][2] = '2. On the page of permissions (for a group or a user) the private category will be shown and you\'ll be able to authorize access or not.';
|
||||
$lang['help_infos'][2] = 'If you have any question, do not hesitate to take a look at the forum or ask a question there. The <a href="'.$conf['forum_url'].'" style="text-decoration:underline">forum</a> (message board) is available on the presentation site of PhpWebGallery.';
|
||||
$lang['step1_err_copy'] = 'Copy the text between hyphens and paste it into the file "include/mysql.inc.php"(Warning : mysql.inc.php must only contain what is in blue, no line return or space character)';
|
||||
$lang['permuser_only_private'] = 'Jsou zobrazeny jen soukromé kategorie';
|
||||
$lang['waiting_update'] = 'Ovìøené obrázky se zobrazí až po aktualizaci databáze';
|
||||
$lang['conf_upload_available_info'] = 'Authorizing the upload of pictures by users on the categories of the website (not on a remote server). This is general parameter, it is needed to authorize upload category by category, by default, no category is "uploadable".';
|
||||
$lang['install_help'] = 'Potøebujete pomoc ? Ptejte se v <a href="http://forum.phpwebgallery.net">PhpWebGallery</a>.';
|
||||
$lang['install_warning'] = 'Soubor "admin/install.php" je stále pøítomen. Prosím smažte jej z Vašeho serveru. Nechávat jej na serveru není bezpeèné.';
|
||||
|
||||
// new or modified in release 1.3.1
|
||||
$lang['cat_unknown_id'] = 'This category is unknown in the database';
|
||||
|
||||
}
|
||||
?>
|
560
language/deutsch.php
Normal file
560
language/deutsch.php
Normal file
|
@ -0,0 +1,560 @@
|
|||
<?php
|
||||
/***************************************************************************
|
||||
* deutsch.php *
|
||||
* ------------------- *
|
||||
* application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
|
||||
* author : Pierrick LE GALL <pierrick@z0rglub.com> *
|
||||
* *
|
||||
* $Id$
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* 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; *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* Deutsche Übersetzung von SPriTTeR! *
|
||||
* Firstname : Alexander *
|
||||
* Lastname : Meinecke *
|
||||
* Nick : alex, spritter, Hans ;-) *
|
||||
* e-Mail : spritter@gmx.de *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
$lang['only_members'] = 'Nur Mitglieder können diese Seite betreten';
|
||||
$lang['invalid_pwd'] = 'Falsches Passwort!';
|
||||
$lang['access_forbiden'] = 'Du bist nicht autorisiert diese Seite zu betreten';
|
||||
$lang['submit'] = 'Senden';
|
||||
$lang['login'] = 'Login';
|
||||
$lang['password'] = 'Passwort';
|
||||
$lang['new'] = 'Neu';
|
||||
$lang['delete'] = 'Löschen';
|
||||
$lang['category'] = 'Ordner';
|
||||
$lang['thumbnail'] = 'Thumbnail';
|
||||
$lang['date'] = 'Datum';
|
||||
$lang['diapo_default_page_title'] = 'Kein Ordner ausgewählt';
|
||||
$lang['thumbnails'] = 'Thumbnails';
|
||||
$lang['categories'] = 'Ordner';
|
||||
$lang['hint_category'] = 'Zeigt Bilder auf unterster Ebene dieses Ordners';
|
||||
$lang['total_images'] = 'Gesamt';
|
||||
$lang['title_menu'] = 'Menü';
|
||||
$lang['change_login'] = 'Login ändern';
|
||||
$lang['login'] = 'Login';
|
||||
$lang['hint_login'] = 'Mit einer Anmeldung ist es möglich das Aussehen der Seite anzupassen';
|
||||
$lang['logout'] = 'Logout';
|
||||
$lang['customize'] = 'Einstellungen';
|
||||
$lang['hint_customize'] = 'Layout, Bildgrösse, etc. anpassen';
|
||||
$lang['hint_search'] = 'Suche nach einem Bild';
|
||||
$lang['search'] = 'Suchen';
|
||||
$lang['favorite_cat'] = 'Favoriten';
|
||||
$lang['favorite_cat_hint'] = 'persönlliche Favoriten ansehen';
|
||||
$lang['about'] = 'Über';
|
||||
$lang['hint_about'] = 'Informationen zu PhpWebGallery...';
|
||||
$lang['admin'] = 'Admin';
|
||||
$lang['hint_admin'] = 'Nur f6uuml;r Administratoren';
|
||||
$lang['no_category'] = 'Wähle links einen Ordner aus.<br />Die Bilder kannst Du dann auch kommentieren...';
|
||||
$lang['page_number'] = 'Seite';
|
||||
$lang['previous_page'] = 'zurück';
|
||||
$lang['next_page'] = 'vor';
|
||||
$lang['nb_image_category'] = 'Anzahl Bilder im Ordner';
|
||||
$lang['recent_image'] = 'Bilder neuer als';
|
||||
$lang['days'] = 'Tage';
|
||||
$lang['send_mail'] = 'Anmerkungen? Sende mir eine e-mail';
|
||||
$lang['title_send_mail'] = '[PhpWebGallery] Anmerkung zur Seite';
|
||||
$lang['sub-cat'] = 'Unterordner';
|
||||
$lang['images_available'] = 'Bilder in diesem Ordner';
|
||||
$lang['total'] = 'Bilder';
|
||||
$lang['upload_picture'] = 'Füge ein Bild ein';
|
||||
$lang['registration_date'] = 'eingefügt am';
|
||||
$lang['creation_date'] = 'erstellt am';
|
||||
$lang['comment'] = 'Kommentar';
|
||||
$lang['author'] = 'Autor';
|
||||
$lang['size'] = 'Grösse';
|
||||
$lang['filesize'] = 'Dateigrösse';
|
||||
$lang['file'] = 'Dateiname';
|
||||
$lang['generation_time'] = 'Seite erstellt in';
|
||||
$lang['favorites'] = 'Favoriten';
|
||||
$lang['search_result'] = 'Suchergebnisse';
|
||||
$lang['about_page_title'] = 'Über PhpWebGallery';
|
||||
$lang['about_title'] = 'Über...';
|
||||
$lang['about_message'] = '<div style="text-align:center;font-weigh:bold;">Informationen zu PhpWebGallery</div>
|
||||
<ul>
|
||||
<li>Diese Website basiert auf <a href="'.$conf['site_url'].'" style="text-decoration:underline">PhpWebGallery</a> Version '.$conf['version'].'. PhpWebGallery ist eine einfach zu benutzende online-Bildergallerie.</li>
|
||||
<li>PhpWebGallery ist komplett in PHP erstellt (the elePHPant) und nutzt eine MySQL Datenbank (the SQuirreL).</li>
|
||||
<li>Wenn Du Vorschläge oder Anmerkungen hast, besuche bitte die offizielle Website von <a href="'.$conf['site_url'].'" style="text-decoration:underline">PhpWebGallery</a> und das dazugehöhrende <a href="'.$conf['forum_url'].'" style="text-decoration:underline">Forum</a>.</li>
|
||||
</ul>';
|
||||
$lang['about_return'] = 'zurück';
|
||||
$lang['ident_page_title'] = 'Anmeldung';
|
||||
$lang['ident_title'] = 'Anmeldung';
|
||||
$lang['ident_register'] = 'Anmeldung';
|
||||
$lang['ident_forgotten_password'] = 'Passwort vergessen?';
|
||||
$lang['ident_guest_visit'] = 'Als Besucher anmelden';
|
||||
$lang['customize_page_title'] = 'Einstellungen';
|
||||
$lang['customize_title'] = 'Einstellungen';
|
||||
$lang['customize_nb_image_per_row'] = 'Anzahl Bilder pro Reihe';
|
||||
$lang['customize_nb_row_per_page'] = 'Anzahl Bilder pro Seite';
|
||||
$lang['customize_language'] = 'Sprache';
|
||||
$lang['maxwidth'] = 'maximale Anzeigebreite der Bilder';
|
||||
$lang['maxheight'] = 'maximale Anzeigehöhe der Bilder';
|
||||
$lang['err_maxwidth'] = 'maximale Anzeigebreite muss eine Zahl grösser 50 sein';
|
||||
$lang['err_maxheight'] = 'maximale Anzeigehöhe muss eine Zahl grösser 50 sein';
|
||||
$lang['previous_image'] = 'zurück';
|
||||
$lang['next_image'] = 'vor';
|
||||
$lang['back'] = 'Klicke in das Bild um auf die Übersicht zurück zu gelangen';
|
||||
$lang['info_image_title'] = 'Bildinformation';
|
||||
$lang['link_info_image'] = 'Bildinformation ändern';
|
||||
$lang['true_size'] = 'Originalgrösse';
|
||||
$lang['comments_title'] = 'Kommentare von Besuchern dieser Seite';
|
||||
$lang['comments_del'] = 'Kommentar löschen';
|
||||
$lang['comments_add'] = 'Kommentar hinzufügen';
|
||||
$lang['month'][1] = 'Januar';
|
||||
$lang['month'][2] = 'Februar';
|
||||
$lang['month'][3] = 'März';
|
||||
$lang['month'][4] = 'April';
|
||||
$lang['month'][5] = 'Mai';
|
||||
$lang['month'][6] = 'Juni';
|
||||
$lang['month'][7] = 'Juli';
|
||||
$lang['month'][8] = 'August';
|
||||
$lang['month'][9] = 'September';
|
||||
$lang['month'][10] = 'Oktober';
|
||||
$lang['month'][11] = 'November';
|
||||
$lang['month'][12] = 'Dezember';
|
||||
$lang['day'][0] = 'Sonntag';
|
||||
$lang['day'][1] = 'Montag';
|
||||
$lang['day'][2] = 'Dienstag';
|
||||
$lang['day'][3] = 'Mittwoch';
|
||||
$lang['day'][4] = 'Donnerstag';
|
||||
$lang['day'][5] = 'Freitag';
|
||||
$lang['day'][6] = 'Samstag';
|
||||
$lang['add_favorites_alt'] = 'in den Favoriten-Ornder legen';
|
||||
$lang['add_favorites_hint'] = 'fuuml;ge dieses Bild deinem Favoriten-Ordner hinzu';
|
||||
$lang['del_favorites_alt'] = 'aus dem Favoriten-Ordner entfernen';
|
||||
$lang['del_favorites_hint'] = 'lösche dieses Bild aus deinem Favoriten-Ordner';
|
||||
$lang['register_page_title'] = 'Anmeldung';
|
||||
$lang['register_title'] = 'Anmeldung';
|
||||
$lang['reg_err_login1'] = 'Gib bitte einen Benutzernamen ein';
|
||||
$lang['reg_err_login2'] = 'Der Benutzername darf nicht mit einem Leerzeichen enden';
|
||||
$lang['reg_err_login3'] = 'Der benutzername darf nicht mir einem Leerzeichen beginnen';
|
||||
$lang['reg_err_login4'] = 'Der Benutzername darf die Zeichen " and \' nicht enthalten';
|
||||
$lang['reg_err_login5'] = 'Der Benutzername ist schon vorhanden';
|
||||
$lang['reg_err_pass'] = 'Bitte Passwort wiederholen';
|
||||
$lang['reg_confirm'] = 'bestätigen';
|
||||
$lang['reg_err_mail_address'] = 'Die e-mail Adeesse muss die Form xxx@yyy.eee haben (Beispiel : jack@altern.org)';
|
||||
$lang['search_title'] = 'Suche';
|
||||
$lang['invalid_search'] = 'Die Suche muss aus mindestens 3 Zeichen bestehen';
|
||||
$lang['search_field_search'] = 'Suche';
|
||||
$lang['search_return_main_page'] = 'Zurück zur Ordnerübersicht';
|
||||
$lang['upload_forbidden'] = 'In diesem Ordner kann man keine Bilder hochladen';
|
||||
$lang['upload_file_exists'] = 'Es gibt schon ein Bild mit diesem Namen';
|
||||
$lang['upload_filenotfound'] = 'Du musst eine Datei für das Bild auswählen';
|
||||
$lang['upload_cannot_upload'] = 'Das Bild kann nicht auf den Server geladen werden';
|
||||
$lang['upload_title'] = 'Füge ein Bild hinzu';
|
||||
$lang['upload_advise'] = 'Suche ein Bild aus, dass du plazieren möchtest im Ordner: ';
|
||||
$lang['upload_advise_thumbnail'] = 'Optional, aber Empfohlen: Wähle ein Thumbnail ein f&uu;r ';
|
||||
$lang['upload_advise_filesize'] = 'Die Datei darf nicht grösser sein als: ';
|
||||
$lang['upload_advise_width'] = 'Die Bildbreite darf nicht grösser sein als: ';
|
||||
$lang['upload_advise_height'] = 'Die Bildhöhe darf nicht grösser sein als: ';
|
||||
$lang['upload_advise_filetype'] = 'Das Bild muss im Format jpg, gif oder png sein';
|
||||
$lang['upload_err_username'] = 'Der Benutzername muss angegeben werden';
|
||||
$lang['upload_username'] = 'Benutzername';
|
||||
$lang['upload_successful'] = 'Das Bild wurde erfolgreich upgeloaded, ein Administrator wird das Bild bald freischalten.';
|
||||
// new or modified in release 1.3
|
||||
$lang['charset'] = 'iso-8859-1';
|
||||
$lang['no'] = 'Nein';
|
||||
$lang['yes'] = 'Ja';
|
||||
$lang['guest'] = 'Gast';
|
||||
$lang['mail_address'] = 'e-Mail';
|
||||
$lang['public'] = 'öffentlich';
|
||||
$lang['private'] = 'privat';
|
||||
$lang['add'] = 'hinzufügen';
|
||||
$lang['dissociate'] = 'trennen';
|
||||
$lang['mandatory'] = 'obligatorisch';
|
||||
$lang['err_date'] = 'falsches Datum';
|
||||
$lang['picture'] = 'Bild';
|
||||
$lang['IP'] = 'IP';
|
||||
$lang['close'] = 'Schliessen';
|
||||
$lang['open'] = 'Öffnen';
|
||||
$lang['keywords'] = 'Keywords';
|
||||
$lang['errors_title'] = 'Fehler';
|
||||
$lang['infos_title'] = 'Informationen';
|
||||
$lang['default'] = 'Default';
|
||||
$lang['comments'] = 'Kommentare';
|
||||
$lang['category_representative'] = 'Vertreter';
|
||||
$lang['stats'] = 'Statistik';
|
||||
$lang['most_visited_cat_hint'] = 'zeigt die meist gesehenen Bilder';
|
||||
$lang['most_visited_cat'] = 'Most Visited';
|
||||
$lang['best_rated_cat_hint'] = 'zeigt die am Besten bewerteten Bilder';
|
||||
$lang['best_rated_cat'] = 'Beste Bilder';
|
||||
$lang['recent_cat_hint'] = 'zeigt die neuesten Bilder';
|
||||
$lang['recent_cat'] = 'Neueste Bilder';
|
||||
$lang['recent_cat_title'] = 'Letzte Bilder';
|
||||
$lang['visited'] = 'Gesehen';
|
||||
$lang['times'] = 'Mal';
|
||||
$lang['customize_theme'] = 'Thema änern';
|
||||
$lang['customize_expand'] = 'Alle Ordner aufklappen';
|
||||
$lang['customize_show_nb_comments'] = 'Zeige die Anzahl an Kommentaren';
|
||||
$lang['customize_short_period'] = 'langer Zeitraum';
|
||||
$lang['customize_long_period'] = 'kurzer Zeitraum';
|
||||
$lang['customize_template'] = 'Template';
|
||||
$lang['err_periods'] = 'Zeitraum in ganzen Zahlen (Integer) eingeben';
|
||||
$lang['err_periods_2'] = 'Zeitraum muss grösser 0 sein. Der lange Zeitraum muss grösser als der kurze Zeitraum sein.';
|
||||
$lang['create_cookie'] = 'Cookie erzeugen';
|
||||
$lang['customize_day'] = 'Tag';
|
||||
$lang['customize_week'] = 'Woche';
|
||||
$lang['customize_month'] = 'Monat';
|
||||
$lang['customize_year'] = 'Jahr';
|
||||
$lang['slideshow'] = 'Slideshow';
|
||||
$lang['period_seconds'] = 'Sekunden pro Bild';
|
||||
$lang['slideshow_stop'] = 'Slideshow anhalten';
|
||||
$lang['comment_added'] = 'Dein Kommentar wurde aufgenommen';
|
||||
$lang['comment_to_validate'] = 'Ein Administrator muss den Kommentar autorisieren bevor dieser angezeigt wird.';
|
||||
$lang['comment_anti-flood'] = 'Anti-flood System: Bitte warte einen Moment bevor Du einen weiteren Kommentar sendest';
|
||||
$lang['comment_user_exists'] = 'Dieser Benutzername wird schon von einem anderen User genutzt';
|
||||
$lang['invalid_search'] = 'Suchwörter müssen länger als 3 Zeichen sein und dürfen keine Satzzeichen enthalten';
|
||||
$lang['search_mode_or'] = 'mindestens ein Wort';
|
||||
$lang['search_mode_and'] = 'alle Wörter';
|
||||
$lang['search_comments'] = 'Suchwörter mit Leerzeichen trennen';
|
||||
$lang['upload_name'] = 'Name des Bildes';
|
||||
$lang['upload_author'] = 'Autor (z.B. "Hans Wurst")';
|
||||
$lang['upload_creation_date'] = 'Datum der Aufnahme (DD/MM/YYYY)';
|
||||
$lang['upload_comment'] = 'Kommentar';
|
||||
$lang['mail_hello'] = 'Hi,';
|
||||
$lang['mail_new_upload_subject'] = 'Neue Bilder auf der Website';
|
||||
$lang['mail_new_upload_content'] = 'Es wurde ein neues Bild in die Bildergallerie eingestellt. Dieses muss validiert werden. Gehe in die Admin-Sektion und schalte das Bild frei oder lehne das Bild ab.';
|
||||
$lang['mail_new_comment_subject'] = 'Neuer Kommentar auf der Website';
|
||||
$lang['mail_new_comment_content'] = 'Es wurde ein neuer Kommentar in der Bildergallerie eingestellt. Wenn konfiguriert ist, jeden Kommentar zu validieren, dann musst du den Kommentar erst freischalten bevor dieser sichtbar wird.';
|
||||
$lang['connected_user'] = 'angemeldeter Benutzer';
|
||||
$lang['title_comments'] = 'Kommentare';
|
||||
$lang['stats_last_days'] = 'letzte Tage';
|
||||
$lang['hint_comments'] = 'sehe die letzten Kommentare von Benutzern an';
|
||||
$lang['menu_login'] = 'Login';
|
||||
//-------------------------------------------------------------- administration
|
||||
if ( $isadmin )
|
||||
{
|
||||
$lang['title_liste_users'] = 'Benutzerliste';
|
||||
$lang['title_history'] = 'Zugriffe';
|
||||
$lang['title_update'] = 'Aktualisiere Datenbank';
|
||||
$lang['title_configuration'] = 'Konfiguration';
|
||||
$lang['title_instructions'] = 'Hilfe';
|
||||
$lang['title_categories'] = 'Ordner - Einstellungen';
|
||||
$lang['title_edit_cat'] = 'Ordner bearbeiten';
|
||||
$lang['title_info_images'] = 'Bildinformationen eines Ordners ändern';
|
||||
$lang['title_thumbnails'] = 'Thumbnail erstellen';
|
||||
$lang['title_thumbnails_2'] = 'für';
|
||||
$lang['title_default'] = 'Administration';
|
||||
$lang['menu_title'] = 'PhpWebGallery - Administration';
|
||||
$lang['menu_config'] = 'Konfiguration';
|
||||
$lang['menu_users'] = 'Benutzer';
|
||||
$lang['menu_add_user'] = 'hinzufügen';
|
||||
$lang['menu_list_user'] = 'auflisten';
|
||||
$lang['menu_categories'] = 'Ordner';
|
||||
$lang['menu_update'] = 'Datenbank aktualisieren';
|
||||
$lang['menu_thumbnails'] = 'Thumbnails';
|
||||
$lang['menu_history'] = 'Zugriffe';
|
||||
$lang['menu_instructions'] = 'Hilfe';
|
||||
$lang['menu_back'] = 'Zurück zu den Ordnern';
|
||||
$lang['title_waiting'] = 'Wartende Bilder';
|
||||
$lang['menu_waiting'] = 'Wartende Bilder';
|
||||
$lang['default_message'] = 'Administration von PhpWebGallery' ;
|
||||
$lang['conf_err_prefixe'] = 'Der Präfix der Thumbnails darf keine Akzente enthalten';
|
||||
$lang['conf_err_mail'] = 'Die e-mail Adresse ist fehlerhaft, bitte im Format name@server.com angeben';
|
||||
$lang['conf_err_sid_size'] = 'die Läge des Session Identifier muss ein ganzzahliger Wert zwischen 4 und 50 sein';
|
||||
$lang['conf_err_sid_time'] = 'die Gültigkeitsdauer einer Session muss ein integer Wert zwischen 5 und 60 sein';
|
||||
$lang['conf_err_max_user_listbox'] = 'die Anzahl der maximalen Benutzer, die noch in einer Listbox angezeigt werden, muss ein ganzzahliger Wert zwischen 0 und 255 sein';
|
||||
$lang['conf_confirmation'] = 'Informationen wurden in die Datenbank übernommen';
|
||||
$lang['conf_general_title'] = 'Hauptkonfiguration';
|
||||
$lang['conf_general_webmaster'] = 'Webmaster Login';
|
||||
$lang['conf_general_webmaster_info'] = '...wird den Besuchern angezeigt. Wichtig auch für die Administration der Website';
|
||||
$lang['conf_general_mail'] = 'Webmaster e-mail Adresse';
|
||||
$lang['conf_general_mail_info'] = 'Besucher können Dich unter dieser e-mail Adresse kontaktieren';
|
||||
$lang['conf_general_prefix'] = 'Thumbnail Präfix';
|
||||
$lang['conf_general_prefix_info'] = 'Die Dateien der Thumbnails erhalten diesen Präfix. Wenn Du nicht sicher bist, dann lass das so!';
|
||||
$lang['conf_general_access'] = 'Art des Zugangs';
|
||||
$lang['conf_general_access_1'] = 'frei';
|
||||
$lang['conf_general_access_2'] = 'eingeschränkt';
|
||||
$lang['conf_general_access_info'] = '- frei: Jeder kann auf die Website zugreifen, jeder kann einen Account anlegen um das Erscheinungsbild der Website anzupassen.<br/>- eingeschränkt : Der Webmaster erstellt die Benutzerkontens. Nur angemeldete Benutzer dürfen auf die Website zugreifen';
|
||||
$lang['conf_general_max_user_listbox'] = 'maximale Anzahl Benutzer, die in einer Listbox erscheinen';
|
||||
$lang['conf_general_max_user_listbox_info'] = '- das ist die maximale Anzahl der angemeldeten Benutzer, die mittels einer Listbox anstatt einer einfachen Textbox auf der Anmeldeseite angezeigt werden.<br/>- Gib eine Zahl zwischen 0 und 255 ein, 0 bedeuted "immer Listbox" ';
|
||||
$lang['conf_comments'] = 'Benutzerkommentare';
|
||||
$lang['conf_comments_title'] = 'Konfiguration der Benutzerkommentare';
|
||||
$lang['conf_comments_show_comments'] = $lang['conf_comments'];
|
||||
$lang['conf_comments_show_comments_info'] = 'zeige die Kommentare unter jedem Bild an?';
|
||||
$lang['conf_comments_comments_number'] = 'Anzahl der Kommentare pro Seite';
|
||||
$lang['conf_comments_comments_number_info'] = 'Anzahl der Kommentare, die auf einer Seite angezeigt werden. Gib einen Wert zwischen 5 and 50 ein.';
|
||||
$lang['conf_err_comment_number'] = 'Die Anzahl der Benutzerkommentare pro Seite muss zwischen 5 und 50 liegen.';
|
||||
$lang['conf_remote_site_delete_info'] = 'Wird ein remote server entfernt, so werden auch alle Bilder und Ordner, die in Verbindung mit dem Server stehen, gelör;scht.';
|
||||
$lang['conf_upload_title'] = 'Konfiguration für den Bilder Upload durch Benutzer';
|
||||
$lang['conf_upload_available'] = 'erlaube Upload von Bildern';
|
||||
$lang['conf_upload_maxfilesize'] = 'maximale Dateigrösse';
|
||||
$lang['conf_upload_maxfilesize_info'] = 'Maximale Dateigrösse die die Bilder haben dürfen. Muss eine Zahl zwischen 10 und 1000 KB sein.';
|
||||
$lang['conf_err_upload_maxfilesize'] = 'Die Dateigrösse für die Bilder muss zwischen 10 and 1000 KB liegen.';
|
||||
$lang['conf_upload_maxwidth'] = 'maximale Breite';
|
||||
$lang['conf_upload_maxwidth_info'] = 'Maximale Breite die die Bilder haben können. Die Breite muss mindestens 10 Pixel betragen';
|
||||
$lang['conf_err_upload_maxwidth'] = 'Die maximale Breite muss mindestens 10 Pixel betragen.';
|
||||
$lang['conf_upload_maxheight'] = 'maximale Höhe';
|
||||
$lang['conf_upload_maxheight_info'] = '"Maximale Höhe die die Bilder haben können. Die Höhe muss mindestens 10 Pixel betragen';
|
||||
$lang['conf_err_upload_maxwidth'] = 'Die maximale Höhe muss mindestens 10 Pixel betragen';
|
||||
$lang['conf_upload_maxwidth_thumbnail'] = 'maximale Breite der Thumbnails';
|
||||
$lang['conf_upload_maxwidth_thumbnail_info'] = 'Maximale Breite die die Thumbnails haben können. Die Breite muss mindestens 10 Pixel betragen';
|
||||
$lang['conf_err_upload_maxwidth_thumbnail'] = 'Die maximale Höhe muss mindestens 10 Pixel betragen';
|
||||
$lang['conf_upload_maxheight_thumbnail'] = 'maximale Höhe der Thumbnails';
|
||||
$lang['conf_upload_maxheight_thumbnail_info'] = 'Maximale Höhe die die Thumbnails haben können. Die Höhe muss mindestens 10 Pixel betragen';
|
||||
$lang['conf_err_upload_maxheight_thumbnail'] = 'Die maximale Höhe muss mindestens 10 Pixel betragen.';
|
||||
$lang['conf_default_title'] = 'Standard Display Einstellungen für nicht registrierte Besucher und neue Accounts';
|
||||
$lang['conf_default_language_info'] = 'Standardeinstellung Sprache';
|
||||
$lang['conf_default_theme_info'] = 'Standard Farbschema';
|
||||
$lang['conf_session_title'] = 'Session-Konfiguration';
|
||||
$lang['conf_session_size'] = 'Länge des Identifier';
|
||||
$lang['conf_session_size_info'] = '- je länger der Identifier, desto sicherer ist Deine Website<br/>- gib\' eine Nummer zwischen 4 und 50 ein';
|
||||
$lang['conf_session_time'] = 'Gültigkeitsdauer';
|
||||
$lang['conf_session_time_info'] = '- je kürzer die Gütigkeitsdauer, desto sicherer ist Deine Website<br />- gib\' eine Nummer zwischen 5 und 60 ein (Minuten)';
|
||||
$lang['conf_session_key'] = 'keyword';
|
||||
$lang['conf_session_key_info'] = '- das session keyword verbessert die Verschlüsselung des Session Identifier<br/>- gib einen beliebigen Satz mit einer maximalen Länge von 255 Zeichen ein';
|
||||
$lang['conf_session_delete'] = 'lösche abgelaufene Sessions';
|
||||
$lang['conf_session_delete_info'] = 'es wird empfohlen die Session-Tabelle in der Datenbank zu löschen, da abgelaufene Sessions in der Datenbank verbleiben. (Dies ist aber keine sicherheitsrelevante Option)';
|
||||
$lang['user_err_modify'] = 'Der Benutzer kann nicht geändert oder gelöscht werden';
|
||||
$lang['user_err_unknown'] = 'Der Benutzer ist nicht in der Datenbank vorhanden';
|
||||
$lang['adduser_info_message'] = 'Informations sind in die Datenbank übertragen worden für Benutzer ';
|
||||
$lang['adduser_info_password_updated'] = '(Passwort geändert)';
|
||||
$lang['adduser_info_back'] = 'zurück zur Benutzerliste';
|
||||
$lang['adduser_fill_form'] = 'Bitte mache folgende Angaben';
|
||||
$lang['adduser_unmodify'] = 'nicht änderbar';
|
||||
$lang['adduser_status'] = 'Status';
|
||||
$lang['adduser_status_admin'] = 'Administrator';
|
||||
$lang['adduser_status_guest'] = 'Gast';
|
||||
$lang['permuser_info_message'] = 'Zugriffsart gesetzt';
|
||||
$lang['permuser_title'] = 'Restriktionen für Benutzer';
|
||||
$lang['permuser_warning'] = 'Warnung: "<span style="font-weight:bold;">verboten</span>" im Root eines Ordners verhindert auch das Aufrufen aller Unterordner';
|
||||
$lang['permuser_authorized'] = 'erlaubt';
|
||||
$lang['permuser_forbidden'] = 'verboten';
|
||||
$lang['permuser_parent_forbidden'] = 'Oberordner verboten';
|
||||
$lang['listuser_confirm'] = 'Soll der User wirklich gelöscht werden?';
|
||||
$lang['listuser_info_deletion'] = 'wurde aus der Datenbank entfernt';
|
||||
$lang['listuser_user_group'] = 'Benutzergruppe';
|
||||
$lang['listuser_modify'] = 'Ändern';
|
||||
$lang['listuser_modify_hint'] = 'ändere Informationen von';
|
||||
$lang['listuser_permission'] = 'Restriktionen';
|
||||
$lang['listuser_permission_hint'] = 'ändere Restriktionen für';
|
||||
$lang['listuser_delete'] = 'Löschen';
|
||||
$lang['listuser_delete_hint'] = 'lösche Benutzer';
|
||||
$lang['listuser_button_all'] = 'alle';
|
||||
$lang['listuser_button_invert'] = 'umkehren';
|
||||
$lang['listuser_button_create_address'] = 'erstelle e-mail Addresse';
|
||||
$lang['cat_invisible'] = 'nicht sichtbar';
|
||||
$lang['cat_edit'] = 'Bearbeiten';
|
||||
$lang['cat_up'] = 'hoch';
|
||||
$lang['cat_down'] = 'runter';
|
||||
$lang['cat_image_info'] = 'Bilder-Info';
|
||||
$lang['cat_total'] = 'gesamt';
|
||||
$lang['editcat_confirm'] = 'Informationen in der Datenbank gespeichert';
|
||||
$lang['editcat_back'] = 'Ordner';
|
||||
$lang['editcat_title1'] = 'Optionen für';
|
||||
$lang['editcat_name'] = 'Name';
|
||||
$lang['editcat_comment'] = 'Kommentar';
|
||||
$lang['editcat_status'] = 'Status';
|
||||
$lang['infoimage_general'] = 'Globale Optionen für den Ordner';
|
||||
$lang['infoimage_useforall'] = 'auf alle Bilder anwenden?';
|
||||
$lang['infoimage_creation_date'] = 'Erstellungs-Datum';
|
||||
$lang['infoimage_detailed'] = 'Optionen für jedes Bild';
|
||||
$lang['infoimage_title'] = 'Title';
|
||||
$lang['infoimage_comment'] = 'Kommentar';
|
||||
$lang['update_missing_tn'] = 'ein Thumbnail fehlt bei';
|
||||
$lang['update_disappeared_tn'] = 'das Thumbnail wurde entfernt';
|
||||
$lang['update_disappeared'] = 'exisitiert nicht';
|
||||
$lang['update_part_deletion'] = 'Entferne Bilder, für die kein Thumbnail oder keine Bilddatei vorhanden ist';
|
||||
$lang['update_deletion_conclusion'] = 'Bilder aus der Datenbank entfernt';
|
||||
$lang['update_part_research'] = 'Suche nach neuen Bildern in den Verzeichnissen';
|
||||
$lang['update_research_added'] = 'hinzugefügt';
|
||||
$lang['update_research_tn_ext'] = 'Thumbnail in';
|
||||
$lang['update_research_conclusion'] = 'Bilder wurden der Datenbank hinzugefügt';
|
||||
$lang['update_default_title'] = 'Wähle eine Option';
|
||||
$lang['update_only_cat'] = 'Update der Ordner, ohne Bilder';
|
||||
$lang['update_all'] = 'Update alles';
|
||||
$lang['tn_width'] = 'Breite';
|
||||
$lang['tn_height'] = 'Höhe';
|
||||
$lang['tn_no_support'] = 'Bild nicht vorhanden, oder das Format wird nicht unterstützt';
|
||||
$lang['tn_format'] = 'für das Dateiformat';
|
||||
$lang['tn_thisformat'] = 'für dieses Dateiformat';
|
||||
$lang['tn_err_width'] = 'Breite muss eine Zahl grösser sein als';
|
||||
$lang['tn_err_height'] = 'Höhe mzss eine Zahl grösser sein als';
|
||||
$lang['tn_results_title'] = 'Ergebnisse der Thumbnail-Erstellung';
|
||||
$lang['tn_picture'] = 'Bilder';
|
||||
$lang['tn_results_gen_time'] = 'berechnet in';
|
||||
$lang['tn_stats'] = 'Generelle Statistik';
|
||||
$lang['tn_stats_nb'] = 'Anzahl erstellter Thumbnails';
|
||||
$lang['tn_stats_total'] = 'Gesamtzeit';
|
||||
$lang['tn_stats_max'] = 'längste Zeit';
|
||||
$lang['tn_stats_min'] = 'kürzeste Zeit';
|
||||
$lang['tn_stats_mean'] = 'Durchschnittszeit';
|
||||
$lang['tn_err'] = 'Du hast Fehler gemacht';
|
||||
$lang['tn_params_title'] = 'Thumbnail Parameter';
|
||||
$lang['tn_params_GD'] = 'GD Version';
|
||||
$lang['tn_params_GD_info'] = '- GD ist die Bibliothek für PHP zum manipulieren von Bildern<br />- wähle die Version, die auf Deinem Server installiert ist. Wenn Du die falsche Version auswählst wirst du lediglich Fehlermeldungen sehen. In diesem Fall wählst Du beim nächsten Mal die andere Version aus. Funktioniert gar keine Version, so wird GD auf Deinem Server nicht unterstützt.';
|
||||
$lang['tn_params_width_info'] = 'maximale Breite die ein Thumbnail haben soll';
|
||||
$lang['tn_params_height_info'] = 'maximale Höhe die ein Thumbnail haben soll';
|
||||
$lang['tn_params_create'] = 'erstellen';
|
||||
$lang['tn_params_create_info'] = 'Versuche nicht zu viele Bilder gleichzeitig zu verarbeiten.<br />Das Verkleinern der Bilder kostet eine Menge Rechenzeit. Wenn Du PhpWebGallery bei einem freien Provider installiert hast, könnte eventuell Dein account gelöscht werden, wenn Du übermässig viel Leistung beanspruchst.';
|
||||
$lang['tn_params_format'] = 'Dateiformat';
|
||||
$lang['tn_params_format_info'] = 'Für die Thumbnails wird nur das jpeg Dateiformat unterstützt.';
|
||||
$lang['tn_alone_title'] = 'Bilder ohne Thumbnail (nur jpeg und png)';
|
||||
$lang['tn_dirs_title'] = 'Ordnerliste';
|
||||
$lang['tn_dirs_alone'] = 'Bilder ohne Thumbnail';
|
||||
$lang['help_images_title'] = 'Hinzufügen von Bildern';
|
||||
$lang['help_images_intro'] = 'So müssen Bilder in den Verzeichnissen abgelegt werden';
|
||||
$lang['help_images'][0] = 'Erstelle im Verzeichnis "galleries" Unterverzeichnisse. Diese repräsentieren Deine Bilderordner';
|
||||
$lang['help_images'][1] = 'In jedem Verzeichnis kannst Du beliebig viele Ebenen an Unterordnern anlegen.';
|
||||
$lang['help_images'][2] = 'In jeden Ordner kannst Du beliebig viele Unterordner erstellen.';
|
||||
$lang['help_images'][3] = 'Bilddateien müssen eines der folgenden Formate haben: jpeg (Erweiterung jpg oder JPG), gif (Erweiterung gif or GIF) oder png (Erweiterung png or PNG).';
|
||||
$lang['help_images'][4] = 'Es dürfen keine Leerstellen " " in den Dateinamen verwendet werden. Besser ist der Unterstrich "_", da dieser von PhpWebGallery gesondert behandelt wird und so bessere Ergebnisse erzielt.';
|
||||
$lang['help_thumbnails_title'] = 'Thumbnails';
|
||||
$lang['help_thumbnails'][0] = 'In jeden Verzeichnis das Bilder enthält, existiert ein Unterverzeichnis "thumbnail". Falls nicht, erstelle eines und setze die Thumbnails dort hinein.';
|
||||
$lang['help_thumbnails'][1] = 'Thumbnails müssen nicht die gleiche Dateiendung haben wie das dazugehörige Bild. (zum Beispiel kann ein Bild mit .jpg Endung ein Thumbnail mit einer .GIF Endung haben).';
|
||||
$lang['help_thumbnails'][2] = 'Das Thumbnail eines Bildes muss den gleichen Prefix haben wie auf der Konfigurationsseite angegeben wurde (image.jpg -> TN_image.GIF).';
|
||||
$lang['help_thumbnails'][3] = 'Für die Erstellung der Thumbnails rate ich Dir das Modul für Windows zu nutzen. Dieses gibt es zum Download auf der Präsentationsseite von PhpWebGallery.';
|
||||
$lang['help_thumbnails'][4] = 'Du kannst Thumbnails auch mit der in PhpWebGallery integrierten Funktion erstellen. Allerdings rate ich davon ab, da die Qualität der Thumbnails nicht gut ist und eine hohe CPU Belastung verursacht.';
|
||||
$lang['help_thumbnails'][5] = 'Falls Du Deinen Provider-Account dazu nutzt die Thumbnails zu erstellen, musst Du entsprechende Rechte auf das Verzeichnis "galleries" und dessen Unterverzeichnisse geben (777).';
|
||||
$lang['help_database_title'] = 'Datenbank aktualisieren';
|
||||
$lang['help_database'][0] = 'Sind die Bilder und Thumbnails korrekt in den Verzeichnissen plaziert, dann klicke auf "Datenbank aktualisieren" im Administrations-Menü.';
|
||||
$lang['help_infos_title'] = 'zusätzliche Informationen';
|
||||
$lang['help_infos'][1] = 'Sobald Du die Site zum Laufen gebracht hast solltest Du die Einstellungen für den Benutzer "Gast" vornehmen. Jeder neu registrierte Benutzer übernimmt vom Benutzer "Gast" zunächst die Einstellungen.';
|
||||
$lang['help_remote_title'] = 'Remote Site';
|
||||
$lang['help_remote'][0] = 'PhpWebGallery bietet die Möglichkeit mehrere Server zur Ablage der Bilder zu nutzen. Dies kann sehr nützlich sein, wenn Deine Galerie bei einem Provider läft, der zu wenig Platz für alle Deine Bilder bietet. Lies Dir dazu bitte folgende Anleitung durch: ';
|
||||
$lang['help_remote'][1] = '1. editiere die Datei "create_listing_file.php" (diese findest Du im Verzeichnis "admin"), und ändere die Zeile in "$prefixe_thumbnail = "TN-";" falls Dein für die Thumbnails gewählter Präfix noch nicht "TN-" ist.';
|
||||
$lang['help_remote'][2] = '2. kopiere die geänderte Datei "create_listing_file.php" ins Root Deines Bilderverzeichnisses (wie das Verzeichnis "galleries" dieser Website) per FTP';
|
||||
$lang['help_remote'][3] = '3. starte ein Skript, indem Du folgende Adresse aufrufst: http://entfernteDomain/repGalerie/create_listing_file.php. Die Datei "listing.xml" wird dann erstellt.';
|
||||
$lang['help_remote'][4] = '4. hole die Datei "listing.xml" von der entfernten Website zurück, und kopiere diese in das Verzeichnis "admin" dieser Website.';
|
||||
$lang['help_remote'][5] = '5. please , launch an update of the data of images by the interface of administration, once the listing.xml used file, kill it from the directory "admin".';
|
||||
$lang['help_remote'][6] = 'Die Inhalte einer entfernt liegenden Website kannst Du updaten, indem Du die eben beschriebenen Schritte wiederholst. Du kannst eine entfernt liegende Website auch entfernen indem Du die entsprechende Option im Administrationsmenü (Punkt Konfiguration) auswählst.';
|
||||
$lang['help_upload_title'] = 'Bilder Upload für Benutzer';
|
||||
$lang['help_upload'][0] = 'PhpWebGallery bietet Benutzern die Möglichkeit Bilder in einem Ordner hinzuzufügen. Und so funktioniert das:';
|
||||
$lang['help_upload'][1] = '1. aktiviere die entsprechende Option im Administrationsmenü';
|
||||
$lang['help_upload'][2] = '2. setze entsprechende Schreibrechte auf die Verzeichnisse zu denen Bilder hinzugefügt werden.';
|
||||
$lang['help_upload'][3] = 'Hochgeladene Bilder sind nicht direkt auf der Website sichtbar, da sie erst durch einen Administrator validiert werden müssen. Dafür wählt der Administrator "Bilder-Uploads" aus dem Administrationsmenü aus und entscheidet dann, ob das Bild eingestellt oder verworfen wird. Danach müssen die Bilddaten auf der Datenbank aktualisiert werden.';
|
||||
$lang['install_message'] = 'Nachricht';
|
||||
$lang['step1_confirmation'] = 'Parameter sind richtig';
|
||||
$lang['step1_err_db'] = 'Verbindung zum Server klappte, aber die Datenbank konnte nicht konnektiert werden.';
|
||||
$lang['step1_err_server'] = 'Server nicht erreichbar.';
|
||||
$lang['step1_err_copy_2'] = 'Der nächste Installationschritt kann nun durchgeführt werden.';
|
||||
$lang['step1_err_copy_next'] = 'nächster Schritt';
|
||||
$lang['step1_title'] = 'Schritt 1/2';
|
||||
$lang['step1_host'] = 'MySQL Host';
|
||||
$lang['step1_host_info'] = 'localhost, sql.multimania.com, toto.freesurf.fr';
|
||||
$lang['step1_user'] = 'Benutzer';
|
||||
$lang['step1_user_info'] = 'Benutzername bei Deinem Provider';
|
||||
$lang['step1_pass'] = 'Passwort';
|
||||
$lang['step1_pass_info'] = 'Benutzerpasswort bei Deinem Provider';
|
||||
$lang['step1_database'] = 'Name der Datenbank';
|
||||
$lang['step1_database_info'] = 'auch von Deinem Provider';
|
||||
$lang['step1_prefix'] = 'Datenbank Tabellen-Präfix';
|
||||
$lang['step1_prefix_info'] = 'die Tabellennamen werden mit dem Präfix beginnen (das schafft mehr Übersicht in Deiner Datenbank)';
|
||||
$lang['step2_err_login1'] = 'erstelle einen Login für den Webmaster';
|
||||
$lang['step2_err_login3'] = 'der Login darf keine \' oder " Zeichen enthalten.';
|
||||
$lang['step2_err_pass'] = 'bitte wiederhole Dein Passwort';
|
||||
$lang['step2_err_mail'] = $lang['conf_err_mail'];
|
||||
$lang['install_end_title'] = 'Installation beendet';
|
||||
$lang['install_end_message'] = 'Die Konfiguration von PhpWebGallery ist beendet, hier der nächste Schritt<br /><br /><br />
|
||||
Aus Gründen der Sicherheit solltest Du die Datei "install.php" im Verzeichnis "admin" löschen<br />
|
||||
Sobald diese gelöscht ist, geht es so weiter:
|
||||
<ul>
|
||||
<li>gehe auf die Anmeldeseite: [ <a href="../identification.php">Anmeldung</a> ] und benutze dort das Login/Passwort Paar, das Du zuvor für den Webmaster vergeben hast</li>
|
||||
<li>Mit diesem Login kannst Du das [ <a href="admin.php">Administrations-Menü</a> ] aufrufen und den dortigen Anweisungen folgen um Bilder einzustellen</li>
|
||||
</ul>';
|
||||
$lang['step2_title'] = 'Schritt 2/2';
|
||||
$lang['step2_pwd'] = 'Webmaster Password';
|
||||
$lang['step2_pwd_info'] = 'Halte es vertraulich! Es ist der Zugang zum Administrations-Menü';
|
||||
$lang['step2_pwd_conf'] = 'bestätige Passwort';
|
||||
$lang['step2_pwd_conf_info'] = 'Bestätigung';
|
||||
// new or modified in release 1.3
|
||||
$lang['remote_site'] = 'Remote Site';
|
||||
$lang['title_add'] = 'Benutzer hinzufügen/ändern';
|
||||
$lang['title_modify'] = 'Benutzer bearbeiten';
|
||||
$lang['title_groups'] = 'Benutzergruppen bearbeiten';
|
||||
$lang['title_user_perm'] = 'Benutzerrechte bearbeiten';
|
||||
$lang['title_cat_perm'] = 'Zugriffsrechte auf einen Ordner ändern';
|
||||
$lang['title_group_perm'] = 'Gruppenrechte bearbeiten';
|
||||
$lang['title_picmod'] = 'Bildinformationen bearbeiten';
|
||||
$lang['menu_groups'] = 'Gruppen';
|
||||
$lang['menu_comments'] = 'Kommentare';
|
||||
$lang['conf_general_log'] = 'History';
|
||||
$lang['conf_general_log_info'] = 'Sollen die Besuche Deiner Seite gelogged werden? Zugriffe werden in der History in der Admin Sektion angezeigt';
|
||||
$lang['conf_general_mail_notification'] = 'Mail Benachrichtigung';
|
||||
$lang['conf_general_mail_notification_info'] = 'Automatische Mail Benachrichtigung für Administratoren (nur für diese) wenn ein Benutzer einen Kommentar oder ein Bild hinzugefügt hat.';
|
||||
$lang['conf_comments_validation'] = 'Prüfung';
|
||||
$lang['conf_comments_validation_info'] = 'Ein Administrator muss jeden Kommentar zunächst freischalten bevor dieser angezeigt wird.';
|
||||
$lang['conf_comments_forall'] = 'Alle?';
|
||||
$lang['conf_comments_forall_info'] = 'Auch nicht registrierte Benutzer dürfen Kommentare eingeben.';
|
||||
$lang['conf_default_nb_image_per_row_info'] = 'Standardvorgabe Anzahl Bilder pro Reihe';
|
||||
$lang['conf_default_nb_row_per_page_info'] = 'Standardvorgabe Anzahl Reihen pro Seite';
|
||||
$lang['conf_default_short_period_info'] = 'In Tagen. Zeitraum, in dem ein Bild mit einem roten Punkt markiert wird. Der kurze Zeitraum muss grösser als 1 Tag sein.';
|
||||
$lang['conf_default_long_period_info'] = 'In Tagen. Zeitraum, in dem ein Bild mit einem grünen Punkt markiert wird. Der lange Zeitraum muss grösser als der kurze Zeitraum sein.';
|
||||
$lang['conf_default_expand_info'] = 'Alle Ordner im Menü aufgeklappt anzeigen?';
|
||||
$lang['conf_default_show_nb_comments_info'] = 'Zeige die Anzahl der Kommentare für jedes Bild in der Ordnerübersicht?';
|
||||
$lang['conf_default_maxwidth_info'] = 'Maximale Breite in der die Bilder angezeigt werden. (Das Bild wird nicht geändert). Lass das Feld leer, um keine Vorgabe zu machen.';
|
||||
$lang['conf_default_maxheight_info'] = 'Genau wie die Einstellung zur Anzeigebreite der Bilder.';
|
||||
$lang['conf_session_cookie'] = 'Cookies erlauben?';
|
||||
$lang['conf_session_cookie_info'] = 'Benutzer müssen sich nicht jedes Mal neu anmelden. Geringere Sicherheit.';
|
||||
$lang['adduser_associate'] = 'Füge ein in Gruppe';
|
||||
$lang['group_add'] = 'Neue Gruppe erstellen';
|
||||
$lang['group_add_error1'] = 'Der Name der Gruppe darf kein " oder \' enthalten';
|
||||
$lang['group_add_error2'] = 'Dieser Gruppenname ist schon vorhanden';
|
||||
$lang['group_confirm'] = 'Soll diese Gruppe wirklich gelöscht werden?';
|
||||
$lang['group_list_title'] = 'Liste aller vorhandenen Gruppen';
|
||||
$lang['group_err_unknown'] = 'Diese Gruppe ist nicht in der Datenbank vorhanden';
|
||||
$lang['cat_permission'] = 'Restriktionen';
|
||||
$lang['cat_update'] = 'Update';
|
||||
$lang['cat_add'] = 'Erstelle einen virtuellen Ordner';
|
||||
$lang['cat_parent'] = 'Basis-Ordner';
|
||||
$lang['cat_error_name'] = 'Es muss ein Name für den Ordner angegeben werden';
|
||||
$lang['cat_virtual'] = 'Virtuell';
|
||||
$lang['cat_first'] = 'an erste Stelle';
|
||||
$lang['cat_last'] = 'an letzte Stelle';
|
||||
$lang['editcat_visible_info'] = '(nicht sichtbar für alle ausser Administratoren)';
|
||||
$lang['editcat_visible'] = 'Sichtbar';
|
||||
$lang['editcat_uploadable'] = 'Upload möglich';
|
||||
$lang['infoimage_keyword_separation'] = '(trenne mit Komma ",")';
|
||||
$lang['infoimage_addtoall'] = 'jedem Bild hinzufügen';
|
||||
$lang['infoimage_removefromall'] = 'bei jedem Bild löschen';
|
||||
$lang['infoimage_associate'] = 'Füge ein in den Ordner';
|
||||
$lang['update_wrong_dirname'] = 'Die Verzeichnisnamen und die Dateinamen müssen aus Buchstaben, "-", "_" or "." bestehen. Leerzeichen sind nicht erlaubt.';
|
||||
$lang['stats_pages_seen'] = 'aufgerufene Seiten';
|
||||
$lang['stats_visitors'] = 'Gast';
|
||||
$lang['stats_empty'] = 'leere History';
|
||||
$lang['stats_pages_seen_graph_title'] = 'Anzahl Seitenaufrufe pro Tag';
|
||||
$lang['stats_visitors_graph_title'] = 'Anzahl Gäste pro Tag';
|
||||
$lang['comments_last_title'] = 'neue Kommentare';
|
||||
$lang['comments_non_validated_title'] = 'zu prüfende Kommentare';
|
||||
$lang['help_database'][1] = 'Um zu verhindern, dass zu viele Bilder in einem einzigen Updatevorgang aktualisiert werden empfiehlt es sich, zunächst nur die Ordner zu aktualisieren. Danach kann man im Administrations-Menü jeden Unter-Ordner einzeln mit der Funktion "Update" aktualisieren.';
|
||||
$lang['help_upload'][3] = 'Der Ordner muss ebenfalls für die Upload-Funktionalität freigeschaltet sein.';
|
||||
$lang['help_upload'][4] = 'Bilder, die von Benutzern hochgeladen werden, sind nicht direkt auf der Website sichtbar. Ein Administrator muss diese erst prüfen und dann freischalten. Dazu geht ein Administrator auf "Wartende Bilder" im Administrations-Menü, gibt das Bild frei und führt ein Update für die Bilddaten durch.';
|
||||
$lang['help_virtual_title'] = 'Links zwischen Bildern, Bilderordnern und virtuellen Bilderordnern';
|
||||
$lang['help_virtual'][0] = 'PhpWebGallery kann zwischen dem realen Bilderordner (in dem die Bilder liegen) und virtuellen Bilderordnern (in denen die Bilder angezeigt werden) unterscheiden.';
|
||||
$lang['help_virtual'][1] = 'Normalerweise werden die Bilder in ihren ursprünglichen Ordnern angezeigt, nämlich in denen, die der Verzeichnisstruktur auf dem Webserver entsprechen.';
|
||||
$lang['help_virtual'][2] = 'Um ein Bild mit einem Ordner zu verlinken, wird auf der Seite Bildinformationen ein Haken vor die entsprechenden Bilder gesetzt, die mit einem Ordner verlinkt werden sollen.';
|
||||
$lang['help_virtual'][3] = 'Nach diesem Prinzip ist es möglich, virtuelle Ordner in PhpWebGallery zu erstellen. Gehe dazu ins Administrations-Menü und wähle die Sektion "Ordner" aus.';
|
||||
$lang['help_groups_title'] = 'Benutzergruppen';
|
||||
$lang['help_groups'][0] = 'PhpWebGallery kann Benutzer in verschiedenen Gruppen zusammenfassen. Das ist sehr hilfreich, um schnell und einfach die Zugriffsrechte für mehrere gleichartige Benutzer einzustellen.';
|
||||
$lang['help_groups'][1] = '1. Erstelle im Menüpunkt "Gruppen" die Gruppe "Family".';
|
||||
$lang['help_groups'][2] = '2. Unter dem Menüpunkt "Benutzer" kann man Benutzer dann der Gruppe "Family" zuweisen.';
|
||||
$lang['help_groups'][3] = '3. Beim Bearbeiten der Zugriffsrechte eines Ordners oder einer Benutzergruppe wird ersichtlich, dass alle Zugriffsrehte für die Benutzergruppe automatisch auch für die Mitglieder dieser Gruppe gelten.';
|
||||
$lang['help_groups'][4] = 'Ein Benutzer kann mehreren Benutzergruppen angehören. Darf eine dieser Gruppen einen Ordner ansehen, so sind die Verbote der anderen Gruppen unwirksam: Falls der Benutzer "Jack" den Gruppen "Family" und "Friends" angehört, und nur die Gruppe "Family" den Ordner "Weihnachten 2003" betrachten darf, so kann "Jack" den Ordner "Weihnachten 2003" betrachten.';
|
||||
$lang['help_access_title'] = 'Zugriffssteuerung';
|
||||
$lang['help_access'][0] = 'PhpWebGallery kann den Zugriff auf verschiedene Ordner verbieten. Ordner können "öffentlich" oder "privat" sein. Um den Zugriff auf einen Ordner zu verbieten, muss folgendes getan werden:';
|
||||
$lang['help_access'][1] = '1. Stelle den Ordner auf "privat" (Unter "Ordner" im Administrations-Menü).';
|
||||
$lang['help_access'][2] = '2. Unter dem Punkt "Gruppen" oder "Benutzer" werden die privaten Ordner angezeigt. Dort kann man den Zugriff nun erlauben oder verbieten.';
|
||||
$lang['help_infos'][2] = 'Falls noch Fragen bleiben, besuche einmal das Forum und stelle die Fragen dort. Das <a href="'.$conf['forum_url'].'" style="text-decoration:underline">Forum</a> (Message Board) ist auf der Website von PhpWebGallery zu finden.';
|
||||
$lang['step1_err_copy'] = 'Kopiere den Text zwischen den Trennstrichen und füge diesen in die Datei "include/mysql.inc.php" ein (Warnung: mysql.inc.php darf NUR den blau markierten Text enthalten. Steuerzeichen und Leerzeichen dürfen nicht darin auftauchen!';
|
||||
$lang['permuser_only_private'] = 'Nur private Ordner werden angezeigt.';
|
||||
$lang['waiting_update'] = 'Freigegebene Bilder können erst nach einem Update der Datenbank angezeigt werden';
|
||||
$lang['conf_upload_available_info'] = 'Gestatte den Bild-Upload für die Benutzer auf der Übersichtsseite eines Ordners. (nicht möglich bei einem Remote Server) Diese Einstellung ist notwendig, da standardmässig in jedem Ordner diese Funktion deaktiviert ist.';
|
||||
$lang['install_help'] = 'Brauchst Du Hilfe? Stelle deine Frage im <a href="http://forum.phpwebgallery.net">PhpWebGallery Message Board</a>.';
|
||||
$lang['install_warning'] = 'Die Datei "admin/install.php" ist noch auf dem Server vorhanden. Bitte lösche diese Datei, da ein weiterer Aufruf eine neue Installation auslöst.';
|
||||
// new or modified in release 1.3.1
|
||||
$lang['cat_unknown_id'] = 'This category is unknown in the database';
|
||||
}
|
||||
?>
|
562
language/dutch.php
Normal file
562
language/dutch.php
Normal file
|
@ -0,0 +1,562 @@
|
|||
<?php
|
||||
/***************************************************************************
|
||||
* dutch.php *
|
||||
* ------------------- *
|
||||
* application : PhpWebGallery 1.3.1 <http://phpwebgallery.net> *
|
||||
* author : Pierrick LE GALL <pierrick@z0rglub.com> *
|
||||
* translation : Eelko Pel <http://www.epel.nl> Rev 1.3.2-3 *
|
||||
* *
|
||||
* $Id$
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* 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; *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
// Speciaal voor nederland "For easy editing naam Category"
|
||||
// Benaming category
|
||||
$lang['lang_category_sev'] = 'map';
|
||||
$lang['lang_category_smv'] = 'mappen';
|
||||
$lang['lang_category_bev'] = 'Map';
|
||||
$lang['lang_category_bmv'] = 'Mappen';
|
||||
// Benaming picture "For easy editing naam picture"
|
||||
$lang['lang_picture_sev'] = 'foto of afbeelding';
|
||||
$lang['lang_picture_smv'] = 'foto\'s of afbeeldingen';
|
||||
$lang['lang_picture_bev'] = 'Foto of afbeelding';
|
||||
$lang['lang_picture_bmv'] = 'Foto\'s of afbeeldingen';
|
||||
|
||||
// Officeel
|
||||
$lang['only_members'] = 'Alleen leden hebben hier toegang';
|
||||
$lang['invalid_pwd'] = 'Fout wachtwoord!';
|
||||
$lang['access_forbiden'] = 'U heeft geen toegang tot deze pagina';
|
||||
$lang['submit'] = 'Bevestig';
|
||||
$lang['login'] = 'login';
|
||||
$lang['password'] = 'Wachtwoord';
|
||||
$lang['new'] = 'Nieuw';
|
||||
$lang['delete'] = 'Verwijder';
|
||||
$lang['category'] = $lang['lang_category_sev'];
|
||||
$lang['thumbnail'] = 'Indexfoto';
|
||||
$lang['date'] = 'Datum';
|
||||
$lang['diapo_default_page_title'] = 'Er is geen '.$lang['lang_category_sev'].' geselecteerd';
|
||||
$lang['thumbnails'] = 'Indexfoto\'s';
|
||||
$lang['categories'] = 'De '.$lang['lang_category_smv'];
|
||||
$lang['hint_category'] = 'laat '.$lang['lang_picture_smv'].' zien in de root van deze '.$lang['lang_category_sev'];
|
||||
$lang['total_images'] = 'totaal';
|
||||
$lang['title_menu'] = 'Menu';
|
||||
$lang['change_login'] = 'Verander gebruiker';
|
||||
$lang['login'] = 'Gebruiker';
|
||||
$lang['hint_login'] = 'inloggen maakt het mogelijk om instellingen te wijzigen';
|
||||
$lang['logout'] = 'Afmelden';
|
||||
$lang['customize'] = 'Persoonlijke instellingen';
|
||||
$lang['hint_customize'] = 'het uiterlijk van gallery aanpassen';
|
||||
$lang['hint_search'] = 'Zoeken';
|
||||
$lang['search'] = 'Zoeken';
|
||||
$lang['favorite_cat'] = 'Favorieten';
|
||||
$lang['favorite_cat_hint'] = 'Toon je favorieten';
|
||||
$lang['about'] = 'Over PhpWebGallery';
|
||||
$lang['hint_about'] = 'Meer informatie over PhpWebGallery...';
|
||||
$lang['admin'] = 'Beheer';
|
||||
$lang['hint_admin'] = 'Alleen voor beheerders';
|
||||
$lang['no_category'] = 'Er is geen '.$lang['lang_category_sev'].' geselecteerd<br />maak een keuze in het menu';
|
||||
$lang['page_number'] = 'pagina nummer';
|
||||
$lang['previous_page'] = 'Vorige';
|
||||
$lang['next_page'] = 'Volgende';
|
||||
$lang['nb_image_category'] = 'Aantal '.$lang['lang_picture_smv'].' in deze '.$lang['lang_category_sev'];
|
||||
$lang['recent_image'] = $lang['lang_picture_bmv'].' geplaatst in de laatste';
|
||||
$lang['days'] = 'dagen';
|
||||
$lang['send_mail'] = 'Tips of commentaar, verstuur dan een e-mail aan:';
|
||||
$lang['title_send_mail'] = 'Een opmerking over uw site';
|
||||
$lang['sub-cat'] = 'subcategoriën';
|
||||
$lang['images_available'] = $lang['lang_picture_bmv'].' in deze '.$lang['lang_category_sev'];
|
||||
$lang['total'] = $lang['lang_picture_bmv'];
|
||||
$lang['upload_picture'] = 'Upload een '.$lang['lang_picture_sev'];
|
||||
$lang['registration_date'] = 'Geregistreerd op';
|
||||
$lang['creation_date'] = 'Gemaakt op';
|
||||
$lang['comment'] = 'Commentaar';
|
||||
$lang['author'] = 'Auteur';
|
||||
$lang['size'] = 'Formaat';
|
||||
$lang['filesize'] = 'Bestandsgrootte';
|
||||
$lang['file'] = 'Bestand';
|
||||
$lang['generation_time'] = 'Pagina is gegenereerd in';
|
||||
$lang['favorites'] = 'Favorieten';
|
||||
$lang['search_result'] = 'Zoek resultaten';
|
||||
$lang['about_page_title'] = 'Over PhpWebGallery';
|
||||
$lang['about_title'] = 'Over...';
|
||||
$lang['about_message'] = '<div style="text-align:center;font-weigh:bold;">Informatie over PhpWebGallery</div>
|
||||
<ul>
|
||||
<li>Deze website maakt gebruik van <a href="'.$conf['site_url'].'" style="text-decoration:underline">PhpWebGallery</a> versie '.$conf['version'].'. PhpWebGallery geeft je de mogelijkheid om online albums te creëren.</li>
|
||||
<li>PhpWebGallery is technische geheel ontwikkeld in PHP in combinatie met MYSQL.</li>
|
||||
<li>Als u opmerkingen heeft of sugesties, bezoek dan officiële <a href="'.$conf['site_url'].'" style="text-decoration:underline">PhpWebGallery</a> website en het daarvoor bestemde <a href="'.$conf['forum_url'].'" style="text-decoration:underline">forum</a>.</li>
|
||||
</ul>';
|
||||
$lang['about_return'] = 'Terug';
|
||||
$lang['ident_page_title'] = 'Aanmelden';
|
||||
$lang['ident_title'] = 'Aanmelden';
|
||||
$lang['ident_register'] = 'Registreer een nieuwe gebruiker';
|
||||
$lang['ident_forgotten_password'] = 'Je wachtwoord vergeten ?';
|
||||
$lang['ident_guest_visit'] = 'Ga door als gast';
|
||||
$lang['customize_page_title'] = 'Persoonlijke instellingen';
|
||||
$lang['customize_title'] = 'Persoonlijke instellingen';
|
||||
$lang['customize_nb_image_per_row'] = 'Aantal '.$lang['lang_picture_smv'].' per regel';
|
||||
$lang['customize_nb_row_per_page'] = 'Aantal regels per pagina';
|
||||
$lang['customize_language'] = 'Taal';
|
||||
$lang['maxwidth'] = 'Maximale breedte van de '.$lang['lang_picture_bmv'];
|
||||
$lang['maxheight'] = 'Maximale hoogte van de '.$lang['lang_picture_bmv'];
|
||||
$lang['err_maxwidth'] = 'Maximale breedte moet minimaal 50 zijn';
|
||||
$lang['err_maxheight'] = 'Maximale hoogte moet minimaal 50 zijn';
|
||||
$lang['previous_image'] = 'Vorige';
|
||||
$lang['next_image'] = 'Volgende';
|
||||
$lang['back'] = 'Klik op de '.$lang['lang_picture_sev'].' om terug te gaan naar de index';
|
||||
$lang['info_image_title'] = 'Informatie van '.$lang['lang_picture_sev'];
|
||||
$lang['link_info_image'] = 'Wijzig informatie';
|
||||
$lang['true_size'] = 'Ware grootte';
|
||||
$lang['comments_title'] = 'Opmerkingen van de kijkers op de site';
|
||||
$lang['comments_del'] = 'verwijder deze opmerking';
|
||||
$lang['comments_add'] = 'Voeg opmerking toe';
|
||||
$lang['month'][1] = 'januari';
|
||||
$lang['month'][2] = 'februari';
|
||||
$lang['month'][3] = 'maart';
|
||||
$lang['month'][4] = 'april';
|
||||
$lang['month'][5] = 'mei';
|
||||
$lang['month'][6] = 'juni';
|
||||
$lang['month'][7] = 'juli';
|
||||
$lang['month'][8] = 'augustus';
|
||||
$lang['month'][9] = 'september';
|
||||
$lang['month'][10] = 'oktober';
|
||||
$lang['month'][11] = 'november';
|
||||
$lang['month'][12] = 'december';
|
||||
$lang['day'][0] = 'zondag';
|
||||
$lang['day'][1] = 'maandag';
|
||||
$lang['day'][2] = 'dinsdag';
|
||||
$lang['day'][3] = 'woensdag';
|
||||
$lang['day'][4] = 'donderdag';
|
||||
$lang['day'][5] = 'vrijdag';
|
||||
$lang['day'][6] = 'zaterdag';
|
||||
$lang['add_favorites_alt'] = 'Voeg toe aan favorieten';
|
||||
$lang['add_favorites_hint'] = 'Voeg deze '.$lang['lang_picture_sev'].' toe aan je favorieten';
|
||||
$lang['del_favorites_alt'] = 'Verwijder uit favorieten';
|
||||
$lang['del_favorites_hint'] = 'Verwijder deze '.$lang['lang_picture_sev'].' uit je favorieten';
|
||||
$lang['register_page_title'] = 'Nieuwe gebruiker';
|
||||
$lang['register_title'] = 'Nieuwe gebruiker';
|
||||
$lang['reg_err_login1'] = 'Kies een usernaam a.u.b.';
|
||||
$lang['reg_err_login2'] = 'Er mag geen spatie in de usernaam zitten';
|
||||
$lang['reg_err_login3'] = $lang['reg_err_login2'];
|
||||
$lang['reg_err_login4'] = 'De usernaam mag geen " en \' karakters bevatten';
|
||||
$lang['reg_err_login5'] = 'Deze usernaam is al in gebruik';
|
||||
$lang['reg_err_pass'] = 'Geef uw opnieuw uw wachtwoord a.u.b.';
|
||||
$lang['reg_confirm'] = 'Nogmaals het nieuwe wachtwoord';
|
||||
$lang['reg_err_mail_address'] = 'Het e-mail adres moet er minimaal uitzien als xxx@yyy.eee (voorbeeld : login@domein.nl)';
|
||||
$lang['search_title'] = 'Zoeken';
|
||||
$lang['invalid_search'] = 'Gebruik minimaal 3 karakters om op te zoeken';
|
||||
$lang['search_field_search'] = 'Zoeken';
|
||||
$lang['search_return_main_page'] = 'Terug naar index';
|
||||
$lang['upload_forbidden'] = 'U kan in deze '.$lang['lang_category_sev'].' geen '.$lang['lang_picture_smv'].' plaatsen';
|
||||
$lang['upload_file_exists'] = 'Deze naam wordt reeds gebruikt';
|
||||
$lang['upload_filenotfound'] = 'U moet een bestand met een extentie jpg, gif of png kiezen';
|
||||
$lang['upload_cannot_upload'] = 'kan deze '.$lang['lang_picture_sev'].' niet uploaden';
|
||||
$lang['upload_title'] = 'Upload een '.$lang['lang_picture_sev'];
|
||||
$lang['upload_advise'] = 'Kies een '.$lang['lang_picture_sev'].' om deze te plaatsen in de '.$lang['lang_category_sev'].' : ';
|
||||
$lang['upload_advise_thumbnail'] = 'Niet verplicht, maar wel aanbevolen : upload een indexfoto voor ';
|
||||
$lang['upload_advise_filesize'] = 'De bestandsgrootte mag niet groter zijn dan : ';
|
||||
$lang['upload_advise_width'] = 'De breedte mag niet groter zijn dan : ';
|
||||
$lang['upload_advise_height'] = 'De hoogte mag niet groter zijn dan : ';
|
||||
$lang['upload_advise_filetype'] = 'De '.$lang['lang_picture_sev'].' moet voldoen aan de extenties jpg, gif of png';
|
||||
$lang['upload_err_username'] = 'De gebruiker moet is verplicht en moet dus worden ingevuld';
|
||||
$lang['upload_username'] = 'Gebruiker ';
|
||||
$lang['upload_successful'] = 'De '.$lang['lang_picture_sev'].' is met succes geplaatst, deze zal nog door een beheerder gevalideerd moeten worden. Tot die tijd is deze niet zichtbaar.';
|
||||
// new or modified in release 1.3
|
||||
$lang['charset'] = 'iso-8859-1';
|
||||
$lang['no'] = 'nee';
|
||||
$lang['yes'] = 'ja';
|
||||
$lang['guest'] = 'gast';
|
||||
$lang['mail_address'] = 'E-mail adres';
|
||||
$lang['public'] = 'publiek';
|
||||
$lang['private'] = 'privé';
|
||||
$lang['add'] = 'ok';
|
||||
$lang['dissociate'] = 'Verwijder groep';
|
||||
$lang['mandatory'] = 'verplicht';
|
||||
$lang['err_date'] = 'foutieve datum';
|
||||
$lang['picture'] = $lang['lang_picture_bev'];
|
||||
$lang['IP'] = 'IP';
|
||||
$lang['close'] = 'sluit';
|
||||
$lang['open'] = 'open';
|
||||
$lang['keywords'] = 'Sleutelwoorden';
|
||||
$lang['errors_title'] = 'Fout:';
|
||||
$lang['infos_title'] = 'Informatie';
|
||||
$lang['default'] = 'Standaard';
|
||||
$lang['comments'] = 'Opmerkingen';
|
||||
$lang['category_representative'] = 'Categorie'.$lang['lang_picture_sev'];
|
||||
$lang['stats'] = 'Statistieken';
|
||||
$lang['most_visited_cat_hint'] = 'toon meest opgevraagde '.$lang['lang_picture_bmv'];
|
||||
$lang['most_visited_cat'] = 'meest getoond';
|
||||
$lang['best_rated_cat_hint'] = 'Toon de '.$lang['lang_picture_smv'].' met de hoogste beoordeling';
|
||||
$lang['best_rated_cat'] = 'als beste beoordeeld';
|
||||
$lang['recent_cat_hint'] = 'Pas geplaatste '.$lang['lang_picture_bmv'];
|
||||
$lang['recent_cat'] = 'Pas geplaatst';
|
||||
$lang['recent_cat_title'] = 'Pas geplaatst';
|
||||
$lang['visited'] = 'Bekeken';
|
||||
$lang['times'] = 'maal';
|
||||
$lang['customize_theme'] = 'Opmaakthema';
|
||||
$lang['customize_expand'] = 'Toon alle '.$lang['lang_category_smv'];
|
||||
$lang['customize_show_nb_comments'] = 'Toon aantal opmerkingen';
|
||||
$lang['customize_short_period'] = 'Korte periode';
|
||||
$lang['customize_long_period'] = 'Lange periode';
|
||||
$lang['customize_template'] = 'Sjabloon';
|
||||
$lang['err_periods'] = 'Perode\'s dienen gehele getallen te zijn';
|
||||
$lang['err_periods_2'] = 'De periode mag niet 0 zijn. De lange periode moet groter dan de korte periode zijn.';
|
||||
$lang['create_cookie'] = 'Maak een cookiebestand';
|
||||
$lang['customize_day'] = 'dag';
|
||||
$lang['customize_week'] = 'week';
|
||||
$lang['customize_month'] = 'maand';
|
||||
$lang['customize_year'] = 'jaar';
|
||||
$lang['slideshow'] = 'Diashow';
|
||||
$lang['period_seconds'] = 'seconden pauze per '.$lang['lang_picture_sev'];
|
||||
$lang['slideshow_stop'] = 'Stop de diashow';
|
||||
$lang['comment_added'] = 'Uw opmerking is geregistreerd';
|
||||
$lang['comment_to_validate'] = 'Een beheerder moet uw opmerking nog bevestigen voordat deze zichtbaar word.';
|
||||
$lang['comment_anti-flood'] = 'Beveiliging : Wacht even voor het plaatsten van de volgende opmerking';
|
||||
$lang['comment_user_exists'] = 'Deze gebruiker bestaat reeds, probeer een andere';
|
||||
$lang['invalid_search'] = 'Zoektermen moeten minimaal 3 karakters groot zijn en geen leestekens bevatten';
|
||||
$lang['search_mode_or'] = 'Minimaal één woord';
|
||||
$lang['search_mode_and'] = 'Alle woorden';
|
||||
$lang['search_comments'] = 'Woorden gescheiden door spaties';
|
||||
$lang['upload_name'] = 'Naam van de '.$lang['lang_picture_sev'];
|
||||
$lang['upload_author'] = 'Auteur (alla "Voornaam Achternaam")';
|
||||
$lang['upload_creation_date'] = 'Genomen op (DD/MM/YYYY)';
|
||||
$lang['upload_comment'] = 'Commentaar';
|
||||
$lang['mail_hello'] = 'Beheerder,';
|
||||
$lang['mail_new_upload_subject'] = 'Er is een nieuwe '.$lang['lang_picture_sev'].' geupload';
|
||||
$lang['mail_new_upload_content'] = 'Er is een nieuwe '.$lang['lang_picture_sev'].' geupload, deze wacht op validatie middels het beheer paneel/n/n.';
|
||||
$lang['mail_new_comment_subject'] = 'Er is een nieuwe opmerking geplaatst';
|
||||
$lang['mail_new_comment_content'] = 'Er is een nieuwe opmerking geplaatst, deze wacht op validatie middels het beheer paneel/n/n';
|
||||
$lang['connected_user'] = 'Aangemeld als';
|
||||
$lang['title_comments'] = 'Opmerkingen';
|
||||
$lang['stats_last_days'] = 'dagen terug';
|
||||
$lang['hint_comments'] = 'Toon de laatste opmerkingen';
|
||||
$lang['menu_login'] = 'Inloggen';
|
||||
//-------------------------------------------------------------- administration
|
||||
if ( $isadmin )
|
||||
{
|
||||
$lang['title_liste_users'] = 'Gebruikers beheer';
|
||||
$lang['title_history'] = 'Logging';
|
||||
$lang['title_update'] = 'Database verversen';
|
||||
$lang['title_configuration'] = 'PhpWebGallery configuratie';
|
||||
$lang['title_instructions'] = 'Handleiding';
|
||||
$lang['title_categories'] = $lang['lang_category_bmv'].' beheer';
|
||||
$lang['title_edit_cat'] = 'Wijzig een '.$lang['lang_category_sev'];
|
||||
$lang['title_info_images'] = 'Wijzig de '.$lang['lang_category_sev'].' informatie';
|
||||
$lang['title_thumbnails'] = 'Maak indexfoto';
|
||||
$lang['title_thumbnails_2'] = 'voor';
|
||||
$lang['title_default'] = 'PhpWebGallery beheer';
|
||||
$lang['menu_title'] = 'Beheer';
|
||||
$lang['menu_config'] = 'Configuratie';
|
||||
$lang['menu_users'] = 'Gebruikers';
|
||||
$lang['menu_add_user'] = 'toevoegen';
|
||||
$lang['menu_list_user'] = 'lijst';
|
||||
$lang['menu_categories'] = $lang['lang_category_bmv'];
|
||||
$lang['menu_update'] = 'Database verversen';
|
||||
$lang['menu_thumbnails'] = 'Maak indexfoto\'s';
|
||||
$lang['menu_history'] = 'Logging';
|
||||
$lang['menu_instructions'] = 'Instructie';
|
||||
$lang['menu_back'] = 'Terug naar gallery';
|
||||
$lang['title_waiting'] = 'Te valideren '.$lang['lang_picture_smv'];
|
||||
$lang['menu_waiting'] = 'Te valideren';
|
||||
$lang['default_message'] = 'PhpWebGallery beheer paneel';
|
||||
$lang['conf_err_prefixe'] = 'Voorvoegsels van indexfoto\'s mogen geen vreemde karakters bevatten';
|
||||
$lang['conf_err_mail'] = 'het e-mail address is gewijgerd en moet minimaal voldoen aan name@server.com';
|
||||
$lang['conf_err_sid_size'] = 'the session identifier size must be an integer value between 4 and 50';
|
||||
$lang['conf_err_sid_time'] = 'the session time must be an integer value between 5 and 60';
|
||||
$lang['conf_err_max_user_listbox'] = 'het aantal users in de aanmeldlijst moet minimaal 0 en maximaal 255 zijn';
|
||||
$lang['conf_confirmation'] = 'De configuratie is verwerkt in de database';
|
||||
$lang['conf_general_title'] = 'Basis configuratie';
|
||||
$lang['conf_general_webmaster'] = 'Beheerders account';
|
||||
$lang['conf_general_webmaster_info'] = 'Is zichtbaar voor de bezoekers en is nodig voor het beheer';
|
||||
$lang['conf_general_mail'] = 'Beheerder e-mailadres';
|
||||
$lang['conf_general_mail_info'] = 'Bezoekers kunnen hier een e-mail bericht aan sturen';
|
||||
$lang['conf_general_prefix'] = 'Indexfoto voorvoegsel';
|
||||
$lang['conf_general_prefix_info'] = 'Indexfoto\'s gebruiken dit voorvoegsel in de naam, standaard is dit TN-, bij twijfel hier niets invullen';
|
||||
$lang['conf_general_access'] = 'Toegangs type';
|
||||
$lang['conf_general_access_1'] = 'vrij';
|
||||
$lang['conf_general_access_2'] = 'beperkt';
|
||||
$lang['conf_general_access_info'] = '- Vrij: de website is vrij toegangkelijk, iedereen kan een account aanmaken. De rechten kunnen later wel door de beheerder worden aangepast<br />- Beperkt: het album is alleen toegangkelijk middels een door de beheerder aangemaakt account';
|
||||
$lang['conf_general_max_user_listbox'] = 'Maximale lijst met users';
|
||||
$lang['conf_general_max_user_listbox_info'] = '- Dit is een getal van 0 t/m 255 en geeft aan hoeveel users er in de lijst zichtbaar zijn van het aanmelden<br />- Bij 0 word er geen lijst getoond';
|
||||
$lang['conf_comments'] = 'opmerkingen';
|
||||
$lang['conf_comments_title'] = 'Configuratie van '.$lang['conf_comments'];
|
||||
$lang['conf_comments_show_comments'] = 'Opmerkingen';
|
||||
$lang['conf_comments_show_comments_info'] = 'Toon de opmerkingen onder elke '.$lang['lang_picture_sev'].'?';
|
||||
$lang['conf_comments_comments_number'] = 'Aantal opmerkingen per pagina';
|
||||
$lang['conf_comments_comments_number_info'] = 'Aantal opmerkingen per pagina. Het aantal opmerkingen is onbeperkt. Voer een getal in tussen de 5 en 50.';
|
||||
$lang['conf_err_comment_number'] = 'Het aantal opmerkingen per pagina moet minimaal een getal zijn tussen de 5 en 50';
|
||||
$lang['conf_remote_site_delete_info'] = 'Het verwijderen van een remote server, heeft als consequentie dat alle afbeeldingen en categoriën uit de database wordne verwijderd';
|
||||
$lang['conf_upload_title'] = 'Configuratie van user upload';
|
||||
$lang['conf_upload_available'] = 'Sta het uploaden van bestanden toe';
|
||||
$lang['conf_upload_maxfilesize'] = 'Maximale bestandsgrootte';
|
||||
$lang['conf_upload_maxfilesize_info'] = 'In KB een getal tussen 10 en 1000.';
|
||||
$lang['conf_err_upload_maxfilesize'] = $lang['conf_upload_maxfilesize_info'];
|
||||
$lang['conf_upload_maxwidth'] = 'Maximale breedte';
|
||||
$lang['conf_upload_maxwidth_info'] = 'In pixels met een minimale grootte van 10';
|
||||
$lang['conf_err_upload_maxwidth'] = $lang['conf_upload_maxwidth_info'];
|
||||
$lang['conf_upload_maxheight'] = 'Maximale hoogte';
|
||||
$lang['conf_upload_maxheight_info'] = 'In pixels met een minimale grootte van 10';
|
||||
$lang['conf_err_upload_maxwidth'] = $lang['conf_upload_maxheight_info'];
|
||||
$lang['conf_upload_maxwidth_thumbnail'] = 'Maximale breedte van de indexfoto';
|
||||
$lang['conf_upload_maxwidth_thumbnail_info'] = 'In pixels met een minimale grootte van 10';
|
||||
$lang['conf_err_upload_maxwidth_thumbnail'] = $lang['conf_upload_maxwidth_thumbnail_info'];
|
||||
$lang['conf_upload_maxheight_thumbnail'] = 'Maximale hoogte van de indexfoto';
|
||||
$lang['conf_upload_maxheight_thumbnail_info'] = 'In pixels met een minimale grootte van 10';
|
||||
$lang['conf_err_upload_maxheight_thumbnail'] = $lang['conf_upload_maxheight_thumbnail_info'];
|
||||
$lang['conf_default_title'] = 'Standaard instellingen voor gasten, deze worden overruled door de persoonlijke instellingen';
|
||||
$lang['conf_default_language_info'] = 'Standaard taal';
|
||||
$lang['conf_default_theme_info'] = 'Standaard opmaakthema';
|
||||
$lang['conf_session_title'] = 'Configuratie van de sessie';
|
||||
$lang['conf_session_size'] = 'identifier size';
|
||||
$lang['conf_session_size_info'] = '- the longer your identifier is, the more secure your site is<br />- enter a number between 4 and 50';
|
||||
$lang['conf_session_time'] = 'validity period';
|
||||
$lang['conf_session_time_info'] = '- the shorter the validity period is, the more secure your site is<br />- enter a number between 5 and 60, in minutes';
|
||||
$lang['conf_session_key'] = 'keyword';
|
||||
$lang['conf_session_key_info'] = '- the session keyword improve the encoding of the session identifier<br />- enter any sentence shorter than 255 caracters';
|
||||
$lang['conf_session_delete'] = 'Verwijder verlopen sessies';
|
||||
$lang['conf_session_delete_info'] = 'het is aan te raden om de verlopen sessies te verwijderen, omdat deze in de database achterblijven (voor de beveiliging maakt het niet uit)';
|
||||
$lang['user_err_modify'] = 'Deze gebruiker kan niet worden gewijzigd of verwijderd';
|
||||
$lang['user_err_unknown'] = 'Deze gebruiker bestaat niet in de database';
|
||||
$lang['adduser_info_message'] = 'De infromatie is in de database verwerkt voor user: ';
|
||||
$lang['adduser_info_password_updated'] = '(wachtwoord gewijzigd)';
|
||||
$lang['adduser_info_back'] = 'Terug naar de lijst';
|
||||
$lang['adduser_fill_form'] = 'Gebruik dit formulier a.u.b.';
|
||||
$lang['adduser_unmodify'] = 'niet te wijzigen';
|
||||
$lang['adduser_status'] = 'Status';
|
||||
$lang['adduser_status_admin'] = 'beheer';
|
||||
$lang['adduser_status_guest'] = 'gebruiker';
|
||||
$lang['permuser_info_message'] = 'Rechten zijn aangepast';
|
||||
$lang['permuser_title'] = 'Rechten voor gebruiker';
|
||||
$lang['permuser_warning'] = 'Waarschuwing : Een "<span style="font-weight:bold;">verboden toegang</span>" tot de root van een categorie voorkomt toegang tot de rest van die categorie';
|
||||
$lang['permuser_authorized'] = 'gemachtigd';
|
||||
$lang['permuser_forbidden'] = 'verboden';
|
||||
$lang['permuser_parent_forbidden'] = 'bovenliggende categorie is verboden';
|
||||
$lang['listuser_confirm'] = 'Wilt u deze gebruiker echt verwijderen';
|
||||
$lang['listuser_info_deletion'] = 'is uit database verwijderd';
|
||||
$lang['listuser_user_group'] = 'Gebruikersgroep';
|
||||
$lang['listuser_modify'] = 'Wijzig';
|
||||
$lang['listuser_modify_hint'] = 'wijzig gebruiker';
|
||||
$lang['listuser_permission'] = 'Rechten';
|
||||
$lang['listuser_permission_hint'] = 'wijzig rechten van';
|
||||
$lang['listuser_delete'] = 'Verwijder';
|
||||
$lang['listuser_delete_hint'] = 'verwijder gebruiker';
|
||||
$lang['listuser_button_all'] = 'allemaal';
|
||||
$lang['listuser_button_invert'] = 'inverteer';
|
||||
$lang['listuser_button_create_address'] = 'creeer e-mail adressen';
|
||||
$lang['cat_invisible'] = 'onzichtbaar';
|
||||
$lang['cat_edit'] = 'Wijzig';
|
||||
$lang['cat_up'] = 'Omhoog';
|
||||
$lang['cat_down'] = 'Omlaag';
|
||||
$lang['cat_image_info'] = 'Wijzig informatie';
|
||||
$lang['cat_total'] = 'total';
|
||||
$lang['editcat_confirm'] = 'De informatie is verwerkt in de database';
|
||||
$lang['editcat_back'] = $lang['lang_category_bmv'];
|
||||
$lang['editcat_title1'] = 'Opties voor de '.$lang['lang_category_sev'];
|
||||
$lang['editcat_name'] = 'Naam';
|
||||
$lang['editcat_comment'] = 'Opmerking';
|
||||
$lang['editcat_status'] = 'Status';
|
||||
$lang['infoimage_general'] = 'Basis opties voor '.$lang['lang_category_sev'].' ';
|
||||
$lang['infoimage_useforall'] = 'gebruik voor alle '.$lang['lang_picture_smv'].'?';
|
||||
$lang['infoimage_creation_date'] = 'Datum van de opname/creatie';
|
||||
$lang['infoimage_detailed'] = 'Optie voor elk afzonderlijke '.$lang['lang_picture_sev'];
|
||||
$lang['infoimage_title'] = 'Titel';
|
||||
$lang['infoimage_comment'] = 'Commentaar';
|
||||
$lang['update_missing_tn'] = 'er is geen indexfoto aanwezig voor';
|
||||
$lang['update_disappeared_tn'] = 'de indexfoto is verdwenen';
|
||||
$lang['update_disappeared'] = 'bestaat niet';
|
||||
$lang['update_part_deletion'] = 'Deletion of images that have no thumbnail or that doesn\'t exist';
|
||||
$lang['update_deletion_conclusion'] = 'foto of afbeelding is uit de database verwijderd';
|
||||
$lang['update_part_research'] = 'Zoeken naar nieuwe foto\'s of afbeeldingen';
|
||||
$lang['update_research_added'] = 'toegevoegd';
|
||||
$lang['update_research_tn_ext'] = 'indexfoto in';
|
||||
$lang['update_research_conclusion'] = 'foto\'s of afbeeldingen zijn toegevoegd aan de database';
|
||||
$lang['update_default_title'] = 'Kies een optie';
|
||||
$lang['update_only_cat'] = 'Ververs '.$lang['lang_category_smv'].', maar geen '.$lang['lang_picture_bmv'];
|
||||
$lang['update_all'] = 'Ververs alles';
|
||||
$lang['tn_width'] = 'breette';
|
||||
$lang['tn_height'] = 'hoogte';
|
||||
$lang['tn_no_support'] = 'Afbeelding niet bereikbaar';
|
||||
$lang['tn_format'] = 'voor het bestandsformaat';
|
||||
$lang['tn_thisformat'] = 'voor dit bestandsformaat';
|
||||
$lang['tn_err_width'] = 'de breedte moet groter zijn dan';
|
||||
$lang['tn_err_height'] = 'de hoogte moet groter zijn dan';
|
||||
$lang['tn_results_title'] = 'Resultaat van het genereren van de indexafbeeldingen';
|
||||
$lang['tn_picture'] = 'afbeelding';
|
||||
$lang['tn_results_gen_time'] = 'gegenereerd in';
|
||||
$lang['tn_stats'] = 'Algemene statistieken';
|
||||
$lang['tn_stats_nb'] = 'aantal gemaakte indexfoto\'s';
|
||||
$lang['tn_stats_total'] = 'totale tijd';
|
||||
$lang['tn_stats_max'] = 'max tijd';
|
||||
$lang['tn_stats_min'] = 'min tijd';
|
||||
$lang['tn_stats_mean'] = 'gemiddelde tijd';
|
||||
$lang['tn_err'] = 'U maakt fouten';
|
||||
$lang['tn_params_title'] = 'Instellingen voor de indexafbeeldingen';
|
||||
$lang['tn_params_GD'] = 'GD versie';
|
||||
$lang['tn_params_GD_info'] = '- GD is the picture manipulating library for PHP<br />-choose the version installed on your server. If you choose the wrong, you\'ll just have errors messages, come back with your browser and choose the other version. If no version works, it means your server doesn\'t support GD.';
|
||||
$lang['tn_params_width_info'] = 'de maximale breedte die een indexafbeelding mag zijn';
|
||||
$lang['tn_params_height_info'] = 'de maximale hoogte die een indexafbeelding mag zijn';
|
||||
$lang['tn_params_create'] = 'genereer';
|
||||
$lang['tn_params_create_info'] = 'Do not try to miniaturize too many pictures in the same time.<br />Indeed, miniaturization uses a lot of CPU. If you installed PhpWebGallery on a free provider, a too high CPU load can sometime lead to the deletion of your website.';
|
||||
$lang['tn_params_format'] = 'bestandsformaat';
|
||||
$lang['tn_params_format_info'] = 'alleen JPG wordt ondersteund voor indexafbeeldingen';
|
||||
$lang['tn_alone_title'] = 'afbeeldingen zonder indexafbeelding (alleen jpeg en png)';
|
||||
$lang['tn_dirs_title'] = 'Lijst met mappen/directories';
|
||||
$lang['tn_dirs_alone'] = 'afbeeldingen zonder indexafbeelding';
|
||||
$lang['help_images_title'] = 'Afbeeldingen toevoegen';
|
||||
$lang['help_images_intro'] = 'Hoe plaats ik afbeeldingen in de mappen/directories';
|
||||
$lang['help_images'][0] = 'in the directory "galleries", create directories that will represent your categories';
|
||||
$lang['help_images'][1] = 'in each directory, you can create as many sub-level directories as you wish.';
|
||||
$lang['help_images'][2] = 'you can create as many categories and sub-categories for each category as you wish';
|
||||
$lang['help_images'][3] = 'picture files must have jpeg format (extension jpg or JPG), gif format (extension gif or GIF) or png format (extension png or PNG).';
|
||||
$lang['help_images'][4] = 'try not to use blank space " " or hyphen "-" in picture files, I advise you to use underscore "_" character which is managed by PhpWebGallery and will provide better results';
|
||||
$lang['help_thumbnails_title'] = 'Indexafbeeldingen';
|
||||
$lang['help_thumbnails'][0] = 'in each directory containing picture to display on your site, there is a sub-directory nammed "thumbnail", if it doesn\'t exist, create it to place your thumbnails into it.';
|
||||
$lang['help_thumbnails'][1] = 'thumbnails don\'t need to have the same extension as their associated picture (a picture with .jpg extension can have a thumbnail in .GIF extention for instance).';
|
||||
$lang['help_thumbnails'][2] = 'the thumbnail associated to a picture must be prefixed with the prefix given on the configuration page(image.jpg -> TN_image.GIF for instance).';
|
||||
$lang['help_thumbnails'][3] = 'I advise you to use the module for windows downloadable on the presentation site of PhpWebGallery for thumbnails management.';
|
||||
$lang['help_thumbnails'][4] = 'you can use the thumbnail creation page integrated in PhpWebGallery, but I don\'t advice you so, because thumbnail quality may be poor and it uses a high CPU load which can be a problem if you use free web hosting.';
|
||||
$lang['help_thumbnails'][5] = 'if you choose to use your hosting provider to create thumbnails, you must give 775 rights on "galleries" folder and all its sub-folders.';
|
||||
$lang['help_database_title'] = 'Ververs Database';
|
||||
$lang['help_database'][0] = 'once pictures files and thumbnails correctly placed in the directories, clic on "database update" in the menu of the administration panel.';
|
||||
$lang['help_infos_title'] = 'Miscellanous informations';
|
||||
$lang['help_infos'][1] = 'As soon as you created your gallery, go in the user list and modify permissions for user "visiteur". Indeed, every new registered users will have by default the same permissions as "visiteur" user.';
|
||||
$lang['help_remote_title'] = 'Remote site';
|
||||
$lang['help_remote'][0] = 'PhpWebGallery offers the possibility to use several servers to store the images which will compose your gallery. It can be useful if your gallery is installed on one limited space and that you have a big quantity of images to be shown. Please , follow this procedure : ';
|
||||
$lang['help_remote'][1] = '1. edit file "create_listing_file.php" (you will find it in the directory "admin"), by modifying the line "$prefix_thumbnail = "TN-";" if the prefix for your thumbnails is not "TN-".';
|
||||
$lang['help_remote'][2] = '2. place file "create_listing_file.php" modified on your distant website, in the root directory of your directories of images (as the directory "galleries" of this website) by ftp.';
|
||||
$lang['help_remote'][3] = '3. launch script using the url http://domaineDistant/repGalerie/create_listing_file.php, a file listing.xml has just been created.';
|
||||
$lang['help_remote'][4] = '4. get back file listing.xml from your distant website to place it in directory "admin" of this website.';
|
||||
$lang['help_remote'][5] = '5. please , launch an update of the data of images by the interface of administration, once the listing.xml used file, kill it from the directory "admin".';
|
||||
$lang['help_remote'][6] = 'You can update the contents of a distant website by redoing the described manipulation. You can also kill a distant website by choosing the option in the configuration section of the administration panel.';
|
||||
$lang['help_upload_title'] = 'Added images by users';
|
||||
$lang['help_upload'][0] = 'PhpWebGallery offers the possibility for users to upload images. in order to do it :';
|
||||
$lang['help_upload'][1] = '1. authorize the option in the configuration zone of the administration panel';
|
||||
$lang['help_upload'][2] = '2. authorize the rights in writing in the images directories';
|
||||
$lang['install_message'] = 'Bericht';
|
||||
$lang['step1_confirmation'] = 'Parameters are correct';
|
||||
$lang['step1_err_db'] = 'Connection to server succeed, but it was impossible to connect to database';
|
||||
$lang['step1_err_server'] = 'Can\'t connect to server';
|
||||
$lang['step1_err_copy_2'] = 'De volgende stap van de installatie is nu mogelijk';
|
||||
$lang['step1_err_copy_next'] = 'volgende stap';
|
||||
$lang['step1_title'] = 'Stap 1/2';
|
||||
$lang['step1_host'] = 'MySQL host';
|
||||
$lang['step1_host_info'] = 'localhost, sql.multimania.com, toto.freesurf.fr';
|
||||
$lang['step1_user'] = 'Database user';
|
||||
$lang['step1_user_info'] = 'Dez gebruiker krijgt u van uw provider';
|
||||
$lang['step1_pass'] = 'Password';
|
||||
$lang['step1_pass_info'] = 'Het password krijgt u van uw provider';
|
||||
$lang['step1_database'] = 'Database naam';
|
||||
$lang['step1_database_info'] = 'Ook de naam van de database krijgt u via uw provider';
|
||||
$lang['step1_prefix'] = 'Database tabel voorvoegsel';
|
||||
$lang['step1_prefix_info'] = 'database tables names will be prefixed with it (enables you to manage better your tables)';
|
||||
$lang['step2_err_login1'] = 'voer een usernaam in van de beheerder';
|
||||
$lang['step2_err_login3'] = 'de usernaam mag geen \' of " karakters bevatten';
|
||||
$lang['step2_err_pass'] = 'voer nogmaals het wachtwoord in';
|
||||
$lang['step2_err_mail'] = $lang['conf_err_mail'];
|
||||
$lang['install_end_title'] = 'De installatie is nu klaar';
|
||||
$lang['install_end_message'] = 'De configuratie van PhpWebGallery is klaar<br /><br />
|
||||
Om veiligheidsredenen is het verstandig het bestand "install.php" in de directory "admin" te verwijderen<br />
|
||||
Als dit is uitgevoerd, kunt u de volgende acties uitvoeren :
|
||||
<ul>
|
||||
<li>Ga dan via het menu naar '.$lang['ident_page_title'].' : [ <a href="../identification.php">'.$lang['ident_page_title'].'</a> ] en gebruik hier dan de gebruiker die u net heeft aangemaakt</li>
|
||||
<li>Deze gebruiker geeft u dan toegang tot de [ <a href="admin.php">beheer module</a> ] en naar de verdere instructies</li>
|
||||
</ul>';
|
||||
$lang['step2_title'] = 'Stap 2/2';
|
||||
$lang['step2_pwd'] = 'Beheerders wachtwoord';
|
||||
$lang['step2_pwd_info'] = 'Hou dit geheim, dit account geeft toegang tot de beheer module';
|
||||
$lang['step2_pwd_conf'] = 'Bevestig wachtwoord';
|
||||
$lang['step2_pwd_conf_info'] = 'Nogmaals ter controle';
|
||||
// new or modified in release 1.3
|
||||
$lang['remote_site'] = 'Andere website';
|
||||
$lang['title_add'] = 'Nieuwe gebruiker';
|
||||
$lang['title_modify'] = 'Wijzig een gebruiker';
|
||||
$lang['title_groups'] = 'Groepen beheer';
|
||||
$lang['title_user_perm'] = 'Wijzig rechten voor gebruiker';
|
||||
$lang['title_cat_perm'] = 'Wijzig rechten voor '.$lang['lang_category_sev'];
|
||||
$lang['title_group_perm'] = 'Wijzig rechten voor groep';
|
||||
$lang['title_picmod'] = 'Wijzig informatie van een '.$lang['lang_picture_sev'];
|
||||
$lang['menu_groups'] = 'Groepen';
|
||||
$lang['menu_comments'] = 'Opmerkingen';
|
||||
$lang['conf_general_log'] = 'Logging';
|
||||
$lang['conf_general_log_info'] = 'Bij ja wordt de logging aangezet, dit is op te vragen in het beheer paneel. Note: Er wordt wel meer gevraagd van de database';
|
||||
$lang['conf_general_mail_notification'] = 'E-mail notficatie';
|
||||
$lang['conf_general_mail_notification_info'] = 'De beheerders krijgen een e-mail bericht als er een opmerking wordt geplaatst of als er een '.$lang['lang_picture_sev'].' wordt geupload.';
|
||||
$lang['conf_comments_validation'] = 'Opmerkingen eerst valideren';
|
||||
$lang['conf_comments_validation_info'] = 'Bij ja zal een beheerder de opmerkingen eerst moeten valideren';
|
||||
$lang['conf_comments_forall'] = 'Zichtbaar voor iedereen';
|
||||
$lang['conf_comments_forall_info'] = 'Bij ja zijn de opmerkingen ook voor gasten zichtbaar';
|
||||
$lang['conf_default_nb_image_per_row_info'] = 'Aantal indexfoto\'s dat zichtbaar is per regel';
|
||||
$lang['conf_default_nb_row_per_page_info'] = 'Aantal regels met indexfoto\'s';
|
||||
$lang['conf_default_short_period_info'] = 'Dit is de korte periode waarin de '.$lang['lang_picture_smv'].' de status van pas geplaatst hebben (met rood gemarkeerd). Deze moet minimaal een waarde 1 hebben';
|
||||
$lang['conf_default_long_period_info'] = 'Dit is de lange periode waarin de '.$lang['lang_picture_smv'].' de status van pas geplaatst hebben (met groen gemarkeerd). Deze moet minimaal een hogere waarde hebben dan de korte periode';
|
||||
$lang['conf_default_expand_info'] = 'Laat standaard in het menu alle '.$lang['lang_category_smv'].' zien ?';
|
||||
$lang['conf_default_show_nb_comments_info'] = 'Toon het aantal opmerkingen onder afbeelding op de indexpagina';
|
||||
$lang['conf_default_maxwidth_info'] = 'De afbeelding wordt getoond in een venster dat niet breeder is dan deze waarde in pixels.';
|
||||
$lang['conf_default_maxheight_info'] = 'De afbeelding wordt getoond in een venster dat niet hoger is dan deze waarde in pixels';
|
||||
$lang['conf_session_cookie'] = 'authorize cookies';
|
||||
$lang['conf_session_cookie_info'] = 'users won\'t have to log on each visit any more. Less secure.';
|
||||
$lang['adduser_associate'] = 'Beschikbare groep(en)';
|
||||
$lang['group_add'] = 'Toevoegen van groep';
|
||||
$lang['group_add_error1'] = 'The name of a group must not contain " or \'';
|
||||
$lang['group_add_error2'] = 'Deze naam wordt al gebruikt voor een andere groep';
|
||||
$lang['group_confirm'] = 'Wilt u deze groep echt verwijderen?';
|
||||
$lang['group_list_title'] = 'Lijst van bestaande groepen';
|
||||
$lang['group_err_unknown'] = 'Deze groep bestaat niet in de database';
|
||||
$lang['cat_permission'] = 'Rechten';
|
||||
$lang['cat_update'] = 'Ververs database';
|
||||
$lang['cat_add'] = 'Voeg een virtuele '.$lang['lang_category_sev'].' toe';
|
||||
$lang['cat_parent'] = 'Onder '.$lang['lang_category_sev'];
|
||||
$lang['cat_error_name'] = 'The name of a category mustn\'t be empty';
|
||||
$lang['cat_virtual'] = 'virtueel';
|
||||
$lang['cat_first'] = 'Move first';
|
||||
$lang['cat_last'] = 'Move last';
|
||||
$lang['editcat_visible_info'] = '(onzichtbaar uitgezonderd beheerders)';
|
||||
$lang['editcat_visible'] = 'Zichtbaar';
|
||||
$lang['editcat_uploadable'] = 'Upload beschikbaar';
|
||||
$lang['infoimage_keyword_separation'] = '(Gescheiden door een ",")';
|
||||
$lang['infoimage_addtoall'] = 'bestemd voor allemaal';
|
||||
$lang['infoimage_removefromall'] = 'verwijder van allemaal';
|
||||
$lang['infoimage_associate'] = 'Koppel aan de '.$lang['lang_category_sev'];
|
||||
$lang['update_wrong_dirname'] = 'The name of directories and files must be composed of letters, figures, "-", "_" or "."';
|
||||
$lang['stats_pages_seen'] = 'pagina\'s gezien';
|
||||
$lang['stats_visitors'] = 'gast(en)';
|
||||
$lang['stats_empty'] = 'Leeg logging';
|
||||
$lang['stats_pages_seen_graph_title'] = 'Aantal bezocht pagina\'s per dag';
|
||||
$lang['stats_visitors_graph_title'] = 'Aantal gasten per dag';
|
||||
$lang['comments_last_title'] = 'Alle opmerkingen';
|
||||
$lang['comments_non_validated_title'] = 'Opmerkingen is status te valideren';
|
||||
$lang['help_database'][1] = 'In order to avoid the update of too many pictures in a single update, I advise to start by updating only categories, then on the categories section of the administration panel, update each category thanks to the link "update"';
|
||||
$lang['help_upload'][3] = 'The category must have upload available itself for upload.';
|
||||
$lang['help_upload'][4] = 'Uploaded images by the users are not directly visible on the website, they must be validated by an administrator. For that purpose, an administrator must go on the page "en attente" of the administration panel, to validate or to refuse the images proposed, then launch an update of the images data.';
|
||||
$lang['help_virtual_title'] = 'Links between pictures and categories and virtual categories';
|
||||
$lang['help_virtual'][0] = 'PhpWebGallery is able to dissociate categories where pictures are stored and categories where pictures are shown.';
|
||||
$lang['help_virtual'][1] = 'By default, pictures are shown only in their real categories : the ones corresponding to directories on the web server.';
|
||||
$lang['help_virtual'][2] = 'To link a picture to a category, you just have to make the association on the page of picture informations or on the informations of all pictures of a category.';
|
||||
$lang['help_virtual'][3] = 'Using this principle, it is possible to create virtual categories in PhpWebGallery : no real directory coresponds to this category. You just have to create this category on the section "categories" of the admin panel.';
|
||||
$lang['help_groups_title'] = 'Users Groups';
|
||||
$lang['help_groups'][0] = 'PhpWebGallery is able to manage groups of users. It can be very useful to have common permission access for private categories.';
|
||||
$lang['help_groups'][1] = '1. Create the group "family" on the section "Groups" of admin panel.';
|
||||
$lang['help_groups'][2] = '2. On the section "Users", edit on of them and associate him to the group "family".';
|
||||
$lang['help_groups'][3] = '3. By modifying the permissions for a category or for a group, you\'ll see that all categories accessible for a group are accessible for its members.';
|
||||
$lang['help_groups'][4] = 'A user can belong to several groups. The authorization is stronger than prohibition : if a user "jack" belongs to the group "family" and "friends", and that only group "family" can see category "Christmas 2003", "jack" will be able to see "Christmas 2003".';
|
||||
$lang['help_access_title'] = 'Access authorization';
|
||||
$lang['help_access'][0] = 'PhpWebGallery is able to forbid access to categories. Categories can be "public" or "private". In order to forbid access to a category :';
|
||||
$lang['help_access'][1] = '1. Modify category informations (from the "categories" section in tha admin panel) and make it "private".';
|
||||
$lang['help_access'][2] = '2. On the page of permissions (for a group or a user) the private category will be shown and you\'ll be able to authorize access or not.';
|
||||
$lang['help_infos'][2] = 'If you have any question, do not hesitate to take a look at the forum or ask a question there. The <a href="'.$conf['forum_url'].'" style="text-decoration:underline">forum</a> (message board) is available on the presentation site of PhpWebGallery.';
|
||||
$lang['step1_err_copy'] = 'Copy the text between hyphens and paste it into the file "include/mysql.inc.php"(Warning : mysql.inc.php must only contain what is in blue, no line return or space character)';
|
||||
$lang['permuser_only_private'] = 'Alleen privé '.$lang['lang_category_smv'].' zijn zichtbaar';
|
||||
$lang['waiting_update'] = 'Gevalideerde foto\'s en afbeeldingen worden pas getoond nadat de database is ververst';
|
||||
$lang['conf_upload_available_info'] = 'Sta het uploaden van bestanden toe, dit moet wel per '.$lang['lang_category_sev'].' worden ingesteld, standaard staat deze optie uit.';
|
||||
$lang['install_help'] = 'Hulp nodig ? Stel je vraag op het <a href="http://forum.phpwebgallery.net">PhpWebGallery forum</a>. (Engels of Frans)';
|
||||
$lang['install_warning'] = 'Het bestand "admin/install.php" is nog niet verwijderd. Zolang deze na de installatie nog aanwezig is, is phpweggallery niet veilig.';
|
||||
// new or modified in release 1.3.1
|
||||
$lang['cat_unknown_id'] = 'Deze '.$lang['lang_category_sev'].' is niet in de database bekend';
|
||||
}
|
||||
?>
|
|
@ -155,7 +155,7 @@ $lang['upload_err_username'] = 'the username must be given';
|
|||
$lang['upload_username'] = 'Username';
|
||||
$lang['upload_successful'] = 'Picture uploaded with success, an administrator will validate it as soon as possible';
|
||||
// new or modified in release 1.3
|
||||
$lang['charset'] = 'ISO_8859-1';
|
||||
$lang['charset'] = 'iso-8859-1';
|
||||
$lang['no'] = 'no';
|
||||
$lang['yes'] = 'yes';
|
||||
$lang['guest'] = 'guest';
|
||||
|
@ -543,5 +543,7 @@ Once this file deleted , follow this instructions :
|
|||
$lang['conf_upload_available_info'] = 'Authorizing the upload of pictures by users on the categories of the website (not on a remote server). This is general parameter, it is needed to authorize upload category by category, by default, no category is "uploadable".';
|
||||
$lang['install_help'] = 'Need help ? Ask your question on <a href="http://forum.phpwebgallery.net">PhpWebGallery message board</a>.';
|
||||
$lang['install_warning'] = 'The file "admin/install.php" is still present. Please remove it from your server. It is not secure to keep it.';
|
||||
// new or modified in release 1.3.1
|
||||
$lang['cat_unknown_id'] = 'This category is unknown in the database';
|
||||
}
|
||||
?>
|
|
@ -147,7 +147,7 @@ $lang['upload_err_username'] = 'le nom de l\'utilisateur doit
|
|||
$lang['upload_username'] = 'Nom d\'utilisateur';
|
||||
$lang['upload_successful'] = 'Image uploadée avec succès, un administrateur validera celle-ci dès que possible.';
|
||||
// new or modified in release 1.3
|
||||
$lang['charset'] = 'ISO_8859-1';
|
||||
$lang['charset'] = 'iso-8859-1';
|
||||
$lang['no'] = 'non';
|
||||
$lang['yes'] = 'oui';
|
||||
$lang['guest'] = 'visiteur';
|
||||
|
@ -215,6 +215,7 @@ $lang['mail_new_upload_subject'] = 'Nouvelle image sur le site';
|
|||
$lang['mail_new_upload_content'] = 'Une nouvelle image a été placée sur la galerie. Elle est en attente de validation. RDV dans la section d\'administration pour valider ou supprimer cette image.';
|
||||
$lang['mail_new_comment_subject'] = 'Nouveau commentaire sur le site';
|
||||
$lang['mail_new_comment_content'] = 'Un nouveau commentaire a été posté sur la galerie. Si vous avez activé la validation des commentaires, il faut d\'abord valider le commentaire dans la zone d\'administration pour le voir apparaître.'."\n\n".'Vous avez accès aux derniers commentaires dans la zone d\'administration.';
|
||||
if (isset($conf))
|
||||
$lang['about_message'] = '<div style="text-align:center;font-weigh:bold;">Informations sur le PhpWebGallery</div>
|
||||
<ul>
|
||||
<li>Ce site utilise la version '.$conf['version'].' de <a href="'.$conf['site_url'].'" style="text-decoration:underline">PhpWebGallery</a>. PhpWebGallery est une application web permettant de créer simplement une galerie d\'images en ligne.</li>
|
||||
|
@ -538,10 +539,13 @@ Un fois ce fichier supprim
|
|||
$lang['help_access'][1] = '1. Editez la catégorie (depuis la page des catégories dans la zone d\'administration) et rendez la "privée".';
|
||||
$lang['help_access'][2] = '2. Sur les pages des permissions (d\'un groupe, d\'utilisateur) la catégorie apparaîtra et vous pourrez autoriser l\'accès ou non.';
|
||||
$lang['help_infos'][2] = 'Pour n\'importe quelle question, n\'hésitez pas à consulter le forum ou à y poser une question, sur le site';
|
||||
if (isset($conf))
|
||||
$lang['help_infos'][2] = 'Pour n\'importe quelle question, n\'hésitez pas à consulter le <a href="'.$conf['forum_url'].'" style="text-decoration:underline">forum</a> ou à y poser une question, sur le site';
|
||||
$lang['step1_err_copy'] = 'Copiez le texte en bleu entre les tirets et collez-le dans le fichier mysql.inc.php qui se trouve dans le répertoire "include" à la base de l\'endroit où vous avez installé PhpWebGallery (le fichier mysql.inc.php ne doit comporter QUE ce qui est en bleu entre les tirets, aucun retour à la ligne ou espace n\'est autorisé)';
|
||||
$lang['conf_upload_available_info'] = 'Autoriser l\'ajout d\'image par les utilisateurs dans les catégories du site (pas sur un site distant). Ceci est un paramètre général, il est nécessaire pour autoriser l\'upload catégorie par catégorie.';
|
||||
$lang['install_help'] = 'Besoin d\'aide ? Posez votre question sur le <a href="http://forum.phpwebgallery.net">forum de PhpWebGallery</a>.';
|
||||
$lang['install_warning'] = 'Le fichier "admin/install.php" est encore présent sur votre serveur. Merci de le supprimer. Il pourrait être utilisé par un tiers à des fins malveillantes.';
|
||||
// new or modified in release 1.3.1
|
||||
$lang['cat_unknown_id'] = 'Cette catégorie n\'existe pas dans la base de données';
|
||||
}
|
||||
?>
|
542
language/italiano.php
Normal file
542
language/italiano.php
Normal file
|
@ -0,0 +1,542 @@
|
|||
<?php
|
||||
/***************************************************************************
|
||||
* italiano.php *
|
||||
* ------------------- *
|
||||
* application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
|
||||
* author : Pierrick LE GALL <pierrick@z0rglub.com> *
|
||||
* *
|
||||
* italian version by Ambrogio Corralloni, hamcor@softhome.net *
|
||||
* *
|
||||
* $Id$
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* 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; *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
$lang['only_members'] = 'Accesso riservato agli utenti registrati';
|
||||
$lang['invalid_pwd'] = 'Password non valida!';
|
||||
$lang['access_forbiden'] = 'Non sei autorizzato ad accedere a questa pagina';
|
||||
$lang['submit'] = 'Submit';
|
||||
$lang['login'] = 'utente';
|
||||
$lang['password'] = 'password';
|
||||
$lang['new'] = 'nuovo';
|
||||
$lang['delete'] = 'elimina';
|
||||
$lang['category'] = 'categoria';
|
||||
$lang['thumbnail'] = 'miniatura';
|
||||
$lang['date'] = 'data';
|
||||
$lang['diapo_default_page_title'] = 'Nessuna categoria selezionata';
|
||||
$lang['thumbnails'] = 'Miniature';
|
||||
$lang['categories'] = 'Categorie';
|
||||
$lang['hint_category'] = 'Mostra le immagini nella root di questa categoria';
|
||||
$lang['total_images'] = 'totale';
|
||||
$lang['title_menu'] = 'Menu';
|
||||
$lang['change_login'] = 'cambia login';
|
||||
$lang['login'] = 'login';
|
||||
$lang['hint_login'] = 'identificarsi per essere abilitati alla personalizzazione del sito';
|
||||
$lang['logout'] = 'logout';
|
||||
$lang['customize'] = 'personalizza';
|
||||
$lang['hint_customize'] = 'personalizza la galleria';
|
||||
$lang['hint_search'] = 'cerca';
|
||||
$lang['search'] = 'cerca';
|
||||
$lang['favorite_cat'] = 'preferite';
|
||||
$lang['favorite_cat_hint'] = 'mostra le tue preferite';
|
||||
$lang['about'] = 'informazioni';
|
||||
$lang['hint_about'] = 'altre informazioni su PhpWebGallery...';
|
||||
$lang['admin'] = 'admin';
|
||||
$lang['hint_admin'] = 'disponibile solo per gli amministratori';
|
||||
$lang['no_category'] = 'Nessuna categoria selezionata<br />scegline una nel menu';
|
||||
$lang['page_number'] = 'pagina numero';
|
||||
$lang['previous_page'] = 'Precedente';
|
||||
$lang['next_page'] = 'Successiva';
|
||||
$lang['nb_image_category'] = 'numero delle immagini in questa categoria';
|
||||
$lang['recent_image'] = 'immagini con meno di';
|
||||
$lang['days'] = 'giorni';
|
||||
$lang['send_mail'] = 'Commenti? Inviami un e-mail';
|
||||
$lang['title_send_mail'] = 'Un commento sul tuo sito';
|
||||
$lang['sub-cat'] = 'sottocategorie';
|
||||
$lang['images_available'] = 'immagini in questa categoria';
|
||||
$lang['total'] = 'immagini';
|
||||
$lang['upload_picture'] = 'Carica una immagine';
|
||||
$lang['registration_date'] = 'registrato il';
|
||||
$lang['creation_date'] = 'creato il';
|
||||
$lang['comment'] = 'commento';
|
||||
$lang['author'] = 'autore';
|
||||
$lang['size'] = 'dimensioni';
|
||||
$lang['filesize'] = 'dimensioni file';
|
||||
$lang['file'] = 'file';
|
||||
$lang['generation_time'] = 'Pagina generata in';
|
||||
$lang['favorites'] = 'Preferite';
|
||||
$lang['search_result'] = 'Risultati ricerca';
|
||||
$lang['about_page_title'] = 'Info su PhpWebGallery';
|
||||
$lang['about_title'] = 'Informazioni...';
|
||||
$lang['about_message'] = '<div style="text-align:center;font-weigh:bold;">Informazioni su PhpWebGallery</div><ul><li>Questo sito web usa<a href="'.$conf['site_url'].'" style="text-decoration:underline">PhpWebGallery</a> versione '.$conf['version'].'. PhpWebGallery consiste in una applicazione web che ti permette di creare facilmente una galleria di immagini online.</li> <li>Tecnicamente, PhpWebGallery viene sviluppato interamente in PHP (the elePHPant) con un database MySQL (the SQuirreL)(Un elefante e lo scoiattolo).</li> <li>Se hai commenti o suggerimenti, visit <a href="'.$conf['site_url'].'" style="text-decoration:underline">PhpWebGallery</a> sito ufficiale, e i <a href="'.$conf['forum_url'].'" style="text-decoration:underline">forum</a> dedicati.</li>
|
||||
</ul>';
|
||||
$lang['about_return'] = 'Indietro';
|
||||
$lang['ident_page_title'] = 'Identificazione';
|
||||
$lang['ident_title'] = 'Identificazione';
|
||||
$lang['ident_register'] = 'Registrazione';
|
||||
$lang['ident_forgotten_password'] = 'Dimenticato la password ?';
|
||||
$lang['ident_guest_visit'] = 'Entra nella galleria come visitatore';
|
||||
$lang['customize_page_title'] = 'Personalizzazione';
|
||||
$lang['customize_title'] = 'Personalizzazione';
|
||||
$lang['customize_nb_image_per_row'] = 'immagini per riga';
|
||||
$lang['customize_nb_row_per_page'] = 'righe per pagina';
|
||||
$lang['customize_language'] = 'lingua';
|
||||
$lang['maxwidth'] = 'massima larghezza immagini';
|
||||
$lang['maxheight'] = 'massima altezza immagini';
|
||||
$lang['err_maxwidth'] = 'la larghezza massima deve essere superiore a 50';
|
||||
$lang['err_maxheight'] = 'la altezza massima deve essere superiore a 50';
|
||||
$lang['previous_image'] = 'Precedente';
|
||||
$lang['next_image'] = 'Successiva';
|
||||
$lang['back'] = 'Click sulla immagine per tornare alla pagina delle miniature';
|
||||
$lang['info_image_title'] = 'Informazioni immagine';
|
||||
$lang['link_info_image'] = 'Modifica informazioni';
|
||||
$lang['true_size'] = 'Dimensioni reali';
|
||||
$lang['comments_title'] = 'Commenti degli utenti';
|
||||
$lang['comments_del'] = 'elimina questo commento';
|
||||
$lang['comments_add'] = 'Aggiungi un commento';
|
||||
$lang['month'][1] = 'Gennaio';
|
||||
$lang['month'][2] = 'Febbraio';
|
||||
$lang['month'][3] = 'Marzo';
|
||||
$lang['month'][4] = 'Aprile';
|
||||
$lang['month'][5] = 'Maggio';
|
||||
$lang['month'][6] = 'Giugno';
|
||||
$lang['month'][7] = 'Luglio';
|
||||
$lang['month'][8] = 'Agosto';
|
||||
$lang['month'][9] = 'Settembre';
|
||||
$lang['month'][10] = 'Ottobre';
|
||||
$lang['month'][11] = 'Novembre';
|
||||
$lang['month'][12] = 'Dicembre';
|
||||
$lang['day'][0] = 'Domenica';
|
||||
$lang['day'][1] = 'Lunedi';
|
||||
$lang['day'][2] = 'Martedi';
|
||||
$lang['day'][3] = 'Mercoledi';
|
||||
$lang['day'][4] = 'Giovedi';
|
||||
$lang['day'][5] = 'Venerdi';
|
||||
$lang['day'][6] = 'Sabato';
|
||||
$lang['add_favorites_alt'] = 'Aggiungi alle preferite';
|
||||
$lang['add_favorites_hint'] = 'Aggiungi questa immagine alle tue preferite';
|
||||
$lang['del_favorites_alt'] = 'Elimina dalle preferite';
|
||||
$lang['del_favorites_hint'] = 'Elimina questa immagine dalle tue preferite';
|
||||
$lang['register_page_title'] = 'Registrazione';
|
||||
$lang['register_title'] = 'Registrazione';
|
||||
$lang['reg_err_login1'] = 'Nome utente';
|
||||
$lang['reg_err_login2'] = 'il nome utente non deve terminare con uno spazio';
|
||||
$lang['reg_err_login3'] = 'il nome utente non deve iniziare con uno spazio';
|
||||
$lang['reg_err_login4'] = 'il nome utente non deve contenere i caratteri " e \'';
|
||||
$lang['reg_err_login5'] = 'nome utente in uso - scegline un altro';
|
||||
$lang['reg_err_pass'] = 'inserire ancora la password';
|
||||
$lang['reg_confirm'] = 'conferma';
|
||||
$lang['reg_err_mail_address'] = 'l\'indirizzo e-mail deve essere nella forma xxx@yyy.eee (esempio : jack@altern.org)';
|
||||
$lang['search_title'] = 'Cerca';
|
||||
$lang['invalid_search'] = 'la ricerca va fatta con almeno 3 caratteri';
|
||||
$lang['search_field_search'] = 'Cerca';
|
||||
$lang['search_return_main_page'] = 'Torna alla pagina delle miniature';
|
||||
$lang['upload_forbidden'] = 'Non puoi aggiungere immagini in questa categoria';
|
||||
$lang['upload_file_exists'] = 'Nome immagine in uso - scegline un altro';
|
||||
$lang['upload_filenotfound'] = 'Devi scegliere un formato file per la immagine';
|
||||
$lang['upload_cannot_upload'] = 'Impossibile caricare immagine sul server';
|
||||
$lang['upload_title'] = 'Aggiungi immagine';
|
||||
$lang['upload_advise'] = 'Scegli una immagine da aggiungere nella categoria : ';
|
||||
$lang['upload_advise_thumbnail'] = 'Opzionale, ma raccomandato : scegli una miniatura da associare ';
|
||||
$lang['upload_advise_filesize'] = 'la dimensione del file non deve eccedere : ';
|
||||
$lang['upload_advise_width'] = 'la larghezza immagine non deve eccedere : ';
|
||||
$lang['upload_advise_height'] = 'la altezza immagine non deve eccedere : ';
|
||||
$lang['upload_advise_filetype'] = 'il file deve essere nel formato jpg, gif or png';
|
||||
$lang['upload_err_username'] = 'Inserire il nome utente';
|
||||
$lang['upload_username'] = 'Nome utente';
|
||||
$lang['upload_successful'] = 'Immagine caricata con successo, un amministratore la convalidera prima possibile';
|
||||
// new or modified in release 1.3
|
||||
$lang['charset'] = 'iso-8859-1';
|
||||
$lang['no'] = 'no';
|
||||
$lang['yes'] = 'si';
|
||||
$lang['guest'] = 'visitatore';
|
||||
$lang['mail_address'] = 'indirizzo mail';
|
||||
$lang['public'] = 'pubblico';
|
||||
$lang['private'] = 'privato';
|
||||
$lang['add'] = 'aggiungi';
|
||||
$lang['dissociate'] = 'dissocia';
|
||||
$lang['mandatory'] = 'obbligatorio';
|
||||
$lang['err_date'] = 'data errata';
|
||||
$lang['picture'] = 'immagine';
|
||||
$lang['IP'] = 'IP';
|
||||
$lang['close'] = 'chiudi';
|
||||
$lang['open'] = 'apri';
|
||||
$lang['keywords'] = 'parole-chiave';
|
||||
$lang['errors_title'] = 'Errori';
|
||||
$lang['infos_title'] = 'Informazioni';
|
||||
$lang['default'] = 'default';
|
||||
$lang['comments'] = 'commenti';
|
||||
$lang['category_representative'] = 'rappresentante';
|
||||
$lang['stats'] = 'statistiche';
|
||||
$lang['most_visited_cat_hint'] = 'mostra le immagini maggiormente richieste';
|
||||
$lang['most_visited_cat'] = 'maggiormente richieste';
|
||||
$lang['best_rated_cat_hint'] = 'mostra le immagini meglio votate';
|
||||
$lang['best_rated_cat'] = 'meglio votate';
|
||||
$lang['recent_cat_hint'] = 'mostra le immagini più recenti';
|
||||
$lang['recent_cat'] = 'più recenti';
|
||||
$lang['recent_cat_title'] = 'Immagini recenti';
|
||||
$lang['visited'] = 'visitate';
|
||||
$lang['times'] = 'volte';
|
||||
$lang['customize_theme'] = 'tema';
|
||||
$lang['customize_expand'] = 'espandi tutte le categorie';
|
||||
$lang['customize_show_nb_comments'] = 'mostra numero commenti';
|
||||
$lang['customize_short_period'] = 'breve periodo';
|
||||
$lang['customize_long_period'] = 'lungo periodo';
|
||||
$lang['customize_template'] = 'template';
|
||||
$lang['err_periods'] = 'il periodo deve essere un valore intero';
|
||||
$lang['err_periods_2'] = 'il periodo deve essere maggiore di 0. Il lungo periodo deve essere maggiore del breve periodo.';
|
||||
$lang['create_cookie'] = 'cre un cookie';
|
||||
$lang['customize_day'] = 'giorno';
|
||||
$lang['customize_week'] = 'settimana';
|
||||
$lang['customize_month'] = 'mese';
|
||||
$lang['customize_year'] = 'anno';
|
||||
$lang['slideshow'] = 'proiezione diapositive';
|
||||
$lang['period_seconds'] = 'secondi per immagine';
|
||||
$lang['slideshow_stop'] = 'arresta la proiezione';
|
||||
$lang['comment_added'] = 'Il tuo commento è stato registrato';
|
||||
$lang['comment_to_validate'] = 'Un amministratore deve autorizzare il tuo commento prima della pubblicazione.';
|
||||
$lang['comment_anti-flood'] = 'Sistema anti-flood : attendi un momento prima di inserire un altro comento';
|
||||
$lang['comment_user_exists'] = 'Questo nome utente è già in uso';
|
||||
$lang['invalid_search'] = 'I termini cercati devono contenere più di 3 caratteri e non devono contenere segni di punteggiatura';
|
||||
$lang['search_mode_or'] = 'almeno una parola';
|
||||
$lang['search_mode_and'] = 'tutte le parole';
|
||||
$lang['search_comments'] = 'separare le parole con uno spazio';
|
||||
$lang['upload_name'] = 'Nome immagine';
|
||||
$lang['upload_author'] = 'Autore (es "Pierrick LE GALL")';
|
||||
$lang['upload_creation_date'] = 'Data di creazione (DD/MM/YYYY)';
|
||||
$lang['upload_comment'] = 'Commento';
|
||||
$lang['mail_hello'] = 'Salve,';
|
||||
$lang['mail_new_upload_subject'] = 'Nuova immagine nel sito';
|
||||
$lang['mail_new_upload_content'] = 'Una nuova immagine aggiunta alla galleria, in attesa di convalida. Accedere alla sezioe Amministrazione per autorizzare o rifiutare l\'immagine.';
|
||||
$lang['mail_new_comment_subject'] = 'Nuovo commento nel sito';
|
||||
$lang['mail_new_comment_content'] = 'Nuovo commento registrato nella galleria. Se è attivata la convalida dei commenti, è necessario convalidare il commento nella sezione Amministrazioneto per renderlo pubblico.'."\n\n".'Puoi vedere gli ultimi commenti nella sezione Amministrazione';
|
||||
$lang['connected_user'] = 'utenti connessi';
|
||||
$lang['title_comments'] = 'Commenti degli utenti';
|
||||
$lang['stats_last_days'] = 'ultimi giorni';
|
||||
$lang['hint_comments'] = 'Leggi gli ultimi commenti';
|
||||
$lang['menu_login'] = 'login';
|
||||
//-------------------------------------------------------------- administration
|
||||
if ( $isadmin )
|
||||
{
|
||||
$lang['title_liste_users'] = 'Lista utenti';
|
||||
$lang['title_history'] = 'Storico';
|
||||
$lang['title_update'] = 'Aggiornamento database';
|
||||
$lang['title_configuration'] = 'Configurazione PhpWebGallery';
|
||||
$lang['title_instructions'] = 'Istruzioni';
|
||||
$lang['title_categories'] = 'Gestione categorie';
|
||||
$lang['title_edit_cat'] = 'Edita categoria';
|
||||
$lang['title_info_images'] = 'Modifica le informazioni sulle immagini di una categoria';
|
||||
$lang['title_thumbnails'] = 'Creazione miniature';
|
||||
$lang['title_thumbnails_2'] = 'per';
|
||||
$lang['title_default'] = 'Amministrazione PhpWebGallery';
|
||||
$lang['menu_title'] = 'Administrazione';
|
||||
$lang['menu_config'] = 'Configurazione';
|
||||
$lang['menu_users'] = 'Utenti';
|
||||
$lang['menu_add_user'] = 'aggiungi';
|
||||
$lang['menu_list_user'] = 'lista';
|
||||
$lang['menu_categories'] = 'Categorie';
|
||||
$lang['menu_update'] = 'Aggiorna database';
|
||||
$lang['menu_thumbnails'] = 'Miniature';
|
||||
$lang['menu_history'] = 'Storico';
|
||||
$lang['menu_instructions'] = 'Istruzioni';
|
||||
$lang['menu_back'] = 'Torna alle gallerie';
|
||||
$lang['title_waiting'] = 'Immagini in attesa di convalida';
|
||||
$lang['menu_waiting'] = 'In attesa';
|
||||
$lang['default_message'] = 'Sezione Amministrazione PhpWebGallery';
|
||||
$lang['conf_err_prefixe'] = 'il prefisso delle miniature non deve contenere caratteri accentati';
|
||||
$lang['conf_err_mail'] = 'indirizzo e-mail rifiutato, deve essere nel formato name@server.com';
|
||||
$lang['conf_err_sid_size'] = 'la taglia dell\'identificatore di sessione deve essere un intero compreso tra 4 e 50';
|
||||
$lang['conf_err_sid_time'] = 'la durata della sessione deve essere compresa tra 5 e 60 minuti';
|
||||
$lang['conf_err_max_user_listbox'] = 'il numero massimo di utilizzatori listbox deve essere un intero compreso tra 0 e 255';
|
||||
$lang['conf_confirmation'] = 'Informazioni registrate nel database';
|
||||
$lang['conf_general_title'] = 'Configurazione principale';
|
||||
$lang['conf_general_webmaster'] = 'login webmaster';
|
||||
$lang['conf_general_webmaster_info'] = 'Appare ai visitatori. Vi serve per amministrare il sito';
|
||||
$lang['conf_general_mail'] = 'e-mail webmaster';
|
||||
$lang['conf_general_mail_info'] = 'I visitatori potranno contattarvi a questo indirizzo ';
|
||||
$lang['conf_general_prefix'] = 'prefisso miniature';
|
||||
$lang['conf_general_prefix_info'] = 'Le miniature usano questo prefisso. Lasciare vuoto in caso di dubbio.';
|
||||
$lang['conf_general_access'] = 'tipo di accesso';
|
||||
$lang['conf_general_access_1'] = 'libero';
|
||||
$lang['conf_general_access_2'] = 'ristretto';
|
||||
$lang['conf_general_access_info'] = '- libero : tutti i visitatori possono creare un account per poter personalizzare l\'aspetto del sito<br />- ristretto : il webmaster crea gli accounts. Solo gli utenti registrati possono accedere al sito';
|
||||
$lang['conf_general_max_user_listbox'] = 'numero massimo di utilizzatori listbox';
|
||||
$lang['conf_general_max_user_listbox_info'] = '- questo è il numero massimo di utenti per i quali PhpWebGallery mostra un listbox nella pagina di identificazione<br />- inserire un numero compreso tra 0 e 255, 0 significa nessun listbox';
|
||||
$lang['conf_comments'] = 'commenti degli utenti';
|
||||
$lang['conf_comments_title'] = 'Configurazione dei '.$lang['conf_comments'];
|
||||
$lang['conf_comments_show_comments'] = $lang['conf_comments'];
|
||||
$lang['conf_comments_show_comments_info'] = 'mostra i commenti degli utenti sotto ciascuna immagine ?';
|
||||
$lang['conf_comments_comments_number'] = 'numero di commenti per pagina';
|
||||
$lang['conf_comments_comments_number_info'] = 'numero di commenti da mostrare in ciascuna pagina. Il numero di commenti per immagine rimane illimitato. Inserire un numero tra 5 e 50.';
|
||||
$lang['conf_err_comment_number'] = 'Il numero di commenti per pagina deve essere compreso tra 5 e 50 inclusi.';
|
||||
$lang['conf_remote_site_delete_info'] = 'Cancellando un sito remoto saranno cancellate tutte le relative immagini e categorie.';
|
||||
$lang['conf_upload_title'] = 'Configurazione upload utenti';
|
||||
$lang['conf_upload_available'] = 'autorizzato ad aggiungere immagini';
|
||||
$lang['conf_upload_maxfilesize'] = 'dimensione massima file';
|
||||
$lang['conf_upload_maxfilesize_info'] = 'Dimensione massima del file per le immagini da aggiungere. Deve essere un intero compreso tra 10 e 1000 KB.';
|
||||
$lang['conf_err_upload_maxfilesize'] = 'La dimensione massima del file per le immagini da aggiungere deve essere un intero compreso tra 10 e 1000 KB.';
|
||||
$lang['conf_upload_maxwidth'] = 'larghezza massima';
|
||||
$lang['conf_upload_maxwidth_info'] = 'Larghezza massima delle immagini da aggiungere. Deve essere un intero maggiore di 10, in pixels';
|
||||
$lang['conf_err_upload_maxwidth'] = 'la larghezza massima delle immagini da aggiungere deve essere un intero maggiore di 10, in pixels.';
|
||||
$lang['conf_upload_maxheight'] = 'altezza massima';
|
||||
$lang['conf_upload_maxheight_info'] = 'Altezza massima delle immagini da aggiungere. Deve essere un intero maggiore di 10, in pixels';
|
||||
$lang['conf_err_upload_maxwidth'] = 'l\'altezza massima delle immagini da aggiungere deve essere un intero maggiore di 10, in pixels.';
|
||||
$lang['conf_upload_maxwidth_thumbnail'] = 'larghezza massima delle miniature';
|
||||
$lang['conf_upload_maxwidth_thumbnail_info'] = 'Larghezza massima delle miniature da aggiungere. Deve essere un numero maggiore di 10, in pixels';
|
||||
$lang['conf_err_upload_maxwidth_thumbnail'] = 'La larghezza massima delle miniature da aggiungere deve essere un intero maggiore di 10, in pixels.';
|
||||
$lang['conf_upload_maxheight_thumbnail'] = 'altezza massima delle miniature';
|
||||
$lang['conf_upload_maxheight_thumbnail_info'] = 'Altezza massima delle miniature da aggiungere. Deve essere un numero maggiore di 10, in pixels';
|
||||
$lang['conf_err_upload_maxheight_thumbnail'] = 'L\'altezza massima delle miniature da aggiungere deve essere un numero maggiore di 10, in pixels.';
|
||||
$lang['conf_default_title'] = 'Schermo di default per visitatori non registrati e nuovi accounts';
|
||||
$lang['conf_default_language_info'] = 'lingua di default';
|
||||
$lang['conf_default_theme_info'] = 'tema di default';
|
||||
$lang['conf_session_title'] = 'Configurazione sessione';
|
||||
$lang['conf_session_size'] = 'dimensione identificatore';
|
||||
$lang['conf_session_size_info'] = '- identificatore più grande significa maggior sicurezza<br />- inserire un valore tra 4 e 50';
|
||||
$lang['conf_session_time'] = 'periodo di validità';
|
||||
$lang['conf_session_time_info'] = '- periodo più breve significa maggior sicurezza<br />- inserire un valore tra 5 e 60, in minuti';
|
||||
$lang['conf_session_key'] = 'parola chiave';
|
||||
$lang['conf_session_key_info'] = '- la parola chiave di sessione migliora la criptazione dell\'identificatore di sessione<br />- inserire una combinazione che non superi i 255 caratteri';
|
||||
$lang['conf_session_delete'] = 'cancella le sessioni scadute';
|
||||
$lang['conf_session_delete_info'] = 'si raccomanda di vuotare la tabella database delle sessioni, perchè le sessioni scadute rimangono registrate (anche se questo non pone problemi di sicurezza)';
|
||||
$lang['user_err_modify'] = 'Questo utente n on può essere cancellato o modificato';
|
||||
$lang['user_err_unknown'] = 'Questo utente non esiste nel database';
|
||||
$lang['adduser_info_message'] = 'Informazioni registrate nel database per l\'utente ';
|
||||
$lang['adduser_info_password_updated'] = '(password modificata)';
|
||||
$lang['adduser_info_back'] = 'torna alla lista utenti';
|
||||
$lang['adduser_fill_form'] = 'Riempire il seguente formulario';
|
||||
$lang['adduser_unmodify'] = 'non modificabile';
|
||||
$lang['adduser_status'] = 'status';
|
||||
$lang['adduser_status_admin'] = 'admin';
|
||||
$lang['adduser_status_guest'] = 'guest';
|
||||
$lang['permuser_info_message'] = 'Permessi registrati';
|
||||
$lang['permuser_title'] = 'Restrizioni per l\'utente';
|
||||
$lang['permuser_warning'] = 'Attenzione : un "<span style="font-weight:bold;">accesso vietato</span>" alla radice di una categoria impedisce l\'accesso a tutta la categoria';
|
||||
$lang['permuser_authorized'] = 'autorizzato';
|
||||
$lang['permuser_forbidden'] = 'vietato';
|
||||
$lang['permuser_parent_forbidden'] = 'categoria superiore vietata';
|
||||
$lang['listuser_confirm'] = 'Si desidera realmente cancellare questo utente';
|
||||
$lang['listuser_info_deletion'] = 'cancellato dal database';
|
||||
$lang['listuser_user_group'] = 'Utenti';
|
||||
$lang['listuser_modify'] = 'modifica';
|
||||
$lang['listuser_modify_hint'] = 'modifica informazioni di';
|
||||
$lang['listuser_permission'] = 'permessi';
|
||||
$lang['listuser_permission_hint'] = 'modifica permissi di';
|
||||
$lang['listuser_delete'] = 'cancella';
|
||||
$lang['listuser_delete_hint'] = 'cancella utente';
|
||||
$lang['listuser_button_all'] = 'tutti';
|
||||
$lang['listuser_button_invert'] = 'invertire';
|
||||
$lang['listuser_button_create_address'] = 'creare indirizzo e-mail';
|
||||
$lang['cat_invisible'] = 'invisibile';
|
||||
$lang['cat_edit'] = 'Edita';
|
||||
$lang['cat_up'] = 'Su';
|
||||
$lang['cat_down'] = 'Giù';
|
||||
$lang['cat_image_info'] = 'Informazioni immagini';
|
||||
$lang['cat_total'] = 'totale';
|
||||
$lang['editcat_confirm'] = 'Informazioni registrate nel database';
|
||||
$lang['editcat_back'] = 'categorie';
|
||||
$lang['editcat_title1'] = 'Opzioni per la categoria';
|
||||
$lang['editcat_name'] = 'Nome';
|
||||
$lang['editcat_comment'] = 'Commento';
|
||||
$lang['editcat_status'] = 'Status';
|
||||
$lang['infoimage_general'] = 'Opzioni generali per la categoria';
|
||||
$lang['infoimage_useforall'] = 'usare per tutte le immagini? ?';
|
||||
$lang['infoimage_creation_date'] = 'data crazione';
|
||||
$lang['infoimage_detailed'] = 'Opzioni per ciascuna immagine';
|
||||
$lang['infoimage_title'] = 'titolo';
|
||||
$lang['infoimage_comment'] = 'commento';
|
||||
$lang['update_missing_tn'] = 'manca la miniatura per';
|
||||
$lang['update_disappeared_tn'] = 'la miniatura è scomparsa';
|
||||
$lang['update_disappeared'] = 'non esiste';
|
||||
$lang['update_part_deletion'] = 'Cancellazione immagini prive di miniatura o che non esistono';
|
||||
$lang['update_deletion_conclusion'] = 'immagine romossa dal database';
|
||||
$lang['update_part_research'] = 'Ricerca nuove immagini nelle directories';
|
||||
$lang['update_research_added'] = 'aggiunta';
|
||||
$lang['update_research_tn_ext'] = 'miniatura in';
|
||||
$lang['update_research_conclusion'] = 'immagini aggiunte al database';
|
||||
$lang['update_default_title'] = 'Scegliere una opzione';
|
||||
$lang['update_only_cat'] = 'aggiornare le categorie, non le immagini';
|
||||
$lang['update_all'] = 'aggiornare tutto';
|
||||
$lang['tn_width'] = 'larghezza';
|
||||
$lang['tn_height'] = 'altezza';
|
||||
$lang['tn_no_support'] = 'Immagine inesistente o senza supporto';
|
||||
$lang['tn_format'] = 'per il formato file';
|
||||
$lang['tn_thisformat'] = 'per questo formato file';
|
||||
$lang['tn_err_width'] = 'la larghezza deve essere un intero maggiore di';
|
||||
$lang['tn_err_height'] = 'l\'altezza deve essere un intero maggiore di';
|
||||
$lang['tn_results_title'] = 'Risultati miniaturizzazione';
|
||||
$lang['tn_picture'] = 'immagine';
|
||||
$lang['tn_results_gen_time'] = 'generata in';
|
||||
$lang['tn_stats'] = 'Statistiche generali';
|
||||
$lang['tn_stats_nb'] = 'numero di immagini miniaturizzate';
|
||||
$lang['tn_stats_total'] = 'tempo totale';
|
||||
$lang['tn_stats_max'] = 'tempo massimo';
|
||||
$lang['tn_stats_min'] = 'tempo minimo';
|
||||
$lang['tn_stats_mean'] = 'tempo medio';
|
||||
$lang['tn_err'] = 'hai commesso qualche errore';
|
||||
$lang['tn_params_title'] = 'Parametri di miniaturizzazione';
|
||||
$lang['tn_params_GD'] = 'Versione GD';
|
||||
$lang['tn_params_GD_info'] = '- GD è la libreria di manipolazione grafica per PHP<br />-scegliere la versione installata nel vostro server. Se avete scelto una versione errata, ottenendo messaggi di errore, provate con un\'altra versione. Se nessuna versione funziona, significa che il vostro server non supporta GD.';
|
||||
$lang['tn_params_width_info'] = 'larghezza massima che possono assumere le miniature';
|
||||
$lang['tn_params_height_info'] = 'altezza massima che possono assumere le miniature';
|
||||
$lang['tn_params_create'] = 'crea';
|
||||
$lang['tn_params_create_info'] = 'Non tentare di miniaturizzare troppe immagini contemporaneamente.<br />La miniaturizzazione sovraccarica il processore del server. Se il vostro sito è ospitato gratuitamente, un eccessivo sfruttamento di risorse può comportare la cancellazione del sito.';
|
||||
$lang['tn_params_format'] = 'formato file';
|
||||
$lang['tn_params_format_info'] = 'la creazione di miniature supporta solo il formato jpeg';
|
||||
$lang['tn_alone_title'] = 'immagini senza miniatura (solo jpeg e png)';
|
||||
$lang['tn_dirs_title'] = 'Lista directories';
|
||||
$lang['tn_dirs_alone'] = 'immagini senza miniatura';
|
||||
$lang['help_images_title'] = 'Aggiunta immagini';
|
||||
$lang['help_images_intro'] = 'Come collocare le immagini nelle directories';
|
||||
$lang['help_images'][0] = 'nella directory "gallerie", creare directories che rappresentino le vostre categorie';
|
||||
$lang['help_images'][1] = 'in ciascuna directory, potete creare quanti sottolivelli desiderate.';
|
||||
$lang['help_images'][2] = 'per ciascuna categoria, potete creare quante categorie e sub-categorie desiderate';
|
||||
$lang['help_images'][3] = 'i files immagine devono essere nel formato jpeg (estensione jpg or JPG), gif (estensione gif o GIF) o png (estensione png o PNG).';
|
||||
$lang['help_images'][4] = 'non utilizzare spazi " " o trattini "-" nei nomi di file, è consigliabile usare underscore "_" che è generato dall\'applicativo e fornisce migliori risultati';
|
||||
$lang['help_thumbnails_title'] = 'Miniature';
|
||||
$lang['help_thumbnails'][0] = 'in ciascuna directory contenente immagini da mostrare nel sito, esiste una subdirectory chiamata "thumbnail", se non esiste, dovete crearla per inserivi le miniature.';
|
||||
$lang['help_thumbnails'][1] = 'le miniature possono avere estensione diversa dalle immagini a cui sono associate (per esempio una immagine con estensione .JPG può avere una miniatura con estensione .GIF).';
|
||||
$lang['help_thumbnails'][2] = 'le miniature associate a una immagine devono avere il prefisso stabilito nella pagina di configurazione generale (image.jpg -> TN_image.GIF per esempio).';
|
||||
$lang['help_thumbnails'][3] = 'per la creazione di miniature è consigliabile utilizzare il modulo per windows prelevabile sul sito di PhpWebGallery ';
|
||||
$lang['help_thumbnails'][4] = 'è possibile usare la creazione di miniature integrata in PhpWebGallery, ma non è consigliabile, perchè le miniature risulteranno di scarsa qualità e saranno usate molte risorse sul server che ospita il vostro sito pregiudicando il servizio di host gratuito.';
|
||||
$lang['help_thumbnails'][5] = 'usando il sever del vostro servizio host, dovrete configurare con 775 i diritti di accesso alla cartella "gallerie" e a tutte le sue sotto-cartelle.';
|
||||
$lang['help_database_title'] = 'Riempimento database';
|
||||
$lang['help_database'][0] = 'dopo aver collocato correttamente immagini e miniature nelle directories, cliccare su "aggiorna database" nel menu del pannello di amministrazione.';
|
||||
$lang['help_infos_title'] = 'Informazioni supplementari';
|
||||
$lang['help_infos'][1] = 'Appena avete creato le vostre gallerie, andate alla lista utenti e modificate i permessi per gli utenti "visitatori". In effetti, ogni nuovo utente registrato, avrà per default gli stessi permessi degli utenti "visitatori".';
|
||||
$lang['help_remote_title'] = 'Sito remoto';
|
||||
$lang['help_remote'][0] = 'PhpWebGallery offre la possibilità di usare diversi servers per immagazzinare le immagini cho compongono la vostra galleria. Ciò può rivelarsi utile se la vostra galleria gode di uno spazio limitato e avete una grande quantità di immagini da mostrare. Seguite questa procedura : ';
|
||||
$lang['help_remote'][1] = '1. editare nel vostro computer il file "create_listing_file.php" (si trova nella directory "admin"), modificando la linea "$prefix_thumbnail = "TN-";" se il prefisso delle vostre miniature non è "TN-".';
|
||||
$lang['help_remote'][2] = '2. caricare sul vostro sito remoto, tramite FTP, il file "create_listing_file.php" modificato , nella directory delle directories delle immagini (come la directory galleries nel vostro computer).';
|
||||
$lang['help_remote'][3] = '3. lanciare lo script via web usando l\'url http://vostrosito/repGalerie/create_listing_file.php, verrà creato un file listing.xml.';
|
||||
$lang['help_remote'][4] = '4. scaricate file listing.xml dal vostro sito remoto e salvatelo nella directory "admin" nel vostro computer.';
|
||||
$lang['help_remote'][5] = '5. lanciate un aggiornamento del database delle immagini tramite l\'nterfaccia di amministrazione, una volta utilizzato il file listing.xml, cancellatelo dalla directory "admin".';
|
||||
$lang['help_remote'][6] = 'Potete aggiornare i contenuti del vostro sito remoto by rifacendo la procedura descritta.Potete anche eliminare il vostro sito remoto scegliendo l\'opzione nella sezione configurazione del pannello di amministrazione.';
|
||||
$lang['help_upload_title'] = 'Aggiunta immagini da parte degli utenti';
|
||||
$lang['help_upload'][0] = 'Per offrire agli utenti la possibilità di aggiungere immagini :';
|
||||
$lang['help_upload'][1] = '1. autorizzare l\'opzione nella zona configurazione del pannello di amministrazione';
|
||||
$lang['help_upload'][2] = '2. autorizzare i diritti di scrittura nelle cartelle immagini';
|
||||
$lang['install_message'] = 'Messaggio';
|
||||
$lang['step1_confirmation'] = 'I parametri sono corretti';
|
||||
$lang['step1_err_db'] = 'Connessione al server riuscita, ma è impossibile connettere il database';
|
||||
$lang['step1_err_server'] = 'Impossibile connettere il server';
|
||||
$lang['step1_err_copy_2'] = 'Procedere al punto successivo';
|
||||
$lang['step1_err_copy_next'] = 'punto successivo';
|
||||
$lang['step1_title'] = 'Punto 1/2';
|
||||
$lang['step1_host'] = 'MySQL host';
|
||||
$lang['step1_host_info'] = 'localhost, sql.multimania.com, toto.freesurf.fr';
|
||||
$lang['step1_user'] = 'utente';
|
||||
$lang['step1_user_info'] = 'user login del servizio che ospita il vostro sito web';
|
||||
$lang['step1_pass'] = 'Password';
|
||||
$lang['step1_pass_info'] = 'user password del servizio che ospita il vostro sito web';
|
||||
$lang['step1_database'] = 'Nome database';
|
||||
$lang['step1_database_info'] = 'assegnato dal servizio che ospita il vostro sito web';
|
||||
$lang['step1_prefix'] = 'Prefisso dei nomi di tabella';
|
||||
$lang['step1_prefix_info'] = 'i nomi delle tabelle del database avranno quel prefisso (vi permette di gestire meglio il database)';
|
||||
$lang['step2_err_login1'] = 'inserire un login per il webmaster';
|
||||
$lang['step2_err_login3'] = 'il login webmaster can\'t non deve contenere caratteri \' or "';
|
||||
$lang['step2_err_pass'] = 'inserire di nuovo la password';
|
||||
$lang['step2_err_mail'] = $lang['conf_err_mail'];
|
||||
$lang['install_end_title'] = 'Installazione terminata';
|
||||
$lang['install_end_message'] = 'La configurazione di PhpWebGallery è terminata, procedere al punto successivo<br /><br />Per ragioni di sicurezza, cancellare il file "install.php" nella directory "admin"<br /> Cancellato il file, seguire queste istruzioni :<ul> <li>andare alla pagina di identificazione : [
|
||||
<a href="../identification.php">identification</a> ] ed effettuare il login come webmaster</li> <li>potrete così accedere al [ <a href="admin.php">pannello di amministrazione</a> ] ed alle istruzioni per collocare le immagini nelle vostre directories</li></ul>';
|
||||
$lang['step2_title'] = 'Punto 2/2';
|
||||
$lang['step2_pwd'] = 'password webmaster';
|
||||
$lang['step2_pwd_info'] = 'Non divulgatela, permette di accedere al pannello di amministrazione';
|
||||
$lang['step2_pwd_conf'] = 'confermare password';
|
||||
$lang['step2_pwd_conf_info'] = 'verifica';
|
||||
// new or modified in release 1.3
|
||||
$lang['remote_site'] = 'Sito remoto';
|
||||
$lang['title_add'] = 'Aggiungi un utente';
|
||||
$lang['title_modify'] = 'Modifica un utente';
|
||||
$lang['title_groups'] = 'Gestione gruppi';
|
||||
$lang['title_user_perm'] = 'Modifica permessi utente';
|
||||
$lang['title_cat_perm'] = 'Modifica permessi categoria';
|
||||
$lang['title_group_perm'] = 'Modifica permessi gruppo';
|
||||
$lang['title_picmod'] = 'Modifica informazioni immagine';
|
||||
$lang['menu_groups'] = 'Gruppi';
|
||||
$lang['menu_comments'] = 'Commenti';
|
||||
$lang['conf_general_log'] = 'storico';
|
||||
$lang['conf_general_log_info'] = 'Mantenere uno storico delle visite sul sito? ? Le visite saranno mostrate nella sezione storico del pannello di amministrazione';
|
||||
$lang['conf_general_mail_notification'] = 'Notifica tramite e-mail';
|
||||
$lang['conf_general_mail_notification_info'] = 'Notifica automatica per gli amministratori (solo per essi) quando un utente aggiunge un commento o una immagine.';
|
||||
$lang['conf_comments_validation'] = 'convalida';
|
||||
$lang['conf_comments_validation_info'] = 'Un amministratore convalida i commenti inviati dagli utenti prima della pubblicazione';
|
||||
$lang['conf_comments_forall'] = 'per tutti ?';
|
||||
$lang['conf_comments_forall_info'] = 'Anche gli ospiti non registrati possono aggiungere commenti';
|
||||
$lang['conf_default_nb_image_per_row_info'] = 'Default immagini per riga';
|
||||
$lang['conf_default_nb_row_per_page_info'] = 'Default righe per pagina';
|
||||
$lang['conf_default_short_period_info'] = 'In giorni. Periodo durante il quale una immagine appare con un punto rosso. Il periodo breve deve essere superiore a 1 giorno.';
|
||||
$lang['conf_default_long_period_info'] = 'In giorni. Periodo durante il quale una immagine appare con un punto verde. Il periodo lungo deve essere magigiore del periodo breve.';
|
||||
$lang['conf_default_expand_info'] = 'espandi per default tutte le categorie nel menu ?';
|
||||
$lang['conf_default_show_nb_comments_info'] = 'mostra il numero di commenti per ciascuna immagine nella pagina delle miniature';
|
||||
$lang['conf_default_maxwidth_info'] = 'Massima larghezza immagini mostrate : viene modificata solo la dimensione sullo schermo, il file rimane intatto. Lasciare vuoto se non si desidera porre limiti.';
|
||||
$lang['conf_default_maxheight_info'] = 'Massima altezza immagini mostrate, come per la larghezza';
|
||||
$lang['conf_session_cookie'] = 'autorizzare cookies';
|
||||
$lang['conf_session_cookie_info'] = 'Gli utenti non saranno obbligati ad identificarsi ad ogni visita. Metodo meno sicuro.';
|
||||
$lang['adduser_associate'] = 'Associare al gruppo';
|
||||
$lang['group_add'] = 'Aggiungere un gruppo';
|
||||
$lang['group_add_error1'] = 'Il nome di un gruppo non deve contenere " or \'';
|
||||
$lang['group_add_error2'] = 'Nome di gruppo già utilizzato';
|
||||
$lang['group_confirm'] = 'Sicuro di voler rimuovere questo gruppo ?';
|
||||
$lang['group_list_title'] = 'Lista gruppi esistenti';
|
||||
$lang['group_err_unknown'] = 'Questo gruppo non esiste nel database';
|
||||
$lang['cat_permission'] = 'permessi';
|
||||
$lang['cat_update'] = 'aggiornamento';
|
||||
$lang['cat_add'] = 'Aggiungere una categoria virtuale';
|
||||
$lang['cat_parent'] = 'categoria superiore';
|
||||
$lang['cat_error_name'] = 'Il nome di una categoria non può essere vuoto';
|
||||
$lang['cat_virtual'] = 'virtuale';
|
||||
$lang['cat_first'] = 'Primo';
|
||||
$lang['cat_last'] = 'Ultimo';
|
||||
$lang['editcat_visible_info'] = '(visibile solo agli amministratori)';
|
||||
$lang['editcat_visible'] = 'Visibile';
|
||||
$lang['editcat_uploadable'] = 'I visitatori possono aggiungere immagini';
|
||||
$lang['infoimage_keyword_separation'] = '(separare con virgolette ",")';
|
||||
$lang['infoimage_addtoall'] = 'aggiungere a tutti';
|
||||
$lang['infoimage_removefromall'] = 'rimuovere da tutti';
|
||||
$lang['infoimage_associate'] = 'Associare alla categoria';
|
||||
$lang['update_wrong_dirname'] = 'I nomi di directories e files devono essero composti solo da lettere, numeri, figures, "-", "_" or "."';
|
||||
$lang['stats_pages_seen'] = 'pagine visitate';
|
||||
$lang['stats_visitors'] = 'visitatori';
|
||||
$lang['stats_empty'] = 'vuota lo storico';
|
||||
$lang['stats_pages_seen_graph_title'] = 'Pagine visitate per giorno';
|
||||
$lang['stats_visitors_graph_title'] = 'Visitatori per giorno';
|
||||
$lang['comments_last_title'] = 'Ultimi commenti';
|
||||
$lang['comments_non_validated_title'] = 'Commenti in attesa di convalida';
|
||||
$lang['help_database'][1] = 'Per evitare l\'aggiornamento simultaneo di un numero eccessivo di immagini, iniziare aggiornando prima le categorie, quindi nella sezione categorie, aggiornare ciascuna categoria con il link "aggiornamento"';
|
||||
$lang['help_upload'][3] = 'Deve essere consentito l\'aggiornamento per la categoria.';
|
||||
$lang['help_upload'][4] = 'Le immagini aggiunte dagli utenti non saranno immediatamente visibili sul sito, prima devono essere convalidate da un amministratore, che dalla pagina "in attesa" del pannello di amministrazione, convalidi o rifiuti le immagini proposte e quindi lanci un aggiornamento del database.';
|
||||
$lang['help_virtual_title'] = 'Links tra immagini, categorie e categorie virtuali';
|
||||
$lang['help_virtual'][0] = 'PhpWebGallery può dissociare le categorie in cui si trovano le immagini e le categorie in cui le immagini vengono mostrate.';
|
||||
$lang['help_virtual'][1] = 'Per default, le immagini appaiono solo nelle loro categorie reali, corrispondenti alle directories sul server web.';
|
||||
$lang['help_virtual'][2] = 'Per collegare un\'imagine a una categoria, eseguire l\'associazione nella pagina "modifica informazioni immagine" o nella pagina "modifica informazioni immagini di una categoria".';
|
||||
$lang['help_virtual'][3] = 'Partendo da questo principio, si possono creare categorie virtuali in PhpWebGallery : nessuna nuova cartella reale sarà creata sul server. Sarà sufficiente creare la categoria sulla pagina della lista delle categorie esistenti nel pannello di amministrazione.';
|
||||
$lang['help_groups_title'] = 'Gruppi utenti';
|
||||
$lang['help_groups'][0] = 'PhpWebGallery può gestire gruppi di utenti, caratteristica molto utile per raggruppare le autorizzazioni d\'accesso alle categorie private.';
|
||||
$lang['help_groups'][1] = '1. Creare un gruppo "famiglia" nella sezione "Gruppi" del pannello di amministrazione.';
|
||||
$lang['help_groups'][2] = '2. Nella pagina "Utenti", editare un utente ed associarlo al gruppo "famiglia".';
|
||||
$lang['help_groups'][3] = '3. Modificando i permessi per una categoria o per un gruppo, vedrete che tutte le categorie accessibili a un gruppo sono accessibili a tutti i membri di quel gruppo.';
|
||||
$lang['help_groups'][4] = 'Un utente può appartenere a più gruppi. L\'autorizzazione è più forte dell\'interdizione : se l\'utente "tizio" appartiene ai gruppi "famiglia" e "amici", e solo il gruppo "famiglia" è autorizzato a consultare la categoria "Natale 2003", "tizio" avrà accesso a "Natale 2003".';
|
||||
$lang['help_access_title'] = 'Autorizzazione all\'accesso';
|
||||
$lang['help_access'][0] = 'PhpWebGallery è in grado di interdire l\'accesso alle categorie desiderate, sia pubbliche che private. Per interdire l\'accesso per default ad una categoria :';
|
||||
$lang['help_access'][1] = '1. Modificare le informazioni di categoria (nella pagina "categories" del pannello di amministrazione) e renderla privata.';
|
||||
$lang['help_access'][2] = '2. Nella pagina dei permessi (di gruppo o di utente) sarà mostrata la categoria e sarà possibile autorizzare od interdire l\'accesso.';
|
||||
$lang['help_infos'][2] = 'Per qualsiasi domanda, non esitate a consultare il forum e a porre il vostro quesito sul sito. Il <a href="'.$conf['forum_url'].'" style="text-decoration:underline">forum</a> is accessibile sul sito ufficiale di PhpWebGallery.';
|
||||
$lang['step1_err_copy'] = 'Copiate il testo in blu tra virgolette e incollatelo nel file "include/mysql.inc.php" che si trova nella cartella "include" all\'indirizzo in cui avete installato PhpWebGallery (Attenzione : mysql.inc.php deve contenere solo ciò che è scritto in blu, non sono consentiti spazi e ritorni a capo)';
|
||||
$lang['permuser_only_private'] = 'Sono mostrate solo le categorie private';
|
||||
$lang['waiting_update'] = 'Le immagini convalidate appariranno solo dopo l\'aggiornamento del database';
|
||||
$lang['conf_upload_available_info'] = 'Autorizzare gli utenti ad aggiungere immagini nelle categorie del sito (non su un server remoto). Questo è un parametro generale, serve per autorizzare l\'aggirnamento categoria per categoria. Per default, nessuna categoria è aggiornabile.';
|
||||
$lang['install_help'] = 'Serve aiuto ? Poni il tuo quesito su <a href="http://forum.phpwebgallery.net">PhpWebGallery forum</a>.';
|
||||
$lang['install_warning'] = 'Il file "admin/install.php" è ancora presente. Per motivi di sicurezza deve essere rimosso dal server. ';
|
||||
// new or modified in release 1.3.1
|
||||
$lang['cat_unknown_id'] = 'Questa categoria non esiste nel database';
|
||||
}
|
||||
?>
|
555
language/japanese.php
Normal file
555
language/japanese.php
Normal file
|
@ -0,0 +1,555 @@
|
|||
<?php
|
||||
/***************************************************************************
|
||||
* japanese.php *
|
||||
* ------------------- *
|
||||
* application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
|
||||
* author : Pierrick LE GALL <pierrick@z0rglub.com> *
|
||||
* *
|
||||
* $Id$ *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* 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; *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* Japanese version by Mitsuhiro Yoshida, http://mitstek.com/ *
|
||||
* All files are written in shift_jis. *
|
||||
* Any suggestion for Japanese version, feel free to contact me. *
|
||||
***************************************************************************/
|
||||
|
||||
$lang['only_members'] = "このページにはメンバーのみがアクセスできます";
|
||||
$lang['invalid_pwd'] = "パスワードが違います!";
|
||||
$lang['access_forbiden'] = "このページにアクセスする権限がありません";
|
||||
$lang['submit'] = "実行";
|
||||
$lang['login'] = "ログイン";
|
||||
$lang['password'] = "パスワード";
|
||||
$lang['new'] = "新";
|
||||
$lang['delete'] = "削除";
|
||||
$lang['category'] = "カテゴリ";
|
||||
$lang['thumbnail'] = "サムネイル";
|
||||
$lang['date'] = "日付";
|
||||
$lang['diapo_default_page_title'] = "カテゴリ未選択";
|
||||
$lang['thumbnails'] = "サムネイル";
|
||||
$lang['categories'] = "カテゴリ";
|
||||
$lang['hint_category'] = "このカテゴリのイメージを表示します";
|
||||
$lang['total_images'] = "合計";
|
||||
$lang['title_menu'] = "メニュー";
|
||||
$lang['change_login'] = "ログインの変更";
|
||||
$lang['login'] = "ログイン名";
|
||||
$lang['hint_login'] = "認証を行うことによりサイトのデザインをカスタマイズ出来ます";
|
||||
$lang['logout'] = "ログアウト";
|
||||
$lang['customize'] = "カスタマイズ";
|
||||
$lang['hint_customize'] = "ギャラリーのデザインをカスタマイズします";
|
||||
$lang['hint_search'] = "検索";
|
||||
$lang['search'] = "検索";
|
||||
$lang['favorite_cat'] = "お気に入り";
|
||||
$lang['favorite_cat_hint'] = "お気に入りを表示します";
|
||||
$lang['about'] = "about";
|
||||
$lang['hint_about'] = "PhpWebGalleryに関する詳細情報 ...";
|
||||
$lang['admin'] = "管理";
|
||||
$lang['hint_admin'] = "管理者のみ使用できます";
|
||||
$lang['no_category'] = "カテゴリが選択されていません<br />メニューより選択してください";
|
||||
$lang['page_number'] = "ページ";
|
||||
$lang['previous_page'] = "前へ";
|
||||
$lang['next_page'] = "次へ";
|
||||
$lang['nb_image_category'] = "カテゴリ内写真数";
|
||||
$lang['recent_image'] = "登録";
|
||||
$lang['days'] = "日以内のイメージ";
|
||||
$lang['send_mail'] = "ご意見ご感想はこちらへ";
|
||||
$lang['title_send_mail'] = "コメントが投稿されました";
|
||||
$lang['sub-cat'] = "サブカテゴリ";
|
||||
$lang['images_available'] = "イメージがこのカテゴリに登録されています";
|
||||
$lang['total'] = "イメージ";
|
||||
$lang['upload_picture'] = "写真のアップロード";
|
||||
$lang['registration_date'] = "登録日時";
|
||||
$lang['creation_date'] = "作成日時";
|
||||
$lang['comment'] = "コメント";
|
||||
$lang['author'] = "作者";
|
||||
$lang['size'] = "サイズ";
|
||||
$lang['filesize'] = "ファイルサイズ";
|
||||
$lang['file'] = "ファイル";
|
||||
$lang['generation_time'] = "Page generated in";
|
||||
$lang['favorites'] = "お気に入り";
|
||||
$lang['search_result'] = "検索結果";
|
||||
$lang['about_page_title'] = "PhpWebGalleryに関して";
|
||||
$lang['about_title'] = "About...";
|
||||
$lang['about_message'] = "<div style=\"text-align:center;font-weigh:bold;\">PhpWebGalleryに関する情報</div>
|
||||
<ul>
|
||||
<li>このサイトは<a href=\"".$conf['site_url']."\" style=\"text-decoration:underline\">PhpWebGallery</a> version ".$conf['version']."を使用しています。あなたはPhpWebGalleryにより簡単にオンライン・イメージギャラリーを作成することが可能です。</li>
|
||||
<li>技術的には、PhpWebGalleryは全てPHP(the elePHPant)とMySQLデータベース(the SQuirreL)で開発されています。</li>
|
||||
<li>ご意見ご感想をお持ちの方は、<a href=\"".$conf['site_url']."\" style=\"text-decoration:underline\">PhpWebGallery公式サイト</a>及び<a href=\"".$conf['forum_url']."\" style=\"text-decoration:underline\">フォーラム</a>にお越しください。</li>
|
||||
</ul>";
|
||||
$lang['about_return'] = "戻る";
|
||||
$lang['ident_page_title'] = "認証";
|
||||
$lang['ident_title'] = "認証";
|
||||
$lang['ident_register'] = "ユーザ登録";
|
||||
$lang['ident_forgotten_password'] = "パスワードを忘れました ?";
|
||||
$lang['ident_guest_visit'] = "ビジターとしてギャラリーへ移動";
|
||||
$lang['customize_page_title'] = "カスタマイズ";
|
||||
$lang['customize_title'] = "カスタマイズ";
|
||||
$lang['customize_nb_image_per_row'] = "1列あたりの写真数";
|
||||
$lang['customize_nb_row_per_page'] = "1ページあたりの行数";
|
||||
$lang['customize_language'] = "言語";
|
||||
$lang['maxwidth'] = "写真の最大幅";
|
||||
$lang['maxheight'] = "写真の最大高";
|
||||
$lang['err_maxwidth'] = "最大幅は50以上にしてください";
|
||||
$lang['err_maxheight'] = "最大高は50以上にしてください";
|
||||
$lang['previous_image'] = "前へ";
|
||||
$lang['next_image'] = "次へ";
|
||||
$lang['back'] = "イメージのクリックによりサムネイルページに戻ります";
|
||||
$lang['info_image_title'] = "イメージ情報";
|
||||
$lang['link_info_image'] = "イメージ情報の更新";
|
||||
$lang['true_size'] = "リアルサイズ";
|
||||
$lang['comments_title'] = "ユーザのコメント";
|
||||
$lang['comments_del'] = "コメントの削除";
|
||||
$lang['comments_add'] = "コメントの追加";
|
||||
$lang['month'][1] = "1月";
|
||||
$lang['month'][2] = "2月";
|
||||
$lang['month'][3] = "3月";
|
||||
$lang['month'][4] = "4月";
|
||||
$lang['month'][5] = "5月";
|
||||
$lang['month'][6] = "6月";
|
||||
$lang['month'][7] = "7月";
|
||||
$lang['month'][8] = "8月";
|
||||
$lang['month'][9] = "9月";
|
||||
$lang['month'][10] = "10月";
|
||||
$lang['month'][11] = "11月";
|
||||
$lang['month'][12] = "12月";
|
||||
$lang['day'][0] = "日曜";
|
||||
$lang['day'][1] = "月曜";
|
||||
$lang['day'][2] = "火曜";
|
||||
$lang['day'][3] = "水曜";
|
||||
$lang['day'][4] = "木曜";
|
||||
$lang['day'][5] = "金曜";
|
||||
$lang['day'][6] = "土曜";
|
||||
$lang['add_favorites_alt'] = "お気に入りに追加";
|
||||
$lang['add_favorites_hint'] = "この写真をお気に入りに追加します";
|
||||
$lang['del_favorites_alt'] = "お気に入りから削除";
|
||||
$lang['del_favorites_hint'] = "この写真をお気に入りから削除します";
|
||||
$lang['register_page_title'] = "ユーザ登録";
|
||||
$lang['register_title'] = "ユーザ登録";
|
||||
$lang['reg_err_login1'] = "ログイン名を入力してください";
|
||||
$lang['reg_err_login2'] = "ログイン名の末尾にスペースは使用出来ません";
|
||||
$lang['reg_err_login3'] = "ログイン名の先頭にスペースは使用出来ません";
|
||||
$lang['reg_err_login4'] = "ログイン名に \" 及び ' は使用出来ません";
|
||||
$lang['reg_err_login5'] = "ログイン名が既に登録されています";
|
||||
$lang['reg_err_pass'] = "パスワードをもう一度入力してください";
|
||||
$lang['reg_confirm'] = "パスワードをもう一度";
|
||||
$lang['reg_err_mail_address'] = "メールアドレスは次のような形式にしてください xxx@yyy.eee (例 : jack@altern.org)";
|
||||
$lang['search_title'] = "検索";
|
||||
$lang['invalid_search'] = "キーワードは半角3文字以上にしてください";
|
||||
$lang['search_field_search'] = "検索";
|
||||
$lang['search_return_main_page'] = "サムネイルページに戻る";
|
||||
$lang['upload_forbidden'] = "このカテゴリには写真をアップロードできません";
|
||||
$lang['upload_file_exists'] = "写真名が既に使用されています";
|
||||
$lang['upload_filenotfound'] = "イメージのファイルタイプを選択してください";
|
||||
$lang['upload_cannot_upload'] = "サーバに写真をアップロード出来ません";
|
||||
$lang['upload_title'] = "写真のアップロード";
|
||||
$lang['upload_advise'] = "カテゴリにアップロードするイメージを選択してください : ";
|
||||
$lang['upload_advise_thumbnail'] = "オプション(推奨) : アップロードした写真のサムネイルを選択してください ";
|
||||
$lang['upload_advise_filesize'] = "写真の最大サイズ : ";
|
||||
$lang['upload_advise_width'] = "写真の最大幅 : ";
|
||||
$lang['upload_advise_height'] = "写真の最大高 : ";
|
||||
$lang['upload_advise_filetype'] = "アップロード可能なファイルタイプ : jpg gif png";
|
||||
$lang['upload_err_username'] = "ユーザ名を入力してください";
|
||||
$lang['upload_username'] = "ユーザ名";
|
||||
$lang['upload_successful'] = "写真が正常にアップロードされました。管理者が早急に写真の承認を行います。";
|
||||
// new or modified in release 1.3
|
||||
$lang['charset'] = 'shift_jis';
|
||||
$lang['no'] = 'no';
|
||||
$lang['yes'] = 'yes';
|
||||
$lang['guest'] = 'ゲスト';
|
||||
$lang['mail_address'] = 'メールアドレス';
|
||||
$lang['public'] = '公開';
|
||||
$lang['private'] = 'プライベート';
|
||||
$lang['add'] = '追加';
|
||||
$lang['dissociate'] = '分離';
|
||||
$lang['mandatory'] = '必須';
|
||||
$lang['err_date'] = '日付が間違っています';
|
||||
$lang['picture'] = '写真';
|
||||
$lang['IP'] = 'IP';
|
||||
$lang['close'] = '閉じる';
|
||||
$lang['open'] = '開く';
|
||||
$lang['keywords'] = 'キーワード';
|
||||
$lang['errors_title'] = 'エラー';
|
||||
$lang['infos_title'] = '情報';
|
||||
$lang['default'] = 'デフォルト';
|
||||
$lang['comments'] = 'コメント';
|
||||
$lang['category_representative'] = '関連付け';
|
||||
$lang['stats'] = '統計';
|
||||
$lang['most_visited_cat_hint'] = '最も閲覧された写真を表示します';
|
||||
$lang['most_visited_cat'] = '最多閲覧';
|
||||
$lang['best_rated_cat_hint'] = 'ベストランクの写真を表示します';
|
||||
$lang['best_rated_cat'] = 'ベストランク';
|
||||
$lang['recent_cat_hint'] = '最新の写真を表示します';
|
||||
$lang['recent_cat'] = '最新写真';
|
||||
$lang['recent_cat_title'] = '最新の写真';
|
||||
$lang['visited'] = '訪問';
|
||||
$lang['times'] = '回';
|
||||
$lang['customize_theme'] = 'インターフェーステーマ';
|
||||
$lang['customize_expand'] = '全カテゴリを展開する';
|
||||
$lang['customize_show_nb_comments'] = 'コメント数を表示する';
|
||||
$lang['customize_short_period'] = '短い期間';
|
||||
$lang['customize_long_period'] = '長い期間';
|
||||
$lang['customize_template'] = 'テンプレート';
|
||||
$lang['err_periods'] = '期間は数値を指定してください';
|
||||
$lang['err_periods_2'] = '期間は0以上にしてください。長い期間は短い期間より大きく設定してください。';
|
||||
$lang['create_cookie'] = 'クッキーを作成する';
|
||||
$lang['customize_day'] = '日';
|
||||
$lang['customize_week'] = '週';
|
||||
$lang['customize_month'] = '月';
|
||||
$lang['customize_year'] = '年';
|
||||
$lang['slideshow'] = 'スライドショー';
|
||||
$lang['period_seconds'] = '秒/写真';
|
||||
$lang['slideshow_stop'] = 'スライドショーを停止する';
|
||||
$lang['comment_added'] = 'コメントが登録されました';
|
||||
$lang['comment_to_validate'] = '管理者の認証後にコメントが掲載されます。';
|
||||
$lang['comment_anti-flood'] = 'Anti-flood system : 次のコメントの掲載はもう暫くお待ちください';
|
||||
$lang['comment_user_exists'] = 'このログイン名は他のユーザに既に使用されています';
|
||||
$lang['invalid_search'] = '検索キーワードは、句読点を含まない3文字以上(英文字換算)にしてください';
|
||||
$lang['search_mode_or'] = '少なくとも1つの単語';
|
||||
$lang['search_mode_and'] = '全ての単語';
|
||||
$lang['search_comments'] = '単語をスペースで区切ってください';
|
||||
$lang['upload_name'] = '写真名';
|
||||
$lang['upload_author'] = '撮影者 (例 "Pierrick LE GALL")';
|
||||
$lang['upload_creation_date'] = '作成日時 (DD/MM/YYYY)';
|
||||
$lang['upload_comment'] = 'コメント';
|
||||
$lang['mail_hello'] = 'Hi,';
|
||||
$lang['mail_new_upload_subject'] = '最新写真';
|
||||
$lang['mail_new_upload_content'] = 'ギャラリーに新しい写真がアップロードされました。現在、認証待ち状態です。管理パネルでこの写真の認証又は拒否を行ってください。';
|
||||
$lang['mail_new_comment_subject'] = '最新コメント';
|
||||
$lang['mail_new_comment_content'] = 'ギャラリーに新しい湖面等が投稿されました。ユーザコメントの承認オプションを選択した場合、ギャラリーにコメントを表示する為に管理パネルでコメントの承認を行ってください。'."\n\n".'最新コメントは管理パネルで閲覧出来ます。';
|
||||
$lang['connected_user'] = 'ログイン中ユーザ';
|
||||
$lang['title_comments'] = 'ユーザコメント';
|
||||
$lang['stats_last_days'] = '日以内';
|
||||
$lang['hint_comments'] = '最新のユーザコメントを表示する';
|
||||
$lang['menu_login'] = 'ログイン';
|
||||
//-------------------------------------------------------------- administration
|
||||
if ( $isadmin )
|
||||
{
|
||||
$lang['title_liste_users'] = "ユーザリスト";
|
||||
$lang['title_history'] = "履歴";
|
||||
$lang['title_update'] = "データベースの更新";
|
||||
$lang['title_configuration'] = "PhpWebGallery設定";
|
||||
$lang['title_instructions'] = "説明";
|
||||
$lang['title_categories'] = "カテゴリの管理";
|
||||
$lang['title_edit_cat'] = "カテゴリの編集";
|
||||
$lang['title_info_images'] = "カテゴリイメージ情報の修正";
|
||||
$lang['title_thumbnails'] = "サムネイルの作成";
|
||||
$lang['title_thumbnails_2'] = ":";
|
||||
$lang['title_default'] = "PhpWebGalleryの管理";
|
||||
$lang['menu_title'] = "管理";
|
||||
$lang['menu_config'] = "設定";
|
||||
$lang['menu_users'] = "ユーザ";
|
||||
$lang['menu_add_user'] = "追加/修正";
|
||||
$lang['menu_list_user'] = "リスト";
|
||||
$lang['menu_categories'] = "カテゴリ";
|
||||
$lang['menu_update'] = "データベースの更新";
|
||||
$lang['menu_thumbnails'] = "サムネイル";
|
||||
$lang['menu_history'] = "履歴";
|
||||
$lang['menu_instructions'] = "説明";
|
||||
$lang['menu_back'] = "ギャラリーに戻る";
|
||||
$lang['title_waiting'] = "承認待ちの写真";
|
||||
$lang['menu_waiting'] = "承認待ち";
|
||||
$lang['default_message'] = "PhpWebGallery管理パネル";
|
||||
$lang['conf_err_prefixe'] = "サムネイル接頭辞にアクセント記号は使用出来ません";
|
||||
$lang['conf_err_mail'] = "メールアドレスが正しくありません。メールアドレスは次のように設定してください name@server.com";
|
||||
$lang['conf_err_sid_size'] = "セッションIDのサイズは4~50の数値を設定してください";
|
||||
$lang['conf_err_sid_time'] = "セッションタイムは5~60の数値を設定してください";
|
||||
$lang['conf_err_max_user_listbox'] = "ユーザリストボックスの最大数は0~255の数値にしてください";
|
||||
$lang['conf_confirmation'] = "設定情報がデータベースに登録されました";
|
||||
$lang['conf_general_title'] = "メイン設定";
|
||||
$lang['conf_general_webmaster'] = "管理者ログイン名";
|
||||
$lang['conf_general_webmaster_info'] = "ビジターに表示されます。サイトの管理に必要です。";
|
||||
$lang['conf_general_mail'] = "管理者メールアドレス";
|
||||
$lang['conf_general_mail_info'] = "ビジターはこのメールアドレス宛に連絡を取ることが出来ます。";
|
||||
$lang['conf_general_prefix'] = "サムネイル接頭辞";
|
||||
$lang['conf_general_prefix_info'] = "サムネイルに使用します。分からない場合は、このままにしてください。";
|
||||
$lang['conf_general_access'] = "アクセスタイプ";
|
||||
$lang['conf_general_access_1'] = "自由";
|
||||
$lang['conf_general_access_2'] = "制限付";
|
||||
$lang['conf_general_access_info'] = "- 自由 : 誰でもサイトに入ることが出来ます。ビジターはウェブサイトの表示をカスタマイズするためにアカウントを作成することが出来ます。<br />- 制限付き : ウェブマスタがアカウントを作成することが出来ます。登録ユーザのみサイトへ入ることが出来ます。";
|
||||
$lang['conf_general_max_user_listbox'] = "ユーザリストボックスの最大数";
|
||||
$lang['conf_general_max_user_listbox_info'] = "- 認証ページでテキストボックスの代わりにPhpWebGalleryがリストボックスに表示するユーザの最大数<br />- 0~255の数値を入力してください。0の場合、リストボックスは表示されません。";
|
||||
$lang['conf_comments'] = "ユーザコメント";
|
||||
$lang['conf_comments_title'] = "設定 ".$lang['conf_comments'];
|
||||
$lang['conf_comments_show_comments'] = $lang['conf_comments'];
|
||||
$lang['conf_comments_show_comments_info'] = "ユーザコメントを写真の下に表示しますか ?";
|
||||
$lang['conf_comments_comments_number'] = "1ページあたりのコメント数";
|
||||
$lang['conf_comments_comments_number_info'] = "1ページに表示するコメント数。写真に対するコメント数は無制限です。5~50の間の数値を設定してください。";
|
||||
$lang['conf_err_comment_number'] = "1ページあたりのコメント数は5~50の間に設定してください。";
|
||||
$lang['conf_remote_site_delete_info'] = "リモートサーバの削除により、関連する全てのイメージとカテゴリは削除されます。";
|
||||
$lang['conf_upload_title'] = "ユーザアップロード設定";
|
||||
$lang['conf_upload_available'] = "写真のアップロード許可";
|
||||
$lang['conf_upload_maxfilesize'] = "最大ファイルサイズ";
|
||||
$lang['conf_upload_maxfilesize_info'] = "アップロードイメージの最大ファイルサイズ。10~1000kの間に設定してください。";
|
||||
$lang['conf_err_upload_maxfilesize'] = "アップロードイメージの最大ファイルサイズは、10~1000kの間に設定してください。";
|
||||
$lang['conf_upload_maxwidth'] = "最大幅";
|
||||
$lang['conf_upload_maxwidth_info'] = "アップロードイメージの最大幅。10ピクセル以上に設定してください。";
|
||||
$lang['conf_err_upload_maxwidth'] = "アップロードイメージの最大幅は、10ピクセル以上に設定してください。";
|
||||
$lang['conf_upload_maxheight'] = "最大高";
|
||||
$lang['conf_upload_maxheight_info'] = "アップロードイメージの最大高。10ピクセル以上に設定してください。";
|
||||
$lang['conf_err_upload_maxwidth'] = "アップロードイメージの最大高は、10ピクセル以上に設定してください。";
|
||||
$lang['conf_upload_maxwidth_thumbnail'] = "サムネイルの最大幅";
|
||||
$lang['conf_upload_maxwidth_thumbnail_info'] = "サムネイルの最大幅。10ピクセル以上に設定してください。";
|
||||
$lang['conf_err_upload_maxwidth_thumbnail'] = "サムネイルの最大幅は、10ピクセル以上に設定してください。";
|
||||
$lang['conf_upload_maxheight_thumbnail'] = "サムネイルの最大高";
|
||||
$lang['conf_upload_maxheight_thumbnail_info'] = "サムネイルの最大高。10ピクセル以上に設定してください。";
|
||||
$lang['conf_err_upload_maxheight_thumbnail'] = "サムネイルの最大高は、10ピクセル以上に設定してください。";
|
||||
$lang['conf_default_title'] = "未登録ユーザ及び新規アカウントに対するデフォルト表示属性";
|
||||
$lang['conf_default_language_info'] = "使用言語";
|
||||
$lang['conf_default_theme_info'] = "デフォルトテーマ";
|
||||
$lang['conf_session_title'] = "セッション設定";
|
||||
$lang['conf_session_size'] = "セッションIDサイズ";
|
||||
$lang['conf_session_size_info'] = "- セッションIDの長さを長くするとサイトの安全性が高まります。<br />- 4~50の間に設定してください。";
|
||||
$lang['conf_session_time'] = "有効期限";
|
||||
$lang['conf_session_time_info'] = "- 有効期限を短くするとサイトの安全性が高まります。 <br />- 5~60分の間に設定してください。";
|
||||
$lang['conf_session_key'] = "キーワード";
|
||||
$lang['conf_session_key_info'] = "- セッションキーワードはセッションIDのエンコードを改善します。<br />- 半角255文字以内の文を自由に入力してください。";
|
||||
$lang['conf_session_delete'] = "古いセッションを削除";
|
||||
$lang['conf_session_delete_info'] = "古いデータが残りますので、データベースのセッションテーブルを削除することをお勧めします。(削除しない場合でもセキュリティ上の問題はありません)";
|
||||
$lang['user_err_modify'] = "このユーザは修正又は削除出来ません";
|
||||
$lang['user_err_unknown'] = "このユーザはデータベースに登録されていません";
|
||||
$lang['adduser_info_message'] = "データベースのユーザ情報が更新されました ";
|
||||
$lang['adduser_info_password_updated'] = "(パスワードが更新されました)";
|
||||
$lang['adduser_info_back'] = "ユーザリストに戻る";
|
||||
$lang['adduser_fill_form'] = "下記のフォームに入力してください";
|
||||
$lang['adduser_unmodify'] = "変更不可";
|
||||
$lang['adduser_status'] = "ステータス";
|
||||
$lang['adduser_status_admin'] = "管理者";
|
||||
$lang['adduser_status_guest'] = "ゲスト";
|
||||
$lang['permuser_info_message'] = "パーミッションが登録されました";
|
||||
$lang['permuser_title'] = "ユーザの制限: ";
|
||||
$lang['permuser_warning'] = "警告 : ルートカテゴリへの \"<span style=\"font-weight:bold;\">アクセス禁止</span>\" 設定により全てのカテゴリにアクセス出来なくなります。";
|
||||
$lang['permuser_authorized'] = "制限付き";
|
||||
$lang['permuser_forbidden'] = "アクセス禁止";
|
||||
$lang['permuser_parent_forbidden'] = "親カテゴリアクセス禁止";
|
||||
$lang['listuser_confirm'] = "本当にこのユーザを削除しても宜しいですか";
|
||||
$lang['listuser_info_deletion'] = "がデータベースから削除されました";
|
||||
$lang['listuser_user_group'] = "ユーザグループ";
|
||||
$lang['listuser_modify'] = "修正";
|
||||
$lang['listuser_modify_hint'] = "情報の更新";
|
||||
$lang['listuser_permission'] = "パーミッション";
|
||||
$lang['listuser_permission_hint'] = "パーミッションの更新";
|
||||
$lang['listuser_delete'] = "削除";
|
||||
$lang['listuser_delete_hint'] = "ユーザの削除";
|
||||
$lang['listuser_button_all'] = "全て選択";
|
||||
$lang['listuser_button_invert'] = "選択解除";
|
||||
$lang['listuser_button_create_address'] = "メールアドレスの表示";
|
||||
$lang['cat_invisible'] = '隠す';
|
||||
$lang['cat_edit'] = "編集";
|
||||
$lang['cat_up'] = "上へ";
|
||||
$lang['cat_down'] = "下へ";
|
||||
$lang['cat_image_info'] = "イメージ情報";
|
||||
$lang['cat_total'] = "合計";
|
||||
$lang['editcat_confirm'] = "設定がデータベースに登録されました";
|
||||
$lang['editcat_back'] = "カテゴリ";
|
||||
$lang['editcat_title1'] = "オプション";
|
||||
$lang['editcat_name'] = "カテゴリ名";
|
||||
$lang['editcat_comment'] = "コメント";
|
||||
$lang['editcat_status'] = "ステータス";
|
||||
$lang['infoimage_general'] = "カテゴリの一般オプション";
|
||||
$lang['infoimage_useforall'] = "全ての写真に適用 ?";
|
||||
$lang['infoimage_creation_date'] = "作成日";
|
||||
$lang['infoimage_detailed'] = "各写真のオプション";
|
||||
$lang['infoimage_title'] = "タイトル";
|
||||
$lang['infoimage_comment'] = "コメント";
|
||||
$lang['update_missing_tn'] = "サムネイル無しのイメージ";
|
||||
$lang['update_disappeared_tn'] = "サムネイル喪失";
|
||||
$lang['update_disappeared'] = "が存在しません";
|
||||
$lang['update_part_deletion'] = "サムネイル無し又は存在しないイメージの削除";
|
||||
$lang['update_deletion_conclusion'] = "枚の写真がデータベースから削除されました";
|
||||
$lang['update_part_research'] = "ディレクトリ内新規イメージの検索";
|
||||
$lang['update_research_added'] = "が追加されました";
|
||||
$lang['update_research_tn_ext'] = "サムネイル種類";
|
||||
$lang['update_research_conclusion'] = "枚の写真がデータベースに登録されました";
|
||||
$lang['update_default_title'] = "オプションを選択してください";
|
||||
$lang['update_only_cat'] = "カテゴリを更新する。写真は更新しない。";
|
||||
$lang['update_all'] = "全てを更新する。";
|
||||
$lang['tn_width'] = "幅";
|
||||
$lang['tn_height'] = "高さ";
|
||||
$lang['tn_no_support'] = "写真が見つからないかサポート外です:";
|
||||
$lang['tn_format'] = "ファイルフォーマット";
|
||||
$lang['tn_thisformat'] = "ファイルフォーマット";
|
||||
$lang['tn_err_width'] = "最小幅:";
|
||||
$lang['tn_err_height'] = "最小高:";
|
||||
$lang['tn_results_title'] = "最小化の結果";
|
||||
$lang['tn_picture'] = "写真";
|
||||
$lang['tn_results_gen_time'] = "作成時間";
|
||||
$lang['tn_stats'] = "一般統計";
|
||||
$lang['tn_stats_nb'] = "最小化された写真数";
|
||||
$lang['tn_stats_total'] = "合計時間";
|
||||
$lang['tn_stats_max'] = "最大時間";
|
||||
$lang['tn_stats_min'] = "最小時間";
|
||||
$lang['tn_stats_mean'] = "平均時間";
|
||||
$lang['tn_err'] = "エラー";
|
||||
$lang['tn_params_title'] = "最小化パラーメタ";
|
||||
$lang['tn_params_GD'] = "GDバージョン";
|
||||
$lang['tn_params_GD_info'] = "- GDは画像を操作するPHPのライブラリです。<br />-あなたのサーバにインストールされているバージョンを選択してください。間違ったバージョンを選択した場合は、エラーメッセージが表示されますので異なるバージョンを選択してください。どのバージョンも動作しない場合は、あなたのサーバがGDをサポートしていないことを意味します。";
|
||||
$lang['tn_params_width_info'] = "サムネイルの最大幅";
|
||||
$lang['tn_params_height_info'] = "サムネイルの最大高";
|
||||
$lang['tn_params_create'] = "作成数";
|
||||
$lang['tn_params_create_info'] = "サムネイルの作成はCPUに過大な負荷をかけますので、同時に多くの写真のサムネイル作成を行わないでください。フリープロバイダを使用している場合、CPUに高い負荷をかけるとウェブサイトを削除される場合があります。";
|
||||
$lang['tn_params_format'] = "ファイルフォーマット";
|
||||
$lang['tn_params_format_info'] = "サムネイルの作成にはjpegフォーマットのみ使用できます。";
|
||||
$lang['tn_alone_title'] = "サムネイル無しの写真 (jpeg及びpngのみ)";
|
||||
$lang['tn_dirs_title'] = "ディレクトリリスト";
|
||||
$lang['tn_dirs_alone'] = "サムネイル無しの写真";
|
||||
$lang['help_images_title'] = "写真の追加";
|
||||
$lang['help_images_intro'] = "ディレクトリへの写真の追加方法";
|
||||
$lang['help_images'][0] = "ディレクトリ \"galleries\" 内にカテゴリを表すディレクトリを作成してください。";
|
||||
$lang['help_images'][1] = "それぞれのディレクトリには、いくつでもサブディレクトリを作成出来ます。";
|
||||
$lang['help_images'][2] = "それぞれのカテゴリには、いくつでもサブカテゴリを作成出来ます。";
|
||||
$lang['help_images'][3] = "写真ファイルは、jpegフォーマット(拡張子は jpg 又は JPG)、 gifフォーマット(拡張子は gif 又は GIF) 又は pngフォーマット(拡張子は png 又は PNG)にしてください。";
|
||||
$lang['help_images'][4] = "ファイル名には、空白 \" \" や ハイフン \"-\" を使わないでください。PhpWebGalleryが管理出来て、正しく処理されるアンダースコア \"_\" を使われることをお勧めします。";
|
||||
$lang['help_thumbnails_title'] = "サムネイル";
|
||||
$lang['help_thumbnails'][0] = "あなたのサイト内にある写真表示の為のディレクトリには、それぞれに \"thumbnail\" という名称のディレクトリがあります。もし無い場合は、サムネイルを追加する為に作成してください。";
|
||||
$lang['help_thumbnails'][1] = "サムネイルの拡張子は写真ファイルと同じにする必要はありません。(例えば、.jpgという拡張子の写真が .GIFという拡張子を持つことが出来ます)。";
|
||||
$lang['help_thumbnails'][2] = "設定ページで登録された接頭辞を写真のサムネイルファイル名の先頭に付ける必要があります (例 image.jpg -> TN_image.GIF)。";
|
||||
$lang['help_thumbnails'][3] = "サムネイルの管理用にPhpWebGalleryのページよりWindows用のモジュールをダウンロードすることをお勧めします。";
|
||||
$lang['help_thumbnails'][4] = "PhpWebGalleryのサムネイル作成ページも利用出来ますがお勧めしません。サムネイルの質が良くありませんし、CPUのパワーを多大に使用しますので無料ウェブホスティングを利用している場合はトラブルの原因となります。";
|
||||
$lang['help_thumbnails'][5] = "ホスティングプロバイダのサーバを利用してサムネイルを作成する場合、\"galleries\"フォルダ及び全てのサブフォルダのパーミッションを775に設定してください。";
|
||||
$lang['help_database_title'] = "データベースの更新";
|
||||
$lang['help_database'][0] = "写真ファイルとサムネイルが正しくディレクトリに追加された後、管理パネルにある \"データベースの更新\" をクリックしてください。";
|
||||
$lang['help_infos_title'] = "その他の情報";
|
||||
$lang['help_infos'][1] = "ギャラリーの作成後、出来るだけ早くユーザリストにアクセスして \"ビジター\" のパーミッションを変更してください。全ての新規登録ユーザはデフォルトで \"ビジター\" ユーザと同じパーミッションが割当てられます。";
|
||||
$lang['help_remote_title'] = "リモートサイト";
|
||||
$lang['help_remote'][0] = "PhpWebGalleryではギャラリーを作成する時にいくつかのサーバにイメージを保存することが出来ます。 ギャラリーが容量制限された場所にインストールされていて、尚且つ大量のイメージを掲載する場合に便利です。下記の手順に従ってください: ";
|
||||
$lang['help_remote'][1] = "1. \"create_listing_file.php\"という名称のファイルを編集します (\"admin\" ディレクトリの中にあります)、サムネイルの接頭辞が \"TN-\" で無い場合は、\"\$prefixe_thumbnail = \"TN-\";\" と変更します。";
|
||||
$lang['help_remote'][2] = "2. 修正済みの \"create_listing_file.php\" ファイルをリモートサイトにFTPで置きます。リモートサイトのイメージを格納するディレクトリに置いてください(ウェブサイトの \"galleries\" という名称のようなディレクトリ)。";
|
||||
$lang['help_remote'][3] = "3. URL( http://domaineDistant/repGalerie/create_listing_file.php )を使用してスクリプトを起動してください。listing.xmlという名称のファイルが作成されます。";
|
||||
$lang['help_remote'][4] = "4. リモートサイトにあるlisting.xmlを、このサイトの \"admin\" ディレクトリに入れてください。";
|
||||
$lang['help_remote'][5] = "5. 管理パネルでデータベースの更新を行ってください。データベースの更新でlisting.xmlが使用された後は、\"admin\" ディレクトリより削除してください。";
|
||||
$lang['help_remote'][6] = "ディレクトリへの写真の追加を再度行うことによりリモートサイトのコンテンツを更新することが出来ます。 管理パネルの設定オプションを選択することにより、リモートサイトの使用を中止することも出来ます。選択オプション:".
|
||||
$lang['help_upload_title'] = "写真のアップロード許可";
|
||||
$lang['help_upload'][0] = "PhpWebGalleryではユーザにイメージをアップロードさせることが出来ます。 方法は下記の通りです :";
|
||||
$lang['help_upload'][1] = "1. 管理パネルにログインして設定をクリックする";
|
||||
$lang['help_upload'][2] = "2. 写真のアップロード許可をYesに設定する";
|
||||
$lang['install_message'] = "メッセージ";
|
||||
$lang['step1_confirmation'] = "パラメータは正常です";
|
||||
$lang['step1_err_db'] = "サーバへの接続は成功しましたが、データベースへ接続できません";
|
||||
$lang['step1_err_server'] = "サーバに接続出来ません";
|
||||
$lang['step1_err_copy_2'] = "インストールの次のステップへ進めます";
|
||||
$lang['step1_err_copy_next'] = "次のステップ";
|
||||
$lang['step1_title'] = "ステップ 1/2";
|
||||
$lang['step1_host'] = "MySQLホスト";
|
||||
$lang['step1_host_info'] = "localhost, sql.multimania.com, toto.freesurf.fr";
|
||||
$lang['step1_user'] = "ユーザ";
|
||||
$lang['step1_user_info'] = "MySQLホストの接続名";
|
||||
$lang['step1_pass'] = "パスワード";
|
||||
$lang['step1_pass_info'] = "MySQLホストの接続パスワード";
|
||||
$lang['step1_database'] = "データベース名";
|
||||
$lang['step1_database_info'] = "MySQLホストのデータベース名";
|
||||
$lang['step1_prefix'] = "データベーステーブル接頭辞";
|
||||
$lang['step1_prefix_info'] = "データベーステーブル名の先頭に接頭辞が追加されます (テーブル管理がし易くなります)";
|
||||
$lang['step2_err_login1'] = "ウェブマスタのログイン名を入力してください";
|
||||
$lang['step2_err_login3'] = "ウェブマスタのログイン名には ' や \" は使用出来ません";
|
||||
$lang['step2_err_pass'] = "パスワードをもう一度入力してください";
|
||||
$lang['step2_err_mail'] = $lang['conf_err_mail'];
|
||||
$lang['install_end_title'] = "インストールが完了しました";
|
||||
$lang['install_end_message'] = "PhpWebGalleryの設定が完了しました。次のステップに進んでください。<br /><br />
|
||||
セキュリティ上の理由から \"admin\" ディレクトリ内の \"install.php\" を削除してください。<br />
|
||||
このファイルが削除された後に、次の指示に従ってください :
|
||||
<ul>
|
||||
<li>認証ページに進んでください : [ <a href='../identification.php'>認証</a> ] ウェブマスタ用のログイン名/パスワードを使用してログインしてください。</li>
|
||||
<li>ログインすることにより、 [ <a href='admin.php'>管理パネル</a> ] 及び写真のアップロード説明へアクセス出来ます。</li>
|
||||
</ul>";
|
||||
$lang['step2_title'] = "ステップ 2/2";
|
||||
$lang['step2_pwd'] = "パスワード";
|
||||
$lang['step2_pwd_info'] = "管理パネルにアクセスするためのパスワードです。";
|
||||
$lang['step2_pwd_conf'] = "パスワードの確認";
|
||||
$lang['step2_pwd_conf_info'] = "確認してください。";
|
||||
// new or modified in release 1.3
|
||||
$lang['remote_site'] = 'リモートサイト';
|
||||
$lang['title_add'] = 'ユーザの追加';
|
||||
$lang['title_modify'] = 'ユーザの更新';
|
||||
$lang['title_groups'] = 'グループ管理';
|
||||
$lang['title_user_perm'] = 'ユーザのパーミッションを更新する';
|
||||
$lang['title_cat_perm'] = 'カテゴリのパーミッションを更新する';
|
||||
$lang['title_group_perm'] = 'グループのパーミッションを更新する';
|
||||
$lang['title_picmod'] = '写真情報を更新する';
|
||||
$lang['menu_groups'] = 'グループ';
|
||||
$lang['menu_comments'] = 'コメント';
|
||||
$lang['conf_general_log'] = '履歴';
|
||||
$lang['conf_general_log_info'] = 'ウェブサイトの訪問履歴を保存しますか? 訪問履歴は管理パネルの履歴セクションで見ることが出来ます。';
|
||||
$lang['conf_general_mail_notification'] = 'メール通知';
|
||||
$lang['conf_general_mail_notification_info'] = 'ユーザがコメントを追加又は写真をアップロードしたときに自動的に管理者のみにメールを送信します。';
|
||||
$lang['conf_comments_validation'] = 'ユーザコメントの承認';
|
||||
$lang['conf_comments_validation_info'] = '管理者の承認後にユーザのコメントを表示する。';
|
||||
$lang['conf_comments_forall'] = '全員に許可する';
|
||||
$lang['conf_comments_forall_info'] = '未登録のゲストにもコメントの投稿を許可する。';
|
||||
$lang['conf_default_nb_image_per_row_info'] = '1列あたりの写真数(デフォルト)';
|
||||
$lang['conf_default_nb_row_per_page_info'] = '1ページあたりの行数(デフォルト)';
|
||||
$lang['conf_default_short_period_info'] = '日数を指定。写真が赤いマークと共に表示される期間。短い期間は1日以上に設定してください。';
|
||||
$lang['conf_default_long_period_info'] = '日数を指定。写真が緑のマークと共に表示される期間。長い期間は短い期間より長く設定する必要があります。';
|
||||
$lang['conf_default_expand_info'] = 'メニュー内で全てのカテゴリをデフォルトで展開しますか ?';
|
||||
$lang['conf_default_show_nb_comments_info'] = 'サムネイルページで各写真のコメント数を表示する。';
|
||||
$lang['conf_default_maxwidth_info'] = '表示写真の最大幅 : 写真表示のみのサイズが変更されて、ファイルの変更は行われません。制限を設けたくない場合は空白にしてください。';
|
||||
$lang['conf_default_maxheight_info'] = '写真の最大高';
|
||||
$lang['conf_session_cookie'] = 'クッキーの保存';
|
||||
$lang['conf_session_cookie_info'] = '毎回の訪問時にユーザがログインする必要がなくなります。セキュリティー上、安全ではありません。';
|
||||
$lang['adduser_associate'] = 'グループに加える';
|
||||
$lang['group_add'] = 'グループの追加';
|
||||
$lang['group_add_error1'] = 'グループ名には " や \' を含んではいけません。';
|
||||
$lang['group_add_error2'] = 'このグループ名は既に使用されています。';
|
||||
$lang['group_confirm'] = '本当にこのグループを削除しても宜しいですか ?';
|
||||
$lang['group_list_title'] = 'グループリスト';
|
||||
$lang['group_err_unknown'] = 'このグループはデータベースに存在していません。';
|
||||
$lang['cat_permission'] = 'パーミッション';
|
||||
$lang['cat_update'] = '更新';
|
||||
$lang['cat_add'] = 'バーチャルカテゴリを追加する';
|
||||
$lang['cat_parent'] = '親カテゴリ';
|
||||
$lang['cat_error_name'] = 'カテゴリー名を入力してください';
|
||||
$lang['cat_virtual'] = 'バーチャル';
|
||||
$lang['cat_first'] = '先頭に移動';
|
||||
$lang['cat_last'] = '末尾に移動';
|
||||
$lang['editcat_visible_info'] = '(管理者以外に非表示)';
|
||||
$lang['editcat_visible'] = '表示';
|
||||
$lang['editcat_uploadable'] = '写真のアップロード';
|
||||
$lang['infoimage_keyword_separation'] = '(コンマ区切り ",")';
|
||||
$lang['infoimage_addtoall'] = '全てに設定';
|
||||
$lang['infoimage_removefromall'] = '設定を取り消す';
|
||||
$lang['infoimage_associate'] = '選択したカテゴリに関連付ける';
|
||||
$lang['update_wrong_dirname'] = 'ディレクトリ名及びファイル名は英文字又は記号("-", "_" or ".")で構成される必要があります';
|
||||
$lang['stats_pages_seen'] = 'ページが閲覧されました';
|
||||
$lang['stats_visitors'] = 'ゲスト';
|
||||
$lang['stats_empty'] = '履歴をクリアする';
|
||||
$lang['stats_pages_seen_graph_title'] = '1日当たりのページ閲覧数';
|
||||
$lang['stats_visitors_graph_title'] = '1日当たりのゲスト閲覧数';
|
||||
$lang['comments_last_title'] = '最新のコメント';
|
||||
$lang['comments_non_validated_title'] = '承認待ちのコメント';
|
||||
$lang['help_database'][1] = '1回の更新で大量の写真を更新することを避ける為に、カテゴリの更新のみをお勧めします。カテゴリの更新後、管理パネルのカテゴリでそれぞれのカテゴリの横にある「更新」をクリックしてください。';
|
||||
$lang['help_upload'][3] = '写真をアップロードするには、カテゴリをアップロード可能に設定する必要があります。';
|
||||
$lang['help_upload'][4] = 'アップロードしたイメージはウェブサイトに直接表示されません。表示される為には管理者の認証が必要です。管理者は管理パネルの「承認待ち」メニューでイメージの認証又は拒否を行う必要があります。その後、データベースの更新を行います。';
|
||||
$lang['help_virtual_title'] = '写真、カテゴリ、バーチャルカテゴリ間のリンク';
|
||||
$lang['help_virtual'][0] = 'PhpWebGalleryは写真が保存されているカテゴリと写真が表示されているカテゴリを分離することが出来ます。';
|
||||
$lang['help_virtual'][1] = 'デフォルトでは、写真はウェブサーバ上のディレクトリと一致するカテゴリ内に表示されます : ';
|
||||
$lang['help_virtual'][2] = '写真をカテゴリにリンクするには、写真ページでそれぞれ関連付けるか、管理パネルのカテゴリで全ての写真を関連付けてください。';
|
||||
$lang['help_virtual'][3] = 'また、PhpWebGallery内にバーチャルカテゴリを作成することも出来ます。カテゴリはディレクトリと一致する必要はありません。 管理パネルの"カテゴリ"セクションで作成してください。';
|
||||
$lang['help_groups_title'] = 'ユーザ グループ';
|
||||
$lang['help_groups'][0] = 'PhpWebGalleryではユーザグループの管理を行うことが出来ます。これはプライベートカテゴリにパーミッションを設定する時に便利です。';
|
||||
$lang['help_groups'][1] = '1. 例えば管理パネルの"グループ"セクションで"family"という名称のグループを作成します。';
|
||||
$lang['help_groups'][2] = '2. "ユーザ"セクションで、ユーザを"family"に関連付けます。';
|
||||
$lang['help_groups'][3] = '3. カテゴリ又はグループのパーミッションを変更することで、カテゴリに対するグループのアクセス権をグループメンバーに割り当てることが出来ます。';
|
||||
$lang['help_groups'][4] = 'ユーザは幾つかのグループに属することが出来ます。権限は拒否よりも優位にあります: 例えば、"jack"が"family"及び"friends"というグループに属しているとします。"family"グループのみが"Christmas 2003"カテゴリを見ることが出来る場合、"jack"は"Christmas 2003"にアクセスすることが出来ます。';
|
||||
$lang['help_access_title'] = 'アクセス権';
|
||||
$lang['help_access'][0] = 'PhpWebGalleryはカテゴリへのアクセスを禁止することが出来ます。カテゴリは「公開」または「プライベート」に設定することが出来ます。カテゴリへのアクセスを禁止するには :';
|
||||
$lang['help_access'][1] = '1. 管理パネルの"カテゴリ"セクションでカテゴリ情報を"プライベート"に変更します';
|
||||
$lang['help_access'][2] = '2. グループ又はユーザページのパーミッションにプライベートカテゴリが表示されます。そこで制限付きアクセス又はアクセス禁止を設定することが出来ます。';
|
||||
$lang['help_infos'][2] = '分からないことがある場合は、ためらわずにフォーラムを閲覧するか質問してください。 <a href="'.$conf['forum_url'].'" style="text-decoration:underline">フォーラム</a> (掲示板)はPhpWebGalleryホームページでご利用いただけます。';
|
||||
$lang['step1_err_copy'] = 'ハイフンの間のテキストを"include/mysql.inc.php"にコピーしてください。(警告 : mysql.inc.phpには青色の部分のみをコピーしてください。改行コードやスペースを入れないでください。)';
|
||||
$lang['permuser_only_private'] = 'プライベートカテゴリのみ表示されています';
|
||||
$lang['waiting_update'] = '写真データベースの更新後は、正常な写真のみ表示されます';
|
||||
$lang['conf_upload_available_info'] = 'ウェブサイトのカテゴリにユーザが写真をアップロードする場合、許可が必要(リモートサーバでは無く)。これは全体に関係するパラメータです。デフォルトではアップロード可能なカテゴリはありませんので、カテゴリ毎にアップロードを許可する必要があります。';
|
||||
$lang['install_help'] = 'ヘルプが必要ですか? <a href="http://forum.phpwebgallery.net">PhpWebGalleryメッセージボード</a>で質問してください。';
|
||||
$lang['install_warning'] = '"admin/install.php"が存在しています。セキュリティ上安全ではありませんのでサーバより削除してください。';
|
||||
// new or modified in release 1.3.1
|
||||
$lang['cat_unknown_id'] = 'This category is unknown in the database';
|
||||
}
|
||||
?>
|
556
language/magyar.php
Normal file
556
language/magyar.php
Normal file
|
@ -0,0 +1,556 @@
|
|||
<?php
|
||||
/***************************************************************************
|
||||
* magyar.php *
|
||||
* ------------------- *
|
||||
* application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
|
||||
* author : Béla Márkus <mbl@freemail.hu> *
|
||||
* version : 1.00 *
|
||||
* date : 25/10/2003 *
|
||||
* *
|
||||
* notes : Hungarian language file *
|
||||
* : *
|
||||
* : Only messages are relevant to users are translated; *
|
||||
* : administrator texts are kept English for the moment *
|
||||
* *
|
||||
* $Id$
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* 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; *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
$lang['only_members'] = 'Az oldal csak regisztrált tagok számára érhetõ el';
|
||||
$lang['invalid_pwd'] = 'Érvénytelen jelszó!';
|
||||
$lang['access_forbiden'] = 'Nem vagy jogosult ennek az oldalna a megtekintésére';
|
||||
$lang['submit'] = 'Küldés';
|
||||
$lang['login'] = 'bejelentkezés';
|
||||
$lang['password'] = 'jelszó';
|
||||
$lang['new'] = 'új';
|
||||
$lang['delete'] = 'töröl';
|
||||
$lang['category'] = 'kategória';
|
||||
$lang['thumbnail'] = 'bélyegkép';
|
||||
$lang['date'] = 'dátum';
|
||||
$lang['diapo_default_page_title'] = 'Nincs kiválasztott kategória';
|
||||
$lang['thumbnails'] = 'Bélyegképek';
|
||||
$lang['categories'] = 'Kategóriák';
|
||||
$lang['hint_category'] = 'a kategória gyökerében lévõ képek megtekintése';
|
||||
$lang['total_images'] = 'összes';
|
||||
$lang['title_menu'] = 'Menü';
|
||||
$lang['change_login'] = 'belépés más néven';
|
||||
$lang['login'] = 'bejelentkezés';
|
||||
$lang['hint_login'] = 'bejelentkezés után testreszabhatod a program megjelenését';
|
||||
$lang['logout'] = 'kilépés';
|
||||
$lang['customize'] = 'testreszabás';
|
||||
$lang['hint_customize'] = 'a képtár megjelenésének testreszabása';
|
||||
$lang['hint_search'] = 'keresés';
|
||||
$lang['search'] = 'keresés';
|
||||
$lang['favorite_cat'] = 'kedvencek';
|
||||
$lang['favorite_cat_hint'] = 'kedvencek listázása';
|
||||
$lang['about'] = 'a programról';
|
||||
$lang['hint_about'] = 'további információk a PhpWebGallery-rõl';
|
||||
$lang['admin'] = 'rendszergazda';
|
||||
$lang['hint_admin'] = 'csak rendszergazdák számára érhetõ el';
|
||||
$lang['no_category'] = 'Nincs kiválasztott kategória<br />válassz ki egyet a menüben';
|
||||
$lang['page_number'] = 'oldal';
|
||||
$lang['previous_page'] = 'Elõzõ';
|
||||
$lang['next_page'] = 'Következõ';
|
||||
$lang['nb_image_category'] = 'Képek száma ebben a kategóriában';
|
||||
$lang['recent_image'] = '';
|
||||
$lang['days'] = 'napnál frissebb kép';
|
||||
$lang['send_mail'] = 'Véleményed van? Küldj email-t';
|
||||
$lang['title_send_mail'] = 'A comment on your site';
|
||||
$lang['sub-cat'] = 'alkategóriák';
|
||||
$lang['images_available'] = 'kép ebben a kategóriában';
|
||||
$lang['total'] = 'kép';
|
||||
$lang['upload_picture'] = 'Kép feltöltés';
|
||||
$lang['registration_date'] = 'regisztrálva';
|
||||
$lang['creation_date'] = 'létrehozva';
|
||||
$lang['comment'] = 'megjegyzés';
|
||||
$lang['author'] = 'szerzõ';
|
||||
$lang['size'] = 'méret';
|
||||
$lang['filesize'] = 'hossz';
|
||||
$lang['file'] = 'fájl';
|
||||
$lang['generation_time'] = 'Lap létrehozás ideje';
|
||||
$lang['favorites'] = 'Kedvencek';
|
||||
$lang['search_result'] = 'A keresés eredménye';
|
||||
$lang['about_page_title'] = 'A PhpWebGallery-ról';
|
||||
$lang['about_title'] = 'A programról';
|
||||
$lang['about_message'] = '<div style="text-align:center;font-weigh:bold;">Információ a PhpWebGallery-rõl</div>
|
||||
<ul>
|
||||
<li>Ez az oldal a <a href="'.$conf['site_url'].'" style="text-decoration:underline">PhpWebGallery</a> '.$conf['version'].'-as verziót használja. A PhpWebGallery egy olyan web-es alkalmazás, mely on-line képtárak egyszerû létrehozását teszi lehetõvé.</li>
|
||||
<li>A PhpWebGallery teljesen PHP-ben (az elePHPant) íródott és a MySQL (SQuirreL) adatbázis kezelõt használja.</li>
|
||||
<li>Ha bármilyen javaslatod vagy megjegyzésed van, látogasd meg a <a href="'.$conf['site_url'].'" style="text-decoration:underline">PhpWebGallery</a> címet, és a hozzá tartozó <a href="'.$conf['forum_url'].'" style="text-decoration:underline">fórum</a>-ot.</li>
|
||||
</ul>';
|
||||
$lang['about_return'] = 'Vissza';
|
||||
$lang['ident_page_title'] = 'Azonosítás';
|
||||
$lang['ident_title'] = 'Azonosítás';
|
||||
$lang['ident_register'] = 'Regisztrálás';
|
||||
$lang['ident_forgotten_password'] = 'Elfelejtetted a jelszót ?';
|
||||
$lang['ident_guest_visit'] = 'A képtár megtekintése vendégként';
|
||||
$lang['customize_page_title'] = 'Testreszabás';
|
||||
$lang['customize_title'] = 'Testreszabás';
|
||||
$lang['customize_nb_image_per_row'] = 'kép soronként';
|
||||
$lang['customize_nb_row_per_page'] = 'sor oldalanként';
|
||||
$lang['customize_language'] = 'nyelv';
|
||||
$lang['maxwidth'] = 'legnagyobb kép szélesség';
|
||||
$lang['maxheight'] = 'legnagyobb kép magasság';
|
||||
$lang['err_maxwidth'] = 'a legnagyobb szélességnek 50-nél többnek kell lennie';
|
||||
$lang['err_maxheight'] = 'a legnagyobb magasságnak 50-nél többnek kell lennie';
|
||||
$lang['previous_image'] = 'Elõzõ';
|
||||
$lang['next_image'] = 'Következõ';
|
||||
$lang['back'] = 'Kattints a képre, ha vissza akarsz térni a bélyegképekhez';
|
||||
$lang['info_image_title'] = 'Kép információ';
|
||||
$lang['link_info_image'] = 'Információ módosítása';
|
||||
$lang['true_size'] = 'Valódi méret';
|
||||
$lang['comments_title'] = 'megjegyzés a látogatóktól';
|
||||
$lang['comments_del'] = 'megjegyzés törlése';
|
||||
$lang['comments_add'] = 'Megjegyzés hozzáadása';
|
||||
$lang['month'][1] = 'Január';
|
||||
$lang['month'][2] = 'Február';
|
||||
$lang['month'][3] = 'Március';
|
||||
$lang['month'][4] = 'Április';
|
||||
$lang['month'][5] = 'Május';
|
||||
$lang['month'][6] = 'Június';
|
||||
$lang['month'][7] = 'Július';
|
||||
$lang['month'][8] = 'Augusztus';
|
||||
$lang['month'][9] = 'Szeptember';
|
||||
$lang['month'][10] = 'Október';
|
||||
$lang['month'][11] = 'November';
|
||||
$lang['month'][12] = 'December';
|
||||
$lang['day'][0] = 'Vasárnap';
|
||||
$lang['day'][1] = 'Hétfõ';
|
||||
$lang['day'][2] = 'Kedd';
|
||||
$lang['day'][3] = 'Szerda';
|
||||
$lang['day'][4] = 'Csütörtök';
|
||||
$lang['day'][5] = 'Péntek';
|
||||
$lang['day'][6] = 'Szombat';
|
||||
$lang['add_favorites_alt'] = 'Hozzáadás a kedvencekhez';
|
||||
$lang['add_favorites_hint'] = 'Ennek a képnek a hozzáadása a kedvencekhez';
|
||||
$lang['del_favorites_alt'] = 'Törlés a kedvencekbõl';
|
||||
$lang['del_favorites_hint'] = 'Ennek a képnek a törlése a kedvencek közül';
|
||||
$lang['register_page_title'] = 'Regisztrálás';
|
||||
$lang['register_title'] = 'Regisztrálás';
|
||||
$lang['reg_err_login1'] = 'Jelentkezz be';
|
||||
$lang['reg_err_login2'] = 'a név nem végzõdhet szóközzel';
|
||||
$lang['reg_err_login3'] = 'a név nem kezdõdhet szóközzel';
|
||||
$lang['reg_err_login4'] = 'a név nem tartalmazhat " és \' karaktereket';
|
||||
$lang['reg_err_login5'] = 'ez a név már foglalt';
|
||||
$lang['reg_err_pass'] = 'ismételd meg a jelszót';
|
||||
$lang['reg_confirm'] = 'megerõsítés';
|
||||
$lang['reg_err_mail_address'] = 'a levelezési cím xxx@yyy.eee formájú legyen(example : jack@altern.org)';
|
||||
$lang['search_title'] = 'Keresés';
|
||||
$lang['invalid_search'] = 'keresésnél legalább 3 karaktert kell megadni';
|
||||
$lang['search_field_search'] = 'Keresés';
|
||||
$lang['search_return_main_page'] = 'Visszatérés a bélyegképekhez';
|
||||
$lang['upload_forbidden'] = 'Nem tölthetõ fel kép ebbe a kategóriába';
|
||||
$lang['upload_file_exists'] = 'Ilyen néven már van kép';
|
||||
$lang['upload_filenotfound'] = 'Meg kell adni a fájl formátumot';
|
||||
$lang['upload_cannot_upload'] = 'nem tölthetõ fel a kép a szerverre';
|
||||
$lang['upload_title'] = 'Kép feltöltése';
|
||||
$lang['upload_advise'] = 'Válaszd ki a feltöltendõ képet ebbe a kategóriába: ';
|
||||
$lang['upload_advise_thumbnail'] = 'Nem kötelezõ, de javasolt : válaszd ki a bélyegképet ';
|
||||
$lang['upload_advise_filesize'] = 'a file legnagyobb megengedett mérete : ';
|
||||
$lang['upload_advise_width'] = 'a kép legnagyobb megengedett szélessége : ';
|
||||
$lang['upload_advise_height'] = 'a kép legnagyobb megengedett magassága : ';
|
||||
$lang['upload_advise_filetype'] = 'a képnek jpg, gif vagy png formátumúnak kell lennie';
|
||||
$lang['upload_err_username'] = 'meg kell adni a felhasználói nevet';
|
||||
$lang['upload_username'] = 'Felhasználói név';
|
||||
$lang['upload_successful'] = 'A kép feltöltésre került; a rendszergazda hamarosan engedélyezni fogja';
|
||||
// new or modified in release 1.3
|
||||
$lang['charset'] = 'iso-8859-2';
|
||||
$lang['no'] = 'nem';
|
||||
$lang['yes'] = 'igen';
|
||||
$lang['guest'] = 'vendég';
|
||||
$lang['mail_address'] = 'email cím';
|
||||
$lang['public'] = 'nyílvános';
|
||||
$lang['private'] = 'privát';
|
||||
$lang['add'] = 'hozzáadás';
|
||||
$lang['dissociate'] = 'szétválasztás';
|
||||
$lang['mandatory'] = 'kötelezõ';
|
||||
$lang['err_date'] = 'hibás dátum';
|
||||
$lang['picture'] = 'kép';
|
||||
$lang['IP'] = 'IP';
|
||||
$lang['close'] = 'bezárás';
|
||||
$lang['open'] = 'megnyitás';
|
||||
$lang['keywords'] = 'kulcsszavak';
|
||||
$lang['errors_title'] = 'Hiba';
|
||||
$lang['infos_title'] = 'Információk';
|
||||
$lang['default'] = 'alapértelmezett';
|
||||
$lang['comments'] = 'megjegyzés';
|
||||
$lang['category_representative'] = 'representative';
|
||||
$lang['stats'] = 'statisztikák';
|
||||
$lang['most_visited_cat_hint'] = 'legtöbbet nézett képek';
|
||||
$lang['most_visited_cat'] = 'legtöbbet nézett';
|
||||
$lang['best_rated_cat_hint'] = 'legjobbnak minõsített képek listázása';
|
||||
$lang['best_rated_cat'] = 'legjobbnak minõsített';
|
||||
$lang['recent_cat_hint'] = 'legújabb képek listázása';
|
||||
$lang['recent_cat'] = 'legújabbak';
|
||||
$lang['recent_cat_title'] = 'Legújabb képek';
|
||||
$lang['visited'] = 'megtekintve';
|
||||
$lang['times'] = 'alkalommal';
|
||||
$lang['customize_theme'] = 'téma';
|
||||
$lang['customize_expand'] = 'valamennyi kategória kibontása';
|
||||
$lang['customize_show_nb_comments'] = 'megjegyzés szám';
|
||||
$lang['customize_short_period'] = 'rövid periódus';
|
||||
$lang['customize_long_period'] = 'hosszú periódus';
|
||||
$lang['customize_template'] = 'téma';
|
||||
$lang['err_periods'] = 'a periódusnak egész számnak kell lennie';
|
||||
$lang['err_periods_2'] = 'a periódusnak nullánál nagyobbnak kell lennie. A hosszú periódusnak a rövidnél nagyobbnak kell lennie.';
|
||||
$lang['create_cookie'] = 'süti létrehozása';
|
||||
$lang['customize_day'] = 'nap';
|
||||
$lang['customize_week'] = 'hét';
|
||||
$lang['customize_month'] = 'hónap';
|
||||
$lang['customize_year'] = 'év';
|
||||
$lang['slideshow'] = 'diavetítés';
|
||||
$lang['period_seconds'] = 'másodperc képenként';
|
||||
$lang['slideshow_stop'] = 'diavetítés leállítása';
|
||||
$lang['comment_added'] = 'A megjegyzésed rögzítve lett';
|
||||
$lang['comment_to_validate'] = 'A rendszergazdának engedélyeznie kell, mielõtt megjelenik';
|
||||
$lang['comment_anti-flood'] = 'Várj egy kicsit az újabb megjegyzés beírásával';
|
||||
$lang['comment_user_exists'] = 'Ezt a nevet már valaki használja';
|
||||
$lang['invalid_search'] = 'A keresett szavaknak 3 karakternél hosszabbnak kell lenniük és nem tartalmazhatnak írásjeleket';
|
||||
$lang['search_mode_or'] = 'legalább egy szó';
|
||||
$lang['search_mode_and'] = 'összes szó';
|
||||
$lang['search_comments'] = 'válaszd el a szavakat szóközzel';
|
||||
$lang['upload_name'] = 'Kép neve';
|
||||
$lang['upload_author'] = 'Szerzõ (pl. "Pierrick LE GALL")';
|
||||
$lang['upload_creation_date'] = 'Létrehozás dátuma (NN/HH/ÉÉÉÉ)';
|
||||
$lang['upload_comment'] = 'Megjegyzés';
|
||||
$lang['mail_hello'] = 'Szia,';
|
||||
$lang['mail_new_upload_subject'] = 'Új kép van az oldalon.';
|
||||
$lang['mail_new_upload_content'] = 'Új kép került feltöltésre és a jóváhagyásodra vár. Engedélyezheted vagy törölheted a rendszergazdai menüben.';
|
||||
$lang['mail_new_comment_subject'] = 'Új megjegyzés van az oldalon.';
|
||||
$lang['mail_new_comment_content'] = 'Új megjegyzés került rögzítésre. Ahhoz, hogy látható legyen, elõször engedélyezned kell a rendszergazdai menüben';
|
||||
$lang['connected_user'] = 'felhasználó';
|
||||
$lang['title_comments'] = 'A felhasználók megjegyzései';
|
||||
$lang['stats_last_days'] = 'napon';
|
||||
$lang['hint_comments'] = 'Legutóbbi megjegyzések';
|
||||
$lang['menu_login'] = 'belépés';
|
||||
//-------------------------------------------------------------- administration
|
||||
if ( $isadmin )
|
||||
{
|
||||
$lang['title_liste_users'] = 'Users list';
|
||||
$lang['title_history'] = 'History';
|
||||
$lang['title_update'] = 'Database update';
|
||||
$lang['title_configuration'] = 'PhpWebGallery configuration';
|
||||
$lang['title_instructions'] = 'Instructions';
|
||||
$lang['title_categories'] = 'Categories management';
|
||||
$lang['title_edit_cat'] = 'Edit a category';
|
||||
$lang['title_info_images'] = 'Modify category\'s image information';
|
||||
$lang['title_thumbnails'] = 'Thumbnail creation';
|
||||
$lang['title_thumbnails_2'] = 'for';
|
||||
$lang['title_default'] = 'PhpWebGallery administration';
|
||||
$lang['menu_title'] = 'Administration';
|
||||
$lang['menu_config'] = 'Configuration';
|
||||
$lang['menu_users'] = 'Users';
|
||||
$lang['menu_add_user'] = 'add';
|
||||
$lang['menu_list_user'] = 'list';
|
||||
$lang['menu_categories'] = 'Categories';
|
||||
$lang['menu_update'] = 'Database update';
|
||||
$lang['menu_thumbnails'] = 'Thumbnails';
|
||||
$lang['menu_history'] = 'History';
|
||||
$lang['menu_instructions'] = 'Instructions';
|
||||
$lang['menu_back'] = 'Back to galleries';
|
||||
$lang['title_waiting'] = 'Pictures waiting for validation';
|
||||
$lang['menu_waiting'] = 'Waiting';
|
||||
$lang['default_message'] = 'PhpWebGallery administration panel';
|
||||
$lang['conf_err_prefixe'] = 'thumbnail\'s prefix mustn\'t contain any accentued character';
|
||||
$lang['conf_err_mail'] = 'e-mail address refused, it must be like name@server.com';
|
||||
$lang['conf_err_sid_size'] = 'the session identifier size must be an integer value between 4 and 50';
|
||||
$lang['conf_err_sid_time'] = 'the session time must be an integer value between 5 and 60';
|
||||
$lang['conf_err_max_user_listbox'] = 'the max user listbox number must be an integer value between 0 and 255';
|
||||
$lang['conf_confirmation'] = 'Information data registered in database';
|
||||
$lang['conf_general_title'] = 'Main configuration';
|
||||
$lang['conf_general_webmaster'] = 'webmaster login';
|
||||
$lang['conf_general_webmaster_info'] = 'It will be shown to the visitors. It is necessary for website administration';
|
||||
$lang['conf_general_mail'] = 'webmaster mail adress';
|
||||
$lang['conf_general_mail_info'] = 'Visitors will be able to contact by this mail';
|
||||
$lang['conf_general_prefix'] = 'thumbnail prefix';
|
||||
$lang['conf_general_prefix_info'] = 'Thumbnails use this prefix. Do not fill if your not sure.';
|
||||
$lang['conf_general_access'] = 'access type';
|
||||
$lang['conf_general_access_1'] = 'free';
|
||||
$lang['conf_general_access_2'] = 'restricted';
|
||||
$lang['conf_general_access_info'] = '- free : anyone can enter the site, any visitor can create an account in order to customize the appareance of the website<br />- restricted : the webmaster create accounts. Only registered users can enter the site';
|
||||
$lang['conf_general_max_user_listbox'] = 'max listbox users number';
|
||||
$lang['conf_general_max_user_listbox_info'] = '- this is the number maximum of users for which PhpWebGallery display a listbox instead of a simple text box on the identification page<br />- enter a number between 0 and 255, 0 means that you want to display the listbox';
|
||||
$lang['conf_comments'] = 'users comments';
|
||||
$lang['conf_comments_title'] = 'Configuration of '.$lang['conf_comments'];
|
||||
$lang['conf_comments_show_comments'] = $lang['conf_comments'];
|
||||
$lang['conf_comments_show_comments_info'] = 'display the users comments under each picture ?';
|
||||
$lang['conf_comments_comments_number'] = 'number of comments per page';
|
||||
$lang['conf_comments_comments_number_info'] = 'number of comments to display on each page. This number is unlimited for a picture. Enter a number between 5 and 50.';
|
||||
$lang['conf_err_comment_number'] = 'The number of comments a page must be between 5 and 50 included.';
|
||||
$lang['conf_remote_site_delete_info'] = 'Deleting a remote server will delete all the image and the categories in relation with this server.';
|
||||
$lang['conf_upload_title'] = 'Configuration of the users upload';
|
||||
$lang['conf_upload_available'] = 'authorized the upload of pictures';
|
||||
$lang['conf_upload_maxfilesize'] = 'maximum filesize';
|
||||
$lang['conf_upload_maxfilesize_info'] = 'Maximum filesize for the uploaded pictures. Must be a number between 10 and 1000 KB.';
|
||||
$lang['conf_err_upload_maxfilesize'] = 'Maximum filesize for the uploaded pictures must be a number between 10 and 1000 KB.';
|
||||
$lang['conf_upload_maxwidth'] = 'maximum width';
|
||||
$lang['conf_upload_maxwidth_info'] = 'Maximum width authorized for the uploaded images. Must be a number superior to 10 pixels';
|
||||
$lang['conf_err_upload_maxwidth'] = 'maximum width authorized for the uploaded images must be a number superior to 10 pixels.';
|
||||
$lang['conf_upload_maxheight'] = 'maximum height';
|
||||
$lang['conf_upload_maxheight_info'] = 'Maximum height authorized for the uploaded images. Must be a number superior to 10 pixels';
|
||||
$lang['conf_err_upload_maxwidth'] = 'maximum height authorized for the uploaded images must be a number superior to 10 pixels.';
|
||||
$lang['conf_upload_maxwidth_thumbnail'] = 'thumbnails maximum width';
|
||||
$lang['conf_upload_maxwidth_thumbnail_info'] = 'Maximum width authorized for the uploaded thumbnails. Must be a number superior to 10 pixels';
|
||||
$lang['conf_err_upload_maxwidth_thumbnail'] = 'Maximum width authorized for the uploaded thumbnails must be a number superior to 10 pixels.';
|
||||
$lang['conf_upload_maxheight_thumbnail'] = 'thumbnails maximum height';
|
||||
$lang['conf_upload_maxheight_thumbnail_info'] = 'Maximum height authorized for the uploaded thumbnails. Must be a number superior to 10 pixels';
|
||||
$lang['conf_err_upload_maxheight_thumbnail'] = 'Maximum height authorized for the uploaded thumbnails must be a number superior to 10 pixels.';
|
||||
$lang['conf_default_title'] = 'Default display properties for unregistered visitors and new accounts';
|
||||
$lang['conf_default_language_info'] = 'default language';
|
||||
$lang['conf_default_theme_info'] = 'default theme';
|
||||
$lang['conf_session_title'] = 'Sessions configuration';
|
||||
$lang['conf_session_size'] = 'identifier size';
|
||||
$lang['conf_session_size_info'] = '- the longer your identifier is, the more secure your site is<br />- enter a number between 4 and 50';
|
||||
$lang['conf_session_time'] = 'validity period';
|
||||
$lang['conf_session_time_info'] = '- the shorter the validity period is, the more secure your site is<br />- enter a number between 5 and 60, in minutes';
|
||||
$lang['conf_session_key'] = 'keyword';
|
||||
$lang['conf_session_key_info'] = '- the session keyword improve the encoding of the session identifier<br />- enter any sentence shorter than 255 caracters';
|
||||
$lang['conf_session_delete'] = 'delete out-of-date sessions';
|
||||
$lang['conf_session_delete_info'] = 'it is recommanded to empty the database table of session, because out-of-date sessions remains in the database (but it doesn\'t make any security trouble)';
|
||||
$lang['user_err_modify'] = 'This user can\'t be modified or deleted';
|
||||
$lang['user_err_unknown'] = 'This user doesn\'t exist in the database';
|
||||
$lang['adduser_info_message'] = 'Informations registered in the database for user ';
|
||||
$lang['adduser_info_password_updated'] = '(password updated)';
|
||||
$lang['adduser_info_back'] = 'back to the users list';
|
||||
$lang['adduser_fill_form'] = 'Please fill the following form';
|
||||
$lang['adduser_unmodify'] = 'unmodifiable';
|
||||
$lang['adduser_status'] = 'status';
|
||||
$lang['adduser_status_admin'] = 'admin';
|
||||
$lang['adduser_status_guest'] = 'guest';
|
||||
$lang['permuser_info_message'] = 'Permissions registered';
|
||||
$lang['permuser_title'] = 'Restrictions for user';
|
||||
$lang['permuser_warning'] = 'Warning : a "<span style="font-weight:bold;">forbidden access</span>" to the root of a category prevent from accessing the whole category';
|
||||
$lang['permuser_authorized'] = 'authorized';
|
||||
$lang['permuser_forbidden'] = 'forbidden';
|
||||
$lang['permuser_parent_forbidden'] = 'parent category forbidden';
|
||||
$lang['listuser_confirm'] = 'Do you really want to delete this user';
|
||||
$lang['listuser_info_deletion'] = 'was removed from database';
|
||||
$lang['listuser_user_group'] = 'Users group';
|
||||
$lang['listuser_modify'] = 'modify';
|
||||
$lang['listuser_modify_hint'] = 'modify informations of';
|
||||
$lang['listuser_permission'] = 'permissions';
|
||||
$lang['listuser_permission_hint'] = 'modify permissions of';
|
||||
$lang['listuser_delete'] = 'delete';
|
||||
$lang['listuser_delete_hint'] = 'delete user';
|
||||
$lang['listuser_button_all'] = 'all';
|
||||
$lang['listuser_button_invert'] = 'invert';
|
||||
$lang['listuser_button_create_address'] = 'create mail address';
|
||||
$lang['cat_invisible'] = 'invisible';
|
||||
$lang['cat_edit'] = 'Edit';
|
||||
$lang['cat_up'] = 'Move up';
|
||||
$lang['cat_down'] = 'Move down';
|
||||
$lang['cat_image_info'] = 'Images info';
|
||||
$lang['cat_total'] = 'total';
|
||||
$lang['editcat_confirm'] = 'Information registered in the database';
|
||||
$lang['editcat_back'] = 'categories';
|
||||
$lang['editcat_title1'] = 'Options for the';
|
||||
$lang['editcat_name'] = 'Name';
|
||||
$lang['editcat_comment'] = 'Comment';
|
||||
$lang['editcat_status'] = 'Status';
|
||||
$lang['infoimage_general'] = 'General options for the category';
|
||||
$lang['infoimage_useforall'] = 'use for all pictures ?';
|
||||
$lang['infoimage_creation_date'] = 'creation date';
|
||||
$lang['infoimage_detailed'] = 'Option for each picture';
|
||||
$lang['infoimage_title'] = 'title';
|
||||
$lang['infoimage_comment'] = 'comment';
|
||||
$lang['update_missing_tn'] = 'the thumbnail is missing for';
|
||||
$lang['update_disappeared_tn'] = 'the thumbnail disapeared';
|
||||
$lang['update_disappeared'] = 'doesn\'t exist';
|
||||
$lang['update_part_deletion'] = 'Deletion of images that have no thumbnail or that doesn\'t exist';
|
||||
$lang['update_deletion_conclusion'] = 'pictures removed from database';
|
||||
$lang['update_part_research'] = 'Search for new images in the directories';
|
||||
$lang['update_research_added'] = 'added';
|
||||
$lang['update_research_tn_ext'] = 'thumbnail in';
|
||||
$lang['update_research_conclusion'] = 'pictures added to the database';
|
||||
$lang['update_default_title'] = 'Choose an option';
|
||||
$lang['update_only_cat'] = 'update categories, not pictures';
|
||||
$lang['update_all'] = 'update all';
|
||||
$lang['tn_width'] = 'width';
|
||||
$lang['tn_height'] = 'height';
|
||||
$lang['tn_no_support'] = 'Picture unreachable or no support';
|
||||
$lang['tn_format'] = 'for the file format';
|
||||
$lang['tn_thisformat'] = 'for this file format';
|
||||
$lang['tn_err_width'] = 'width must be a number superior to';
|
||||
$lang['tn_err_height'] = 'height must be a number superior to';
|
||||
$lang['tn_results_title'] = 'Results of miniaturization';
|
||||
$lang['tn_picture'] = 'picture';
|
||||
$lang['tn_results_gen_time'] = 'generated in';
|
||||
$lang['tn_stats'] = 'General statistics';
|
||||
$lang['tn_stats_nb'] = 'number of miniaturized pictures';
|
||||
$lang['tn_stats_total'] = 'total time';
|
||||
$lang['tn_stats_max'] = 'max time';
|
||||
$lang['tn_stats_min'] = 'min time';
|
||||
$lang['tn_stats_mean'] = 'average time';
|
||||
$lang['tn_err'] = 'You made mistakes';
|
||||
$lang['tn_params_title'] = 'Miniaturization parameters';
|
||||
$lang['tn_params_GD'] = 'GD version';
|
||||
$lang['tn_params_GD_info'] = '- GD is the picture manipulating library for PHP<br />-choose the version installed on your server. If you choose the wrong, you\'ll just have errors messages, come back with your browser and choose the other version. If no version works, it means your server doesn\'t support GD.';
|
||||
$lang['tn_params_width_info'] = 'maximum width that thumbnails can take';
|
||||
$lang['tn_params_height_info'] = 'maximum height that thumbnails can take';
|
||||
$lang['tn_params_create'] = 'create';
|
||||
$lang['tn_params_create_info'] = 'Do not try to miniaturize too many pictures in the same time.<br />Indeed, miniaturization uses a lot of CPU. If you installed PhpWebGallery on a free provider, a too high CPU load can sometime lead to the deletion of your website.';
|
||||
$lang['tn_params_format'] = 'file format';
|
||||
$lang['tn_params_format_info'] = 'only jpeg file format is supported for thumbnail creation';
|
||||
$lang['tn_alone_title'] = 'pictures without thumbnail (jpeg and png only)';
|
||||
$lang['tn_dirs_title'] = 'Directories list';
|
||||
$lang['tn_dirs_alone'] = 'pictures without thumbnail';
|
||||
$lang['help_images_title'] = 'Adding pictures';
|
||||
$lang['help_images_intro'] = 'How to place pictures in your directories';
|
||||
$lang['help_images'][0] = 'in the directory "galleries", create directories that will represent your categories';
|
||||
$lang['help_images'][1] = 'in each directory, you can create as many sub-level directories as you wish.';
|
||||
$lang['help_images'][2] = 'you can create as many categories and sub-categories for each category as you wish';
|
||||
$lang['help_images'][3] = 'picture files must have jpeg format (extension jpg or JPG), gif format (extension gif or GIF) or png format (extension png or PNG).';
|
||||
$lang['help_images'][4] = 'try not to use blank space " " or hyphen "-" in picture files, I advise you to use underscore "_" character which is managed by PhpWebGallery and will provide better results';
|
||||
$lang['help_thumbnails_title'] = 'Thumbnails';
|
||||
$lang['help_thumbnails'][0] = 'in each directory containing picture to display on your site, there is a sub-directory nammed "thumbnail", if it doesn\'t exist, create it to place your thumbnails into it.';
|
||||
$lang['help_thumbnails'][1] = 'thumbnails don\'t need to have the same extension as their associated picture (a picture with .jpg extension can have a thumbnail in .GIF extention for instance).';
|
||||
$lang['help_thumbnails'][2] = 'the thumbnail associated to a picture must be prefixed with the prefix given on the configuration page(image.jpg -> TN_image.GIF for instance).';
|
||||
$lang['help_thumbnails'][3] = 'I advise you to use the module for windows downloadable on the presentation site of PhpWebGallery for thumbnails management.';
|
||||
$lang['help_thumbnails'][4] = 'you can use the thumbnail creation page integrated in PhpWebGallery, but I don\'t advice you so, because thumbnail quality may be poor and it uses a high CPU load which can be a problem if you use free web hosting.';
|
||||
$lang['help_thumbnails'][5] = 'if you choose to use your hosting provider to create thumbnails, you must give 775 rights on "galleries" folder and all its sub-folders.';
|
||||
$lang['help_database_title'] = 'Updating database';
|
||||
$lang['help_database'][0] = 'once pictures files and thumbnails correctly placed in the directories, clic on "database update" in the menu of the administration panel.';
|
||||
$lang['help_infos_title'] = 'Miscellanous informations';
|
||||
$lang['help_infos'][1] = 'As soon as you created your gallery, go in the user list and modify permissions for user "visiteur". Indeed, every new registered users will have by default the same permissions as "visiteur" user.';
|
||||
$lang['help_remote_title'] = 'Remote site';
|
||||
$lang['help_remote'][0] = 'PhpWebGallery offers the possibility to use several servers to store the images which will compose your gallery. It can be useful if your gallery is installed on one limited space and that you have a big quantity of images to be shown. Please , follow this procedure : ';
|
||||
$lang['help_remote'][1] = '1. edit file "create_listing_file.php" (you will find it in the directory "admin"), by modifying the line "$prefix_thumbnail = "TN-";" if the prefix for your thumbnails is not "TN-".';
|
||||
$lang['help_remote'][2] = '2. place file "create_listing_file.php" modified on your distant website, in the root directory of your directories of images (as the directory "galleries" of this website) by ftp.';
|
||||
$lang['help_remote'][3] = '3. launch script using the url http://domaineDistant/repGalerie/create_listing_file.php, a file listing.xml has just been created.';
|
||||
$lang['help_remote'][4] = '4. get back file listing.xml from your distant website to place it in directory "admin" of this website.';
|
||||
$lang['help_remote'][5] = '5. please , launch an update of the data of images by the interface of administration, once the listing.xml used file, kill it from the directory "admin".';
|
||||
$lang['help_remote'][6] = 'You can update the contents of a distant website by redoing the described manipulation. You can also kill a distant website by choosing the option in the configuration section of the administration panel.';
|
||||
$lang['help_upload_title'] = 'Added images by users';
|
||||
$lang['help_upload'][0] = 'PhpWebGallery offers the possibility for users to upload images. in order to do it :';
|
||||
$lang['help_upload'][1] = '1. authorize the option in the configuration zone of the administration panel';
|
||||
$lang['help_upload'][2] = '2. authorize the rights in writing in the images directories';
|
||||
$lang['install_message'] = 'Message';
|
||||
$lang['step1_confirmation'] = 'Parameters are correct';
|
||||
$lang['step1_err_db'] = 'Connection to server succeed, but it was impossible to connect to database';
|
||||
$lang['step1_err_server'] = 'Can\'t connect to server';
|
||||
$lang['step1_err_copy_2'] = 'The next step of the installation is now possible';
|
||||
$lang['step1_err_copy_next'] = 'next step';
|
||||
$lang['step1_title'] = 'Step 1/2';
|
||||
$lang['step1_host'] = 'MySQL host';
|
||||
$lang['step1_host_info'] = 'localhost, sql.multimania.com, toto.freesurf.fr';
|
||||
$lang['step1_user'] = 'user';
|
||||
$lang['step1_user_info'] = 'user login given by your host provider';
|
||||
$lang['step1_pass'] = 'Password';
|
||||
$lang['step1_pass_info'] = 'user password given by your host provider';
|
||||
$lang['step1_database'] = 'Database name';
|
||||
$lang['step1_database_info'] = 'also given by your host provider';
|
||||
$lang['step1_prefix'] = 'Database table prefix';
|
||||
$lang['step1_prefix_info'] = 'database tables names will be prefixed with it (enables you to manage better your tables)';
|
||||
$lang['step2_err_login1'] = 'enter a login for webmaster';
|
||||
$lang['step2_err_login3'] = 'webmaster login can\'t contain characters \' or "';
|
||||
$lang['step2_err_pass'] = 'please enter your password again';
|
||||
$lang['step2_err_mail'] = $lang['conf_err_mail'];
|
||||
$lang['install_end_title'] = 'Installation finished';
|
||||
$lang['install_end_message'] = 'The configuration of PhpWebGallery is finished, here is the next step<br /><br />
|
||||
For security reason, please delete file "install.php" in the directory "admin"<br />
|
||||
Once this file deleted , follow this instructions :
|
||||
<ul>
|
||||
<li>go to the identification page : [ <a href="../identification.php">identification</a> ] and use the login/password given for webmaster</li>
|
||||
<li>this login will enable you to access to the [ <a href="admin.php">administration panel</a> ] and to the instructions in order to place pictures in your directories</li>
|
||||
</ul>';
|
||||
$lang['step2_title'] = 'Step 2/2';
|
||||
$lang['step2_pwd'] = 'webmaster password';
|
||||
$lang['step2_pwd_info'] = 'Keep it confidential, it enables you to access administration panel';
|
||||
$lang['step2_pwd_conf'] = 'confirm password';
|
||||
$lang['step2_pwd_conf_info'] = 'verification';
|
||||
// new or modified in release 1.3
|
||||
$lang['remote_site'] = 'Remote site';
|
||||
$lang['title_add'] = 'Add a user';
|
||||
$lang['title_modify'] = 'Modify a user';
|
||||
$lang['title_groups'] = 'Groups management';
|
||||
$lang['title_user_perm'] = 'Modify permission for user';
|
||||
$lang['title_cat_perm'] = 'Modify permissions for category';
|
||||
$lang['title_group_perm'] = 'Modify permissions for group';
|
||||
$lang['title_picmod'] = 'Modify informations about a picture';
|
||||
$lang['menu_groups'] = 'Groups';
|
||||
$lang['menu_comments'] = 'Comments';
|
||||
$lang['conf_general_log'] = 'history';
|
||||
$lang['conf_general_log_info'] = 'Keep an history of visits on your website ? Visits will be shown in the history section of the administration panel';
|
||||
$lang['conf_general_mail_notification'] = 'Mail notification';
|
||||
$lang['conf_general_mail_notification_info'] = 'Automated mail notification for adminsitrators (and only for them) when a user add a comment or upload a picture.';
|
||||
$lang['conf_comments_validation'] = 'validation';
|
||||
$lang['conf_comments_validation_info'] = 'An administrator validate users posted comments before the becom visible on the site';
|
||||
$lang['conf_comments_forall'] = 'for all ?';
|
||||
$lang['conf_comments_forall_info'] = 'Even guest not registered can post comments';
|
||||
$lang['conf_default_nb_image_per_row_info'] = 'number of pictures for each row by default';
|
||||
$lang['conf_default_nb_row_per_page_info'] = 'number of rows by page by default';
|
||||
$lang['conf_default_short_period_info'] = 'By days. Period within a picture is shown with a red mark. The short period must be superior to 1 day.';
|
||||
$lang['conf_default_long_period_info'] = 'By days. Period within a picture is shown with a green mark. The long period must be superior to the short period.';
|
||||
$lang['conf_default_expand_info'] = 'expand all categories by default in the menu ?';
|
||||
$lang['conf_default_show_nb_comments_info'] = 'show the number of comments for each picture on the thumbnails page';
|
||||
$lang['conf_default_maxwidth_info'] = 'Maximum width for display pictures : picture will have a new width only for display, picture files won\'t be changed. Let empty if you don\'t wish to have a limit.';
|
||||
$lang['conf_default_maxheight_info'] = 'Just as the maximum width, but for the height';
|
||||
$lang['conf_session_cookie'] = 'authorize cookies';
|
||||
$lang['conf_session_cookie_info'] = 'users won\'t have to log on each visit any more. Less secure.';
|
||||
$lang['adduser_associate'] = 'Associate to group';
|
||||
$lang['group_add'] = 'Add a group';
|
||||
$lang['group_add_error1'] = 'The name of a group must not contain " or \'';
|
||||
$lang['group_add_error2'] = 'This name is already used by another group';
|
||||
$lang['group_confirm'] = 'Are you sure you want to remove this group ?';
|
||||
$lang['group_list_title'] = 'List of existing groups';
|
||||
$lang['group_err_unknown'] = 'This group doesn\'t exist in the database';
|
||||
$lang['cat_permission'] = 'permissions';
|
||||
$lang['cat_update'] = 'update';
|
||||
$lang['cat_add'] = 'Add a virtual category';
|
||||
$lang['cat_parent'] = 'parent category';
|
||||
$lang['cat_error_name'] = 'The name of a category mustn\'t be empty';
|
||||
$lang['cat_virtual'] = 'virtual';
|
||||
$lang['cat_first'] = 'Move first';
|
||||
$lang['cat_last'] = 'Move last';
|
||||
$lang['editcat_visible_info'] = '(invisible but for administrators)';
|
||||
$lang['editcat_visible'] = 'Visible';
|
||||
$lang['editcat_uploadable'] = 'Upload available';
|
||||
$lang['infoimage_keyword_separation'] = '(separate with coma ",")';
|
||||
$lang['infoimage_addtoall'] = 'add to all';
|
||||
$lang['infoimage_removefromall'] = 'remove from all';
|
||||
$lang['infoimage_associate'] = 'Associate to the category';
|
||||
$lang['update_wrong_dirname'] = 'The name of directories and files must be composed of letters, figures, "-", "_" or "."';
|
||||
$lang['stats_pages_seen'] = 'pages seen';
|
||||
$lang['stats_visitors'] = 'guests';
|
||||
$lang['stats_empty'] = 'empty history';
|
||||
$lang['stats_pages_seen_graph_title'] = 'Number of pages seen by day';
|
||||
$lang['stats_visitors_graph_title'] = 'Number of guests by day';
|
||||
$lang['comments_last_title'] = 'Last comments';
|
||||
$lang['comments_non_validated_title'] = 'Comments waiting for validation';
|
||||
$lang['help_database'][1] = 'In order to avoid the update of too many pictures in a single update, I advise to start by updating only categories, then on the categories section of the administration panel, update each category thanks to the link "update"';
|
||||
$lang['help_upload'][3] = 'The category must have upload available itself for upload.';
|
||||
$lang['help_upload'][4] = 'Uploaded images by the users are not directly visible on the website, they must be validated by an administrator. For that purpose, an administrator must go on the page "en attente" of the administration panel, to validate or to refuse the images proposed, then launch an update of the images data.';
|
||||
$lang['help_virtual_title'] = 'Links between pictures and categories and virtual categories';
|
||||
$lang['help_virtual'][0] = 'PhpWebGallery is able to dissociate categories where pictures are stored and categories where pictures are shown.';
|
||||
$lang['help_virtual'][1] = 'By default, pictures are shown only in their real categories : the ones corresponding to directories on the web server.';
|
||||
$lang['help_virtual'][2] = 'To link a picture to a category, you just have to make the association on the page of picture informations or on the informations of all pictures of a category.';
|
||||
$lang['help_virtual'][3] = 'Using this principle, it is possible to create virtual categories in PhpWebGallery : no real directory coresponds to this category. You just have to create this category on the section "categories" of the admin panel.';
|
||||
$lang['help_groups_title'] = 'Users Groups';
|
||||
$lang['help_groups'][0] = 'PhpWebGallery is able to manage groups of users. It can be very useful to have common permission access for private categories.';
|
||||
$lang['help_groups'][1] = '1. Create the group "family" on the section "Groups" of admin panel.';
|
||||
$lang['help_groups'][2] = '2. On the section "Users", edit on of them and associate him to the group "family".';
|
||||
$lang['help_groups'][3] = '3. By modifying the permissions for a category or for a group, you\'ll see that all categories accessible for a group are accessible for its members.';
|
||||
$lang['help_groups'][4] = 'A user can belong to several groups. The authorization is stronger than prohibition : if a user "jack" belongs to the group "family" and "friends", and that only group "family" can see category "Christmas 2003", "jack" will be able to see "Christmas 2003".';
|
||||
$lang['help_access_title'] = 'Access authorization';
|
||||
$lang['help_access'][0] = 'PhpWebGallery is able to forbid access to categories. Categories can be "public" or "private". In order to forbid access to a category :';
|
||||
$lang['help_access'][1] = '1. Modify category informations (from the "categories" section in tha admin panel) and make it "private".';
|
||||
$lang['help_access'][2] = '2. On the page of permissions (for a group or a user) the private category will be shown and you\'ll be able to authorize access or not.';
|
||||
$lang['help_infos'][2] = 'If you have any question, do not hesitate to take a look at the forum or ask a question there. The <a href="'.$conf['forum_url'].'" style="text-decoration:underline">forum</a> (message board) is available on the presentation site of PhpWebGallery.';
|
||||
$lang['step1_err_copy'] = 'Copy the text between hyphens and paste it into the file "include/mysql.inc.php"(Warning : mysql.inc.php must only contain what is in blue, no line return or space character)';
|
||||
$lang['permuser_only_private'] = 'Only private categories are shown';
|
||||
$lang['waiting_update'] = 'Validated pictures will be displayed only once pictures database updated';
|
||||
$lang['conf_upload_available_info'] = 'Authorizing the upload of pictures by users on the categories of the website (not on a remote server). This is general parameter, it is needed to authorize upload category by category, by default, no category is "uploadable".';
|
||||
$lang['install_help'] = 'Need help ? Ask your question on <a href="http://forum.phpwebgallery.net">PhpWebGallery message board</a>.';
|
||||
$lang['install_warning'] = 'The file "admin/install.php" is still present. Please remove it from your server. It is not secure to keep it.';
|
||||
// new or modified in release 1.3.1
|
||||
$lang['cat_unknown_id'] = 'This category is unknown in the database';
|
||||
}
|
||||
?>
|
680
language/norsk.php
Normal file
680
language/norsk.php
Normal file
|
@ -0,0 +1,680 @@
|
|||
<?php
|
||||
/***************************************************************************
|
||||
* norsk.php *
|
||||
* ------------------- *
|
||||
* application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
|
||||
* author : Pierrick LE GALL <pierrick@z0rglub.com> *
|
||||
* translation : Roy Hansen <roy.hansen@broadpark.no> *
|
||||
* *
|
||||
* $Id$
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* 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; *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
$lang['only_members'] = 'Bare medlemmer har adgang';
|
||||
$lang['invalid_pwd'] = 'Feil passord!';
|
||||
$lang['access_forbiden'] = 'Du har ikke adgang til denne siden';
|
||||
$lang['submit'] = 'Send';
|
||||
$lang['login'] = 'Bruker';
|
||||
$lang['password'] = 'Passord';
|
||||
$lang['new'] = 'Nytt';
|
||||
$lang['delete'] = 'Slett';
|
||||
$lang['category'] = 'Album';
|
||||
$lang['thumbnail'] = 'Miniatyrbilder';
|
||||
$lang['date'] = 'Dato';
|
||||
$lang['diapo_default_page_title'] = 'Velg et album';
|
||||
$lang['thumbnails'] = 'Miniatyrbilder';
|
||||
$lang['categories'] = 'Album';
|
||||
$lang['hint_category'] = 'Viser bilder i rota på dette album';
|
||||
$lang['total_images'] = 'Totalt';
|
||||
$lang['title_menu'] = 'Meny';
|
||||
$lang['change_login'] = 'Skift bruker';
|
||||
$lang['login'] = 'Bruker';
|
||||
$lang['hint_login'] = 'Hver bruker har sitt eget oppsett';
|
||||
$lang['logout'] = 'Logge ut';
|
||||
$lang['customize'] = 'Oppsett';
|
||||
$lang['hint_customize'] = 'Forandrer oppsett på utseendet';
|
||||
$lang['hint_search'] = 'Søke i databasen etter filnavn, beskrivelse etc.';
|
||||
$lang['search'] = 'Søke i databasen';
|
||||
$lang['favorite_cat'] = 'Favoritter';
|
||||
$lang['favorite_cat_hint'] = 'Vis dine favoritter';
|
||||
$lang['about'] = 'Om PhpWebGallery';
|
||||
$lang['hint_about'] = 'mer informasjon om PhpWebGallery...';
|
||||
$lang['admin'] = 'Admin';
|
||||
$lang['hint_admin'] = 'kun tilgjengelig for administratorer';
|
||||
$lang['no_category'] = 'Intet album er valgt<br />velg et i menyen';
|
||||
$lang['page_number'] = 'Side nummer';
|
||||
$lang['previous_page'] = 'Forrige';
|
||||
$lang['next_page'] = 'Neste';
|
||||
$lang['nb_image_category'] = 'Antall bilder i dette album: ';
|
||||
$lang['recent_image'] = 'Bilder nyere enn';
|
||||
$lang['days'] = 'dager';
|
||||
$lang['send_mail'] = 'Kommentarer, send en email til: ';
|
||||
$lang['title_send_mail'] = 'Kommentar til din side';
|
||||
$lang['sub-cat'] = 'Underalbum';
|
||||
$lang['images_available'] = 'bilder i dette album';
|
||||
$lang['total'] = 'Bilder';
|
||||
$lang['upload_picture'] = 'Legge inn et nytt bilde';
|
||||
$lang['registration_date'] = 'Registreringsdato';
|
||||
$lang['creation_date'] = 'Laget: ';
|
||||
$lang['comment'] = 'Kommentar';
|
||||
$lang['author'] = 'Opphavsmann';
|
||||
$lang['size'] = 'Størrelse';
|
||||
$lang['filesize'] = 'Filstørrelse';
|
||||
|
||||
$lang['exif'] = 'Exifinfo';
|
||||
|
||||
$lang['cExiflineMake'] = 'Kamera:';
|
||||
$lang['cExiflineModel'] = 'Model:';
|
||||
$lang['cExiflineSoftware'] = 'Program:';
|
||||
$lang['cExiflineExifVersion'] = 'ExifVersjon:';
|
||||
$lang['cExiflineISOSpeedRatings'] = 'ISOSpeedRatings:';
|
||||
$lang['cExiflineExposureTime'] = 'ExposureTime:';
|
||||
$lang['cExiflineApertureFNumber'] = 'ApertureFNumber:';
|
||||
$lang['cExiflineExposureProgram'] = 'ExposureProgram:';
|
||||
$lang['cExiflineExposureProgram0'] = 'Ikke definert';
|
||||
$lang['cExiflineExposureProgram1'] = 'Manual';
|
||||
$lang['cExiflineExposureProgram2'] = 'Normalt program';
|
||||
$lang['cExiflineExposureProgram3'] = 'Aperture priority';
|
||||
$lang['cExiflineExposureProgram4'] = 'Shutter priority';
|
||||
$lang['cExiflineExposureProgram5'] = 'Creative program (biased toward depth of field)';
|
||||
$lang['cExiflineExposureProgram6'] = 'Action program (biased toward fast shutter speed)';
|
||||
$lang['cExiflineExposureProgram7'] = 'Portrait mode (for closeup photos with the background out of focus)';
|
||||
$lang['cExiflineExposureProgram8'] = 'Landscape mode (for landscape photos with the background in focus)';
|
||||
$lang['cExiflineBrightnessValue'] = 'BrightnessValue:';
|
||||
$lang['cExiflineExposureBiasValue'] = 'ExposureBiasValue:';
|
||||
$lang['cExiflineMaxApertureValue'] = 'MaxApertureValue:';
|
||||
$lang['cExiflineMeteringMode'] = 'MeteringMode:';
|
||||
$lang['cExiflineMeteringMode0'] = 'Ukjent';
|
||||
$lang['cExiflineMeteringMode1'] = 'Average';
|
||||
$lang['cExiflineMeteringMode2'] = 'CenterWeightedAverage';
|
||||
$lang['cExiflineMeteringMode3'] = 'Spot';
|
||||
$lang['cExiflineMeteringMode4'] = 'MultiSpot';
|
||||
$lang['cExiflineMeteringMode5'] = 'Pattern';
|
||||
$lang['cExiflineMeteringMode6'] = 'Partial';
|
||||
$lang['cExiflineMeteringMode255'] = 'Annet';
|
||||
|
||||
$lang['cExiflineLightSource'] = 'LightSource:';
|
||||
$lang['cExiflineLightSource0'] = 'unknown';
|
||||
$lang['cExiflineLightSource1'] = 'Daylight';
|
||||
$lang['cExiflineLightSource2'] = 'Fluorescent';
|
||||
$lang['cExiflineLightSource3'] = 'Tungsten (incandescent light)';
|
||||
$lang['cExiflineLightSource4'] = 'Flash';
|
||||
$lang['cExiflineLightSource9'] = 'Fine weather';
|
||||
$lang['cExiflineLightSource10'] = 'Cloudy weather';
|
||||
$lang['cExiflineLightSource11'] = 'Shade';
|
||||
$lang['cExiflineLightSource12'] = 'Daylight fluorescent (D 5700 – 7100K)';
|
||||
$lang['cExiflineLightSource13'] = 'Day white fluorescent (N 4600 – 5400K)';
|
||||
$lang['cExiflineLightSource14'] = 'Cool white fluorescent (W 3900 – 4500K)';
|
||||
$lang['cExiflineLightSource15'] = 'White fluorescent (WW 3200 – 3700K)';
|
||||
$lang['cExiflineLightSource17'] = 'Standard light A';
|
||||
$lang['cExiflineLightSource18'] = 'Standard light B';
|
||||
$lang['cExiflineLightSource19'] = 'Standard light C';
|
||||
$lang['cExiflineLightSource20'] = 'D55';
|
||||
$lang['cExiflineLightSource21'] = 'D65';
|
||||
$lang['cExiflineLightSource22'] = 'D75';
|
||||
$lang['cExiflineLightSource23'] = 'D50';
|
||||
$lang['cExiflineLightSource24'] = 'ISO studio tungsten';
|
||||
$lang['cExiflineLightSource255'] = 'other light source';
|
||||
|
||||
$lang['cExiflineExposureMode'] = 'ExposureMode:';
|
||||
$lang['cExiflineExposureMode0'] = 'Auto exposure';
|
||||
$lang['cExiflineExposureMode1'] = 'Manual exposure';
|
||||
$lang['cExiflineExposureMode2'] = 'Auto bracket';
|
||||
|
||||
$lang['cExiflineWhiteBalance'] = 'WhiteBalance:';
|
||||
$lang['cExiflineWhiteBalance0'] = 'Auto white balance';
|
||||
$lang['cExiflineWhiteBalance1'] = 'Manual Auto white balance';
|
||||
|
||||
$lang['cExiflineSubjectDistance'] = 'SubjectDistance:';
|
||||
$lang['cExiflineFocalLength'] = 'FocalLength:';
|
||||
$lang['cExiflineFocalLengthIn35mmFilm'] = 'FocalLengthIn35mmFilm:';
|
||||
$lang['cExiflineDigitalZoomRatio'] = 'DigitalZoomRatio:';
|
||||
|
||||
$lang['cExiflineSceneCaptureType'] = 'SceneCaptureType:';
|
||||
$lang['cExiflineSceneCaptureType0'] = 'Standard';
|
||||
$lang['cExiflineSceneCaptureType1'] = 'Landscape';
|
||||
$lang['cExiflineSceneCaptureType2'] = 'Portrait';
|
||||
$lang['cExiflineSceneCaptureType3'] = 'Night scene';
|
||||
|
||||
$lang['cExiflineGainControl'] = 'GainControl:';
|
||||
$lang['cExiflineGainControl0'] = 'None';
|
||||
$lang['cExiflineGainControl1'] = 'Low gain up';
|
||||
$lang['cExiflineGainControl2'] = 'High gain up';
|
||||
$lang['cExiflineGainControl3'] = 'Low gain down';
|
||||
$lang['cExiflineGainControl4'] = 'High gain down';
|
||||
|
||||
$lang['cExiflineContrast'] = 'Contrast:';
|
||||
$lang['cExiflineContrast0'] = 'Normal';
|
||||
$lang['cExiflineContrast1'] = 'Soft';
|
||||
$lang['cExiflineContrast2'] = 'Hard';
|
||||
|
||||
$lang['cExiflineSaturation'] = 'Saturation:';
|
||||
$lang['cExiflineSaturation0'] = 'Normal';
|
||||
$lang['cExiflineSaturation1'] = 'Low saturation';
|
||||
$lang['cExiflineSaturation2'] = 'High saturation';
|
||||
|
||||
$lang['cExiflineSharpness'] = 'Sharpness:';
|
||||
$lang['cExiflineSharpness0'] = 'Normal';
|
||||
$lang['cExiflineSharpness1'] = 'Soft';
|
||||
$lang['cExiflineSharpness2'] = 'Hard';
|
||||
|
||||
$lang['cExiflineSubjectDistanceRange'] = 'SubjectDistanceRange:';
|
||||
$lang['cExiflineSubjectDistanceRange0'] = 'Unknown';
|
||||
$lang['cExiflineSubjectDistanceRange1'] = 'Macro';
|
||||
$lang['cExiflineSubjectDistanceRange2'] = 'Close view';
|
||||
$lang['cExiflineSubjectDistanceRange3'] = 'Distant view';
|
||||
|
||||
$lang['cExiflineFlash'] = 'Flash:';
|
||||
$lang['cExiflineFlash00'] = 'Flash did not fire' ;
|
||||
$lang['cExiflineFlash01'] = 'Flash fired' ;
|
||||
$lang['cExiflineFlash05'] = 'Strobe return light not detected' ;
|
||||
$lang['cExiflineFlash07'] = 'Strobe return light detected' ;
|
||||
$lang['cExiflineFlash09'] = 'Flash fired, compulsory flash mode' ;
|
||||
$lang['cExiflineFlash0D'] = 'Flash fired, compulsory flash mode, return light not detected' ;
|
||||
$lang['cExiflineFlash0F'] = 'Flash fired, compulsory flash mode, return light detected' ;
|
||||
$lang['cExiflineFlash10'] = 'Flash did not fire, compulsory flash mode' ;
|
||||
$lang['cExiflineFlash18'] = 'Flash did not fire, auto mode' ;
|
||||
$lang['cExiflineFlash19'] = 'Flash fired, auto mode' ;
|
||||
$lang['cExiflineFlash1D'] = 'Flash fired, auto mode, return light not detected' ;
|
||||
$lang['cExiflineFlash1F'] = 'Flash fired, auto mode, return light detected' ;
|
||||
$lang['cExiflineFlash20'] = 'No flash function' ;
|
||||
$lang['cExiflineFlash41'] = 'Flash fired, red-eye reduction mode' ;
|
||||
$lang['cExiflineFlash45'] = 'Flash fired, red-eye reduction mode, return light not detected' ;
|
||||
$lang['cExiflineFlash47'] = 'Flash fired, red-eye reduction mode, return light detected' ;
|
||||
$lang['cExiflineFlash49'] = 'Flash fired, compulsory flash mode, red-eye reduction mode' ;
|
||||
$lang['cExiflineFlash4D'] = 'Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected' ;
|
||||
$lang['cExiflineFlash4F'] = 'Flash fired, compulsory flash mode, red-eye reduction mode, return light detected' ;
|
||||
$lang['cExiflineFlash59'] = 'Flash fired, auto mode, red-eye reduction mode' ;
|
||||
$lang['cExiflineFlash5D'] = 'Flash fired, auto mode, return light not detected, red-eye reduction mode' ;
|
||||
$lang['cExiflineFlash5F'] = 'Flash fired, auto mode, return light detected, red-eye reduction mode' ;
|
||||
$lang['cExiflineDateFormat'] = '%d %B %Y %H:%M:%S';
|
||||
|
||||
$lang['file'] = 'Fil i bruk';
|
||||
$lang['generation_time'] = 'Siden ble laget på: ';
|
||||
$lang['favorites'] = 'Favoritter';
|
||||
$lang['search_result'] = 'Søkeresultat';
|
||||
$lang['about_page_title'] = 'Om PhpWebGallery';
|
||||
$lang['about_title'] = 'Info om PhpWebGallery';
|
||||
$lang['about_message'] = '<div style="text-align:center;font-weigh:bold;">Informasjon om PhpWebGallery</div>
|
||||
<ul>
|
||||
<li>Denne webside bruker <a href="'.$conf['site_url'].'" style="text-decoration:underline">PhpWebGallery</a> release '.$conf['version'].'. PhpWebGallery er en webaplikasjon som gir deg muligheten til å lage et online galleri på en enkel måte. Galleriet kan ha flere brukernivå, og det er også mulig å legge inn mange forskjellige kommentarer til bildene. Både fra brukere og gjester som ser bildene. En MySql database sørger for å lagre dette.</li>
|
||||
<li>Hvis du har spørsmål eller kommentarer har <a href="'.$conf['site_url'].'" style="text-decoration:underline">PhpWebGallery</a> en offisiell webside, og eget engelsk <a href="'.$conf['forum_url'].'" style="text-decoration:underline">forum</a>. <br>
|
||||
Du kan sende meg en epost også, så skal jeg se om jeg kan hjelpe deg. </li>
|
||||
</ul>';
|
||||
$lang['about_return'] = 'Tilbake';
|
||||
$lang['ident_page_title'] = 'Bruker pålogging';
|
||||
$lang['ident_title'] = 'Identifikasjon';
|
||||
$lang['ident_register'] = 'Registrering';
|
||||
$lang['ident_forgotten_password'] = 'Glemt passordet ditt ?';
|
||||
$lang['ident_guest_visit'] = 'Logg deg inn som gjest';
|
||||
$lang['customize_page_title'] = 'Oppsett';
|
||||
$lang['customize_title'] = 'Oppsett';
|
||||
$lang['customize_nb_image_per_row'] = 'Antall bilder pr. rad';
|
||||
$lang['customize_nb_row_per_page'] = 'Antall rader pr. side';
|
||||
$lang['customize_language'] = 'Språk';
|
||||
$lang['maxwidth'] = 'Maks bredde på bildet';
|
||||
$lang['maxheight'] = 'Maks høyde på bildet';
|
||||
$lang['err_maxwidth'] = 'Maksbredden må være over 50';
|
||||
$lang['err_maxheight'] = 'Makshøyden må være over 50';
|
||||
$lang['previous_image'] = 'Forrige';
|
||||
$lang['next_image'] = 'Neste';
|
||||
$lang['back'] = 'Trykk på bildet for tilbake til albumets miniatyrbilder.';
|
||||
$lang['info_image_title'] = 'Bildeinformasjon';
|
||||
$lang['link_info_image'] = 'Rette i informasjonen';
|
||||
$lang['true_size'] = 'Aktuell størrelse';
|
||||
$lang['comments_title'] = 'kommentarer fra brukerne av siden';
|
||||
$lang['comments_del'] = 'Slett denne kommentaren';
|
||||
$lang['comments_add'] = 'Legg til en kommentar';
|
||||
$lang['month'][1] = 'Januar';
|
||||
$lang['month'][2] = 'Februar';
|
||||
$lang['month'][3] = 'Mars';
|
||||
$lang['month'][4] = 'April';
|
||||
$lang['month'][5] = 'Mai';
|
||||
$lang['month'][6] = 'Juni';
|
||||
$lang['month'][7] = 'Juli';
|
||||
$lang['month'][8] = 'August';
|
||||
$lang['month'][9] = 'September';
|
||||
$lang['month'][10] = 'Oktober';
|
||||
$lang['month'][11] = 'November';
|
||||
$lang['month'][12] = 'Desember';
|
||||
$lang['day'][0] = 'søndag';
|
||||
$lang['day'][1] = 'mandag';
|
||||
$lang['day'][2] = 'tirsdag';
|
||||
$lang['day'][3] = 'onsdag';
|
||||
$lang['day'][4] = 'torsdag';
|
||||
$lang['day'][5] = 'fredag';
|
||||
$lang['day'][6] = 'lørdag';
|
||||
$lang['add_favorites_alt'] = 'Legge til favoritter';
|
||||
$lang['add_favorites_hint'] = 'Legge dette bildet til dine favoritter';
|
||||
$lang['del_favorites_alt'] = 'Slette fra favoritter';
|
||||
$lang['del_favorites_hint'] = 'Slette dette bildet fra dine favoritter';
|
||||
$lang['register_page_title'] = 'Registrering';
|
||||
$lang['register_title'] = 'Registrering';
|
||||
$lang['reg_err_login1'] = 'Skriv brukernavn';
|
||||
$lang['reg_err_login2'] = 'Brukernavnet må ikke ha mellomrom som siste bokstav';
|
||||
$lang['reg_err_login3'] = 'Brukernavnet må ikke ha mellomrom som første bokstav';
|
||||
$lang['reg_err_login4'] = 'Brukernavnet må ikke ha tegn slik som \og"';
|
||||
$lang['reg_err_login5'] = 'Brukernavnet er allerede i bruk';
|
||||
$lang['reg_err_pass'] = 'Skriv ditt passord igjen';
|
||||
$lang['reg_confirm'] = 'Bekreft';
|
||||
$lang['reg_err_mail_address'] = 'mail adressen må være lik xxx@yyy.eee (eksempel : morten@mail.no)';
|
||||
$lang['search_title'] = 'Søke i bildedatabasen';
|
||||
$lang['invalid_search'] = 'Søkeordet må være mer en 3 tegn/bokstaver';
|
||||
$lang['search_field_search'] = 'Søkeord: ';
|
||||
$lang['search_return_main_page'] = 'Tilbake';
|
||||
$lang['upload_forbidden'] = 'Du kan ikke legge inn bilder i denne kategorien';
|
||||
$lang['upload_file_exists'] = 'Dette bildenavnet er allerede i bruk';
|
||||
$lang['upload_filenotfound'] = 'Du må velge filformat for bildet';
|
||||
$lang['upload_cannot_upload'] = 'Du kan ikke laste inn bilder til databasen';
|
||||
$lang['upload_title'] = 'Velg ett bilde å legge inn i databasen: ';
|
||||
$lang['upload_advise'] = 'Velg ett bilde å legge inn i albumet: ';
|
||||
$lang['upload_advise_thumbnail'] = 'Valgfritt, men anbefalt : Velg samme bilde i mindre format. ';
|
||||
$lang['upload_advise_filesize'] = 'Fil størrelsen må ikke overstige: ';
|
||||
$lang['upload_advise_width'] = 'Bredden på bilde må ikke overstige: ';
|
||||
$lang['upload_advise_height'] = 'Høyden på bilde må ikke overstige: ';
|
||||
$lang['upload_advise_filetype'] = 'Bilde må være en av disse filformatene : jpg, gif eller png';
|
||||
$lang['upload_err_username'] = 'Navnet ditt må skrives inn';
|
||||
$lang['upload_username'] = 'Brukernavn';
|
||||
$lang['upload_successful'] = 'Bilde ble lagt inn OK! , en administrator vil godkjenne bilde så snart som mulig';
|
||||
// new or modified in release 1.3
|
||||
$lang['charset'] = 'iso-8859-1';
|
||||
$lang['no'] = 'nei';
|
||||
$lang['yes'] = 'ja';
|
||||
$lang['guest'] = 'gjest';
|
||||
$lang['mail_address'] = 'epostadresse';
|
||||
$lang['public'] = 'offentlig';
|
||||
$lang['private'] = 'privat';
|
||||
$lang['add'] = 'Utfør';
|
||||
$lang['dissociate'] = 'dissociate';
|
||||
$lang['mandatory'] = 'nødvendig';
|
||||
$lang['err_date'] = 'gal dato';
|
||||
$lang['picture'] = 'Bildevalg';
|
||||
$lang['IP'] = 'IP-adresse';
|
||||
$lang['close'] = 'lukk';
|
||||
$lang['open'] = 'åpne';
|
||||
$lang['keywords'] = 'Nøkkelord';
|
||||
$lang['errors_title'] = 'Feil';
|
||||
$lang['infos_title'] = 'Informasjon';
|
||||
$lang['default'] = 'forhåndsvalgte';
|
||||
$lang['comments'] = 'kommentarer ';
|
||||
$lang['category_representative'] = 'representativ';
|
||||
$lang['stats'] = 'Statistikk';
|
||||
$lang['most_visited_cat_hint'] = 'viser det mest sette bildet';
|
||||
$lang['most_visited_cat'] = 'mest besøkte';
|
||||
$lang['best_rated_cat_hint'] = 'viser bilder med høyeste karakter';
|
||||
$lang['best_rated_cat'] = 'beste karakter';
|
||||
$lang['recent_cat_hint'] = 'viser de nyeste';
|
||||
$lang['recent_cat'] = 'Bilder sist lagt til';
|
||||
$lang['recent_cat_title'] = 'Bilder sist lagt til';
|
||||
$lang['visited'] = 'Vist';
|
||||
$lang['times'] = 'ganger';
|
||||
$lang['customize_theme'] = 'Velg tema på utseende';
|
||||
$lang['customize_expand'] = 'Utvid alle album';
|
||||
$lang['customize_show_nb_comments'] = 'Vise antall kommentarer';
|
||||
$lang['customize_short_period'] = 'Kort periode';
|
||||
$lang['customize_long_period'] = 'Lang priode';
|
||||
$lang['customize_template'] = 'Skjermutseende';
|
||||
$lang['err_periods'] = 'Perioden må være et tall';
|
||||
$lang['err_periods_2'] = 'perioden må være høyere enn 0, den lange perioden må være lengre enn den korte';
|
||||
$lang['create_cookie'] = 'Lage en informasjonskapsel';
|
||||
$lang['customize_day'] = 'dag';
|
||||
$lang['customize_week'] = 'uke';
|
||||
$lang['customize_month'] = 'måned';
|
||||
$lang['customize_year'] = 'år';
|
||||
$lang['slideshow'] = 'Automatisk visning';
|
||||
$lang['period_seconds'] = 'sekunder pr. bilde';
|
||||
$lang['slideshow_stop'] = 'Stopp automatisk visning';
|
||||
$lang['comment_added'] = 'Dine kommentarer har blitt registrert.';
|
||||
$lang['comment_to_validate'] = 'En administrator må godkjenne kommentarene før de vises.';
|
||||
$lang['comment_anti-flood'] = 'Anti-flood system : please wait for a moment before trying to post another comment';
|
||||
$lang['comment_user_exists'] = 'Brukernavnet er allerede i bruk';
|
||||
$lang['invalid_search'] = 'Søkeord må være større enn 3 tegn, og må ikke innholde punktum';
|
||||
$lang['search_mode_or'] = 'Søket må innholde et av ordene<br/><br/>';
|
||||
$lang['search_mode_and'] = 'Søket må innholde alle ordene';
|
||||
$lang['search_comments'] = 'Skill ordene med mellomrom';
|
||||
$lang['upload_name'] = 'Navn på bildet';
|
||||
$lang['upload_author'] = 'Fotograf';
|
||||
$lang['upload_creation_date'] = 'Laget den: ';
|
||||
$lang['upload_comment'] = 'Kommentar';
|
||||
$lang['mail_hello'] = 'Hei,';
|
||||
$lang['mail_new_upload_subject'] = 'Nytt bilde på websiden';
|
||||
$lang['mail_new_upload_content'] = 'Et nytt bilde som venter på godkjennelse er lagt inn. Husk å gå til administrasjonssiden og godkjenn/slette dette bildet.';
|
||||
$lang['mail_new_comment_subject'] = 'Ny kommentar er lagt inn';
|
||||
$lang['mail_new_comment_content'] = 'En ny kommentar er registrert i galleriet. Hvis du har valgt å godkjenne hver kommentar, må du først godkjenne denne kommentaren på administrasjonssiden.'."\n\n".'Du kan se de siste kommentarene på administrasjonssiden';
|
||||
$lang['connected_user'] = 'Tilkoblet bruker: ';
|
||||
$lang['title_comments'] = 'Kommentarer fra brukere';
|
||||
$lang['stats_last_days'] = 'siste dager';
|
||||
$lang['hint_comments'] = 'Se siste brukeres kommentarer';
|
||||
$lang['menu_sucr'] = 'Registrering';
|
||||
$lang['menu_login'] = 'Logge inn';
|
||||
//-------------------------------------------------------------- administration
|
||||
if ( $isadmin )
|
||||
{
|
||||
$lang['title_liste_users'] = 'Brukerliste';
|
||||
$lang['title_history'] = 'Historie';
|
||||
$lang['title_update'] = 'Oppdater database';
|
||||
$lang['title_configuration'] = 'Oppsett av PhpWebGallery';
|
||||
$lang['title_instructions'] = 'Instruksjoner';
|
||||
$lang['title_categories'] = 'Lage, rette/endre i dine album';
|
||||
$lang['title_edit_cat'] = 'Albumrettigheter';
|
||||
$lang['title_info_images'] = 'Endre et albums bildeinformasjon';
|
||||
$lang['title_thumbnails'] = 'Lage miniatyrbilder';
|
||||
$lang['title_thumbnails_2'] = 'for';
|
||||
$lang['title_default'] = 'Administrasjonspanel';
|
||||
$lang['menu_title'] = 'Administrasjon';
|
||||
$lang['menu_config'] = 'Oppsett av galleri';
|
||||
$lang['menu_users'] = 'Brukere';
|
||||
$lang['menu_add_user'] = 'Legg til';
|
||||
$lang['menu_list_user'] = 'list';
|
||||
$lang['menu_categories'] = 'Oppsett av album';
|
||||
$lang['menu_update'] = 'Oppdater database';
|
||||
$lang['menu_thumbnails'] = 'Lage miniatyrbilder';
|
||||
$lang['menu_history'] = 'Historie (logg)';
|
||||
$lang['menu_instructions'] = 'Brukerveiledning';
|
||||
$lang['menu_back'] = 'Tilbake til galleri';
|
||||
$lang['title_waiting'] = 'Bilder for godkjenning';
|
||||
$lang['menu_waiting'] = 'Bildegodkjenning';
|
||||
$lang['default_message'] = 'PhpWebGallery administrasjonspanel';
|
||||
$lang['conf_err_prefixe'] = 'Småbildenes prefiks må ikke inneholde symboler';
|
||||
$lang['conf_err_mail'] = 'Ikke godkjent epostadresse, må være som navn@server.com';
|
||||
$lang['conf_err_sid_size'] = 'TidsID må være et tall mellom 4 og 50';
|
||||
$lang['conf_err_sid_time'] = 'Tiden må være et tall mellom 5 og 60';
|
||||
$lang['conf_err_max_user_listbox'] = 'Maks brukere listeboks må være et tall mellom 0 og 255';
|
||||
$lang['conf_confirmation'] = 'Informasjonen er registrert i databasen';
|
||||
$lang['conf_general_title'] = 'Hovedoppsett';
|
||||
$lang['conf_general_webmaster'] = 'Webmaster innlogging';
|
||||
$lang['conf_general_webmaster_info'] = 'Det vil bli vist til brukerene, det er nødvendig for administrasjon av siden';
|
||||
$lang['conf_general_mail'] = 'Webmasters epostadresse';
|
||||
$lang['conf_general_mail_info'] = 'Brukerene vil kunne kontakte via denne mail';
|
||||
$lang['conf_general_prefix'] = 'Miniatyrbilde prefiks';
|
||||
$lang['conf_general_prefix_info'] = 'Miniatyrbildene bruker denne prefiks. Ikke forandre hvis du ikke er sikker.';
|
||||
$lang['conf_general_access'] = 'Tilgang';
|
||||
$lang['conf_general_access_1'] = 'Fri';
|
||||
$lang['conf_general_access_2'] = 'Båndlagt';
|
||||
$lang['conf_general_access_info'] = '- fri : -alle kan komme inn på sidene, alle besøkende kan opprette en konto og tilpasse utseende på sidene<br />- båndlagt : - administrator oppretter kontoer. Bare registrerte bruker kan komme inn på sidene';
|
||||
$lang['conf_general_max_user_listbox'] = 'Maks opplistede brukere';
|
||||
$lang['conf_general_max_user_listbox_info'] = '- dette tallet er maks opplistede brukere i listeboksen som PhpWebGallery viser istedenfor en vanlig tekstboks på Identifikasjonssiden.<br />- skriv et tall mellom 0 og 255, med 0 menes at du vil vise listeboksen.';
|
||||
$lang['conf_comments'] = 'Bruker kommentarer';
|
||||
$lang['conf_comments_title'] = 'Konfigurasjon av '.$lang['conf_comments'];
|
||||
$lang['conf_comments_show_comments'] = $lang['conf_comments'];
|
||||
$lang['conf_comments_show_comments_info'] = 'Vise brukerkommentarer under hvert bilde?';
|
||||
$lang['conf_comments_comments_number'] = 'Antall kommentarer pr. side.';
|
||||
$lang['conf_comments_comments_number_info'] = 'Antall kommentarer pr. side. Dette tallet er ubegrenset for et bilde. Skriv et tall mellom 5 og 50';
|
||||
$lang['conf_err_comment_number'] = 'Antallet kommentarer per side må være mellom 5 og 50.';
|
||||
$lang['conf_remote_site_delete_info'] = 'Ved å slette en remote server vil alle bilder og album i tilknytning til denne serverenogså bli slettet.';
|
||||
$lang['conf_upload_title'] = 'Oppsett av brukeropplasting av bilder';
|
||||
$lang['conf_upload_available'] = 'Godkjenne bilder som er lastet opp?';
|
||||
$lang['conf_upload_maxfilesize'] = 'Maks filstørrelse';
|
||||
$lang['conf_upload_maxfilesize_info'] = 'Maks filstørrelse for de opplastede bilder. Må være et tall mellom 10 og 1000 KB.';
|
||||
$lang['conf_err_upload_maxfilesize'] = 'Maks filstørrelse for de opplastede bilder. Må være et tall mellom 10 og 1000 KB.';
|
||||
$lang['conf_upload_maxwidth'] = 'Maks bredde';
|
||||
$lang['conf_upload_maxwidth_info'] = 'Maks bredde for bildet. Maks bredde må være mer enn 10 piksels';
|
||||
$lang['conf_err_upload_maxwidth'] = 'Maks bredde for bildet. Maks bredde må være mer enn 10 piksels.';
|
||||
$lang['conf_upload_maxheight'] = 'Maks høyde';
|
||||
$lang['conf_upload_maxheight_info'] = 'Maks høyde for det opplastede bildet. Maks høyde må være mer enn 10 piksels.';
|
||||
$lang['conf_err_upload_maxwidth'] = 'Maks høyde for det opplastede bildet. Maks høyde må være mer enn 10 piksels.';
|
||||
$lang['conf_upload_maxwidth_thumbnail'] = 'Maks bredde på miniatyrbilder';
|
||||
$lang['conf_upload_maxwidth_thumbnail_info'] = 'Maks bredde for det opplastede småbildet. Maks bredde må være mer enn 10 piksels.';
|
||||
$lang['conf_err_upload_maxwidth_thumbnail'] = 'Maks bredde for opplastede småbildet. Maks bredde må være mer enn 10 piksels.';
|
||||
$lang['conf_upload_maxheight_thumbnail'] = 'Maks høyde på miniatyrbilder';
|
||||
$lang['conf_upload_maxheight_thumbnail_info'] = 'Maks høyde for det opplastede småbildet. Maks høyde må være mer enn 10 piksels.';
|
||||
$lang['conf_err_upload_maxheight_thumbnail'] = 'Maks høyde for det opplastede småbildet. Maks høyde må være mer enn 10 piksels.';
|
||||
$lang['conf_default_title'] = 'Det normale skjermoppsettet for uregistrerte besøkende og nye kontoer';
|
||||
$lang['conf_default_language_info'] = 'Forhåndsvalgt språk';
|
||||
$lang['conf_default_theme_info'] = 'Forhåndsvalgt tema (utseende)';
|
||||
$lang['conf_session_title'] = 'Konfigurere periode - informasjonskapsler (Cookies)';
|
||||
$lang['conf_session_size'] = 'ID størrelse';
|
||||
$lang['conf_session_size_info'] = '- ID lengde gjør sikkerheten større, høyere tall bedre sikkerhet<br />- skriv et tall mellom 4 og 50';
|
||||
$lang['conf_session_time'] = 'Gyldig periode';
|
||||
$lang['conf_session_time_info'] = '- Kortere periode gjør sikkerheten større,<br />- skriv inn et tall mellom 5 og 60, i minutter';
|
||||
$lang['conf_session_key'] = 'Nøkkelord';
|
||||
$lang['conf_session_key_info'] = '- Periode nøkkelordet forbedrer kodingen til periode ID <br />- tast en setning mindre enn 255 tegn';
|
||||
$lang['conf_session_delete'] = 'Slett utgåtte perioder';
|
||||
$lang['conf_session_delete_info'] = 'Du bør slette utgåtte perioder, de blir i databasen (men er ingen sikkerhetsrisiko)';
|
||||
$lang['user_err_modify'] = 'Denne bruker kan ikke endres eller slettes';
|
||||
$lang['user_err_unknown'] = 'Denne bruker finnes ikke i databasen';
|
||||
$lang['adduser_info_message'] = 'Registrert info i database for bruker ';
|
||||
$lang['adduser_info_password_updated'] = '(passord endret)';
|
||||
$lang['adduser_info_back'] = 'Tilbake til brukerliste';
|
||||
$lang['adduser_fill_form'] = 'Fyll inn følgende form';
|
||||
$lang['adduser_unmodify'] = 'Kan ikke endres';
|
||||
$lang['adduser_status'] = 'Status';
|
||||
$lang['adduser_status_admin'] = 'admin';
|
||||
$lang['adduser_status_guest'] = 'gjest';
|
||||
$lang['permuser_info_message'] = 'Tillatelse er registrert';
|
||||
$lang['permuser_title'] = 'Regler for bruker';
|
||||
$lang['permuser_warning'] = 'Advarsel : a "<span style="font-weight:bold;">ingen tilgang</span>" til root av albumet';
|
||||
$lang['permuser_authorized'] = 'Autorisert';
|
||||
$lang['permuser_forbidden'] = 'Ingen tilgang';
|
||||
$lang['permuser_parent_forbidden'] = 'Ingen tilgang';
|
||||
$lang['listuser_confirm'] = 'Er du sikker på at du vil slette bruker?';
|
||||
$lang['listuser_info_deletion'] = 'er blitt fjernet';
|
||||
$lang['listuser_user_group'] = 'Brukergruppe: ';
|
||||
$lang['listuser_modify'] = 'Endre';
|
||||
$lang['listuser_modify_hint'] = 'Endre informasjonen til ';
|
||||
$lang['listuser_permission'] = 'Tilgang';
|
||||
$lang['listuser_permission_hint'] = 'Endre rettigheter til ';
|
||||
$lang['listuser_delete'] = 'Slett';
|
||||
$lang['listuser_delete_hint'] = 'Slett bruker';
|
||||
$lang['listuser_button_all'] = 'Merk alle';
|
||||
$lang['listuser_button_invert'] = 'Merk/slett';
|
||||
$lang['listuser_button_create_address'] = 'Lag epostadresser';
|
||||
$lang['cat_invisible'] = 'Usynlig';
|
||||
$lang['cat_edit'] = 'Rette';
|
||||
$lang['cat_up'] = 'Flytte opp';
|
||||
$lang['cat_down'] = 'Flytte ned';
|
||||
$lang['cat_image_info'] = 'Bildeinfo';
|
||||
$lang['cat_total'] = 'Total';
|
||||
$lang['editcat_confirm'] = 'Informasjon er registrert i databasen';
|
||||
$lang['editcat_back'] = 'Album';
|
||||
$lang['editcat_title1'] = 'Rettigheter for: ';
|
||||
$lang['editcat_name'] = 'Navn';
|
||||
$lang['editcat_comment'] = 'Kommentar';
|
||||
$lang['editcat_status'] = 'Status';
|
||||
$lang['infoimage_general'] = 'Generelle opplysninger for albumet.';
|
||||
$lang['infoimage_useforall'] = 'Brukes for alle bilder?';
|
||||
$lang['infoimage_creation_date'] = 'Fotografert den: ';
|
||||
$lang['infoimage_detailed'] = 'Generelle opplysninger for hvert enkelt bilde.';
|
||||
$lang['infoimage_title'] = 'Tittel';
|
||||
$lang['infoimage_comment'] = 'Kommentarer';
|
||||
$lang['update_missing_tn'] = 'Miniatyrbilde mangler for';
|
||||
$lang['update_disappeared_tn'] = 'Miniatyrbilde er forsvunnet';
|
||||
$lang['update_disappeared'] = 'Finnes ikke';
|
||||
$lang['update_part_deletion'] = 'Sletter bilder som ikke har noe miniatyrbilde, eller ikke finnes';
|
||||
$lang['update_deletion_conclusion'] = 'bilder slettet fra databasen';
|
||||
$lang['update_part_research'] = 'Søker etter nye bilder i mappene';
|
||||
$lang['update_research_added'] = 'lagt til';
|
||||
$lang['update_research_tn_ext'] = 'miniatyrbilde i';
|
||||
$lang['update_research_conclusion'] = 'bilder lagt til databasen';
|
||||
$lang['update_default_title'] = 'Gjør ditt valg';
|
||||
$lang['update_only_cat'] = 'Oppdater album, ikke bilder';
|
||||
$lang['update_all'] = 'Oppdater alt';
|
||||
$lang['tn_width'] = 'Bredde';
|
||||
$lang['tn_height'] = 'Høyde';
|
||||
$lang['tn_no_support'] = 'Bilde finnes ikke eller ingen støtte';
|
||||
$lang['tn_format'] = 'for filformatet';
|
||||
$lang['tn_thisformat'] = 'for dette filformatet';
|
||||
$lang['tn_err_width'] = 'width must be a number superior to';
|
||||
$lang['tn_err_height'] = 'height must be a number superior to';
|
||||
$lang['tn_results_title'] = 'Results of miniaturization';
|
||||
$lang['tn_picture'] = 'bilde';
|
||||
$lang['tn_results_gen_time'] = 'generated in';
|
||||
$lang['tn_stats'] = 'General statistics';
|
||||
$lang['tn_stats_nb'] = 'number of miniaturized pictures';
|
||||
$lang['tn_stats_total'] = 'total time';
|
||||
$lang['tn_stats_max'] = 'max time';
|
||||
$lang['tn_stats_min'] = 'min time';
|
||||
$lang['tn_stats_mean'] = 'average time';
|
||||
$lang['tn_err'] = 'You made mistakes';
|
||||
$lang['tn_params_title'] = 'Miniaturization parameters';
|
||||
$lang['tn_params_GD'] = 'GD versjon';
|
||||
$lang['tn_params_GD_info'] = '- GD is the picture manipulating library for PHP<br />-choose the version installed on your server. If you choose the wrong, you\'ll just have errors messages, come back with your browser and choose the other version. If no version works, it means your server doesn\'t support GD.';
|
||||
$lang['tn_params_width_info'] = 'maximum width that thumbnails can take';
|
||||
$lang['tn_params_height_info'] = 'maximum height that thumbnails can take';
|
||||
$lang['tn_params_create'] = 'create';
|
||||
$lang['tn_params_create_info'] = 'Do not try to miniaturize too many pictures in the same time.<br />Indeed, miniaturization uses a lot of CPU. If you installed PhpWebGallery on a free provider, a too high CPU load can sometime lead to the deletion of your website.';
|
||||
$lang['tn_params_format'] = 'filformat';
|
||||
$lang['tn_params_format_info'] = 'only jpeg file format is supported for thumbnail creation';
|
||||
$lang['tn_alone_title'] = 'Bilder uten miniatyrbilde ( bare jpeg og png )';
|
||||
$lang['tn_dirs_title'] = 'Liste over mapper';
|
||||
$lang['tn_dirs_alone'] = 'Bilder uten miniatyrbilde';
|
||||
$lang['help_images_title'] = 'Legge til bilder';
|
||||
$lang['help_images_intro'] = 'Hvordan plassere dine bilder i mapper.';
|
||||
$lang['help_images'][0] = 'I mappen "galleries", lag mapper som representerer dine album (mapper)';
|
||||
$lang['help_images'][1] = 'I hvert album (mappe) kan du lage så mange underalbum (mapper) du vil';
|
||||
$lang['help_images'][2] = 'Du kan lage så mange album og underalbum du bare vil';
|
||||
$lang['help_images'][3] = 'Bildefiler må ha jpeg format (filendelse jpg eller JPG), gif format (filendelse gif eller GIF), eller png format (filendelse png eller PNG).';
|
||||
$lang['help_images'][4] = 'Prøv å ikke bruke mellomrom " " eller bindestrek "-" i bildefiler, bruk heller understrek "_" som gir et bedre resultat med PhpWebGallery ';
|
||||
$lang['help_thumbnails_title'] = 'Miniatyrbilder';
|
||||
$lang['help_thumbnails'][0] = 'I hver mappe som skal vise bilder på din webside, er det en undermappe ved navn "thumbnail", hvis den ikke er der, lag og plasser miniatyrbildene for hovedmappen i den.';
|
||||
$lang['help_thumbnails'][1] = 'Minatyrbildet trenger ikke ha samme filendelse som det tilhørende store bildet. (Et bilde med endelse .jpg kan ha et miniatyrbilde med endelse .gif for eksempel).';
|
||||
$lang['help_thumbnails'][2] = 'Miniatyrbildet må i tillegg ha prefikset som er satt i kongigurasjonspanelet ( f. eks. image.jpg -> TN_image.GIF).';
|
||||
$lang['help_thumbnails'][3] = 'Bruk programmet ThumbClic (Windowsversjon) på presentasjonsiden til PhpWebGallery <a href="http://www.phpwebgallery.net/eng/index.php?rub=download"><b>(hent det her)</b></a> for å lage miniatyrbilder ';
|
||||
$lang['help_thumbnails'][4] = 'Du kan bruke funsjonen som er i PhpWebGallery, men bildekvaliteten kan bli dårlig, og funsjonen belaster CPU hardt, så du kan få problemer hvis du bruker er gratissted for dine websider.';
|
||||
$lang['help_thumbnails'][5] = 'Hvis du bruker din ISP for å lage bilder, må du gi 775 rettigheter på "galleries" mappen, og alle dens undermapper.';
|
||||
$lang['help_database_title'] = 'Oppdatere databasen';
|
||||
$lang['help_database'][0] = 'Når filer og minibilder er plassert riktig i sine mapper, kan du klikke på "Oppdater database" eller gå til "Oppsett av album" og oppdatere albumet der (hvis det er et eksisterende album).';
|
||||
$lang['help_infos_title'] = 'Forskjellig informasjon';
|
||||
$lang['help_infos'][1] = 'Når du er ferdig med å opprette ditt galleri, gå til brukere i administrasjonspanelet og endre rettighetene for "gjest". Hver ny registrert bruker vil som forhåndvalg ha samme rettigheter som "gjest".';
|
||||
$lang['help_remote_title'] = 'Fjern side';
|
||||
$lang['help_remote'][0] = 'Du har muligheten til å bruke flere servere til å bygge opp ditt galleri. Dette er brukbart hvis du har begrenset plass og mange bilder du gjerne vil vise. Du må gjøre følgende : ';
|
||||
$lang['help_remote'][1] = '1. Rett i filen "create_listing_file.php" (du finner den i mappen "admin"), ved å endre linjen "$prefix_thumbnail = "TN-";" hvis prefiks for dineminiatyrbilder ikke er "TN-".';
|
||||
$lang['help_remote'][2] = '2. Plasser den endrede filen "create_listing_file.php" ved hjelp av ftp overføring på den(de) andre serveren(e), i root mappen av dine mapper av bilder (som mappen "galleries" på denne websiden) .';
|
||||
$lang['help_remote'][3] = '3. Kjør filen med url http://domaineDistant/repGalerie/create_listing_file.php, en fil "listing.xml" har nå blitt laget';
|
||||
$lang['help_remote'][4] = '4. Hent tilbake "listing.xml" fra webstedet og plasser den i mappen "admin" på dette webstedet.';
|
||||
$lang['help_remote'][5] = '5. Oppdater så databasen osv. ved hjelp av administrasjonspanelet. Når dette er gjort, slettes filen fra mappen "admin".';
|
||||
$lang['help_remote'][6] = 'You can update the contents of a distant website by redoing the described manipulation. You can also kill a distant website by choosing the option in the configuration section of the administration panel.';
|
||||
$lang['help_upload_title'] = 'Added images by users';
|
||||
$lang['help_upload'][0] = 'PhpWebGallery offers the possibility for users to upload images. in order to do it :';
|
||||
$lang['help_upload'][1] = '1. authorize the option in the configuration zone of the administration panel';
|
||||
$lang['help_upload'][2] = '2. authorize the rights in writing in the images directories';
|
||||
$lang['install_message'] = 'Message';
|
||||
$lang['step1_confirmation'] = 'Parameters are correct';
|
||||
$lang['step1_err_db'] = 'Connection to server succeed, but it was impossible to connect to database';
|
||||
$lang['step1_err_server'] = 'Can\'t connect to server';
|
||||
$lang['step1_err_copy_2'] = 'The next step of the installation is now possible';
|
||||
$lang['step1_err_copy_next'] = 'next step';
|
||||
$lang['step1_title'] = 'Step 1/2';
|
||||
$lang['step1_host'] = 'MySQL host';
|
||||
$lang['step1_host_info'] = 'localhost, sql.multimania.com, toto.freesurf.fr';
|
||||
$lang['step1_user'] = 'user';
|
||||
$lang['step1_user_info'] = 'user login given by your host provider';
|
||||
$lang['step1_pass'] = 'Password';
|
||||
$lang['step1_pass_info'] = 'user password given by your host provider';
|
||||
$lang['step1_database'] = 'Database name';
|
||||
$lang['step1_database_info'] = 'also given by your host provider';
|
||||
$lang['step1_prefix'] = 'Database table prefix';
|
||||
$lang['step1_prefix_info'] = 'database tables names will be prefixed with it (enables you to manage better your tables)';
|
||||
$lang['step2_err_login1'] = 'enter a login for webmaster';
|
||||
$lang['step2_err_login3'] = 'webmaster login can\'t contain characters \' or "';
|
||||
$lang['step2_err_pass'] = 'please enter your password again';
|
||||
$lang['step2_err_mail'] = $lang['conf_err_mail'];
|
||||
$lang['install_end_title'] = 'Installation finished';
|
||||
$lang['install_end_message'] = 'The configuration of PhpWebGallery is finished, here is the next step<br /><br />
|
||||
For security reason, please delete file "install.php" in the directory "admin"<br />
|
||||
Once this file deleted , follow this instructions :
|
||||
<ul>
|
||||
<li>go to the identification page : [ <a href="../identification.php">identification</a> ] and use the login/password given for webmaster</li>
|
||||
<li>this login will enable you to access to the [ <a href="admin.php">administration panel</a> ] and to the instructions in order to place pictures in your directories</li>
|
||||
</ul>';
|
||||
$lang['step2_title'] = 'Step 2/2';
|
||||
$lang['step2_pwd'] = 'webmaster password';
|
||||
$lang['step2_pwd_info'] = 'Keep it confidential, it enables you to access administration panel';
|
||||
$lang['step2_pwd_conf'] = 'confirm password';
|
||||
$lang['step2_pwd_conf_info'] = 'verification';
|
||||
// new or modified in release 1.3
|
||||
$lang['remote_site'] = 'Remote site';
|
||||
$lang['title_add'] = 'Legge inn en ny bruker';
|
||||
$lang['title_modify'] = 'Endre en bruker';
|
||||
$lang['title_groups'] = 'Administrere grupper';
|
||||
$lang['title_user_perm'] = 'Endre rettigheter for bruker ';
|
||||
$lang['title_cat_perm'] = 'Endre rettigheter for album ';
|
||||
$lang['title_group_perm'] = 'Endre rettigheter for gruppe';
|
||||
$lang['title_picmod'] = 'Endre informasjonen for bilde ';
|
||||
$lang['menu_groups'] = 'Brukergrupper';
|
||||
$lang['menu_comments'] = 'Kommentarer';
|
||||
$lang['conf_general_log'] = 'Historie (logg)';
|
||||
$lang['conf_general_log_info'] = 'Skal besøk loggføres? Besøk blir vist i Historie(Logg) seksjonen i Administrasjonspanelet';
|
||||
$lang['conf_general_mail_notification'] = 'Beskjed med epost';
|
||||
$lang['conf_general_mail_notification_info'] = 'Administratorer vil få beskjed med epost hvis besøkende laster opp bilder, eller gir kommentar til bildene';
|
||||
$lang['conf_comments_validation'] = 'Godkjenne';
|
||||
$lang['conf_comments_validation_info'] = 'En administrator godkjenner først kommentarer, før de blir synlige på siden.';
|
||||
$lang['conf_comments_forall'] = 'For alle?';
|
||||
$lang['conf_comments_forall_info'] = 'Selv besøkende som ikke er registrert, kan legge inn kommentarer.';
|
||||
$lang['conf_default_nb_image_per_row_info'] = 'Forhåndsvalgt bilder pr. rad';
|
||||
$lang['conf_default_nb_row_per_page_info'] = 'Forhåndsvalgte rader pr. side';
|
||||
$lang['conf_default_short_period_info'] = 'Antall dager et bilde skal vises med rød markering (kort periode). Må være mer enn 1 dag.';
|
||||
$lang['conf_default_long_period_info'] = 'Antall dager et bilde skal vises med grønn markering (lang periode). Må være lengre enn den korte perioden.';
|
||||
$lang['conf_default_expand_info'] = 'Vise undermapper som forhåndsvalg i menyen ?';
|
||||
$lang['conf_default_show_nb_comments_info'] = 'Vise antall kommentarer på miniatyrbildesiden';
|
||||
$lang['conf_default_maxwidth_info'] = 'Maks bredde for å vise bildene: Bildenes nye bredde er bare ved visning, Bildefilene forblir uendret. Hvis du ikke ønsker begrensning, la feltet være blankt.';
|
||||
$lang['conf_default_maxheight_info'] = 'Samme som for bredden, men gjelder for høyden av bildet.';
|
||||
$lang['conf_session_cookie'] = 'Godkjenne informasjonskapsler';
|
||||
$lang['conf_session_cookie_info'] = 'Brukerne behøver ikke logge på hver gang lenger, mindre sikkert.';
|
||||
$lang['adduser_associate'] = 'Tilknyt gruppe';
|
||||
$lang['group_add'] = 'Legg til en gruppe';
|
||||
$lang['group_add_error1'] = 'Gruppenavn må ikke innholde " eller \'';
|
||||
$lang['group_add_error2'] = 'Navnet i bruk av en annen gruppe.';
|
||||
$lang['group_confirm'] = 'Vil du slette denne gruppen?';
|
||||
$lang['group_list_title'] = 'Eksisterende grupper';
|
||||
$lang['group_err_unknown'] = 'Denne gruppen finnes ikke i databasen';
|
||||
$lang['cat_permission'] = 'Tilgang';
|
||||
$lang['cat_update'] = 'Oppdater';
|
||||
$lang['cat_add'] = 'Tilknyt et virtuelt album ';
|
||||
$lang['cat_parent'] = 'til hovedalbum';
|
||||
$lang['cat_error_name'] = 'Albumnavn må fylles ut';
|
||||
$lang['cat_virtual'] = 'Virtuell';
|
||||
$lang['cat_first'] = 'Flytt først';
|
||||
$lang['cat_last'] = 'Flytt sist';
|
||||
$lang['editcat_visible_info'] = '(Usynlig, men for administratorer).';
|
||||
$lang['editcat_visible'] = 'Synlig';
|
||||
$lang['editcat_uploadable'] = 'Opplasting tilgjengelig';
|
||||
$lang['infoimage_keyword_separation'] = '(Skill med komma ",")';
|
||||
$lang['infoimage_addtoall'] = 'Legg til alle';
|
||||
$lang['infoimage_removefromall'] = 'Slett fra alle';
|
||||
$lang['infoimage_associate'] = 'Tilknyt album: ';
|
||||
$lang['update_wrong_dirname'] = 'Navn på mapper og filer må være sammensatt av bokstaver og tegnene "-", "_" eller "."';
|
||||
$lang['stats_pages_seen'] = 'sider sett';
|
||||
$lang['stats_visitors'] = 'besøkende';
|
||||
$lang['stats_empty'] = 'Slett historie/logg';
|
||||
$lang['stats_pages_seen_graph_title'] = 'Antall sider sett denne dagen.';
|
||||
$lang['stats_visitors_graph_title'] = 'Antall besøkende denne dagen.';
|
||||
$lang['comments_last_title'] = 'Siste kommentarer.';
|
||||
$lang['comments_non_validated_title'] = 'Kommentarer for godkjennelse.';
|
||||
$lang['help_database'][1] = 'For å hindre at for mange bilder blir oppdatert av gangen, gå til "Oppsett av album" i administrasjonspanelet, og oppdater et og et album av gangen. Bruk linken "Oppdater"';
|
||||
$lang['help_upload'][3] = 'Albumet må ha "Opplasting tilgjengelig" for å brukes til å laste opp bilder.';
|
||||
$lang['help_upload'][4] = 'Opplastede bilder av brukere, blir ikke gjort synlig direkte, men må godkjennes av en administrator. Administratoren må gå til "Bildegodkjenning" i administrasjonspanelet og godkjenne /forkaste bildet der. Deretter må albumet oppdateres.';
|
||||
$lang['help_virtual_title'] = 'Linker mellom bilder og album og virtuelle album.';
|
||||
$lang['help_virtual'][0] = 'PhpWebGallery is able to dissociate categories where pictures are stored and categories where pictures are shown.';
|
||||
$lang['help_virtual'][1] = 'By default, pictures are shown only in their real categories : the ones corresponding to directories on the web server.';
|
||||
$lang['help_virtual'][2] = 'To link a picture to a category, you just have to make the association on the page of picture informations or on the informations of all pictures of a category.';
|
||||
$lang['help_virtual'][3] = 'Using this principle, it is possible to create virtual categories in PhpWebGallery : no real directory coresponds to this category. You just have to create this category on the section "categories" of the admin panel.';
|
||||
$lang['help_groups_title'] = 'Users Groups';
|
||||
$lang['help_groups'][0] = 'PhpWebGallery mestrer grupper av brukere. It can be very useful to have common permission access for private categories.';
|
||||
$lang['help_groups'][1] = '1. Create the group "family" on the section "Groups" of admin panel.';
|
||||
$lang['help_groups'][2] = '2. On the section "Users", edit on of them and associate him to the group "family".';
|
||||
$lang['help_groups'][3] = '3. By modifying the permissions for a category or for a group, you\'ll see that all categories accessible for a group are accessible for its members.';
|
||||
$lang['help_groups'][4] = 'A user can belong to several groups. The authorization is stronger than prohibition : if a user "jack" belongs to the group "family" and "friends", and that only group "family" can see category "Christmas 2003", "jack" will be able to see "Christmas 2003".';
|
||||
$lang['help_access_title'] = 'Access authorization';
|
||||
$lang['help_access'][0] = 'PhpWebGallery is able to forbid access to categories. Categories can be "public" or "private". In order to forbid access to a category :';
|
||||
$lang['help_access'][1] = '1. Modify category informations (from the "categories" section in tha admin panel) and make it "private".';
|
||||
$lang['help_access'][2] = '2. On the page of permissions (for a group or a user) the private category will be shown and you\'ll be able to authorize access or not.';
|
||||
$lang['help_infos'][2] = 'If you have any question, do not hesitate to take a look at the forum or ask a question there. The <a href="'.$conf['forum_url'].'" style="text-decoration:underline">forum</a> (message board) is available on the presentation site of PhpWebGallery.';
|
||||
$lang['step1_err_copy'] = 'Copy the text between hyphens and paste it into the file "include/mysql.inc.php"(Warning : mysql.inc.php must only contain what is in blue, no line return or space character)';
|
||||
$lang['permuser_only_private'] = 'Bare pivate album blir vist';
|
||||
$lang['waiting_update'] = 'Godkjente bilder blir bare vist når databasen er oppdatert.';
|
||||
$lang['conf_upload_available_info'] = 'Godkjenne brukerenes opplasting av bilder(ikke på en fjernserver). Dette er et generelt valg, det er fremdeles nødvendig å godkjenne opplasting for hvert enkelt album. Som forhåndsvalg er ingen album åpnet for opplasting av bilder.';
|
||||
$lang['install_help'] = 'Need help ? Ask your question on <a href="http://forum.phpwebgallery.net">PhpWebGallery message board</a>.';
|
||||
$lang['install_warning'] = 'The file "admin/install.php" is still present. Please remove it from your server. It is not secure to keep it.';
|
||||
// new or modified in release 1.3.1
|
||||
$lang['cat_unknown_id'] = 'This category is unknown in the database';
|
||||
}
|
||||
?>
|
548
language/portuguese-br.php
Normal file
548
language/portuguese-br.php
Normal file
|
@ -0,0 +1,548 @@
|
|||
<?php
|
||||
/***************************************************************************
|
||||
* português.php *
|
||||
* ------------------- *
|
||||
* application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
|
||||
* author : Alexandre Weffort Thenorio *
|
||||
* *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* 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; *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
$lang['only_members'] = 'Acesso Restrito a membros';
|
||||
$lang['invalid_pwd'] = 'Password inválido!';
|
||||
$lang['access_forbiden'] = 'Você não está autorizado a acessar está pagina';
|
||||
$lang['submit'] = 'Modificar';
|
||||
$lang['login'] = 'login';
|
||||
$lang['password'] = 'senha';
|
||||
$lang['new'] = 'nova';
|
||||
$lang['delete'] = 'deletar';
|
||||
$lang['category'] = 'categoria';
|
||||
$lang['thumbnail'] = 'miniatura';
|
||||
$lang['date'] = 'data';
|
||||
$lang['diapo_default_page_title'] = 'Nenhuma categoria selecionada';
|
||||
$lang['thumbnails'] = 'Miniaturas';
|
||||
$lang['categories'] = 'Categorias';
|
||||
$lang['hint_category'] = 'mostrar imagens na raíz dessa categoria';
|
||||
$lang['total_images'] = 'total';
|
||||
$lang['title_menu'] = 'Menu';
|
||||
$lang['change_login'] = 'mudar usuário';
|
||||
$lang['login'] = 'login';
|
||||
$lang['hint_login'] = 'identifição permite personalizar a aparencia deste site';
|
||||
$lang['logout'] = 'sair';
|
||||
$lang['customize'] = 'personalizar';
|
||||
$lang['hint_customize'] = 'personalizar a aparencia da galeria';
|
||||
$lang['hint_search'] = 'procurar';
|
||||
$lang['search'] = 'procurar';
|
||||
$lang['favorite_cat'] = 'favoritos';
|
||||
$lang['favorite_cat_hint'] = 'mostrar favoritos';
|
||||
$lang['about'] = 'sobre';
|
||||
$lang['hint_about'] = 'mais informação em PhpWebGallery...';
|
||||
$lang['admin'] = 'administrador';
|
||||
$lang['hint_admin'] = 'disponível somente para adiministradores';
|
||||
$lang['no_category'] = 'Nenhuma categoria selecionada<br />por favor selecione uma categoria no menu';
|
||||
$lang['page_number'] = 'número da página';
|
||||
$lang['previous_page'] = 'Anterior';
|
||||
$lang['next_page'] = 'Próximo';
|
||||
$lang['nb_image_category'] = 'número de imagens nesta categoria';
|
||||
$lang['recent_image'] = 'imagem nos últimos';
|
||||
$lang['days'] = 'dias';
|
||||
$lang['send_mail'] = 'Algum comentário? Me mande um e-mail';
|
||||
$lang['title_send_mail'] = 'Um comentário no seu site';
|
||||
$lang['sub-cat'] = 'subcategorias';
|
||||
$lang['images_available'] = 'imagens nesta categoria';
|
||||
$lang['total'] = 'imagens';
|
||||
$lang['upload_picture'] = 'Adicionar uma imagem';
|
||||
$lang['registration_date'] = 'registrado em';
|
||||
$lang['creation_date'] = 'criado em';
|
||||
$lang['comment'] = 'comentário';
|
||||
$lang['author'] = 'autor';
|
||||
$lang['size'] = 'tamanho';
|
||||
$lang['filesize'] = 'tamanho do arquivo';
|
||||
$lang['file'] = 'arquivo';
|
||||
$lang['generation_time'] = 'Página gerada em';
|
||||
$lang['favorites'] = 'Favoritos';
|
||||
$lang['search_result'] = 'Resultados da procura';
|
||||
$lang['about_page_title'] = 'Sobre PhpWebGallery';
|
||||
$lang['about_title'] = 'Sobre...';
|
||||
$lang['about_message'] = '<div style="text-align:center;font-weigh:bold;">Informação sobre PhpWebGallery</div>
|
||||
<ul>
|
||||
<li>Esse website usa <a href="'.$conf['site_url'].'" style="text-decoration:underline">PhpWebGallery</a> release '.$conf['version'].'. PhpWebGallery é uma aplicação da web que te dá a possibilidade de facilmente criar uma galeria de imagens online.</li>
|
||||
<li>Técnicamente, PhpWebGallery é completamente desenvolvida com PHP (the elePHPant) com uma base de dados MySQL (the SQuirreL).</li>
|
||||
<li>Se vc tem alguma sugestão ou comentários, por favor visitar o site oficial da <a href="'.$conf['site_url'].'" style="text-decoration:underline">PhpWebGallery</a> , e o <a href="'.$conf['forum_url'].'" style="text-decoration:underline">forum</a> dedicado.</li>
|
||||
</ul>';
|
||||
$lang['about_return'] = 'Voltar';
|
||||
$lang['ident_page_title'] = 'Identificação';
|
||||
$lang['ident_title'] = 'Identificação';
|
||||
$lang['ident_register'] = 'Registrar-se';
|
||||
$lang['ident_forgotten_password'] = 'Esqueceu sua senha ?';
|
||||
$lang['ident_guest_visit'] = 'Ir para a galeria como um visitante';
|
||||
$lang['customize_page_title'] = 'Personalização';
|
||||
$lang['customize_title'] = 'Personalização';
|
||||
$lang['customize_nb_image_per_row'] = 'número de imagens por linha';
|
||||
$lang['customize_nb_row_per_page'] = 'número de linhas por página';
|
||||
$lang['customize_language'] = 'língua';
|
||||
$lang['maxwidth'] = 'comprimento máximo das imagens';
|
||||
$lang['maxheight'] = 'altura máxima das imagens';
|
||||
$lang['err_maxwidth'] = 'comprimento máximo deve ser um número superior a 50';
|
||||
$lang['err_maxheight'] = 'altura máxima deve ser um númeor superior a 50';
|
||||
$lang['previous_image'] = 'Anterior';
|
||||
$lang['next_image'] = 'Próximo';
|
||||
$lang['back'] = 'Clique na imagem para voltar para a página de miniaturas';
|
||||
$lang['info_image_title'] = 'Informação da imagem';
|
||||
$lang['link_info_image'] = 'Modificar informação';
|
||||
$lang['true_size'] = 'Tamanho real';
|
||||
$lang['comments_title'] = 'Comentários dos usuário do site';
|
||||
$lang['comments_del'] = 'deletar este comentário';
|
||||
$lang['comments_add'] = 'Adicionar um comentário';
|
||||
$lang['month'][1] = 'Janeiro';
|
||||
$lang['month'][2] = 'Fevereiro';
|
||||
$lang['month'][3] = 'Março';
|
||||
$lang['month'][4] = 'Abril';
|
||||
$lang['month'][5] = 'Maio';
|
||||
$lang['month'][6] = 'Junho';
|
||||
$lang['month'][7] = 'Julho';
|
||||
$lang['month'][8] = 'Augosto';
|
||||
$lang['month'][9] = 'Setembro';
|
||||
$lang['month'][10] = 'Outubro';
|
||||
$lang['month'][11] = 'Novembro';
|
||||
$lang['month'][12] = 'Dezembro';
|
||||
$lang['day'][0] = 'Domingo';
|
||||
$lang['day'][1] = 'Segunda-Feira';
|
||||
$lang['day'][2] = 'Terça-Feira';
|
||||
$lang['day'][3] = 'Quarta-Feira';
|
||||
$lang['day'][4] = 'Quinta-Feira';
|
||||
$lang['day'][5] = 'Sexta-Feira';
|
||||
$lang['day'][6] = 'Sábado';
|
||||
$lang['add_favorites_alt'] = 'Adicionar aos favoritos';
|
||||
$lang['add_favorites_hint'] = 'Adicione essa imagem ao seus favoritos';
|
||||
$lang['del_favorites_alt'] = 'Deletar dos favoritos';
|
||||
$lang['del_favorites_hint'] = 'Deletar essa imagem do seus favoritos';
|
||||
$lang['register_page_title'] = 'Registro';
|
||||
$lang['register_title'] = 'Registro';
|
||||
$lang['reg_err_login1'] = 'Por favor, digite um nome de usuário';
|
||||
$lang['reg_err_login2'] = 'nome de usuário não pode terminar com um espaço';
|
||||
$lang['reg_err_login3'] = 'nome de usuário não pode começar com um espaço';
|
||||
$lang['reg_err_login4'] = 'nome de usuário não podem conter caracteres " e \'';
|
||||
$lang['reg_err_login5'] = 'esse nome de usuário ja está sendo usado';
|
||||
$lang['reg_err_pass'] = 'por favor, digite a sua senha de novo';
|
||||
$lang['reg_confirm'] = 'confirmar';
|
||||
$lang['reg_err_mail_address'] = 'endereço de email deve ser do tipo xxx@yyy.eee (exemplo : jack@altern.org)';
|
||||
$lang['search_title'] = 'Procurar';
|
||||
$lang['invalid_search'] = 'a busca deve ser feita com 3 caracteres ou mais';
|
||||
$lang['search_field_search'] = 'Procurar';
|
||||
$lang['search_return_main_page'] = 'Retornar a página de miniaturas';
|
||||
$lang['upload_forbidden'] = 'Você não pode adicionar imagens a essa categoria';
|
||||
$lang['upload_file_exists'] = 'O nome da imagem já está sendo usado';
|
||||
$lang['upload_filenotfound'] = 'Você tem que escolher um formato para o arquivo da imagem';
|
||||
$lang['upload_cannot_upload'] = 'não é possível adicionar a foto no servidor';
|
||||
$lang['upload_title'] = 'Adicionar uma imagem';
|
||||
$lang['upload_advise'] = 'Escolha uma imagem para colocar na categoria : ';
|
||||
$lang['upload_advise_thumbnail'] = 'Opcional, mas recomendado : escolha uma miniatura para associar a esta imagem ';
|
||||
$lang['upload_advise_filesize'] = 'o tamanho do arquivo não pode exceder : ';
|
||||
$lang['upload_advise_width'] = 'o comprimento da imagem não pode exceder : ';
|
||||
$lang['upload_advise_height'] = 'a altura da imagem não pode exceder : ';
|
||||
$lang['upload_advise_filetype'] = 'a imagem deve ser no formato jpg, gif or png';
|
||||
$lang['upload_err_username'] = 'o nome do usuário deve ser provido';
|
||||
$lang['upload_username'] = 'Nome do usuário';
|
||||
$lang['upload_successful'] = 'Imagem adicionada com sucesso, um administrador irá validá-la assim que possível';
|
||||
// new or modified in release 1.3
|
||||
$lang['charset'] = 'iso-8859-1';
|
||||
$lang['no'] = 'não';
|
||||
$lang['yes'] = 'sim';
|
||||
$lang['guest'] = 'convidado';
|
||||
$lang['mail_address'] = 'endereço de email';
|
||||
$lang['public'] = 'público';
|
||||
$lang['private'] = 'privado';
|
||||
$lang['add'] = 'adicionar';
|
||||
$lang['dissociate'] = 'dissociate';
|
||||
$lang['mandatory'] = 'obrigatório';
|
||||
$lang['err_date'] = 'data errada';
|
||||
$lang['picture'] = 'imagem';
|
||||
$lang['IP'] = 'IP';
|
||||
$lang['close'] = 'fechar';
|
||||
$lang['open'] = 'abrir';
|
||||
$lang['keywords'] = 'palavras chave';
|
||||
$lang['errors_title'] = 'Erros';
|
||||
$lang['infos_title'] = 'Informações';
|
||||
$lang['default'] = 'default';
|
||||
$lang['comments'] = 'comentários';
|
||||
$lang['category_representative'] = 'representante';
|
||||
$lang['stats'] = 'statísticas';
|
||||
$lang['most_visited_cat_hint'] = 'mostrar imagens mais visitadas';
|
||||
$lang['most_visited_cat'] = 'mais visitadas';
|
||||
$lang['best_rated_cat_hint'] = 'mostrar imagens com melhores notas';
|
||||
$lang['best_rated_cat'] = 'imagens com melhores notas';
|
||||
$lang['recent_cat_hint'] = 'mostrar imagens mais recentes';
|
||||
$lang['recent_cat'] = 'mais recentes';
|
||||
$lang['recent_cat_title'] = 'Imagens recentes';
|
||||
$lang['visited'] = 'visitada';
|
||||
$lang['times'] = 'vezes';
|
||||
$lang['customize_theme'] = 'tema da interface';
|
||||
$lang['customize_expand'] = 'expandir todas as categorias';
|
||||
$lang['customize_show_nb_comments'] = 'mostrar número de comentários';
|
||||
$lang['customize_short_period'] = 'período curto';
|
||||
$lang['customize_long_period'] = 'período longo';
|
||||
$lang['customize_template'] = 'moldes';
|
||||
$lang['err_periods'] = 'períodos devem ser valores integrais';
|
||||
$lang['err_periods_2'] = 'períodos devem ser superior a 0. O período longo deve ser maior do que o período curto.';
|
||||
$lang['create_cookie'] = 'criar um cookie';
|
||||
$lang['customize_day'] = 'dia';
|
||||
$lang['customize_week'] = 'semana';
|
||||
$lang['customize_month'] = 'mês';
|
||||
$lang['customize_year'] = 'ano';
|
||||
$lang['slideshow'] = 'slideshow';
|
||||
$lang['period_seconds'] = 'segundos por foto';
|
||||
$lang['slideshow_stop'] = 'parar slideshow';
|
||||
$lang['comment_added'] = 'Seu comentário foi registrado';
|
||||
$lang['comment_to_validate'] = 'Um adiministrador deve autorizar o seu comentário antes que ele seja feito visível.';
|
||||
$lang['comment_anti-flood'] = 'Sistema Anti-flood : por favor espera um momento antes de tentar colocar outro comentário';
|
||||
$lang['comment_user_exists'] = 'Esse nome de usuário já está sendo usado';
|
||||
$lang['invalid_search'] = 'Palavras procuradas devem ser maiores do que 3 caracteres e não devem conter sinais de pontuação';
|
||||
$lang['search_mode_or'] = 'pelo menos uma palavra';
|
||||
$lang['search_mode_and'] = 'todas as palavras';
|
||||
$lang['search_comments'] = 'separar palavras diferentes com espaços';
|
||||
$lang['upload_name'] = 'Nome da imagem';
|
||||
$lang['upload_author'] = 'Autor (ex "Pierrick LE GALL")';
|
||||
$lang['upload_creation_date'] = 'Data de criação (DD/MM/YYYY)';
|
||||
$lang['upload_comment'] = 'Comentário';
|
||||
$lang['mail_hello'] = 'Olá,';
|
||||
$lang['mail_new_upload_subject'] = 'Nova imagem no website';
|
||||
$lang['mail_new_upload_content'] = 'Uma nova imagem foi adicionada na galeria. Está esperando pela sua validação. Vá ao painel de administração paa autorizar ou recusar essa imagem.';
|
||||
$lang['mail_new_comment_subject'] = 'Novo comentário no website';
|
||||
$lang['mail_new_comment_content'] = 'Um novo comentário foi registrado na galeria. Se você escolheu validar cada comentário, você tem que validar primeiro esse comentário no painel de administração para torná-lo visível na galeria.'."\n\n".'Você pode ver os últimos comentários no painel de administração';
|
||||
$lang['connected_user'] = 'usuário conectado';
|
||||
$lang['title_comments'] = 'Comentários do usuários';
|
||||
$lang['stats_last_days'] = 'últimos dias';
|
||||
$lang['hint_comments'] = 'Ver últimos comentários';
|
||||
$lang['menu_login'] = 'usuário';
|
||||
//-------------------------------------------------------------- administration
|
||||
if ( $isadmin )
|
||||
{
|
||||
$lang['title_liste_users'] = 'Lista de usuários';
|
||||
$lang['title_history'] = 'Histórico';
|
||||
$lang['title_update'] = 'Atualizar base de dados';
|
||||
$lang['title_configuration'] = 'Configuração da PhpWebGallery';
|
||||
$lang['title_instructions'] = 'Instruções';
|
||||
$lang['title_categories'] = 'Administraçãode categorias';
|
||||
$lang['title_edit_cat'] = 'Editar uma categoria';
|
||||
$lang['title_info_images'] = 'Modificar informação de uma imagem de uma categoria';
|
||||
$lang['title_thumbnails'] = 'Criação de miniatura';
|
||||
$lang['title_thumbnails_2'] = 'para';
|
||||
$lang['title_default'] = 'Administração PhpWebGallery';
|
||||
$lang['menu_title'] = 'Administração';
|
||||
$lang['menu_config'] = 'Configuração';
|
||||
$lang['menu_users'] = 'Usuários';
|
||||
$lang['menu_add_user'] = 'adicionar';
|
||||
$lang['menu_list_user'] = 'lista';
|
||||
$lang['menu_categories'] = 'Categorias';
|
||||
$lang['menu_update'] = 'Update base de dados';
|
||||
$lang['menu_thumbnails'] = 'Miniaturas';
|
||||
$lang['menu_history'] = 'Histórico';
|
||||
$lang['menu_instructions'] = 'Instruções';
|
||||
$lang['menu_back'] = 'Voltar as galerias';
|
||||
$lang['title_waiting'] = 'Imagens esperando por validação';
|
||||
$lang['menu_waiting'] = 'Espera';
|
||||
$lang['default_message'] = 'Painel de administração PhpWebGallery';
|
||||
$lang['conf_err_prefixe'] = 'o prefixo da miniatura não deve conter nenhum caractere acentuado';
|
||||
$lang['conf_err_mail'] = 'endereço de e-mail recusado, deve ser do tipo name@server.com';
|
||||
$lang['conf_err_sid_size'] = 'O tamanho do identificador da sessão deve ser um valor integral entre 4 e 50';
|
||||
$lang['conf_err_sid_time'] = 'o tempo da sessão deve ser um valor integral entre 5 e 60';
|
||||
$lang['conf_err_max_user_listbox'] = 'o lista do máximo de usuários deve ser um valor integral entre 0 e 255';
|
||||
$lang['conf_confirmation'] = 'Dado de informação registrado na base de dados';
|
||||
$lang['conf_general_title'] = 'Configuração principal';
|
||||
$lang['conf_general_webmaster'] = 'login do webmaster';
|
||||
$lang['conf_general_webmaster_info'] = 'Será mostrado aos visitantes. É necessário para a administração do website';
|
||||
$lang['conf_general_mail'] = 'endereço de email do webmaster';
|
||||
$lang['conf_general_mail_info'] = 'Visitantes podem contatar nesse endereço';
|
||||
$lang['conf_general_prefix'] = 'prefixo da miniatura';
|
||||
$lang['conf_general_prefix_info'] = 'Miniaturas usam esse prefixo. Não preencha se você está incerto.';
|
||||
$lang['conf_general_access'] = 'tipo de acesso';
|
||||
$lang['conf_general_access_1'] = 'livre';
|
||||
$lang['conf_general_access_2'] = 'restrito';
|
||||
$lang['conf_general_access_info'] = '- livre : qualquer um pode entrar no site, qualquer visitante pode criar uma conta para poder personalizar a aparencia do website<br />- restrito : o webmaster cria as contas. Somenete usuários registrados podem entrar no site';
|
||||
$lang['conf_general_max_user_listbox'] = 'lista do número máximo de usuários';
|
||||
$lang['conf_general_max_user_listbox_info'] = '- esse é o númeor máximo de usuário que a PhpWebGallery mostra na lista em vez de uma simples caixa de texto na página de identificação<br />- entre com um númeor entre 0 e 255, 0 significa que você quer mostrar a lista';
|
||||
$lang['conf_comments'] = 'comentários dos usuários';
|
||||
$lang['conf_comments_title'] = 'Configuração dos '.$lang['conf_comments'];
|
||||
$lang['conf_comments_show_comments'] = $lang['conf_comments'];
|
||||
$lang['conf_comments_show_comments_info'] = 'mostrar os comentários dos usuários embaixo de cada imagem ?';
|
||||
$lang['conf_comments_comments_number'] = 'número de comentários por página';
|
||||
$lang['conf_comments_comments_number_info'] = 'número de comentários para mostrar em cada página. Esse número é ilimitado para uma imagem. Digite um número entre 5 e 50.';
|
||||
$lang['conf_err_comment_number'] = 'O número de comentários de uma página deve ser entre 5 e 50 incluso.';
|
||||
$lang['conf_remote_site_delete_info'] = 'Deletar um servidor remoto irá deletar todas as imagens e categorias relacionadas com esse servidor.';
|
||||
$lang['conf_upload_title'] = 'Configuração do upload dos usuários';
|
||||
$lang['conf_upload_available'] = 'autorizou a adição de imagens';
|
||||
$lang['conf_upload_maxfilesize'] = 'tamanho do arquivo máximo';
|
||||
$lang['conf_upload_maxfilesize_info'] = 'Tamanho do arquivo máximo para imagens adicionadas. Deve ser um número entre 10 e 1000 KB.';
|
||||
$lang['conf_err_upload_maxfilesize'] = 'O tamanha de arquivo máximo para as imagens adicionadas deve ser um número entre 10 e 1000 KB.';
|
||||
$lang['conf_upload_maxwidth'] = 'comprimento máximo';
|
||||
$lang['conf_upload_maxwidth_info'] = 'Comprimento máximo autorizado para as imagens adicionadas. Deve ser um número maior que 10 pixels';
|
||||
$lang['conf_err_upload_maxwidth'] = 'o comprimento máximo autorizado para as imagens adicionadas deve ser um número maior que 10 pixels.';
|
||||
$lang['conf_upload_maxheight'] = 'altura máxima';
|
||||
$lang['conf_upload_maxheight_info'] = 'Altura máximo autorizada para as imagens adicionadas. Deve ser um número maior que 10 pixels';
|
||||
$lang['conf_err_upload_maxwidth'] = 'altura máxima autorizada para as imagens adicionadas deve ser um númeor maior que 10 pixels.';
|
||||
$lang['conf_upload_maxwidth_thumbnail'] = 'comprimento máximo das miniaturas';
|
||||
$lang['conf_upload_maxwidth_thumbnail_info'] = 'Comprimento máximo autorizado para as miniaturas adicionas. Deve ser um número maior que 10 pixels';
|
||||
$lang['conf_err_upload_maxwidth_thumbnail'] = 'O comprimento máximo autorizado para as minituras adicionadas deve ser maior que 10 pixels.';
|
||||
$lang['conf_upload_maxheight_thumbnail'] = 'altura máxima das miniaturas';
|
||||
$lang['conf_upload_maxheight_thumbnail_info'] = 'Altura máxima autorizada para as miniaturas adicionadas. Deve ser um número maior que 10 pixels';
|
||||
$lang['conf_err_upload_maxheight_thumbnail'] = 'A altura máxima autorizada para as miniaturas adicionadas deve ser um número maior que 10 pixels.';
|
||||
$lang['conf_default_title'] = 'Configuração de display padrão para visitantes não registrados e novas contas';
|
||||
$lang['conf_default_language_info'] = 'língua padrão';
|
||||
$lang['conf_default_theme_info'] = 'tema padrão';
|
||||
$lang['conf_session_title'] = 'Configuração das sessões';
|
||||
$lang['conf_session_size'] = 'tamanho do identificador';
|
||||
$lang['conf_session_size_info'] = '- quanto maior o identificador, mais seguro é o seu site<br />- digite um número entre 4 e 50';
|
||||
$lang['conf_session_time'] = 'período de validade';
|
||||
$lang['conf_session_time_info'] = '- quanto mais curto o período de validade, mais seguro é o seu site<br />- digite um número entre 5 e 60, em minutos';
|
||||
$lang['conf_session_key'] = 'palavra-chave';
|
||||
$lang['conf_session_key_info'] = '- a palavra-chave da sessão melhora a codificação do identificador da sessão<br />- digite qualquer sentença menor que 255 caracteres';
|
||||
$lang['conf_session_delete'] = 'deletar sessões vencidas';
|
||||
$lang['conf_session_delete_info'] = 'é recomendado esvaziar a tabela da base de dados da sessão, porque sessões vencidas continuam na base de dados (mas não causa nenhum problema de segurança)';
|
||||
$lang['user_err_modify'] = 'Esse usuário não pode ser modificado ou deletado';
|
||||
$lang['user_err_unknown'] = 'Esse usuário não existe na base de dados';
|
||||
$lang['adduser_info_message'] = 'Informações registradas na base de dados para o usuário';
|
||||
$lang['adduser_info_password_updated'] = '(senha atualizada)';
|
||||
$lang['adduser_info_back'] = 'voltar para lista de usuários';
|
||||
$lang['adduser_fill_form'] = 'Por favor preencha o seguinte formulário';
|
||||
$lang['adduser_unmodify'] = 'não modificável';
|
||||
$lang['adduser_status'] = 'status';
|
||||
$lang['adduser_status_admin'] = 'admin';
|
||||
$lang['adduser_status_guest'] = 'visitante';
|
||||
$lang['permuser_info_message'] = 'Permissões registradas';
|
||||
$lang['permuser_title'] = 'Restrições para usuário';
|
||||
$lang['permuser_warning'] = 'Aviso : um "<span style="font-weight:bold;">acesso proibido</span>" a raíz de uma categoria previne o acesso de toda a categoria';
|
||||
$lang['permuser_authorized'] = 'autorizado';
|
||||
$lang['permuser_forbidden'] = 'proibido';
|
||||
$lang['permuser_parent_forbidden'] = 'categoria mãe proibida';
|
||||
$lang['listuser_confirm'] = 'Você quer realmente deletar este usuário';
|
||||
$lang['listuser_info_deletion'] = 'foi removido da base de dados';
|
||||
$lang['listuser_user_group'] = 'Grupo de usuários';
|
||||
$lang['listuser_modify'] = 'modificar';
|
||||
$lang['listuser_modify_hint'] = 'modificar informação de';
|
||||
$lang['listuser_permission'] = 'permissões';
|
||||
$lang['listuser_permission_hint'] = 'modificar permissões de';
|
||||
$lang['listuser_delete'] = 'deletar';
|
||||
$lang['listuser_delete_hint'] = 'deletar usuário';
|
||||
$lang['listuser_button_all'] = 'todos';
|
||||
$lang['listuser_button_invert'] = 'inverter';
|
||||
$lang['listuser_button_create_address'] = 'criar endereço de email';
|
||||
$lang['cat_invisible'] = 'invisível';
|
||||
$lang['cat_edit'] = 'Editar';
|
||||
$lang['cat_up'] = 'Subir';
|
||||
$lang['cat_down'] = 'Descer';
|
||||
$lang['cat_image_info'] = 'Informação das imagens';
|
||||
$lang['cat_total'] = 'total';
|
||||
$lang['editcat_confirm'] = 'Informação registrada na base de dados';
|
||||
$lang['editcat_back'] = 'categorias';
|
||||
$lang['editcat_title1'] = 'Opções para';
|
||||
$lang['editcat_name'] = 'Nome';
|
||||
$lang['editcat_comment'] = 'Comentário';
|
||||
$lang['editcat_status'] = 'Status';
|
||||
$lang['infoimage_general'] = 'Opções gerais para a categoria';
|
||||
$lang['infoimage_useforall'] = 'usar em todas as imagens ?';
|
||||
$lang['infoimage_creation_date'] = 'data de criação';
|
||||
$lang['infoimage_detailed'] = 'Opção para cada imagem';
|
||||
$lang['infoimage_title'] = 'título';
|
||||
$lang['infoimage_comment'] = 'comentário';
|
||||
$lang['update_missing_tn'] = 'a miniatura está faltando para';
|
||||
$lang['update_disappeared_tn'] = 'a miniatura desapareceu';
|
||||
$lang['update_disappeared'] = 'não existe';
|
||||
$lang['update_part_deletion'] = 'Deleção de imagens que não tem miniatura ou que não existem';
|
||||
$lang['update_deletion_conclusion'] = 'imagens removidas da base de dados';
|
||||
$lang['update_part_research'] = 'Procurar por novas imagens nos diretórios';
|
||||
$lang['update_research_added'] = 'adicionada';
|
||||
$lang['update_research_tn_ext'] = 'miniatura em';
|
||||
$lang['update_research_conclusion'] = 'imagens adicionadas a base de dados';
|
||||
$lang['update_default_title'] = 'Escolha um opção';
|
||||
$lang['update_only_cat'] = 'atualizar categorias e não as imagens';
|
||||
$lang['update_all'] = 'atualizar tudo';
|
||||
$lang['tn_width'] = 'comprimento';
|
||||
$lang['tn_height'] = 'altura';
|
||||
$lang['tn_no_support'] = 'Imagem fora de alcance ou sem suporte';
|
||||
$lang['tn_format'] = 'para o formato do arquivo';
|
||||
$lang['tn_thisformat'] = 'para esse formato de arquivo';
|
||||
$lang['tn_err_width'] = 'comprimento deve ser um número maior que';
|
||||
$lang['tn_err_height'] = 'altura deve ser um númeor maior que';
|
||||
$lang['tn_results_title'] = 'Resultados da miniaturização';
|
||||
$lang['tn_picture'] = 'imagem';
|
||||
$lang['tn_results_gen_time'] = 'gerada em';
|
||||
$lang['tn_stats'] = 'Estatísticas gerais';
|
||||
$lang['tn_stats_nb'] = 'número de imagens miniaturizadas';
|
||||
$lang['tn_stats_total'] = 'tempo total';
|
||||
$lang['tn_stats_max'] = 'tempo máximo';
|
||||
$lang['tn_stats_min'] = 'tempo mínimo';
|
||||
$lang['tn_stats_mean'] = 'tempo médio';
|
||||
$lang['tn_err'] = 'Você cometeu erros';
|
||||
$lang['tn_params_title'] = 'Parâmetros da miniaturização';
|
||||
$lang['tn_params_GD'] = 'Versão da GD';
|
||||
$lang['tn_params_GD_info'] = '- GD é a biblioteca de manipulação de imagens para PHP<br />-escolha a versão instalada no seu servidor. Se você escolher a versão errada, você apenas terá mensagens de erro, volte com o seu navegador e escolha a outra versão. Se nenhuma das versões funciona, significa que o seu servidor não suporta GD.';
|
||||
$lang['tn_params_width_info'] = 'comprimento máximo que as miniaturas podem tomar';
|
||||
$lang['tn_params_height_info'] = 'altura máxima que as miniaturas podem tomar';
|
||||
$lang['tn_params_create'] = 'criar';
|
||||
$lang['tn_params_create_info'] = 'Não tenta miniaturizar muitas imagens ao mesmo tempo.<br />Realmente, a miniaturização consume muito do CPU. Se você instalou PhpWebGallery num provedor de graça, uma carga muito pesada do CPU pode, algumas vezes, levar a deleção do seu website.';
|
||||
$lang['tn_params_format'] = 'formato do arquivo';
|
||||
$lang['tn_params_format_info'] = 'somente o formato jpeg é suportado para a criação de miniaturas';
|
||||
$lang['tn_alone_title'] = 'imagens sem miniatura (jpeg e png sommente)';
|
||||
$lang['tn_dirs_title'] = 'Lista de diretórios';
|
||||
$lang['tn_dirs_alone'] = 'imagens sem miniatura';
|
||||
$lang['help_images_title'] = 'Adicionando imagens';
|
||||
$lang['help_images_intro'] = 'Como colocar imagens no seus diretórios';
|
||||
$lang['help_images'][0] = 'no diretório "galleries", crie diretórios que irão representar as suas categorias';
|
||||
$lang['help_images'][1] = 'em cada diretório, você pode criar quantos sub-diretórios você quiser.';
|
||||
$lang['help_images'][2] = 'você pode criar quantas categorias e sub-categorias para cada categoria que você quiser';
|
||||
$lang['help_images'][3] = 'arquivos das imagens deve ser no fomrato jpeg (extensões jpg ou JPG), formato gif (extensões gif ou GIF) ou formato png (extensões png ou PNG).';
|
||||
$lang['help_images'][4] = 'tente não usar espaços em branco " " ou hífen "-" nos arquivos das imagens, Eu recomendo você usar o caractere de sublinhado "_" que é suportado pela PhpWebGallery e irá prover melhores resultados';
|
||||
$lang['help_thumbnails_title'] = 'Miniaturas';
|
||||
$lang['help_thumbnails'][0] = 'em cada diretório contendo imagens que serão mostradas no seu site, existe um sub-diretório chamado "thumbnail", se não existe, crie-o para por suas miniaturas dentro dele.';
|
||||
$lang['help_thumbnails'][1] = 'miniaturas não precisam ter a mesma extensão a imagem que associam (uma imagem com extensão .jpg pode ter uma miniatura em extensão .GIF por exemplo).';
|
||||
$lang['help_thumbnails'][2] = 'a miniatura associada a uma imagem deve ter um prefixo de acordo com o prefixo dado na página de configuração(image.jpg -> TN_image.GIF por exemplo).';
|
||||
$lang['help_thumbnails'][3] = 'Eu recomendo que você use o módulo para Windows que pode ser pego no site de apresentação da PhpWebGallery para a administração e criação de miniaturas.';
|
||||
$lang['help_thumbnails'][4] = 'você pode usar a página de criação de miniaturas integrada na PhpWebGallery, mas eu não recomendo você a fazer isso porque a qualidade das miniaturas poderão sair ruins e usa uma carga de CPU alta que pode ser um problema se você usa um servidor de graça.';
|
||||
$lang['help_thumbnails'][5] = 'se você decidir usar o seu provedor para criar miniaturas, você deve dar permissão 775 no diretório "galleries" e todos os seus sub-diretórios.';
|
||||
$lang['help_database_title'] = 'Atualizando a base de dados';
|
||||
$lang['help_database'][0] = 'uma vez que arquivos de imagens e miniaturas forem corretamente colocadas nos diretórios, clique em "Atualizar base de dados" no menu do painel de administração.';
|
||||
$lang['help_infos_title'] = 'Informações em geral';
|
||||
$lang['help_infos'][1] = 'Assim que você criar sua galeria, vá na lista de usuários e modifique as permissões para o usuário "convidado". Realmente, cada usuário novo registrado terá por padrão as mesmas permissões que o usuário "convidado".';
|
||||
$lang['help_remote_title'] = 'Site remoto';
|
||||
$lang['help_remote'][0] = 'PhpWebGallery oferece a possibilidade de usar vários servidores para guardar as imagens que farão a sua galeria. Pode ser útil se a sua galeria está instalada num lugar com espaço limitado e você tem uma grande quantidade de imagens para serem mostradas. Por favor, siga esse procedimento : ';
|
||||
$lang['help_remote'][1] = '1. edite o arquivo "create_listing_file.php" (você irá encontra-lo no diretório "admin"), modificando a linha "$prefix_thumbnail = "TN-";" se o prefixo das suas miniaturas não é "TN-".';
|
||||
$lang['help_remote'][2] = '2. coloque o arquivo "create_listing_file.php" modificado no seu website com imagens, no diretório raíz do seu diretórios de imagens (como o diretório "galleries" desse website) por ftp.';
|
||||
$lang['help_remote'][3] = '3. rode o script usando a url http://seuSiteComFotos/DiretórioDasImagens/create_listing_file.php, e o arquivo listing.xml irá ser criado.';
|
||||
$lang['help_remote'][4] = '4. pegue o arquivo listing.xml do site e coloque no diretório "admin" desse website.';
|
||||
$lang['help_remote'][5] = '5. por favor, de uma atualização dos dados das imagen pela interface de administração, uma vez usado o arquivo listing.xml, delete-o do diretório "admin".';
|
||||
$lang['help_remote'][6] = 'Você pode atualizar o conteúdo de um website distante apenas refazendo os passos acima. Você também pode retirar um website distante escolhendo a opção na seção de configuração do painel de administração.';
|
||||
$lang['help_upload_title'] = 'Imagens adicionadas por usuários';
|
||||
$lang['help_upload'][0] = 'PhpWebGallery oferece a possibilidade para usuários adicionarem imagens. para faze-lo :';
|
||||
$lang['help_upload'][1] = '1. autorize a opção na zona de configuração do painel de administração';
|
||||
$lang['help_upload'][2] = '2. autoriza os direitos de escrita nos diretórios das imagens';
|
||||
$lang['install_message'] = 'Mensagem';
|
||||
$lang['step1_confirmation'] = 'Parametros estão corretos';
|
||||
$lang['step1_err_db'] = 'Conexão ao servidor feita com sucesso, mas foi impossível conectar a base de dados';
|
||||
$lang['step1_err_server'] = 'Não foi possível conectar ao servidor';
|
||||
$lang['step1_err_copy_2'] = 'O próximo passo da instalação está disponível';
|
||||
$lang['step1_err_copy_next'] = 'próximo passo';
|
||||
$lang['step1_title'] = 'Passo 1/2';
|
||||
$lang['step1_host'] = 'MySQL host';
|
||||
$lang['step1_host_info'] = 'localhost, sql.multimania.com, toto.freesurf.fr';
|
||||
$lang['step1_user'] = 'usuário';
|
||||
$lang['step1_user_info'] = 'login do usuário provido pelo seu servidor';
|
||||
$lang['step1_pass'] = 'Senha';
|
||||
$lang['step1_pass_info'] = 'senha do usuário provido pelo seu servidor';
|
||||
$lang['step1_database'] = 'Nome da base de dados';
|
||||
$lang['step1_database_info'] = 'também provido pelo seu servidor';
|
||||
$lang['step1_prefix'] = 'Prefixo da tabela na base de dados';
|
||||
$lang['step1_prefix_info'] = 'os nomes das tabelas na base de dados terão esse prefixo (possibilita uma melhor administração de suas tabelas)';
|
||||
$lang['step2_err_login1'] = 'digite um nome de usuário para o webmaster';
|
||||
$lang['step2_err_login3'] = 'nome de usuário do webmaster não pode conter caracteres como \' or "';
|
||||
$lang['step2_err_pass'] = 'por favor digite sua senha de novo';
|
||||
$lang['step2_err_mail'] = $lang['conf_err_mail'];
|
||||
$lang['install_end_title'] = 'Instalação completa';
|
||||
$lang['install_end_message'] = 'A configuração da PhpWebGallery terminou, aqui está o próximo passo<br /><br />
|
||||
Por razões de segurança, por favor delete o arquivo "install.php" no diretório "admin"<br />
|
||||
Feito isso, siga essas instruções :
|
||||
<ul>
|
||||
<li>vá para a página de identificação : [ <a href="../identification.php">identificação</a> ] e use o nome de usuário/senha dada para o webmaster</li>
|
||||
<li>esse nome de usuário irá possibilitar você acessar o [ <a href="admin.php">painel de administração</a> ] e as instruções para por as imagens nos seus diretórios</li>
|
||||
</ul>';
|
||||
$lang['step2_title'] = 'Passo 2/2';
|
||||
$lang['step2_pwd'] = 'senha do webmaster';
|
||||
$lang['step2_pwd_info'] = 'Mantenha confidencial, permite você acessar o painel de administração';
|
||||
$lang['step2_pwd_conf'] = 'confirmar senha';
|
||||
$lang['step2_pwd_conf_info'] = 'verificação';
|
||||
// new or modified in release 1.3
|
||||
$lang['remote_site'] = 'Site remoto';
|
||||
$lang['title_add'] = 'Adicionar usuário';
|
||||
$lang['title_modify'] = 'Modificar um usuário';
|
||||
$lang['title_groups'] = 'Administração de grupos';
|
||||
$lang['title_user_perm'] = 'Modificar permissões para usuário';
|
||||
$lang['title_cat_perm'] = 'Modificar permissões para categoria';
|
||||
$lang['title_group_perm'] = 'Modificar permissões para grupo';
|
||||
$lang['title_picmod'] = 'Modificar informações sobre uma imagem';
|
||||
$lang['menu_groups'] = 'Grupos';
|
||||
$lang['menu_comments'] = 'Comentários';
|
||||
$lang['conf_general_log'] = 'histórico';
|
||||
$lang['conf_general_log_info'] = 'Manter um histórico de visitas no seu website ? As visitas serão mostradas na seção do histórico no painel de administração';
|
||||
$lang['conf_general_mail_notification'] = 'Notificação por email';
|
||||
$lang['conf_general_mail_notification_info'] = 'Notificação automática por email para administradores (e somente para eles) quando um usuário adiciona um comentário ou uma imagem.';
|
||||
$lang['conf_comments_validation'] = 'validação';
|
||||
$lang['conf_comments_validation_info'] = 'Um administrador valida os comentários adicionados por usuários antes de eles serem tornado visíveis no site';
|
||||
$lang['conf_comments_forall'] = 'para todos ?';
|
||||
$lang['conf_comments_forall_info'] = 'Até mesmo convidados não registrados podem colocar comentários';
|
||||
$lang['conf_default_nb_image_per_row_info'] = 'número de imagens por cada linha como padrão';
|
||||
$lang['conf_default_nb_row_per_page_info'] = 'número de linhas por página como padrão';
|
||||
$lang['conf_default_short_period_info'] = 'Por dias. Período com que uma figura é mostrada com uma marca vermelha. O período curto deve ser superior a 1 dia.';
|
||||
$lang['conf_default_long_period_info'] = 'Por dias. Período com que uma figura é mostrada com uma marca verde. O longo período deve ser superior ao curto período.';
|
||||
$lang['conf_default_expand_info'] = 'expandir todas as categorias como padrão no menu ?';
|
||||
$lang['conf_default_show_nb_comments_info'] = 'mostra o número de comentários para cada imagem na página de f comments for each picture on the thumbnails page';
|
||||
$lang['conf_default_maxwidth_info'] = 'Comprimento máximo para a mostra das imagens : a imagem terá um novo comprimento somente para mostra, o arquivo da imagem não será modificado. Deixe em branco se você não deseja um limite.';
|
||||
$lang['conf_default_maxheight_info'] = 'Assim como o comprimento máximo, mas para a altura';
|
||||
$lang['conf_session_cookie'] = 'autorizar cookies';
|
||||
$lang['conf_session_cookie_info'] = 'usuários não terão que fazer login em cada visita. Menos seguro.';
|
||||
$lang['adduser_associate'] = 'Associar ao group';
|
||||
$lang['group_add'] = 'Adicionar um grupo';
|
||||
$lang['group_add_error1'] = 'O nome de um grupo não pode conter " ou \'';
|
||||
$lang['group_add_error2'] = 'Esse nome já está sendo usado por outro grupo';
|
||||
$lang['group_confirm'] = 'Você tem certeza que deseja remover esse grupo ?';
|
||||
$lang['group_list_title'] = 'Lista de grupos existentes';
|
||||
$lang['group_err_unknown'] = 'Esse grupo não existe na base de dados';
|
||||
$lang['cat_permission'] = 'permissões';
|
||||
$lang['cat_update'] = 'atualizar';
|
||||
$lang['cat_add'] = 'Adicionar uma categoria virtual';
|
||||
$lang['cat_parent'] = 'categoria mãe';
|
||||
$lang['cat_error_name'] = 'O nome da categoria não pode ficar vazio';
|
||||
$lang['cat_virtual'] = 'virtual';
|
||||
$lang['cat_first'] = 'Mover pro topo';
|
||||
$lang['cat_last'] = 'Mover pro fim';
|
||||
$lang['editcat_visible_info'] = '(invisível exceto para administradores)';
|
||||
$lang['editcat_visible'] = 'Visível';
|
||||
$lang['editcat_uploadable'] = 'Upload disponível';
|
||||
$lang['infoimage_keyword_separation'] = '(separe com uma vírgula ",")';
|
||||
$lang['infoimage_addtoall'] = 'adicionar a todos';
|
||||
$lang['infoimage_removefromall'] = 'remover de todos';
|
||||
$lang['infoimage_associate'] = 'Associar a categoria';
|
||||
$lang['update_wrong_dirname'] = 'O nome dos diretórios e arquivos deve ser composto de letras, símbolos, "-", "_" ou "."';
|
||||
$lang['stats_pages_seen'] = 'páginas visitadas';
|
||||
$lang['stats_visitors'] = 'convidados';
|
||||
$lang['stats_empty'] = 'limpar histórico';
|
||||
$lang['stats_pages_seen_graph_title'] = 'Númeor de páginas visitadas por dia';
|
||||
$lang['stats_visitors_graph_title'] = 'Número de visitantes por dia';
|
||||
$lang['comments_last_title'] = 'Últimos comentários';
|
||||
$lang['comments_non_validated_title'] = 'Comentários esperando por validação';
|
||||
$lang['help_database'][1] = 'Para evitar a atualização de muitas imagens em uma só atualização, Eu recomendo começar atualizando somente categorias, daí na seção de categorias do painel de administração, atualize cada categoria graças ao link "atualizar"';
|
||||
$lang['help_upload'][3] = 'A categoria deve ter a adição de imagens disponível para adicionar imagens.';
|
||||
$lang['help_upload'][4] = 'Imagens adicionadas por usuários não são diretamente visíveis no website, elas tem que ser validadas por um administrador. Para isso, um administrador deve ir na página "Espera" no painel de administração, para validar ou recusar a imagem proposta, daí atuzalizar os dados da imagem.';
|
||||
$lang['help_virtual_title'] = 'Links entre imagens, categorias e categorias virtuais';
|
||||
$lang['help_virtual'][0] = 'PhpWebGallery pode disassociar categorias aonde imagens estão guardadas e categorias aonde imagens são mostradas.';
|
||||
$lang['help_virtual'][1] = 'Por padrão, as imagens são mostradas somente na suas categorias reais : aquelas correspondente aos diretórios no servidor de internet.';
|
||||
$lang['help_virtual'][2] = 'Para criar um link entre uma foto e uma categoria, você tem que somente fazer a associação na página de informações da imagems ou na informação de todas as imagens de uma categoria.';
|
||||
$lang['help_virtual'][3] = 'Usando esse princípio, é possível criar categorias virtuais nas PhpWebGallery : nenhum diretório real corresponde a essa categoria. Você só tem que criar essa categoria na seção "categorias" no painel de administração.';
|
||||
$lang['help_groups_title'] = 'Grupos de usuários';
|
||||
$lang['help_groups'][0] = 'PhpWebGallery pode administrar grupos de usuários. Pode ser muito útil ter permissão de acesso comun para categorias privadas.';
|
||||
$lang['help_groups'][1] = '1. Crie o grupo "familia" na seção "Grupos" do painel de admiistração.';
|
||||
$lang['help_groups'][2] = '2. Na seção "Usuários", edite um deles e associe ao grupo "familia".';
|
||||
$lang['help_groups'][3] = '3. Modificando as permissões para uma categoria ou para um grupo, você pode ver que todas as categorias acessiveis por um grupo serão acessiveis por seus membros.';
|
||||
$lang['help_groups'][4] = 'Um usuário pode pertencer a vários grupos. A autorização é mais forte que a proibição : se um usuário "jõao" pertence ao grupo "familia" e "amigos", e se somente o grupo "familia" pode ver a categoria "Natal 2003", "jõao" poderá ver "Natal 2003".';
|
||||
$lang['help_access_title'] = 'Autorização de acesso';
|
||||
$lang['help_access'][0] = 'PhpWebGallery pode proibir o acesso a categorias. Categorias podem ser "pública" ou "privada". Para proibir acesso a uma categoria :';
|
||||
$lang['help_access'][1] = '1. Modifique as informações da categoria (da seção "categorias" no painel de administração) e faça-o "privado".';
|
||||
$lang['help_access'][2] = '2. Na página de permissões (para um grupo ou usuário) a categoria privada será mostrada e você poderá autorizar o acesso ou não.';
|
||||
$lang['help_infos'][2] = 'Se você tem alguma pergunta, não pense duas vezes para dar uma olhada no forum ou perguntar aqui. O <a href="'.$conf['forum_url'].'" style="text-decoration:underline">forum</a> (board de mensagens) está disponível no site de apresentação do PhpWebGallery.';
|
||||
$lang['step1_err_copy'] = 'Copie o texto entre hífens e cole no arquivo "include/mysql.inc.php"(Aviso : mysql.inc.php deve conter somente o que está em azul, nenhum pulo de linha ou espaço)';
|
||||
$lang['permuser_only_private'] = 'Somente categorias privadas são mostradas';
|
||||
$lang['waiting_update'] = 'Imagens validadas serão mostradas somente depois de atualizar a base de dados';
|
||||
$lang['conf_upload_available_info'] = 'Autorizar a adição de imagens por usuários na categorias do website (não em um servidor remoto). Esse é um parametro geral, é preciso para autorizar a adição de categoria por categoria, por padrão, nenhuma categoria é "adicionável".';
|
||||
$lang['install_help'] = 'Precisa de ajuda ? Faça a sua pergunta em <a href="http://forum.phpwebgallery.net">Board de mensagens do PhpWebGallery</a>.';
|
||||
$lang['install_warning'] = 'O arquivo "admin/install.php" ainda está presente. Por favor remova-o do seu servidor. Não é seguro mante-lo.';
|
||||
// new or modified in release 1.3.1
|
||||
$lang['cat_unknown_id'] = 'Essa categoria é desconhecida na base de dados';
|
||||
}
|
||||
?>
|
614
language/russian.php
Normal file
614
language/russian.php
Normal file
|
@ -0,0 +1,614 @@
|
|||
<?php
|
||||
/***************************************************************************
|
||||
* russian.php *
|
||||
* ------------------- *
|
||||
* application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* 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; *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
$lang['only_members'] = "Только зарегистрированные пользователи могут обратиться к этой странице";
|
||||
$lang['invalid_pwd'] = "Недопустимый пароль!";
|
||||
$lang['access_forbiden'] = "Вы не уполномочены обратиться к этой странице";
|
||||
$lang['submit'] = "Submit";
|
||||
$lang['login'] = "вход в систему";
|
||||
$lang['password'] = "пароль";
|
||||
$lang['new'] = "новый";
|
||||
$lang['delete'] = "удалить";
|
||||
$lang['category'] = "категория";
|
||||
$lang['thumbnail'] = "эскиз";
|
||||
$lang['date'] = "дата";
|
||||
|
||||
$lang['diapo_default_page_title'] = "Категория не выделена";
|
||||
$lang['thumbnails'] = "Эскизы";
|
||||
$lang['categories'] = "Категории";
|
||||
$lang['hint_category'] = "просмотреть изображения из корня этой категории";
|
||||
$lang['total_images'] = "общее количество";
|
||||
$lang['title_menu'] = "Меню";
|
||||
$lang['change_login'] = "сменить имя входа в систему";
|
||||
$lang['login'] = "вход в систему";
|
||||
$lang['hint_login'] = "идентификация допускает настройку вида сайта";
|
||||
$lang['logout'] = "выход из системы";
|
||||
$lang['customize'] = "настроить";
|
||||
$lang['hint_customize'] = "настройка вида галереи";
|
||||
$lang['hint_search'] = "поиск";
|
||||
$lang['search'] = "поиск";
|
||||
$lang['favorite_cat'] = "избранное";
|
||||
$lang['favorite_cat_hint'] = "отобразить избранное";
|
||||
$lang['about'] = "о движке";
|
||||
$lang['hint_about'] = "подробная информация относительно PhpWebGallery...";
|
||||
$lang['admin'] = "admin";
|
||||
$lang['hint_admin'] = "доступно только для администраторов";
|
||||
$lang['no_category'] = "Категория не выбрана.<br />Пожалуйста выберите ее в меню.";
|
||||
$lang['page_number'] = "номер страницы";
|
||||
$lang['previous_page'] = "Предыдущее";
|
||||
$lang['next_page'] = "Следующее";
|
||||
$lang['nb_image_category'] = "количество изображений в этой категории";
|
||||
|
||||
$lang['recent_image'] = "Выложено не более";
|
||||
$lang['days'] = "дней назад";
|
||||
$lang['send_mail'] = "Комментарии шлите на эл. почту ";
|
||||
$lang['title_send_mail'] = "Комментарий относительно фотогалереи на вашем сайте";
|
||||
$lang['sub-cat'] = "подкатегории";
|
||||
$lang['images_available'] = "изображений в этой категории";
|
||||
$lang['total'] = "изображений";
|
||||
$lang['upload_picture'] = "Загрузить изображение";
|
||||
|
||||
$lang['registration_date'] = "зарегистрировано";
|
||||
$lang['creation_date'] = "создано";
|
||||
$lang['comment'] = "комментарий";
|
||||
$lang['author'] = "автор";
|
||||
$lang['size'] = "размер";
|
||||
$lang['filesize'] = "размер файла";
|
||||
$lang['file'] = "файл";
|
||||
$lang['generation_time'] = "Страница создана";
|
||||
$lang['favorites'] = "Избранное";
|
||||
$lang['search_result'] = "Результаты поиска";
|
||||
|
||||
// about page
|
||||
$lang['about_page_title'] = "Про PhpWebGallery";
|
||||
$lang['about_title'] = "О движке галереи...";
|
||||
$lang['about_message'] = "<div style=\"text-align:center;font-weigh:bold;\">Информация о PhpWebGallery</div>
|
||||
<ul>
|
||||
<li>Это разработка вебсайта <a href=\"".$conf['site_url']."\" style=\"text-decoration:underline\">PhpWebGallery</a> version ".$conf['version'].". PhpWebGallery является сетевым приложением предоставляющим Вам возможность легко создать сетевую галерею изображений.</li>
|
||||
<li>Технически, PhpWebGallery полностью разработан на базе PHP (elePHPant) с использоанием MySQL сервера баз данных (the SQuirreL).</li>
|
||||
<li>Если Вы имеете какие-то предложения или комментарии, пожалуйста посетите <a href=\"".$conf['site_url']."\" style=\"text-decoration:underline\">PhpWebGallery</a> официальный сайт, и его специализированный <a href=\"".$conf['forum_url']."\" style=\"text-decoration:underline\">форум</a>.</li>
|
||||
|
||||
</ul>";
|
||||
$lang['about_return'] = "назад";
|
||||
|
||||
// identification page
|
||||
$lang['ident_page_title'] = "Идентификация";
|
||||
$lang['ident_title'] = "Идентификация";
|
||||
|
||||
$lang['ident_register'] = "Регистрация";
|
||||
$lang['ident_forgotten_password'] = "Забыли ваш пароль?";
|
||||
$lang['ident_guest_visit'] = "Зайдите на галерею как посетитель";
|
||||
|
||||
// page personnalisation
|
||||
$lang['customize_page_title'] = "Настройка";
|
||||
$lang['customize_title'] = "Настройка";
|
||||
$lang['customize_nb_image_per_row'] = "Количество изображений в строке";
|
||||
$lang['customize_nb_row_per_page'] = " Количество строк на странице";
|
||||
|
||||
$lang['customize_language'] = "Язык";
|
||||
|
||||
$lang['maxwidth'] = "Максимальная ширина изображений";
|
||||
$lang['maxheight'] = "Максимальная высота изображений";
|
||||
$lang['err_maxwidth'] = "максимальной шириной должно быть число, превосходящее 50";
|
||||
$lang['err_maxheight'] = " максимальной высотой должно быть число, превосходящее 50";
|
||||
|
||||
// photo page
|
||||
$lang['previous_image'] = "Предыдущее";
|
||||
$lang['next_image'] = "Следующее";
|
||||
$lang['back'] = "Нажмите на изображение, чтобы возвратиться к странице эскизов";
|
||||
$lang['info_image_title'] = "Информация изображения";
|
||||
$lang['link_info_image'] = "Изменить информацию";
|
||||
$lang['true_size'] = "Реальный размер";
|
||||
$lang['comments_title'] = "Комментарии от пользователей сайта";
|
||||
$lang['comments_del'] = "удалить этот комментарий";
|
||||
$lang['comments_add'] = "Добавить комментарий";
|
||||
$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['month'][10] = "Октябрь";
|
||||
$lang['month'][11] = "Ноябрь";
|
||||
$lang['month'][12] = "Декабрь";
|
||||
$lang['day'][0] = "Воскресенье";
|
||||
$lang['day'][1] = "Понедельник";
|
||||
$lang['day'][2] = "Вторник";
|
||||
$lang['day'][3] = "Среда";
|
||||
$lang['day'][4] = "Четверг";
|
||||
$lang['day'][5] = "Пятница";
|
||||
$lang['day'][6] = "Суббота";
|
||||
|
||||
$lang['add_favorites_alt'] = "Добавить к избранному";
|
||||
$lang['add_favorites_hint'] = "Добавить это изображение к вашему избранному";
|
||||
$lang['del_favorites_alt'] = "Удалить из избранного";
|
||||
$lang['del_favorites_hint'] = "Удалить это изображение из избранного";
|
||||
|
||||
// page register
|
||||
$lang['register_page_title'] = "Регистрация";
|
||||
$lang['register_title'] = " Регистрация";
|
||||
$lang['reg_err_login1'] = "Пожалуйста, введите имя входа в систему";
|
||||
$lang['reg_err_login2'] = "имя входа в систему не должно закончиться пробелом";
|
||||
$lang['reg_err_login3'] = "имя входа в систему не должно начаться с пробела";
|
||||
$lang['reg_err_login4'] = "имя входа в систему не должно содержать символы \" и '";
|
||||
$lang['reg_err_login5'] = "это имя входа в систему уже используется";
|
||||
$lang['reg_err_pass'] = "пожалуйста введите ваш пароль еще раз";
|
||||
$lang['reg_confirm'] = "еще раз";
|
||||
$lang['reg_mail_address'] = "адрес электронной почты";
|
||||
$lang['reg_err_mail_address'] = " адрес электронной почты должен быть похож на xxx@yyy.eee (пример: jack@altern.org)";
|
||||
|
||||
// page search
|
||||
$lang['search_title'] = "Поиск";
|
||||
$lang['invalid_search'] = "поиск ведется по 3 символам и больше";
|
||||
$lang['search_field_search'] = "Поиск";
|
||||
$lang['search_return_main_page'] = "Возвратиться к странице эскизов";
|
||||
|
||||
// page upload
|
||||
$lang['upload_forbidden'] = "Вы не можете загрузить изображения в эту категории";
|
||||
$lang['upload_file_exists'] = "Имя изображения, уже используется";
|
||||
$lang['upload_filenotfound'] = "Вы должны выбрать формат файла для изображения";
|
||||
$lang['upload_cannot_upload'] = "не может передать изображение на сервер";
|
||||
$lang['upload_title'] = "Изображение загружено";
|
||||
$lang['upload_advise'] = "Выберите изображение, чтобы разместить в категорию : ";
|
||||
$lang['upload_advise_thumbnail'] = "Дополнительно рекомендуется: выберите эскиз, чтобы связать его с ";
|
||||
$lang['upload_advise_filesize'] = "размер файла изображения не должен превышать : ";
|
||||
$lang['upload_advise_width'] = "ширина изображения не должна превышать : ";
|
||||
$lang['upload_advise_height'] = "высота изображения не должна превышать : ";
|
||||
$lang['upload_advise_filetype'] = "изображение должно быть форматов jpg, gif или png";
|
||||
$lang['upload_err_username'] = "необходимо задать имя пользователя ";
|
||||
$lang['upload_username'] = "Имя пользователя";
|
||||
$lang['upload_successful'] = "Изображение передано успешно. Администратор проверит правильность этого как можно скорее";
|
||||
|
||||
// new or modified in release 1.3
|
||||
$lang['charset'] = 'windows-1251';
|
||||
$lang['no'] = 'нет';
|
||||
$lang['yes'] = 'да';
|
||||
$lang['guest'] = 'гость';
|
||||
$lang['mail_address'] = 'адрес электронной почты';
|
||||
$lang['public'] = 'общее';
|
||||
$lang['private'] = 'частное';
|
||||
$lang['add'] = 'создать';
|
||||
$lang['dissociate'] = 'отделить';
|
||||
$lang['mandatory'] = 'обязательный';
|
||||
$lang['err_date'] = 'неправильная дата';
|
||||
$lang['picture'] = 'изображение';
|
||||
$lang['IP'] = 'IP';
|
||||
$lang['close'] = 'закрыть';
|
||||
$lang['open'] = 'открыть';
|
||||
$lang['keywords'] = 'ключевое слово';
|
||||
$lang['errors_title'] = 'Ошибка';
|
||||
$lang['infos_title'] = 'Информация';
|
||||
$lang['default'] = 'по умолчанию';
|
||||
$lang['comments'] = 'комментарии';
|
||||
$lang['category_representative'] = 'представить';
|
||||
$lang['stats'] = 'статистика';
|
||||
$lang['most_visited_cat_hint'] = 'показать последние посещенные изображения';
|
||||
$lang['most_visited_cat'] = 'последних посещений';
|
||||
$lang['best_rated_cat_hint'] = 'показать изображения с лучшим рейтингом';
|
||||
$lang['best_rated_cat'] = 'лучший рейтинг';
|
||||
$lang['recent_cat_hint'] = 'показать наиболее посещаемые изображения';
|
||||
$lang['recent_cat'] = 'наиболее посещаемые';
|
||||
$lang['recent_cat_title'] = 'Последние изображения';
|
||||
$lang['visited'] = 'посещений';
|
||||
$lang['times'] = 'время';
|
||||
$lang['customize_theme'] = 'Тема интерфейса';
|
||||
$lang['conf_default_theme_info'] = 'тема оформления по умолчанию';
|
||||
|
||||
$lang['customize_expand'] = 'Развернуть все категории';
|
||||
$lang['customize_show_nb_comments'] = 'Показывать количество комментариев';
|
||||
$lang['customize_short_period'] = 'Короткий период';
|
||||
$lang['customize_long_period'] = 'Длительный период';
|
||||
$lang['customize_template'] = 'тема оформления';
|
||||
$lang['err_periods'] = 'период должен быть целым числом';
|
||||
$lang['err_periods_2'] = 'период должен быть больше 0. Длительный период должен быть больше короткого периода.';
|
||||
$lang['create_cookie'] = 'создать cookie';
|
||||
$lang['customize_day'] = 'день';
|
||||
$lang['customize_week'] = 'неделя';
|
||||
$lang['customize_month'] = 'месяц';
|
||||
$lang['customize_year'] = 'год';
|
||||
$lang['slideshow'] = 'слайдшоу';
|
||||
$lang['period_seconds'] = '(задержка)';
|
||||
$lang['slideshow_stop'] = 'остановить слайдшоу';
|
||||
$lang['comment_added'] = 'Ваш комментарий был зарегистрирован';
|
||||
$lang['comment_to_validate'] = 'Администратор должен авторизовать ваши комментарии прежде чем они станут видны.';
|
||||
$lang['comment_anti-flood'] = 'Анти-флудинговая система: пожалуйста подождите перед вводом следующего комментария';
|
||||
$lang['comment_user_exists'] = 'Это ИМЯ уже используется другим пользователем';
|
||||
$lang['invalid_search'] = 'Искомые слова должны содержать более 3-х символови не содержать знаков пунктуации';
|
||||
$lang['search_mode_or'] = 'одно из слов';
|
||||
$lang['search_mode_and'] = 'все слова';
|
||||
$lang['search_comments'] = 'separate different words with spaces';
|
||||
$lang['upload_name'] = 'Имя изображения';
|
||||
$lang['upload_author'] = 'Автор';
|
||||
$lang['upload_creation_date'] = 'Дата создания (DD/MM/YYYY)';
|
||||
$lang['upload_comment'] = 'Комментарий';
|
||||
$lang['mail_hello'] = 'Привет,';
|
||||
$lang['mail_new_upload_subject'] = 'Новые изображения на сайте';
|
||||
$lang['mail_new_upload_content'] = 'A new picture has been uploaded on the gallery. It is waiting for your validation. Let\'s meet in the administration panel to authorize or refuse this picture.';
|
||||
$lang['mail_new_comment_subject'] = 'Новые комментарии на сайте';
|
||||
$lang['mail_new_comment_content'] = 'Зарегистрированы новые комментарии в галерее. If you chose to validate each comment, you first have to validate this comment in the administration panel to make it visible in the gallery.'."\n\n".'Вы можете посмотреть новые комментарии в панели администратора';
|
||||
$lang['connected_user'] = 'Подключен пользователь -';
|
||||
$lang['title_comments'] = 'Пользовательские комментарии';
|
||||
$lang['stats_last_days'] = 'последних дней';
|
||||
$lang['hint_comments'] = 'Посмотреть последние комментарии пользователей';
|
||||
$lang['menu_login'] = 'идентификация';
|
||||
//-------------------------------------------------------------- administration
|
||||
if ( $isadmin )
|
||||
{
|
||||
$lang['title_add'] = "Добавить/Изменить имя пользователя";
|
||||
$lang['title_liste_users'] = "Список пользователей";
|
||||
$lang['title_history'] = "История";
|
||||
$lang['title_update'] = "Обновить базу данных";
|
||||
$lang['title_configuration'] = "Параметры PhpWebGallery";
|
||||
$lang['title_instructions'] = "Инструкции";
|
||||
$lang['title_categories'] = "Управление категориями";
|
||||
$lang['title_edit_cat'] = "Редактирование категории";
|
||||
$lang['title_info_images'] = "Изменить информацию изображения категории";
|
||||
$lang['title_thumbnails'] = "Создать эскизы";
|
||||
$lang['title_thumbnails_2'] = "для";
|
||||
$lang['title_default'] = "Администрирование PhpWebGallery";
|
||||
|
||||
$lang['menu_title'] = "Администрирование";
|
||||
$lang['menu_config'] = "Параметры";
|
||||
$lang['menu_users'] = "Пользователи";
|
||||
$lang['menu_add_user'] = "добавить";
|
||||
$lang['menu_list_user'] = "список";
|
||||
$lang['menu_categories'] = "Категории";
|
||||
$lang['menu_update'] = "Обновление базы данных";
|
||||
$lang['menu_thumbnails'] = "Эскизы";
|
||||
$lang['menu_history'] = "История";
|
||||
$lang['menu_instructions'] = "Инструкции";
|
||||
$lang['menu_back'] = "Назад на фотоальбом";
|
||||
$lang['title_waiting'] = "Изображения, ожидающие проверки";
|
||||
$lang['menu_waiting'] = "Ожидание";
|
||||
|
||||
$lang['default_message'] = "Панель администратора PhpWebGallery";
|
||||
|
||||
// page de configuration
|
||||
$lang['conf_err_prefixe'] = "префикс эскиза не должен содержать символов с диакритическими знаками";
|
||||
$lang['conf_err_mail'] = "адрес электронной почты некорректен. Должен быть похож на name@server.com";
|
||||
|
||||
$lang['conf_err_sid_size'] = "размер идентификатора сеанса должен быть целочисленным значением между 4 и 50";
|
||||
$lang['conf_err_sid_time'] = "время сеанса должно быть целочисленным значением между 5 и 60";
|
||||
$lang['conf_err_max_user_listbox'] = "максимальное количество пользователей должно быть целочисленным значением между 0 и 255";
|
||||
$lang['conf_confirmation'] = "Информация зарегистрирована в базе данных";
|
||||
|
||||
$lang['conf_general_title'] = "Основная конфигурация";
|
||||
$lang['conf_general_webmaster'] = "Логин вебмастера";
|
||||
$lang['conf_general_webmaster_info'] = "это будет показано посетителям. Необходимо для администрирования вебсайта";
|
||||
$lang['conf_general_mail'] = "Адрес почты вебмастера";
|
||||
$lang['conf_general_mail_info'] = "посетители могут контактировать посредством этой электронной почты";
|
||||
$lang['conf_general_prefix'] = "Префикс имен файлов эскизов";
|
||||
$lang['conf_general_prefix_info'] = "эскизы используют этот префикс (не изменяйте если не уверенны).";
|
||||
|
||||
$lang['conf_general_access'] = "Тип доступа";
|
||||
$lang['conf_general_access_1'] = "свободно";
|
||||
$lang['conf_general_access_2'] = "ограничено";
|
||||
$lang['conf_general_access_info'] = "- свободно: любой может вести сайт, любой посетитель может создать учетную запись, чтобы настроить вид вебсайта<br />- ограничено: web-мастер создает учетные записи. Только зарегистрированные пользователи могут вести сайт";
|
||||
$lang['conf_general_max_user_listbox'] = "Максимальный размер окна списка пользователей";
|
||||
$lang['conf_general_max_user_listbox_info'] = "- это - максимальное число пользователей, которых PhpWebGallery отображают в окне списка вместо простого текстового поля на идентифицирующей странице<br />- введите число между 0 и 255, 0 используется, если Вы хотите отображать только окно списка";
|
||||
|
||||
$lang['conf_comments'] = "Комментарии пользователей";
|
||||
$lang['conf_comments_title'] = "Конфигурация ".$lang['conf_comments'];
|
||||
$lang['conf_comments_show_comments'] = $lang['conf_comments'];
|
||||
$lang['conf_comments_show_comments_info'] = "отображать комментарии пользователей под каждым изображением ?";
|
||||
$lang['conf_comments_comments_number'] = "Количество комментариев на странице";
|
||||
$lang['conf_comments_comments_number_info'] = "количество комментариев, отображаемых на каждой странице. Это число неограниченно для изображения. Введите число между 5 и 50.";
|
||||
$lang['conf_err_comment_number'] = "Количество комментариев на странице должно быть между 5 и 50.";
|
||||
|
||||
$lang['conf_remote_site_delete_info'] = "Удаление отдаленного сервера удалит все изображение и категории, относящиеся к этому серверу.";
|
||||
$lang['conf_upload_title'] = "Параметры пользовательской загрузки файлов";
|
||||
$lang['conf_upload_available'] = "Авторизовать для загрузки изображений";
|
||||
$lang['conf_upload_available_info'] = "авторизация загрузки изображений пользователями в категории вебсайта (не на отдаленном сервере).";
|
||||
$lang['conf_upload_maxfilesize'] = "Максимальный размер файла";
|
||||
$lang['conf_upload_maxfilesize_info'] = "максимальный размер файла для передаваемых изображений. Должно быть числом от 10 до 1000 Kb.";
|
||||
$lang['conf_err_upload_maxfilesize'] = "Максимальный размер файла для передаваемых изображений должен быть числом от 10 до 1000 Kb.";
|
||||
|
||||
|
||||
$lang['conf_upload_maxwidth'] = "Максимальная ширина";
|
||||
$lang['conf_upload_maxwidth_info'] = "максимальная ширина, разрешенная для переданных изображений. Должна быть числом, превосходящим 10 пикселей";
|
||||
$lang['conf_err_upload_maxwidth'] = "Максимальная ширина, разрешенная для переданных изображений, должна быть числом, превосходящим 10 пикселей ";
|
||||
$lang['conf_upload_maxheight'] = "Максимальная высота";
|
||||
$lang['conf_upload_maxheight_info'] = "максимальная высота, разрешенная для переданных изображений. Должна быть числом, превосходящим 10 пикселей";
|
||||
$lang['conf_err_upload_maxwidth'] = "Максимальная высота, разрешенная для переданных изображений, должна быть числом, превосходящим 10 пикселей ";
|
||||
$lang['conf_upload_maxwidth_thumbnail'] = "Максимальная ширина эскизов";
|
||||
$lang['conf_upload_maxwidth_thumbnail_info'] = "максимальная ширина, разрешенная для переданных эскизов. Должна быть числом, превосходящим 10 пикселей";
|
||||
$lang['conf_err_upload_maxwidth_thumbnail'] = "Максимальная ширина, разрешенная для переданных эскизов, должна быть числом, превосходящим 10 пикселей";
|
||||
$lang['conf_upload_maxheight_thumbnail'] = "Максимальная высота эскизов";
|
||||
$lang['conf_upload_maxheight_thumbnail_info'] = "максимальная высота, разрешенная для переданных эскизов. Должна быть числом, превосходящим 10 пикселей ";
|
||||
$lang['conf_err_upload_maxheight_thumbnail'] = "Максимальная высота, разрешенная для переданных эскизов, должна быть числом, превосходящим 10 пикселей";
|
||||
|
||||
$lang['conf_default_title'] = "Заданные по умолчанию свойства дисплея для незарегистрированных посетителей и новых учетных записей";
|
||||
$lang['conf_default_language_info'] = "заданный по умолчанию язык";
|
||||
|
||||
$lang['conf_session_title'] = "Сессионные настройки";
|
||||
$lang['conf_session_size'] = "Размер идентификатора";
|
||||
$lang['conf_session_size_info'] = "- чем длиннее ваш идентификатор, тем более безопасен ваш сайт - <br /> - ввести число между 4 и 50";
|
||||
$lang['conf_session_time'] = "Время жизни сессии";
|
||||
$lang['conf_session_time_info'] = "- чем короче время жизни сессии, тем более безопасный ваш сайт - <br /> ввести число между 5 и 60, в минутах";
|
||||
$lang['conf_session_key'] = "Ключевое слово";
|
||||
|
||||
$lang['conf_session_key_info'] = "- ключевое слово сеанса улучшает кодирование идентификатора сеанса - <br /> ввести любое предложение до 255 символов";
|
||||
$lang['conf_session_delete'] = "Удалять устаревшие сеансы";
|
||||
$lang['conf_session_delete_info'] = "рекомендуется освобождать таблицу базы данных сеанса, потому что устаревшие сеансы остаются в базе данных (это безопасно для защиты)";
|
||||
|
||||
$lang['user_err_modify'] = "Этот пользователь не может быть изменен или удален";
|
||||
$lang['user_err_unknown'] = "Этот пользователь не существует в базе данных";
|
||||
|
||||
$lang['adduser_info_message'] = "Информация зарегистрирована в базе данных для пользователя ";
|
||||
$lang['adduser_info_password_updated'] = "(пароль модифицирован)";
|
||||
$lang['adduser_info_back'] = "назад к списку пользователей";
|
||||
$lang['adduser_fill_form'] = "Пожалуйста заполните следующую форму";
|
||||
$lang['adduser_unmodify'] = "неизменяемо";
|
||||
$lang['adduser_status'] = "статус";
|
||||
$lang['adduser_status_admin'] = "администратор";
|
||||
$lang['adduser_status_member'] = "участник";
|
||||
$lang['adduser_status_guest'] = "гость";
|
||||
|
||||
$lang['permuser_info_message'] = "Не разрешено";
|
||||
$lang['permuser_title'] = "Разрешения для пользователя.";
|
||||
$lang['permuser_warning'] = "Внимание: \"<span style=\"font-weight:bold;\">недоступно</span>\" к корню категории препятствуют обращению к целой категории";
|
||||
$lang['permuser_authorized'] = "доступно";
|
||||
$lang['permuser_forbidden'] = "недоступно";
|
||||
$lang['permuser_parent_forbidden'] = "родительская категория запрещена";
|
||||
|
||||
$lang['listuser_confirm'] = "Вы действительно хотите удалить этого пользователя";
|
||||
$lang['listuser_info_deletion'] = "удалено из базы данных";
|
||||
$lang['listuser_user_group'] = "Группа пользователей - ";
|
||||
$lang['listuser_modify'] = "изменить";
|
||||
$lang['listuser_modify_hint'] = "изменить информацию ";
|
||||
$lang['listuser_permission'] = "разрешения";
|
||||
$lang['listuser_permission_hint'] = "изменить разрешения";
|
||||
$lang['listuser_delete'] = "удалить";
|
||||
$lang['listuser_delete_hint'] = "удалить пользователя";
|
||||
$lang['listuser_button_all'] = "все";
|
||||
$lang['listuser_button_invert'] = "обратить";
|
||||
$lang['listuser_button_create_address'] = "создать адрес электронной почты";
|
||||
|
||||
$lang['cat_invisible'] = "невидимо";
|
||||
$lang['cat_edit'] = "Редактировать";
|
||||
$lang['cat_up'] = "Вверх";
|
||||
$lang['cat_down'] = "Вниз";
|
||||
$lang['cat_image_info'] = "Информация об изображении";
|
||||
$lang['cat_total'] = "общее количество";
|
||||
|
||||
$lang['editcat_confirm'] = "Информация зарегистрирована в базе данных";
|
||||
$lang['editcat_back'] = "категории";
|
||||
$lang['editcat_title1'] = "Параметры для";
|
||||
$lang['editcat_name'] = "Имя";
|
||||
$lang['editcat_comment'] = "Коментарий";
|
||||
|
||||
$lang['editcat_status'] = 'Статус';
|
||||
|
||||
$lang['infoimage_general'] = "Общие параметры для категории";
|
||||
$lang['infoimage_useforall'] = "использовать для всех изображений?";
|
||||
$lang['infoimage_creation_date'] = "дата создания";
|
||||
$lang['infoimage_detailed'] = "Параметры для каждого изображения";
|
||||
$lang['infoimage_title'] = "заголовок";
|
||||
$lang['infoimage_comment'] = "коментарий";
|
||||
|
||||
$lang['update_missing_tn'] = "эскиз отсутствует для";
|
||||
$lang['update_disappeared_tn'] = "эскиз исчез";
|
||||
$lang['update_disappeared'] = "не существует";
|
||||
$lang['update_part_deletion'] = "Удаление изображений, которые не имеют никакого эскиза или которыене существуют";
|
||||
$lang['update_deletion_conclusion'] = "изображений, удалено из базы данных";
|
||||
$lang['update_part_research'] = "Поиск новых изображений в каталогах";
|
||||
$lang['update_research_added'] = "добавить";
|
||||
$lang['update_research_tn_ext'] = "эскиз в";
|
||||
$lang['update_research_conclusion'] = "изображений, добавлено в базу данных";
|
||||
$lang['update_default_title'] = "Выберите опции";
|
||||
$lang['update_only_cat'] = "модифицировать категории (без изображений)";
|
||||
$lang['update_all'] = "модифицировать все";
|
||||
|
||||
$lang['tn_width'] = 'ширина';
|
||||
$lang['tn_height'] = 'высота';
|
||||
|
||||
$lang['tn_no_support'] = "Изображения недоступны или не поддерживаются";
|
||||
$lang['tn_format'] = "для формата файла";
|
||||
$lang['tn_thisformat'] = "для этого формата файла";
|
||||
$lang['tn_err_width'] = "шириной должно быть число, превосходящее";
|
||||
$lang['tn_err_height'] = "высотой должно быть число, превосходящее";
|
||||
$lang['tn_results_title'] = "Результаты миниатюризации";
|
||||
$lang['tn_picture'] = "изображение";
|
||||
$lang['tn_results_gen_time'] = "создано";
|
||||
|
||||
$lang['tn_stats'] = "Основной статус";
|
||||
$lang['tn_stats_nb'] = "число миниатюризированных изображений";
|
||||
$lang['tn_stats_total'] = "общее время";
|
||||
$lang['tn_stats_max'] = "максимальное время";
|
||||
$lang['tn_stats_min'] = "минимальное время";
|
||||
$lang['tn_stats_mean'] = "среднее время";
|
||||
|
||||
$lang['tn_err'] = "Вы сделали ошибки";
|
||||
$lang['tn_params_title'] = "Параметры миниатюризации";
|
||||
$lang['tn_params_GD'] = "версия GD-библиотеки";
|
||||
$lang['tn_params_GD_info'] = "- GD - библиотека управления изображения для PHP <br /> - выбрать версию, установленную на вашем сервере. Если Вы выбираете неправильно, Вы будете видеть только сообщения об ошибках. Возвратитесь и выберите другую версию. Если никакие версии не работают, это означает, что ваш сервер не поддерживает GD.";
|
||||
$lang['tn_params_width_info'] = "максимальная ширина, которую эскизы могут занять";
|
||||
$lang['tn_params_height_info'] = "максимальная высота, которую эскизы могут занять";
|
||||
$lang['tn_params_create'] = "создать";
|
||||
$lang['tn_params_create_info'] = "Не пробуйте миниатюризировать слишком много изображений за один раз. <br /> Действительно, миниатюризация использует много ресурсов центрального процессора. Если Вы устанавливали PhpWebGallery на бесплатном провайдере, слишком высокая загрузка центрального процессора может привести к удалению вашего вебсайта.";
|
||||
$lang['tn_params_format'] = "формат файла";
|
||||
$lang['tn_params_format_info'] = "только формат jpeg поддерживается для создания эскиза";
|
||||
$lang['tn_alone_title'] = "изображения без эскизов (только jpeg и png)";
|
||||
$lang['tn_dirs_title'] = "Список каталогов";
|
||||
$lang['tn_dirs_alone'] = "изображения без эскизов";
|
||||
|
||||
$lang['help_images_title'] = "Добавить изображения";
|
||||
$lang['help_images_intro'] = "Как размещать изображения в ваши категории:";
|
||||
$lang['help_images'][0] = "в каталоге \"galleries\", создайте каталоги, которые будут представлять ваши категории.";
|
||||
$lang['help_images'][1] = "в каждом каталоге, Вы можете создать так много подкаталогов, сколько Вы пожелаете.";
|
||||
$lang['help_images'][2] = "вы можете создать так много категорий и рубрик для каждой категории, сколько Вы пожелаете.";
|
||||
$lang['help_images'][3] = "файлы изображений должны иметь формат jpeg (расширение jpg или JPG), формат gif (расширение gif или GIF) или формат png (расширение png или PNG).";
|
||||
$lang['help_images'][4] = "постарайтесь не использовать пробелы \" \" или дефис \"-\" в файлах изображений. Я советую Вам использовать символ подчеркивания \"_\", который обрабатывается PhpWebGallery и обеспечит нормальные результаты.";
|
||||
|
||||
$lang['help_thumbnails_title'] = "Эскизы";
|
||||
$lang['help_thumbnails'][0] = "в каждом каталоге, содержащем изображение, отображаемые на вашем сайте, есть подкаталог, названный \"thumbnail\". Если такого нет, создайте его, чтобы разместить там ваши эскизы.";
|
||||
$lang['help_thumbnails'][1] = "эскизы могут не иметь то же самое расширение, как их связанное изображение (например изображение с .jpg расширением может иметь эскиз с .GIF расширением).";
|
||||
$lang['help_thumbnails'][2] = "эскиз, связанный с изображением должен быть предустановлен с префиксом, заданным на странице конфигурации (image.jpg-> TN-image.GIF например).";
|
||||
$lang['help_thumbnails'][3] = "я советую Вам использовать модуль для Windows, загружаемый с сайта PhpWebGallery для управления и создания эскизов.";
|
||||
$lang['help_thumbnails'][4] = "вы можете использовать страницу создания эскиза, интегрированную в PhpWebGallery, но я не советую Вам это делать, потому что качество эскиза может быть невысоким, плюс это предполагает высокую загрузку центрального процессора, что может стать проблемой, если Вы используете бесплатный хостинг.";
|
||||
$lang['help_thumbnails'][5] = "если Вы хотите создавать эскизы на хостинг-провайдере, Вы должны задать chmod 775 на каталог \"galleries\" и все его подкаталоги.";
|
||||
|
||||
$lang['help_database_title'] = "Обновление базы данных";
|
||||
$lang['help_database'][0] = "после того, как файлы изображений и эскизы, правильно помещены в каталоги, нажмите на \"обновление базы данных\" в меню панели администрирования.";
|
||||
|
||||
$lang['help_infos_title'] = "Разная информация";
|
||||
$lang['help_infos'][0] = "Как только Вы создали вашу галерею, войдите в список пользователей и измените разрешения для пользователя \"посетитель\". Все новые зарегистрированные пользователи будут иметь по умолчанию те же самые разрешения как и пользователь \"посетитель\".";
|
||||
$lang['help_infos'][1] = "Если у Вас есть вопросы, не смущайтесь смотреть на форуме и задавать там вопросы. Форум (доска объявлений) доступен на сайте PhpWebGallery.";
|
||||
|
||||
$lang['help_remote_title'] = "Удаленный сайт";
|
||||
$lang['help_remote'][0] = "PhpWebGallery предлагает возможность использовать несколько серверов, чтобы сохранить изображения, которые составят вашу галерею. Это может быть полезно, если ваша галерея установлена на сервере с ограниченным пространством и если у Вас большое количество изображений, которые должны быть показаны. Пожалуйста, следуйте этой процедуре: ";
|
||||
$lang['help_remote'][1] = "1. отредактируйте файл \"create_listing_file.php\" (Вы найдете его в каталоге \"admin\"), измените строку \"$prefixe_thumbnail = \"TN-\";\" если префикс для ваших эскизов - не \" TN-\".";
|
||||
$lang['help_remote'][2] = "2. разместите измененный файл \"create_listing_file.php\" на вашем отдаленном вебсайте, в корневом каталоге ваших каталогов image (в каталоге \"galleries\" этого вебсайта) посредством ftp.";
|
||||
$lang['help_remote'][3] = "3. запустите сценарий, используя url http://domaineDistant/repGalerie/create_listing_file.php, который создаст файл listing.";
|
||||
$lang['help_remote'][4] = "4. верните файл listing.xml с вашего отдаленного вебсайта, и положите его в каталог \"admin\" текущего вебсайта.";
|
||||
$lang['help_remote'][5] = "5. пожалуйста, запустите обновление данных изображений с помощью интерфейса администрирования с использованием файла listing.xml, после чего удалите его из каталога \"admin\".";
|
||||
$lang['help_remote'][6] = "Вы можете модифицировать содержание отдаленного вебсайта, повторяя описанную манипуляцию. Вы можете также уничтожить отдаленный вебсайт, выбирая опцию в разделе конфигурации панели администрирования. ".
|
||||
|
||||
$lang['help_upload_title'] = "Добавленние изображений пользователями.";
|
||||
$lang['help_upload'][0] = "PhpWebGallery предоставляет возможность передачи изображений для пользователей. Чтобы сделать это:";
|
||||
$lang['help_upload'][1] = "1. разрешите опцию в разделе конфигурации панели администрирования.";
|
||||
$lang['help_upload'][2] = "2. установите права на запись в каталогах изображений.";
|
||||
|
||||
$lang['install_message'] = "Сообщение";
|
||||
|
||||
$lang['step1_confirmation'] = "Параметры правильны";
|
||||
$lang['step1_err_db'] = "Подключение к серверу успешно, но было невозможно подключиться к базе данных";
|
||||
$lang['step1_err_server'] = "Невозможно подключиться к серверу";
|
||||
$lang['step1_err_copy'] = "Скопируйте текст между дефисами и вставьте его в файл \"include/mysql.inc.php\"(Внимание : mysql.inc.php должен содержать только то, что находится в синем)";
|
||||
$lang['step1_err_copy_2'] = "Следующий шаг инсталляции теперь возможен";
|
||||
$lang['step1_err_copy_next'] = "следующий шаг";
|
||||
$lang['step1_title'] = "Шаг 1/2";
|
||||
$lang['step1_host'] = "MySQL host";
|
||||
|
||||
$lang['step1_user'] = "Пользователь";
|
||||
$lang['step1_user_info'] = "пользовательский вход в систему, данный вашим хост-провайдером";
|
||||
$lang['step1_pass'] = "Пароль";
|
||||
$lang['step1_pass_info'] = "пользовательский пароль, данный вашим хост-провайдером";
|
||||
$lang['step1_database'] = " Имя базы данных";
|
||||
$lang['step1_database_info'] = "также данный вашим хост-провайдером";
|
||||
$lang['step1_prefix'] = "Префикс таблиц базы данных";
|
||||
$lang['step1_prefix_info'] = "имена таблиц базы данных будут предустановленны с этим префиксом (что даст возможность Вам лучше управлять вашими таблицами)";
|
||||
|
||||
$lang['step2_err_login1'] = "введите имя входа в систему для web-мастера";
|
||||
$lang['step2_err_login3'] = "имя входа в систему web-мастера не может содержать символы ' или \"";
|
||||
$lang['step2_err_pass'] = "пожалуйста введите ваш пароль снова";
|
||||
$lang['step2_err_mail'] = $lang['conf_err_mail'];
|
||||
|
||||
$lang['install_end_title'] = "Инсталляция закончилась";
|
||||
$lang['install_end_message'] = "Конфигурация PhpWebGallery закончена, вот - следующий шаг<br /><br />
|
||||
Для соображения безопасности, пожалуйста удалите файл \"install.php\" из каталога \"admin\"<br />
|
||||
После того как этот файл будет удален, следуйте за следующим инструкциям:
|
||||
<ul>
|
||||
<li>идите на страницу идентификации: [ <a href='../identification.php'>сюда</a> ] и воспользуйтесь входом в систему web-мастера</li>
|
||||
<li>этот вход в систему даст возможность Вам обратиться к [ <a href='admin.php'>панели администрирования</a> ] и к командам, чтобы размещать изображения в ваши каталоги</li>
|
||||
</ul>";
|
||||
$lang['step2_title'] = "Шаг 2/2";
|
||||
$lang['step2_pwd'] = "пароль вебмастера";
|
||||
$lang['step2_pwd_info'] = "Сохраните это (конфиденциально), это даст возможность Вам обратиться к панели администрирования";
|
||||
$lang['step2_pwd_conf'] = "подтверждение пароля";
|
||||
$lang['step2_pwd_conf_info'] = "верификация";
|
||||
// new or modified in release 1.3
|
||||
$lang['remote_site'] = 'Remote site';
|
||||
$lang['title_add'] = 'Создать пользователя';
|
||||
$lang['title_modify'] = 'Изменить пользователя';
|
||||
$lang['title_groups'] = 'Менеджер групп';
|
||||
$lang['title_user_perm'] = 'Изменить настройки пользователя';
|
||||
$lang['title_cat_perm'] = 'Изменить настройки категорий';
|
||||
$lang['title_group_perm'] = 'Изменить настройки групп';
|
||||
$lang['title_picmod'] = 'Изменить информацию по изображению';
|
||||
$lang['menu_groups'] = 'Группы';
|
||||
$lang['menu_comments'] = 'Комментарии';
|
||||
$lang['conf_general_log'] = 'История';
|
||||
$lang['conf_general_log_info'] = 'хранить историю посещений сайта? История посещений будет доступна в панели администратора';
|
||||
$lang['conf_general_mail_notification'] = 'Оповещение по почте';
|
||||
$lang['conf_general_mail_notification_info'] = 'автоматическое оповещение по почте администратора (и только его) когда пользователь создает комментарий или добавляет изображение.';
|
||||
$lang['conf_comments_validation'] = 'Проверка';
|
||||
$lang['conf_comments_validation_info'] = 'администратор проверяет комментарии пользователей прежде чем они станут доступны на сайте';
|
||||
$lang['conf_comments_forall'] = 'Для всех?';
|
||||
$lang['conf_comments_forall_info'] = 'все посетители могут давать комментарии';
|
||||
$lang['conf_default_nb_image_per_row_info'] = 'заданное по умолчанию количество изображений в строке';
|
||||
$lang['conf_default_nb_row_per_page_info'] = 'количество строк на странице';
|
||||
$lang['conf_default_short_period_info'] = 'по дням. Период, в течении которого изображения показываются с красной меткой. Короткий период должен превосходить 1 день.';
|
||||
$lang['conf_default_long_period_info'] = 'по дням. Период, в течении которого изображения показываются с зеленой меткой. Длительный период должен превосходить короткий период.';
|
||||
|
||||
$lang['conf_default_expand_info'] = 'раскрыть все категории в меню по умолчанию?';
|
||||
$lang['conf_default_show_nb_comments_info'] = 'показывать количество комментариев для каждого изображения на странице эскизов';
|
||||
$lang['conf_default_maxwidth_info'] = 'Максимальная ширина для показа изображений: изображения будут иметь данную ширину только при показе, файл изображения не изменяется. Оставьте пустым, чтобы не менять исходные размеры.';
|
||||
$lang['conf_default_maxheight_info'] = 'То же, что и Максимальная ширина, только для высоты';
|
||||
$lang['conf_session_cookie'] = 'Авторизация cookies';
|
||||
$lang['conf_session_cookie_info'] = 'пользователям не нужно регистрироваться при каждом посещении. Менее безопасный.';
|
||||
$lang['adduser_associate'] = 'Ассоциировать группу';
|
||||
$lang['group_add'] = 'Создать группу';
|
||||
$lang['group_add_error1'] = 'Имя группы не должно содержать " или \'';
|
||||
$lang['group_add_error2'] = 'Это имя уже используется другой группой';
|
||||
$lang['group_confirm'] = 'Вы действительно хотите удалить эту группу?';
|
||||
$lang['group_list_title'] = 'Список существующих групп';
|
||||
$lang['group_err_unknown'] = 'Этой группы нет в базе данных';
|
||||
$lang['cat_permission'] = 'свойства';
|
||||
$lang['cat_update'] = 'обновить';
|
||||
$lang['cat_add'] = 'Создать виртуальную категорию';
|
||||
$lang['cat_parent'] = 'родительская категория';
|
||||
$lang['cat_error_name'] = 'Имя категории не должно быть пустым';
|
||||
$lang['cat_virtual'] = 'виртуальный';
|
||||
$lang['cat_first'] = 'Двигать вверх';
|
||||
$lang['cat_last'] = 'Двигать вниз';
|
||||
$lang['editcat_visible_info'] = '(невидима, кроме администратора)';
|
||||
$lang['editcat_visible'] = 'Видимых';
|
||||
$lang['editcat_uploadable'] = 'Обновить доступные';
|
||||
$lang['infoimage_keyword_separation'] = '(separate with coma ",")';
|
||||
$lang['infoimage_addtoall'] = 'создать все';
|
||||
$lang['infoimage_removefromall'] = 'удалить из всех';
|
||||
$lang['infoimage_associate'] = 'Ассоциировать с категорией';
|
||||
$lang['update_wrong_dirname'] = 'Имена директориев и файлов должны состоять из букв и символов "-", "_" или "."';
|
||||
$lang['stats_pages_seen'] = 'страниц просмотрено';
|
||||
$lang['stats_visitors'] = 'гость';
|
||||
$lang['stats_empty'] = 'очистить историю';
|
||||
$lang['stats_pages_seen_graph_title'] = 'Количество просмотренных страниц в день';
|
||||
$lang['stats_visitors_graph_title'] = 'Количество посетителей в день';
|
||||
$lang['comments_last_title'] = 'Последние комментарии';
|
||||
$lang['comments_non_validated_title'] = 'Комментарии ожидающие проверки';
|
||||
$lang['help_database'][1] = 'чтобы избежать модификации слишком многих изображений при одиночном обновлении, рекомендуется проводить обновление только нужной категории используя ссылку "обновить" в разделе "Категории".';
|
||||
$lang['help_upload'][3] = "Категории должны быть доступны для обновления.";
|
||||
$lang['help_upload'][4] = "Переданные изображения пользователями не видимы сразу на вебсайте, они должны быть утверждены администратором. Для этого администратор должен зайти на страницу \"ожидание\" панели администрирования, проверить правильность или отказаться от предложенных изображений, после чего запустить обновление данных изображений.";
|
||||
|
||||
$lang['help_virtual_title'] = 'Связь между изображениями и категориями с виртуальными категориями';
|
||||
$lang['help_virtual'][0] = 'PhpWebGallery разделяет категории, где изображения сохранены и категории, где изображения будут показаны..';
|
||||
$lang['help_virtual'][1] = 'По умолчанию, изображения показываются только в их реальных категориях: т.е. в соответствии с каталогами на сервере.';
|
||||
$lang['help_virtual'][2] = 'Чтобы связать изображение с категорией, Вы должны ассоциациировать её на странице информации об изображении или на информации о всех изображениях категории.';
|
||||
$lang['help_virtual'][3] = 'Используя этот принцип, можно создавать виртуальные категории в PhpWebGallery без реальных каталогов соответствующих этой категории. Вы только должны создать эту категорию в разделе "Категории" панели администратора.';
|
||||
|
||||
$lang['help_groups_title'] = 'Группы пользователей';
|
||||
$lang['help_groups'][0] = 'PhpWebGallery может управлять группами пользователей. Может быть очень полезно иметь общие разрешения для частных категорий.';
|
||||
$lang['help_groups'][1] = '1. Создайте группу "Семья" в меню "Группы" панели администратора.';
|
||||
$lang['help_groups'][2] = '2. В меню "Пользователи", отредактируйте и затем ассоциируйте их с группой "Семья".';
|
||||
$lang['help_groups'][3] = '3. Изменяя разрешения для категории или для группы, Вы будете видеть, что все категории, доступные для группы, доступны и для ее членов.';
|
||||
$lang['help_groups'][4] = 'Пользователи могут входить в несколько групп. Разрешения приорететнее запрещений: если пользователь "ГПС" входит в группу "коллеги" и "друзья", и только группа "коллеги" могут видеть категорию "Рождество 2003", пользователь "ГПС" будет видеть "Рождество 2003".';
|
||||
$lang['help_access_title'] = 'Авторизация доступа';
|
||||
$lang['help_access'][0] = 'PhpWebGallery может запретить доступ к категориям. Категории могут быть "общими" или "частными". Чтобы запретить доступ к категории: ';
|
||||
$lang['help_access'][1] = '1. Изменить информацию о категории (в разделе "категории" панели администратора), и сделать её "частной".';
|
||||
$lang['help_access'][2] = '2. На странице разрешений (для группы или пользователя) можно разрешить доступ или нет к частным категориям.';
|
||||
$lang['permuser_only_private'] = 'Будут показаны только личные категории';
|
||||
$lang['waiting_update'] = 'Validated pictures will be displayed only once pictures database updated';
|
||||
$lang['conf_upload_available_info'] = 'авторизация загрузки изображений пользователями в категории вебсайта (не на удаленном сервере). Этот параметр необходим, чтобы разрешить обновление категорий (по умолчанию все категории "необновляемые").';
|
||||
$lang['install_help'] = 'Нужна помощь ? Задайте Ваш вопрос на <a href="http://forum.phpwebgallery.net">PhpWebGallery форуме</a>.';
|
||||
$lang['install_warning'] = 'Файл "admin/install.php" еще существует. Пожалуйста удалите его с сервера, в интересах безопасности.';
|
||||
// new or modified in release 1.3.1
|
||||
$lang['cat_unknown_id'] = 'Этой категории нет в базе данных';
|
||||
}
|
||||
?>
|
550
language/spanish.php
Normal file
550
language/spanish.php
Normal file
|
@ -0,0 +1,550 @@
|
|||
<?php
|
||||
/***************************************************************************
|
||||
* spanish.php *
|
||||
* ------------------- *
|
||||
* application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
|
||||
* author : Pierrick LE GALL <pierrick@z0rglub.com> *
|
||||
* translation : Xolda <xolda@hotmail.com> *
|
||||
* *
|
||||
* $Id$
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* 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; *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
$lang['only_members'] = 'Acceso restringido a miembros';
|
||||
$lang['invalid_pwd'] = '¡Contraseña errónea!';
|
||||
$lang['access_forbiden'] = 'No está autorizado a acceder a esta página';
|
||||
$lang['submit'] = 'Validar';
|
||||
$lang['login'] = 'usuario';
|
||||
$lang['password'] = 'contraseña';
|
||||
$lang['new'] = 'nueva';
|
||||
$lang['delete'] = 'borrar';
|
||||
$lang['category'] = 'categoría';
|
||||
$lang['thumbnail'] = 'miniatura';
|
||||
$lang['date'] = 'fecha';
|
||||
$lang['diapo_default_page_title'] = 'No hay ninguna categoría seleccionada';
|
||||
$lang['thumbnails'] = 'Miniaturas';
|
||||
$lang['categories'] = 'Categorías';
|
||||
$lang['hint_category'] = 'muestra imágenes en la raíz de esta categoría';
|
||||
$lang['total_images'] = 'total';
|
||||
$lang['title_menu'] = 'Menú';
|
||||
$lang['change_login'] = 'cambiar usuario';
|
||||
$lang['login'] = 'usuario';
|
||||
$lang['hint_login'] = 'identificarse le permite modificar la apariencia del site';
|
||||
$lang['logout'] = 'salir';
|
||||
$lang['customize'] = 'personalizar';
|
||||
$lang['hint_customize'] = 'personalizar el aspecto de la galería';
|
||||
$lang['hint_search'] = 'buscar';
|
||||
$lang['search'] = 'buscar';
|
||||
$lang['favorite_cat'] = 'favoritos';
|
||||
$lang['favorite_cat_hint'] = 'mostrar sus favoritos';
|
||||
$lang['about'] = 'acerca de';
|
||||
$lang['hint_about'] = 'más información en PhpWebGallery...';
|
||||
$lang['admin'] = 'admin';
|
||||
$lang['hint_admin'] = 'disponible sólo para administradores';
|
||||
$lang['no_category'] = 'No hay una categoría seleccionada,<br>por favor, seleccione una en el menú';
|
||||
$lang['page_number'] = 'página número';
|
||||
$lang['previous_page'] = 'Anterior';
|
||||
$lang['next_page'] = 'Siguiente';
|
||||
$lang['nb_image_category'] = 'número de imágenes en esta categoría';
|
||||
$lang['recent_image'] = 'imagen de los últimos';
|
||||
$lang['days'] = 'días';
|
||||
$lang['send_mail'] = 'Si tiene algún comentario o desea adquirir<br>alguna imagen, envíe un correo electrónico';
|
||||
$lang['title_send_mail'] = 'Comentario del site o adquirir imagen';
|
||||
$lang['sub-cat'] = 'subcategorías';
|
||||
$lang['images_available'] = 'imágenes en esta categoría';
|
||||
$lang['total'] = 'imágenes';
|
||||
$lang['upload_picture'] = 'Subir una imagen';
|
||||
$lang['registration_date'] = 'registrada el';
|
||||
$lang['creation_date'] = 'creada el';
|
||||
$lang['comment'] = 'comentario';
|
||||
$lang['author'] = 'autor';
|
||||
$lang['size'] = 'tamaño';
|
||||
$lang['filesize'] = 'tamaño del archivo';
|
||||
$lang['file'] = 'archivo';
|
||||
$lang['generation_time'] = 'Página creada en';
|
||||
$lang['favorites'] = 'Favoritos';
|
||||
$lang['search_result'] = 'Resultados de la búsqueda';
|
||||
$lang['about_page_title'] = 'Acerca de PhpWebGallery';
|
||||
$lang['about_title'] = 'Acerca de...';
|
||||
$lang['about_message'] = '<div style="text-align:center;font-weigh:bold;">Información acerca de PhpWebGallery</div>
|
||||
<ul>
|
||||
<li>Esta sitio web usa <a href="'.$conf['site_url'].'" style="text-decoration:underline">PhpWebGallery</a> versión '.$conf['version'].'. PhpWebGallery es una aplicación web que le ofrece la posibilidad de crear fácilmente una galería de imágenes on-line.</li>
|
||||
<li>Técnicamente, PhpWebGallery está totalmente desarrollado en PHP (the elePHPant) en combinación con la base de datos MySQL (the SQuirreL).</li>
|
||||
<li>Si tiene cualquier sugerencia o comentario, por favor, visite el site oficial de <a href="'.$conf['site_url'].'" style="text-decoration:underline">PhpWebGallery</a> y su <a href="'.$conf['forum_url'].'" style="text-decoration:underline">foro de discusión</a>.</li>
|
||||
</ul>';
|
||||
$lang['about_return'] = 'Atrás';
|
||||
$lang['ident_page_title'] = 'Identificación';
|
||||
$lang['ident_title'] = 'Identificación';
|
||||
$lang['ident_register'] = 'Registrar';
|
||||
$lang['ident_forgotten_password'] = '¿Ha olvidado su contraseña?';
|
||||
$lang['ident_guest_visit'] = 'Entre en la Galería como visitante';
|
||||
$lang['customize_page_title'] = 'Personalización';
|
||||
$lang['customize_title'] = 'Personalización';
|
||||
$lang['customize_nb_image_per_row'] = 'número de imágenes por fila';
|
||||
$lang['customize_nb_row_per_page'] = 'número de imágenes por página';
|
||||
$lang['customize_language'] = 'idioma';
|
||||
$lang['maxwidth'] = 'anchura máxima de las imágenes';
|
||||
$lang['maxheight'] = 'altura máxima de las imágenes';
|
||||
$lang['err_maxwidth'] = 'la anchura máxima debe ser un número superior a 50';
|
||||
$lang['err_maxheight'] = 'la altura máxima debe ser un número superior a 50';
|
||||
$lang['previous_image'] = 'Anterior';
|
||||
$lang['next_image'] = 'Siguiente';
|
||||
$lang['back'] = 'Pulse en la imagen para regresar a la página de miniaturas';
|
||||
$lang['info_image_title'] = 'Información de la imagen';
|
||||
$lang['link_info_image'] = 'Modificar información';
|
||||
$lang['true_size'] = 'Tamaño real';
|
||||
$lang['comments_title'] = 'Comentarios de los usuarios del sitio web';
|
||||
$lang['comments_del'] = 'borrar este comentario';
|
||||
$lang['comments_add'] = 'Añadir un comentario';
|
||||
$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['month'][10] = 'Octubre';
|
||||
$lang['month'][11] = 'Noviembre';
|
||||
$lang['month'][12] = 'Diciembre';
|
||||
$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['add_favorites_alt'] = 'Añadir a favoritos';
|
||||
$lang['add_favorites_hint'] = 'Añadir imagen a favoritos';
|
||||
$lang['del_favorites_alt'] = 'Eliminar imagen de favoritos';
|
||||
$lang['del_favorites_hint'] = 'Eliminar imagen de favoritos';
|
||||
$lang['register_page_title'] = 'Registro';
|
||||
$lang['register_title'] = 'Registro';
|
||||
$lang['reg_err_login1'] = 'Por favor, introduzca un nombre de usuario';
|
||||
$lang['reg_err_login2'] = 'el nombre de usuario no puede acabar en espacio';
|
||||
$lang['reg_err_login3'] = 'el nombre de usuario no puede empezar con espacio';
|
||||
$lang['reg_err_login4'] = 'el nombre de usuario no puede contener " ni \'';
|
||||
$lang['reg_err_login5'] = 'el nombre de usuario ya existe';
|
||||
$lang['reg_err_pass'] = 'por favor, introduzca su contraseña de nuevo';
|
||||
$lang['reg_confirm'] = 'confirmar';
|
||||
$lang['reg_err_mail_address'] = 'la dirección de correo debe ser del tipo xxx@yyy.eee (p.ej.: usuario@proveedor.com)';
|
||||
$lang['search_title'] = 'Buscar';
|
||||
$lang['invalid_search'] = 'la búsqueda debe contener 3 carácteres o más';
|
||||
$lang['search_field_search'] = 'Buscar';
|
||||
$lang['search_return_main_page'] = 'Volver a la página de miniaturas';
|
||||
$lang['upload_forbidden'] = 'No puede subir imágenes en esta categoría';
|
||||
$lang['upload_file_exists'] = 'El nombre de alguna imagen ya existe';
|
||||
$lang['upload_filenotfound'] = 'Debe escoger un formato de imagen para el archivo';
|
||||
$lang['upload_cannot_upload'] = 'no se puede subir la imagen al servidor';
|
||||
$lang['upload_title'] = 'Subir una imagen';
|
||||
$lang['upload_advise'] = 'Escoja una imagen para ponerla en la categoría: ';
|
||||
$lang['upload_advise_thumbnail'] = 'Opcional, pero recomendable: escoja una miniatura para asociarla a ';
|
||||
$lang['upload_advise_filesize'] = 'el tamaño del archivo de la imagen no debe sobrepasar: ';
|
||||
$lang['upload_advise_width'] = 'la anchura de la imagen no debe sobrepasar: ';
|
||||
$lang['upload_advise_height'] = 'la altura de la imagen no debe sobrepasar: ';
|
||||
$lang['upload_advise_filetype'] = 'la imagen debe estar en formato JPG, GIF ó PNG';
|
||||
$lang['upload_err_username'] = 'debe dar el nombre de usuario';
|
||||
$lang['upload_username'] = 'Usuario';
|
||||
$lang['upload_successful'] = 'Imagen subida correctamente, un administrador la validará tan pronto como sea posible';
|
||||
// new or modified in release 1.3
|
||||
$lang['charset'] = 'iso-8859-1';
|
||||
$lang['no'] = 'no';
|
||||
$lang['yes'] = 'si';
|
||||
$lang['guest'] = 'invitado';
|
||||
$lang['mail_address'] = 'dirección de correo';
|
||||
$lang['public'] = 'público';
|
||||
$lang['private'] = 'privado';
|
||||
$lang['add'] = 'añadir';
|
||||
$lang['dissociate'] = 'diferenciar';
|
||||
$lang['mandatory'] = 'obligatorio';
|
||||
$lang['err_date'] = 'fecha errónea';
|
||||
$lang['picture'] = 'imagen';
|
||||
$lang['IP'] = 'IP';
|
||||
$lang['close'] = 'cerrar';
|
||||
$lang['open'] = 'abrir';
|
||||
$lang['keywords'] = 'palabras clave';
|
||||
$lang['errors_title'] = 'Errores';
|
||||
$lang['infos_title'] = 'Informaciones';
|
||||
$lang['default'] = 'por defecto';
|
||||
$lang['comments'] = 'comentarios';
|
||||
$lang['category_representative'] = 'representativa';
|
||||
$lang['stats'] = 'estadísticas';
|
||||
$lang['most_visited_cat_hint'] = 'muestra las imágenes más visitadas';
|
||||
$lang['most_visited_cat'] = 'más visitadas';
|
||||
$lang['best_rated_cat_hint'] = 'muestra las imágenes mejor valoradas';
|
||||
$lang['best_rated_cat'] = 'mejor valoradas';
|
||||
$lang['recent_cat_hint'] = 'muestra las imágenes más recientes';
|
||||
$lang['recent_cat'] = 'más recientes';
|
||||
$lang['recent_cat_title'] = 'Imágenes recientes';
|
||||
$lang['visited'] = 'visitada';
|
||||
$lang['times'] = 'veces';
|
||||
$lang['customize_theme'] = 'tema del interface';
|
||||
$lang['customize_expand'] = 'expandir todas las categorías';
|
||||
$lang['customize_show_nb_comments'] = 'mostrar el número de comentarios';
|
||||
$lang['customize_short_period'] = 'período corto';
|
||||
$lang['customize_long_period'] = 'período largo';
|
||||
$lang['customize_template'] = 'plantilla';
|
||||
$lang['err_periods'] = 'los períodos deben ser valores enteros';
|
||||
$lang['err_periods_2'] = 'los períodos deben ser superiores a 0. El período largo debe ser mayor que el período corto.';
|
||||
$lang['create_cookie'] = 'crear una cookie';
|
||||
$lang['customize_day'] = 'día';
|
||||
$lang['customize_week'] = 'semana';
|
||||
$lang['customize_month'] = 'mes';
|
||||
$lang['customize_year'] = 'año';
|
||||
$lang['slideshow'] = 'slideshow';
|
||||
$lang['period_seconds'] = 'segundos por imagen';
|
||||
$lang['slideshow_stop'] = 'parar el slideshow';
|
||||
$lang['comment_added'] = 'Su comentario ha sido registrado';
|
||||
$lang['comment_to_validate'] = 'Un administrador debe autorizar el comentario antes de que sea visible.';
|
||||
$lang['comment_anti-flood'] = 'Sistema Anti-flood: por favor, espere un momento antes de intentar enviar otro comentario';
|
||||
$lang['comment_user_exists'] = 'El nombre de usuario ya esta en uso';
|
||||
$lang['invalid_search'] = 'Las palabras buscadas deben ser de más de 3 carácteres y no deben contener signos de puntuación';
|
||||
$lang['search_mode_or'] = 'al menos una palabra';
|
||||
$lang['search_mode_and'] = 'todas las palabras';
|
||||
$lang['search_comments'] = 'separar las diferentes palabras con espacios';
|
||||
$lang['upload_name'] = 'Nombre de la imagen';
|
||||
$lang['upload_author'] = 'Autor (ej "Pierrick LE GALL")';
|
||||
$lang['upload_creation_date'] = 'Fecha de creación (DD/MM/AAAA)';
|
||||
$lang['upload_comment'] = 'Comentario';
|
||||
$lang['mail_hello'] = 'Hola,';
|
||||
$lang['mail_new_upload_subject'] = 'Nueva imagen en el sitio web';
|
||||
$lang['mail_new_upload_content'] = 'Se ha subido una nueva imagen a la galería. Está esperando a su validación. Vaya al panel de administración para autorizar o rechazar la imagen.';
|
||||
$lang['mail_new_comment_subject'] = 'Nuevo comentario del sito web';
|
||||
$lang['mail_new_comment_content'] = 'Se ha registrado un nuevo comentario en la galería. Si escoge validar cada comentario, primero tendrá que validar este comentario en el panel de administración para hacerlo visible en la galería.'."\n\n".'Puede ver los últimos comentarios en el panel de administración';
|
||||
$lang['connected_user'] = 'usuario conectado';
|
||||
$lang['title_comments'] = 'Comentarios de los usuarios';
|
||||
$lang['stats_last_days'] = 'últimos días';
|
||||
$lang['hint_comments'] = 'Ver los últimos comentarios de los usuarios';
|
||||
$lang['menu_login'] = 'usuario';
|
||||
//-------------------------------------------------------------- administration
|
||||
if ( $isadmin )
|
||||
{
|
||||
$lang['title_liste_users'] = 'Lista de usuarios';
|
||||
$lang['title_history'] = 'Historial';
|
||||
$lang['title_update'] = 'Actualizar base de datos';
|
||||
$lang['title_configuration'] = 'Configuración de PhpWebGallery';
|
||||
$lang['title_instructions'] = 'Instrucciones';
|
||||
$lang['title_categories'] = 'Administración de categorías';
|
||||
$lang['title_edit_cat'] = 'Editar una categoría';
|
||||
$lang['title_info_images'] = 'Modificar información de la categoría de imágenes';
|
||||
$lang['title_thumbnails'] = 'Creación de miniaturas';
|
||||
$lang['title_thumbnails_2'] = 'para';
|
||||
$lang['title_default'] = 'Administración de PhpWebGallery';
|
||||
$lang['menu_title'] = 'Administración';
|
||||
$lang['menu_config'] = 'Configuración';
|
||||
$lang['menu_users'] = 'Usuarios';
|
||||
$lang['menu_add_user'] = 'añadir';
|
||||
$lang['menu_list_user'] = 'listar';
|
||||
$lang['menu_categories'] = 'Categorías';
|
||||
$lang['menu_update'] = 'Actualizar base de datos';
|
||||
$lang['menu_thumbnails'] = 'Miniaturas';
|
||||
$lang['menu_history'] = 'Historial';
|
||||
$lang['menu_instructions'] = 'Instrucciones';
|
||||
$lang['menu_back'] = 'Volver a las galerías';
|
||||
$lang['title_waiting'] = 'Imágenes pendientes de validación';
|
||||
$lang['menu_waiting'] = 'En espera';
|
||||
$lang['default_message'] = 'Panel de administración de PhpWebGallery';
|
||||
$lang['conf_err_prefixe'] = 'el prefijo de la miniatura no debe contener carácteres acentuados';
|
||||
$lang['conf_err_mail'] = 'dirección de E-mail rechazada, debe ser del tipo usuario@servidor.com';
|
||||
$lang['conf_err_sid_size'] = 'el tamaño de identificador de sesión debe ser un valor entero entre 4 y 50';
|
||||
$lang['conf_err_sid_time'] = 'el tiempo de sesión debe ser un valor entero entre 5 y 60';
|
||||
$lang['conf_err_max_user_listbox'] = 'el número máximo de usuarios en la lista debe ser un valor entero entre 0 y 255';
|
||||
$lang['conf_confirmation'] = 'Información registrada en la base de datos';
|
||||
$lang['conf_general_title'] = 'Configuración principal';
|
||||
$lang['conf_general_webmaster'] = 'login del webmaster';
|
||||
$lang['conf_general_webmaster_info'] = 'Será mostrado a los visitantes. Es necesario para la administración del sitio web';
|
||||
$lang['conf_general_mail'] = 'E-mail del Webmaster';
|
||||
$lang['conf_general_mail_info'] = 'Los visitantes podrán contactar a través de este E-mail';
|
||||
$lang['conf_general_prefix'] = 'prefijo de las miniaturas';
|
||||
$lang['conf_general_prefix_info'] = 'Las miniaturas usarán este prefijo. Dejar en blanco en caso de duda.';
|
||||
$lang['conf_general_access'] = 'tipo de acceso';
|
||||
$lang['conf_general_access_1'] = 'libre';
|
||||
$lang['conf_general_access_2'] = 'restringido';
|
||||
$lang['conf_general_access_info'] = '- libre: cualquiera puede entrar en el site y crear una cuenta para personalizar la apariencia del sitio web<br />- restringido: el webmaster crea las cuentas. Sólo los usuarios registrados pueden entrar al sitio web';
|
||||
$lang['conf_general_max_user_listbox'] = 'máximo número de usuarios en la lista';
|
||||
$lang['conf_general_max_user_listbox_info'] = '- este es el número máx. de usuarios que PhpWebGallery mostrará en la lista en lugar de una simple caja de texto en la página de identificación<br />- introduzca un número entre 0 y 255, 0 hará que se muestre la lista';
|
||||
$lang['conf_comments'] = 'comentarios de los usuarios';
|
||||
$lang['conf_comments_title'] = 'Configuración de los '.$lang['conf_comments'];
|
||||
$lang['conf_comments_show_comments'] = $lang['conf_comments'];
|
||||
$lang['conf_comments_show_comments_info'] = '¿mostrar comentarios de los usuarios debajo de cada imagen?';
|
||||
$lang['conf_comments_comments_number'] = 'número de comentarios por página';
|
||||
$lang['conf_comments_comments_number_info'] = 'número de comentarios a mostrar en cada página. Este número es ilimitado para cada imagen. Introduzca un número entre 5 y 50.';
|
||||
$lang['conf_err_comment_number'] = 'El número de comentarios por página debe estar entre 5 y 50 (inclusive).';
|
||||
$lang['conf_remote_site_delete_info'] = 'Si elimina un servidor remoto, borrará todas las imágenes y categorías relacionadas con el servidor.';
|
||||
$lang['conf_upload_title'] = 'Configuración de los envíos de los usuarios';
|
||||
$lang['conf_upload_available'] = 'autorizada la subida de imágenes';
|
||||
$lang['conf_upload_maxfilesize'] = 'tamaño máximo del archivo';
|
||||
$lang['conf_upload_maxfilesize_info'] = 'Tamaño máximo de los archivos a subir. Debe ser un entero entre 10 y 1000 (Kb).';
|
||||
$lang['conf_err_upload_maxfilesize'] = 'tamaño máximo de los archivos a subir. Debe ser un entero entre 10 y 1000 (Kb).';
|
||||
$lang['conf_upload_maxwidth'] = 'anchura máxima';
|
||||
$lang['conf_upload_maxwidth_info'] = 'Anchura máxima de las imágenes a subir. Debe ser un número superior a 10 (píxeles).';
|
||||
$lang['conf_err_upload_maxwidth'] = 'anchura máxima de las imágenes a subir. Debe ser un número superior a 10 (píxeles).';
|
||||
$lang['conf_upload_maxheight'] = 'altura máxima';
|
||||
$lang['conf_upload_maxheight_info'] = 'Altura máxima de las imágenes a subir. Debe ser un número superior a 10 (píxeles).';
|
||||
$lang['conf_err_upload_maxwidth'] = 'altura máxima de las imágenes a subir. Debe ser un número superior a 10 (píxeles).';
|
||||
$lang['conf_upload_maxwidth_thumbnail'] = 'anchura máxima de las miniaturas';
|
||||
$lang['conf_upload_maxwidth_thumbnail_info'] = 'Anchura máxima de las miniaturas a subir. Debe ser un número superior a 10 (píxeles).';
|
||||
$lang['conf_err_upload_maxwidth_thumbnail'] = 'anchura máxima de las miniaturas a subir. Debe ser un número superior a 10 (píxeles).';
|
||||
$lang['conf_upload_maxheight_thumbnail'] = 'altura máxima de las miniaturas';
|
||||
$lang['conf_upload_maxheight_thumbnail_info'] = 'Altura máxima de las miniaturas a subir. Debe ser un número superior a 10 (píxeles).';
|
||||
$lang['conf_err_upload_maxheight_thumbnail'] = 'altura máxima de las miniaturas a subir. Debe ser un número superior a 10 (píxeles).';
|
||||
$lang['conf_default_title'] = 'Propiedades de visualización por defecto para usuarios no registrados y nuevas cuentas';
|
||||
$lang['conf_default_language_info'] = 'idioma por defecto';
|
||||
$lang['conf_default_theme_info'] = 'tema por defecto';
|
||||
$lang['conf_session_title'] = 'Configuración de las sesiones';
|
||||
$lang['conf_session_size'] = 'tamaño del identificador';
|
||||
$lang['conf_session_size_info'] = '- cuanto más largo sea el identificador, más seguro será el site<br />- introduzca un número entre 4 y 50';
|
||||
$lang['conf_session_time'] = 'período de validez';
|
||||
$lang['conf_session_time_info'] = '- cuanto más corto sea el período de validez más seguro será el site<br />- introduzca un número entre 5 y 60, en minutos';
|
||||
$lang['conf_session_key'] = 'palabra clave';
|
||||
$lang['conf_session_key_info'] = '- la palabra clave de la sesión mejora la codificación del identificador de sesión<br />- introduzca una frase que no sobrepase los 255 carácteres';
|
||||
$lang['conf_session_delete'] = 'borrar sesiones caducadas';
|
||||
$lang['conf_session_delete_info'] = 'es recomendable vaciar la tabla de sesiones de la base de datos, porque las sesiones caducadas permanecen en la base de datos (aunque no representan un problema de seguridad)';
|
||||
$lang['user_err_modify'] = 'Este usuario no puede ser modificado ni borrado';
|
||||
$lang['user_err_unknown'] = 'Este usuario no existe en la base de datos';
|
||||
$lang['adduser_info_message'] = 'Información registrada en la base de datos para el usuario ';
|
||||
$lang['adduser_info_password_updated'] = '(contraseña actualizada)';
|
||||
$lang['adduser_info_back'] = 'volver a la lista de usuarios';
|
||||
$lang['adduser_fill_form'] = 'Por favor, rellene el siguiente formulario';
|
||||
$lang['adduser_unmodify'] = 'no-modificable';
|
||||
$lang['adduser_status'] = 'estado';
|
||||
$lang['adduser_status_admin'] = 'admin';
|
||||
$lang['adduser_status_guest'] = 'invitado';
|
||||
$lang['permuser_info_message'] = 'Permisos registrados';
|
||||
$lang['permuser_title'] = 'Restricciones para el usuario';
|
||||
$lang['permuser_warning'] = 'Atención : un "<span style="font-weight:bold;">acceso prohibido</span>" a la raíz de una categoría deniega el acceso a la categoría entera';
|
||||
$lang['permuser_authorized'] = 'autorizado';
|
||||
$lang['permuser_forbidden'] = 'prohibido';
|
||||
$lang['permuser_parent_forbidden'] = 'categoría superior prohibida';
|
||||
$lang['listuser_confirm'] = '¿Realmente desea borrar este usuario?';
|
||||
$lang['listuser_info_deletion'] = 'borrado de la base de datos';
|
||||
$lang['listuser_user_group'] = 'Grupo de usuarios';
|
||||
$lang['listuser_modify'] = 'modificar';
|
||||
$lang['listuser_modify_hint'] = 'modificar la información de';
|
||||
$lang['listuser_permission'] = 'permisos';
|
||||
$lang['listuser_permission_hint'] = 'modifica los permisos de';
|
||||
$lang['listuser_delete'] = 'borrar';
|
||||
$lang['listuser_delete_hint'] = 'borrar usuario';
|
||||
$lang['listuser_button_all'] = 'todos';
|
||||
$lang['listuser_button_invert'] = 'invertir';
|
||||
$lang['listuser_button_create_address'] = 'crear dirección de correo';
|
||||
$lang['cat_invisible'] = 'invisible';
|
||||
$lang['cat_edit'] = 'Editar';
|
||||
$lang['cat_up'] = 'Subir';
|
||||
$lang['cat_down'] = 'Bajar';
|
||||
$lang['cat_image_info'] = 'Información de las imágenes';
|
||||
$lang['cat_total'] = 'total';
|
||||
$lang['editcat_confirm'] = 'Información registrada en la base de datos';
|
||||
$lang['editcat_back'] = 'categorías';
|
||||
$lang['editcat_title1'] = 'Opciones para el';
|
||||
$lang['editcat_name'] = 'Nombre';
|
||||
$lang['editcat_comment'] = 'Comentario';
|
||||
$lang['editcat_status'] = 'Estado';
|
||||
$lang['infoimage_general'] = 'Opciones generales para la categoría';
|
||||
$lang['infoimage_useforall'] = '¿utilizar para todas las imágenes?';
|
||||
$lang['infoimage_creation_date'] = 'fecha de creación';
|
||||
$lang['infoimage_detailed'] = 'Opción para cada imagen';
|
||||
$lang['infoimage_title'] = 'título';
|
||||
$lang['infoimage_comment'] = 'comentario';
|
||||
$lang['update_missing_tn'] = 'no hay miniatura para';
|
||||
$lang['update_disappeared_tn'] = 'la miniatura no existe';
|
||||
$lang['update_disappeared'] = 'no existe';
|
||||
$lang['update_part_deletion'] = 'Borrado de imágenes que no tienen miniatura o que no existen';
|
||||
$lang['update_deletion_conclusion'] = 'imágenes borradas de la base de datos';
|
||||
$lang['update_part_research'] = 'Buscar nuevas imágenes en directorios';
|
||||
$lang['update_research_added'] = 'añadidas';
|
||||
$lang['update_research_tn_ext'] = 'miniaturas en';
|
||||
$lang['update_research_conclusion'] = 'imágenes añadidas a la base de datos';
|
||||
$lang['update_default_title'] = 'Escoja una opción';
|
||||
$lang['update_only_cat'] = 'actualizar categorías, no imágenes';
|
||||
$lang['update_all'] = 'actualizar todas';
|
||||
$lang['tn_width'] = 'anchura';
|
||||
$lang['tn_height'] = 'altura';
|
||||
$lang['tn_no_support'] = 'Imagen inaccesible o sin soporte';
|
||||
$lang['tn_format'] = 'para el formato de archivo';
|
||||
$lang['tn_thisformat'] = 'para este formato de archivo';
|
||||
$lang['tn_err_width'] = 'la anchura debe ser un número superior a';
|
||||
$lang['tn_err_height'] = 'la altura debe ser un número superior a';
|
||||
$lang['tn_results_title'] = 'Resultados de la miniaturización';
|
||||
$lang['tn_picture'] = 'imagen';
|
||||
$lang['tn_results_gen_time'] = 'generada en';
|
||||
$lang['tn_stats'] = 'Estadísticas generales';
|
||||
$lang['tn_stats_nb'] = 'número de imágenes miniaturizadas';
|
||||
$lang['tn_stats_total'] = 'tiempo total';
|
||||
$lang['tn_stats_max'] = 'tiempo máx.';
|
||||
$lang['tn_stats_min'] = 'tiempo mín.';
|
||||
$lang['tn_stats_mean'] = 'tiempo medio';
|
||||
$lang['tn_err'] = 'Ha cometido errores';
|
||||
$lang['tn_params_title'] = 'Parámetros de la miniaturización';
|
||||
$lang['tn_params_GD'] = 'Versión de GD';
|
||||
$lang['tn_params_GD_info'] = '- GD es la librería de manipulación de miniaturas para PHP<br />-escoja la versión instalada en su servidor. Si escoge una incorrecta, obtendrá mensajes de error, vuelva atrás con su navegador y escoja otra versión. Si no funciona, es que su servidor no soporta GD.';
|
||||
$lang['tn_params_width_info'] = 'máxima anchura de las miniaturas';
|
||||
$lang['tn_params_height_info'] = 'máxima altura de las miniaturas';
|
||||
$lang['tn_params_create'] = 'crear';
|
||||
$lang['tn_params_create_info'] = 'No intente miniaturizar demasiadas imágenes a la vez.<br />De hecho, la miniaturización utiliza muchos recursos de la CPU. Si instaló PhpWebGallery en un proveedor gratuito, una sobrecarga de CPU puede derivar en la eliminación de su sitio web.';
|
||||
$lang['tn_params_format'] = 'formato de archivo';
|
||||
$lang['tn_params_format_info'] = 'únicamente se permite el formato JPG para la creación de miniaturas.';
|
||||
$lang['tn_alone_title'] = 'imágenes sin miniatura (sólo JPG y PNG)';
|
||||
$lang['tn_dirs_title'] = 'Lista de directorios';
|
||||
$lang['tn_dirs_alone'] = 'imágenes sin miniatura';
|
||||
$lang['help_images_title'] = 'Añadir imágenes';
|
||||
$lang['help_images_intro'] = 'Cómo poner las imágenes en sus directorios';
|
||||
$lang['help_images'][0] = 'en el directorio "galleries", cree directorios que representen a sus categorías.';
|
||||
$lang['help_images'][1] = 'en cada directorio, puede crear tantos subdirectorios como desee.';
|
||||
$lang['help_images'][2] = 'puede crear tantas categorías y subcategorías como desee.';
|
||||
$lang['help_images'][3] = 'las imágenes deben ser del formato JPG (extensión jpg ó JPG), formato GIF (extensión gif ó GIF) o formato PNG (extensión png ó PNG).';
|
||||
$lang['help_images'][4] = 'intente NO usar espacios en blanco " " ni guiones "-" en los nombres de imagen, le recomendamos usar el carácter "_" de subrayado soportado por PhpWebGallery y obtendrá mejores resultados.';
|
||||
$lang['help_thumbnails_title'] = 'Miniaturas';
|
||||
$lang['help_thumbnails'][0] = 'en cada directorio que contenga imágenes a mostrar, debe haber un subdirectorio llamado "thumbnail", si no existe, créelo y sitúe en él las miniaturas.';
|
||||
$lang['help_thumbnails'][1] = 'las miniaturas no necesitan tener la misma extensión que su imagen asociada (una imagen en formato .JPG puede tener asociada una miniatura en formato .GIF).';
|
||||
$lang['help_thumbnails'][2] = 'la miniatura asociada a la imagen debe tener el prefijo que se indicó en la página de configuración (imagen.jpg -> TN_imagen.GIF, por ejemplo).';
|
||||
$lang['help_thumbnails'][3] = 'le recomendamos usar el módulo para Windows, descargable en el site de presentación de PhpWebGallery, para la gestión de las miniaturas.';
|
||||
$lang['help_thumbnails'][4] = 'puede usar la página de creación de miniaturas integrada en PhpWebGallery, pero no es aconsejable, ya que la calidad puede ser bastante pobre y carga bastante la CPU, lo cual puede ser un problema si utiliza un servidor gratuito.';
|
||||
$lang['help_thumbnails'][5] = 'si elige usar a su proveedor de hosting para crear las miniaturas, debe dar los derechos 775 a la carpeta "galleries" y a todas sus subcarpetas.';
|
||||
$lang['help_database_title'] = 'Actualizando la base de datos';
|
||||
$lang['help_database'][0] = 'una vez ubicadas correctamente las imágenes y miniaturas en los directorios, pulse en "database update" en el menú del panel de administración.';
|
||||
$lang['help_infos_title'] = 'Información diversa';
|
||||
$lang['help_infos'][1] = 'Una vez haya creado su galería, vaya a la lista de usuarios y modifique los permisos para el "visiteur". De hecho, cada nuevo usuario tendrá por defecto los mismos permisos que el usuario "visiteur".';
|
||||
$lang['help_remote_title'] = 'Site remoto';
|
||||
$lang['help_remote'][0] = 'PhpWebGallery ofrece la posibilidad de usar varios servidores para almacenar las imágenes que componen su galería. Puede ser útil si su galería está instalada en un espacio web reducido y tiene gran cantidad de imágenes que mostrar. Por favor, siga el siguiente procedimiento: ';
|
||||
$lang['help_remote'][1] = '1. Edite el fichero "create_listing_file.php" (lo encontrará en el directorio "admin"), y modifique la línea "$prefix_thumbnail = "TN-";" si el prefijo de sus miniaturas no es "TN-".';
|
||||
$lang['help_remote'][2] = '2. Ponga el archivo "create_listing_file.php" modificado en su website remoto, en el directorio raíz de sus directorios de imágenes (como el directorio "galleries" de este website), a través de ftp.';
|
||||
$lang['help_remote'][3] = '3. Ejecute el script usando la url http://DominioRemoto/Galería/create_listing_file.php, y se creará el archivo listing.xml.';
|
||||
$lang['help_remote'][4] = '4. Recupere el fichero listing.xml de su website remoto y póngalo en el directorio "admin" de este website.';
|
||||
$lang['help_remote'][5] = '5. Por favor, realice una actualización de los datos de las imágenes mediante el interface de administración, y una vez usado el fichero listing.xml, bórrelo del directorio "admin".';
|
||||
$lang['help_remote'][6] = 'Puede actualizar los contenidos del site remoto repitiendo los pasos descritos. También puede eliminar el site remoto escogiendo la opción en la sección de configuración del panel de administración.';
|
||||
$lang['help_upload_title'] = 'Imágenes añadidas por los usuarios';
|
||||
$lang['help_upload'][0] = 'PhpWebGallery ofrece la posibilidad a los usuarios de subir imágenes. Para hacerlo:';
|
||||
$lang['help_upload'][1] = '1. Autorice la opción en la zona de configuración del panel de administración';
|
||||
$lang['help_upload'][2] = '2. Autorice los derechos de escritura en los directorios de imágenes';
|
||||
$lang['install_message'] = 'Mensaje';
|
||||
$lang['step1_confirmation'] = 'Parámetros correctos';
|
||||
$lang['step1_err_db'] = 'Conexión al servidor realizada, pero imposible conectar con la base de datos';
|
||||
$lang['step1_err_server'] = 'No se puede conectar al servidor';
|
||||
$lang['step1_err_copy_2'] = 'Se puede proceder al siguiente paso de la instalación';
|
||||
$lang['step1_err_copy_next'] = 'siguiente paso';
|
||||
$lang['step1_title'] = 'Paso 1/2';
|
||||
$lang['step1_host'] = 'Servidor MySQL';
|
||||
$lang['step1_host_info'] = 'localhost, sql.multimania.com, toto.freesurf.fr';
|
||||
$lang['step1_user'] = 'usuario';
|
||||
$lang['step1_user_info'] = 'nombre de usuario proporcionado por su proveedor';
|
||||
$lang['step1_pass'] = 'Contraseña';
|
||||
$lang['step1_pass_info'] = 'contraseña de usuario proporcionada por su proveedor';
|
||||
$lang['step1_database'] = 'Nombre de la base de datos';
|
||||
$lang['step1_database_info'] = 'también proporcionado por su proveedor';
|
||||
$lang['step1_prefix'] = 'Prefijo para las tablas en la base de datos';
|
||||
$lang['step1_prefix_info'] = 'los nombres de las tablas de la base de datos deberán llevar un prefijo (facilita el manejo de las tablas)';
|
||||
$lang['step2_err_login1'] = 'introduzca un nombre de usuario para el webmaster';
|
||||
$lang['step2_err_login3'] = 'el nombre del Webmaster no puede contener carácteres como \' o "';
|
||||
$lang['step2_err_pass'] = 'por favor, confirme su contraseña';
|
||||
$lang['step2_err_mail'] = $lang['conf_err_mail'];
|
||||
$lang['install_end_title'] = 'Instalación finalizada';
|
||||
$lang['install_end_message'] = 'La configuración de PhpWebGallery ha terminado, este es el siguiente paso<br /><br />
|
||||
Por razones de seguridad, por favor borre el fichero "install.php" del directorio "admin"<br />
|
||||
Una vez borrado, siga estas instrucciones:
|
||||
<ul>
|
||||
<li>vaya a la página de identificación: [ <a href="../identification.php">identificación</a> ] e introduzca el usuario/contraseña asignados al webmaster</li>
|
||||
<li>Esta identificación le dará acceso al [ <a href="admin.php">panel de administración</a> ] y a las instrucciones necesarias para poner imágenes en sus directorios</li>
|
||||
</ul>';
|
||||
$lang['step2_title'] = 'Paso 2/2';
|
||||
$lang['step2_pwd'] = 'contraseña del webmaster';
|
||||
$lang['step2_pwd_info'] = 'Manténgala confidencial, ya que le da acceso al panel de administración';
|
||||
$lang['step2_pwd_conf'] = 'confirmar contraseña';
|
||||
$lang['step2_pwd_conf_info'] = 'verificación';
|
||||
// new or modified in release 1.3
|
||||
$lang['remote_site'] = 'Site remoto';
|
||||
$lang['title_add'] = 'Añadir usuario';
|
||||
$lang['title_modify'] = 'Modificar usuario';
|
||||
$lang['title_groups'] = 'Gestión de grupos';
|
||||
$lang['title_user_perm'] = 'Modificar permisos para el usuario';
|
||||
$lang['title_cat_perm'] = 'Modificar permisos para la categoría';
|
||||
$lang['title_group_perm'] = 'Modificar permisos para el grupo';
|
||||
$lang['title_picmod'] = 'Modificar información de la imagen';
|
||||
$lang['menu_groups'] = 'Grupos';
|
||||
$lang['menu_comments'] = 'Comentarios';
|
||||
$lang['conf_general_log'] = 'historial';
|
||||
$lang['conf_general_log_info'] = '¿Mantener historial de visitas de su sitio web? Las visitas se mostrarán en la sección de historial del panel de administración';
|
||||
$lang['conf_general_mail_notification'] = 'Notificación por correo';
|
||||
$lang['conf_general_mail_notification_info'] = 'Notificación automática de correo para los administradores (y sólo para ellos) cuando un usuario añada un comentario o suba una imagen.';
|
||||
$lang['conf_comments_validation'] = 'validación';
|
||||
$lang['conf_comments_validation_info'] = 'Un administrador valida los comentarios enviados por los usuarios antes de que estos sean visibles en el sitio web.';
|
||||
$lang['conf_comments_forall'] = '¿para todos?';
|
||||
$lang['conf_comments_forall_info'] = 'Los usuarios no registrados pueden enviar comentarios';
|
||||
$lang['conf_default_nb_image_per_row_info'] = 'número de imágenes por fila por defecto';
|
||||
$lang['conf_default_nb_row_per_page_info'] = 'número de filas por página por defecto';
|
||||
$lang['conf_default_short_period_info'] = 'Por días. Período durante el cual una imagen se muestra con la marca roja. El período corto debe ser superior a 1 día.';
|
||||
$lang['conf_default_long_period_info'] = 'Por días. Período durante el cual una imagen se muestra con la marca verde. El período largo debe ser superior al período corto.';
|
||||
$lang['conf_default_expand_info'] = '¿expandir todas las categorías por defecto en el menú?';
|
||||
$lang['conf_default_show_nb_comments_info'] = 'mostrar el número de comentarios para cada imagen en la página de miniaturas';
|
||||
$lang['conf_default_maxwidth_info'] = 'Máxima anchura para la visualización de imágenes: la imagen tendrá una nueva anchura sólo para la visualización, los archivos de imagen no se cambiarán. Déjelo vacío si no quiere poner límite.';
|
||||
$lang['conf_default_maxheight_info'] = 'Sólo como la máxima anchura, excepto para la altura';
|
||||
$lang['conf_session_cookie'] = 'autorizar cookies';
|
||||
$lang['conf_session_cookie_info'] = 'los usuarios no deberán identificarse en cada visita. Menos seguro.';
|
||||
$lang['adduser_associate'] = 'Asociar al grupo';
|
||||
$lang['group_add'] = 'Añadir un grupo';
|
||||
$lang['group_add_error1'] = 'El nombre del grupo no debe contener " o \'';
|
||||
$lang['group_add_error2'] = 'El nombre ya está usado por otro grupo';
|
||||
$lang['group_confirm'] = '¿Está seguro de que quiere borrar este grupo?';
|
||||
$lang['group_list_title'] = 'Lista de grupos existentes';
|
||||
$lang['group_err_unknown'] = 'Este grupo no existe en la base de datos';
|
||||
$lang['cat_permission'] = 'permisos';
|
||||
$lang['cat_update'] = 'actualizar';
|
||||
$lang['cat_add'] = 'Añadir una categoría virtual';
|
||||
$lang['cat_parent'] = 'categoría padre';
|
||||
$lang['cat_error_name'] = 'El nombre de la categoría no debe estar vacío';
|
||||
$lang['cat_virtual'] = 'virtual';
|
||||
$lang['cat_first'] = 'Poner primera';
|
||||
$lang['cat_last'] = 'Poner última';
|
||||
$lang['editcat_visible_info'] = '(invisible excepto para los administradores)';
|
||||
$lang['editcat_visible'] = 'Visible';
|
||||
$lang['editcat_uploadable'] = 'Subida disponible';
|
||||
$lang['infoimage_keyword_separation'] = '(separar con coma ",")';
|
||||
$lang['infoimage_addtoall'] = 'añadir a todas';
|
||||
$lang['infoimage_removefromall'] = 'borrar de todas';
|
||||
$lang['infoimage_associate'] = 'Asociar a la categoría';
|
||||
$lang['update_wrong_dirname'] = 'El nombre de los directorios y de los archivos debe estar compuesto de letras, cifras, "-", "_" o "."';
|
||||
$lang['stats_pages_seen'] = 'páginas visitadas';
|
||||
$lang['stats_visitors'] = 'invitados';
|
||||
$lang['stats_empty'] = 'borrar historial';
|
||||
$lang['stats_pages_seen_graph_title'] = 'Número de páginas visitadas por día';
|
||||
$lang['stats_visitors_graph_title'] = 'Número de invitados por día';
|
||||
$lang['comments_last_title'] = 'Últimos comentarios';
|
||||
$lang['comments_non_validated_title'] = 'Comentarios en espera de validación';
|
||||
$lang['help_database'][1] = 'Para evitar la actualización de demasiadas imágenes en una actualización simple, le recomendamos que empiece actualizando sólo las categorías, y entonces en la sección de categorías del panel de administración, actualice cada categoría desde el enlace "actualizar"';
|
||||
$lang['help_upload'][3] = 'La categoría debe tener habilitado "subir" para poder hacerlo.';
|
||||
$lang['help_upload'][4] = 'Las imágenes subidas por los usuarios no están directamente visibles en el sitio web, deben ser validadas por el administrador. Para ello, un administrador debe entrar en la página "en attente" del panel de administración, para validar o rechazar las imágenes propuestas, y entonces realizar una actualización de los datos de las imágenes.';
|
||||
$lang['help_virtual_title'] = 'Enlaces entre las imágenes y las categorías y las categorías virtuales';
|
||||
$lang['help_virtual'][0] = 'PhpWebGallery es capaz de diferenciar las categorías donde las imágenes están guardadas y las categorías donde las imágenes se muestran.';
|
||||
$lang['help_virtual'][1] = 'Por defecto, las imágenes sólo se muestran en sus categorías reales: las que se correspondan a los directorios en el servidor web.';
|
||||
$lang['help_virtual'][2] = 'Para enlazar una imagen a una categoría, sólo tiene que hacer la asociación en la página de información de la imagen o en las informaciones de todas las imágenes de una categoría.';
|
||||
$lang['help_virtual'][3] = 'Usando este principio, es posible crear categorías virtuales en PhpWebGallery: ningún directorio real corresponde a esta categoría. Sólo tiene que crear esta categoría en la sección de "categorías" del panel de administración.';
|
||||
$lang['help_groups_title'] = 'Grupos de Usuarios';
|
||||
$lang['help_groups'][0] = 'PhpWebGallery puede gestionar grupos de usuarios. Puede ser muy útil tener un permiso de acceso común para las categorías privadas.';
|
||||
$lang['help_groups'][1] = '1. Crear el grupo "familia" en la sección "Grupos" del panel de administración.';
|
||||
$lang['help_groups'][2] = '2. En la sección de "Usuarios", edite uno de ellos y asócielo al grupo "familia".';
|
||||
$lang['help_groups'][3] = '3. Modificando los permisos de una categoría o grupo, verá que todas las categorías accesibles para un grupo son accesibles para sus miembros.';
|
||||
$lang['help_groups'][4] = 'Un usuario puede pertenecer a varios grupos. La autorización tiene más peso que la prohibición: si el usuario "pepe" pertenece al grupo "familia" y "amigos", y sólo el grupo "familia" puede ver la categoría "Navidad 2003", "pepe" podrá ver "Navidad 2003".';
|
||||
$lang['help_access_title'] = 'Autorización de acceso';
|
||||
$lang['help_access'][0] = 'PhpWebGallery puede prohibir el acceso a las categorías. Las categorías pueden ser "públicas" o "privadas". Para prohibir el acceso a una categoría:';
|
||||
$lang['help_access'][1] = '1. Modifique las informaciones de la categoría (desde la sección de "categorías" en el panel de administración) y hágala "privada".';
|
||||
$lang['help_access'][2] = '2. En la página de permisos (para un grupo o un usuario) la categoría privada se mostrará y podrá autorizar el acceso o no.';
|
||||
$lang['help_infos'][2] = 'Si tiene alguna pregunta, no dude en entrar al foro o realice una consulta desde allí. El <a href="'.$conf['forum_url'].'" style="text-decoration:underline">foro</a> (tablón de mensajes) está disponible en el site de presentación de PhpWebGallery.';
|
||||
$lang['step1_err_copy'] = 'Copie el texto entre paréntesis y péguelo en el archivo "include/mysql.inc.php"(Atención: mysql.inc.php sólo debe contener lo que está en azul, sin ningún salto de línea ni espacio)';
|
||||
$lang['permuser_only_private'] = 'Sólo se muestran las categorías privadas';
|
||||
$lang['waiting_update'] = 'Las imágenes validadas serán mostradas cuando se actualice la base de datos de las imágenes';
|
||||
$lang['conf_upload_available_info'] = 'Autorizando la subida de imágenes por los usuarios en las categorías del sitio web (no en un servidor remoto). Este es un parámetro general, es necesario autorizar la subida categoría por categoría, ya que por defecto no se pueden subir imágenes en las categorías.';
|
||||
$lang['install_help'] = '¿Necesita ayuda? Realice su consulta en el <a href="http://forum.phpwebgallery.net">Tablón de mensajes de PhpWebGallery</a>.';
|
||||
$lang['install_warning'] = 'El archivo "admin/install.php" aún está presente. Por favor, elimínelo de su servidor. No es seguro mantenerlo.';
|
||||
// new or modified in release 1.3.1
|
||||
$lang['cat_unknown_id'] = 'This category is unknown in the database';
|
||||
}
|
||||
?>
|
551
language/svenska.php
Normal file
551
language/svenska.php
Normal file
|
@ -0,0 +1,551 @@
|
|||
<?php
|
||||
/***************************************************************************
|
||||
* swedish.php *
|
||||
* ------------------- *
|
||||
* application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
|
||||
* author : Pierrick LE GALL <pierrick@z0rglub.com> *
|
||||
* translation : Jimi Wester <webmaster@westers.se> *
|
||||
* Patrik Johansson <patjoh@itstud.chalmers.se> *
|
||||
* *
|
||||
* $Id$
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* 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; *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
$lang['only_members'] = 'Endast medlemmar kan komma åt denna sidan';
|
||||
$lang['invalid_pwd'] = 'Felaktigt lösenord!';
|
||||
$lang['access_forbiden'] = 'Du är inte berättigad att nå denna sida';
|
||||
$lang['submit'] = 'Skicka';
|
||||
$lang['login'] = 'användarnamn';
|
||||
$lang['password'] = 'lösenord';
|
||||
$lang['new'] = 'ny';
|
||||
$lang['delete'] = 'ta bort';
|
||||
$lang['category'] = 'kategori';
|
||||
$lang['thumbnail'] = 'miniatyr';
|
||||
$lang['date'] = 'datum';
|
||||
$lang['diapo_default_page_title'] = 'Ingen kategori är vald';
|
||||
$lang['thumbnails'] = 'Miniatyrer';
|
||||
$lang['categories'] = 'Kategorier';
|
||||
$lang['hint_category'] = 'visar bilder i roten av denna kategori';
|
||||
$lang['total_images'] = 'totalt';
|
||||
$lang['title_menu'] = 'Meny';
|
||||
$lang['change_login'] = 'byt inloggning';
|
||||
$lang['login'] = 'logga in';
|
||||
$lang['hint_login'] = 'identifikation möjliggör sidans skräddarsydda inställningar';
|
||||
$lang['logout'] = 'logga ut';
|
||||
$lang['customize'] = 'skräddarsy';
|
||||
$lang['hint_customize'] = 'skräddarsy utseendet av galleriet';
|
||||
$lang['hint_search'] = 'söka';
|
||||
$lang['search'] = 'sök';
|
||||
$lang['favorite_cat'] = 'favoriter';
|
||||
$lang['favorite_cat_hint'] = 'visa dina favoriter';
|
||||
$lang['about'] = 'om';
|
||||
$lang['hint_about'] = 'mer information om PhpWebGallery...';
|
||||
$lang['admin'] = 'administratör';
|
||||
$lang['hint_admin'] = 'endast för administratörer';
|
||||
$lang['no_category'] = 'Ingen kategori vald<br />välj det i menyn';
|
||||
$lang['page_number'] = 'sidnummer';
|
||||
$lang['previous_page'] = 'Fördgående';
|
||||
$lang['next_page'] = 'Nästa';
|
||||
$lang['nb_image_category'] = 'antal bilder i denna kategorin';
|
||||
$lang['recent_image'] = 'bild inom';
|
||||
$lang['days'] = 'dagar';
|
||||
$lang['send_mail'] = 'Kommentarer? Skicka ett e-postmeddelande';
|
||||
$lang['title_send_mail'] = 'En kommentar på din hemsida';
|
||||
$lang['sub-cat'] = 'underkategorier';
|
||||
$lang['images_available'] = 'bilder i denna kategori';
|
||||
$lang['total'] = 'bilder';
|
||||
$lang['upload_picture'] = 'Skicka upp en bild';
|
||||
$lang['registration_date'] = 'registrerad';
|
||||
$lang['creation_date'] = 'skapad den';
|
||||
$lang['comment'] = 'kommentar';
|
||||
$lang['author'] = 'upphovsman';
|
||||
$lang['size'] = 'storlek';
|
||||
$lang['filesize'] = 'filstorlek';
|
||||
$lang['file'] = 'filnamn';
|
||||
$lang['generation_time'] = 'Sidan laddades på';
|
||||
$lang['favorites'] = 'Favoriter';
|
||||
$lang['search_result'] = 'Sökresultat';
|
||||
$lang['about_page_title'] = 'Om PhpWebGallery';
|
||||
$lang['about_title'] = 'Om...';
|
||||
$lang['about_message'] = '<div style="text-align:center;font-weigh:bold;">Information om PhpWebGallery</div>
|
||||
<ul>
|
||||
<li>Denna webbsida använder <a href="'.$conf['site_url'].'" style="text-decoration:underline">PhpWebGallery</a> version '.$conf['version'].'. PhpWebGallery är ett webbsideprogram som ger dig möjligheten att skapa ett webbaserat bildgalleri på ett enkelt sätt.</li>
|
||||
<li>Tekniskt sett, så är PhpWebGallery skapat med PHP ("the elePHPant") med en MySQL databas ("the SQuirreL").</li>
|
||||
<li>Om du har några förslag eller kommentarer, besök då gärna <a href="'.$conf['site_url'].'" style="text-decoration:underline">PhpWebGallerys</a> officiella webbsida, och det <a href="'.$conf['forum_url'].'" style="text-decoration:underline">forum</a> som behandlar detta program.</li>
|
||||
</ul>';
|
||||
$lang['about_return'] = 'Tillbaka';
|
||||
$lang['ident_page_title'] = 'Identifikation';
|
||||
$lang['ident_title'] = 'Identifikation';
|
||||
$lang['ident_register'] = 'Registrera';
|
||||
$lang['ident_forgotten_password'] = 'Glömt ditt lösenord?';
|
||||
$lang['ident_guest_visit'] = 'Gå igenom galleriet som en besökare';
|
||||
$lang['customize_page_title'] = 'Skräddarsy';
|
||||
$lang['customize_title'] = 'Skräddarsy';
|
||||
$lang['customize_nb_image_per_row'] = 'antal bilder per rad';
|
||||
$lang['customize_nb_row_per_page'] = 'antal rader per sida';
|
||||
$lang['customize_language'] = 'språk';
|
||||
$lang['maxwidth'] = 'maximal bredd på bilderna';
|
||||
$lang['maxheight'] = 'maximal höjd på bilderna';
|
||||
$lang['err_maxwidth'] = 'maximal bredd måste vara ett nummer högre än 50';
|
||||
$lang['err_maxheight'] = 'maximal höjd måste vara ett nummer högre än 50';
|
||||
$lang['previous_image'] = 'Förgående';
|
||||
$lang['next_image'] = 'Nästa';
|
||||
$lang['back'] = 'Klicka på bilden för att gå tillbaka till miniatyrsidan';
|
||||
$lang['info_image_title'] = 'Bildinformation';
|
||||
$lang['link_info_image'] = 'Ändra information';
|
||||
$lang['true_size'] = 'Verklig storlek';
|
||||
$lang['comments_title'] = 'Kommentarer från användare på webbsidan';
|
||||
$lang['comments_del'] = 'ta bort denna kommentar';
|
||||
$lang['comments_add'] = 'Lägg till kommentar';
|
||||
$lang['month'][1] = 'Januari';
|
||||
$lang['month'][2] = 'Februari';
|
||||
$lang['month'][3] = 'Mars';
|
||||
$lang['month'][4] = 'April';
|
||||
$lang['month'][5] = 'Maj';
|
||||
$lang['month'][6] = 'Juni';
|
||||
$lang['month'][7] = 'Juli';
|
||||
$lang['month'][8] = 'Augusti';
|
||||
$lang['month'][9] = 'September';
|
||||
$lang['month'][10] = 'Oktober';
|
||||
$lang['month'][11] = 'November';
|
||||
$lang['month'][12] = 'December';
|
||||
$lang['day'][0] = 'Söndag';
|
||||
$lang['day'][1] = 'Måndag';
|
||||
$lang['day'][2] = 'Tisdag';
|
||||
$lang['day'][3] = 'Onsdag';
|
||||
$lang['day'][4] = 'Torsdag';
|
||||
$lang['day'][5] = 'Fredag';
|
||||
$lang['day'][6] = 'Lördag';
|
||||
$lang['add_favorites_alt'] = 'Lägg till i favoriter';
|
||||
$lang['add_favorites_hint'] = 'Lägg till denna bild i dina favoriter';
|
||||
$lang['del_favorites_alt'] = 'Ta bort från favoriter';
|
||||
$lang['del_favorites_hint'] = 'Ta bort denna bild från dina favoriter';
|
||||
$lang['register_page_title'] = 'Registrering';
|
||||
$lang['register_title'] = 'Registrering';
|
||||
$lang['reg_err_login1'] = 'Var god ange användarnamn';
|
||||
$lang['reg_err_login2'] = 'användarnamn får inte sluta med blanksteg';
|
||||
$lang['reg_err_login3'] = 'användarnamn får inte börja med blanksteg';
|
||||
$lang['reg_err_login4'] = 'användarnamn får inte innehålla " och \'';
|
||||
$lang['reg_err_login5'] = 'detta användarnamn är upptaget';
|
||||
$lang['reg_err_pass'] = 'Var god ange lösenordet igen';
|
||||
$lang['reg_confirm'] = 'bekräfta lösenord';
|
||||
$lang['reg_err_mail_address'] = 'E-postadress måste se ut så här: xxx@yyy.eee (exempel : jack@altern.org)';
|
||||
$lang['search_title'] = 'Sök';
|
||||
$lang['invalid_search'] = 'sökning måste vara på 3 eller fler tecken';
|
||||
$lang['search_field_search'] = 'Sök';
|
||||
$lang['search_return_main_page'] = 'Återvänd till miniatyrsidan';
|
||||
$lang['upload_forbidden'] = 'Du kan inte skicka upp bilder i denna kategori';
|
||||
$lang['upload_file_exists'] = 'Filnamnet är upptaget';
|
||||
$lang['upload_filenotfound'] = 'Du måste välja ett bildformat för bilden';
|
||||
$lang['upload_cannot_upload'] = 'kan inte skicka upp bilden till servern';
|
||||
$lang['upload_title'] = 'Skicka upp bild';
|
||||
$lang['upload_advise'] = 'Välj en bild att lägga i kategori : ';
|
||||
$lang['upload_advise_thumbnail'] = 'Valfritt, men rekommenderat : välj miniatyr att knyta till ';
|
||||
$lang['upload_advise_filesize'] = 'filstorleken får inte vara större än : ';
|
||||
$lang['upload_advise_width'] = 'bredden av bilden får inte vara större än : ';
|
||||
$lang['upload_advise_height'] = 'höjden av bilden får inte vara större än : ';
|
||||
$lang['upload_advise_filetype'] = 'bilden måste vara av formaten jpg, gif eller png';
|
||||
$lang['upload_err_username'] = 'ett användarnamn måste anges';
|
||||
$lang['upload_username'] = 'Användarnamn';
|
||||
$lang['upload_successful'] = 'Bilden skickades utan problem, en administratör kommer att godkänna den så fort som möjligt';
|
||||
// new or modified in release 1.3
|
||||
$lang['charset'] = 'iso-8859-1';
|
||||
$lang['no'] = 'nej';
|
||||
$lang['yes'] = 'ja';
|
||||
$lang['guest'] = 'gäst';
|
||||
$lang['mail_address'] = 'e-postadress';
|
||||
$lang['public'] = 'publik';
|
||||
$lang['private'] = 'privat';
|
||||
$lang['add'] = 'lägg till';
|
||||
$lang['dissociate'] = 'separera';
|
||||
$lang['mandatory'] = 'obligatorisk';
|
||||
$lang['err_date'] = 'fel datum';
|
||||
$lang['picture'] = 'bild';
|
||||
$lang['IP'] = 'IP';
|
||||
$lang['close'] = 'stäng';
|
||||
$lang['open'] = 'öppna';
|
||||
$lang['keywords'] = 'nyckelord';
|
||||
$lang['errors_title'] = 'Fel';
|
||||
$lang['infos_title'] = 'Information';
|
||||
$lang['default'] = 'standard';
|
||||
$lang['comments'] = 'kommentarer';
|
||||
$lang['category_representative'] = 'representativ';
|
||||
$lang['stats'] = 'statistik';
|
||||
$lang['most_visited_cat_hint'] = 'visar de mest besökta bilderna';
|
||||
$lang['most_visited_cat'] = 'mest besökta';
|
||||
$lang['best_rated_cat_hint'] = 'visar de högst värderade bilderna';
|
||||
$lang['best_rated_cat'] = 'högst värderade';
|
||||
$lang['recent_cat_hint'] = 'visar de senaste visade bilderna';
|
||||
$lang['recent_cat'] = 'de senast visade';
|
||||
$lang['recent_cat_title'] = 'Senaste visade bilder';
|
||||
$lang['visited'] = 'besökta';
|
||||
$lang['times'] = 'gånger';
|
||||
$lang['customize_theme'] = 'gränssnitttema';
|
||||
$lang['customize_expand'] = 'veckla ut alla kategorier';
|
||||
$lang['customize_show_nb_comments'] = 'visa antal kommentarer';
|
||||
$lang['customize_short_period'] = 'kort period';
|
||||
$lang['customize_long_period'] = 'lång period';
|
||||
$lang['customize_template'] = 'utseende';
|
||||
$lang['err_periods'] = 'period måste bara ett heltal';
|
||||
$lang['err_periods_2'] = 'period måste vara högre än 0. Den långa perioden måste vara längre än den korta.';
|
||||
$lang['create_cookie'] = 'skapa en kaka';
|
||||
$lang['customize_day'] = 'dag';
|
||||
$lang['customize_week'] = 'vecka';
|
||||
$lang['customize_month'] = 'månad';
|
||||
$lang['customize_year'] = 'år';
|
||||
$lang['slideshow'] = 'bildspel';
|
||||
$lang['period_seconds'] = 'sekunder per bild';
|
||||
$lang['slideshow_stop'] = 'stoppa bildspel';
|
||||
$lang['comment_added'] = 'Din kommentar har blivit registrerad';
|
||||
$lang['comment_to_validate'] = 'En administratör måste godkänna din kommentar innan den visas.';
|
||||
$lang['comment_anti-flood'] = 'Översvämmningssystemet : var god vänta en stund innan du postar en ny kommentar';
|
||||
$lang['comment_user_exists'] = 'Användarnamnet används redan av annan användare';
|
||||
$lang['invalid_search'] = 'Ord i sökningen måste vara större än 3 tecken och får inte innehålla punkt';
|
||||
$lang['search_mode_or'] = 'minst ett ord';
|
||||
$lang['search_mode_and'] = 'alla ord';
|
||||
$lang['search_comments'] = 'separera olika ord med blanksteg';
|
||||
$lang['upload_name'] = 'Namn på bilden';
|
||||
$lang['upload_author'] = 'Upphovsman (typ "Pierrick LE GALL")';
|
||||
$lang['upload_creation_date'] = 'Skapad datum (DD/MM/YYYY)';
|
||||
$lang['upload_comment'] = 'Kommentar';
|
||||
$lang['mail_hello'] = 'Hej,';
|
||||
$lang['mail_new_upload_subject'] = 'Ny bild på webbsidan';
|
||||
$lang['mail_new_upload_content'] = 'En ny bild har skickats upp till galleriet. Det väntar på att du ska godkänna det. Gå till admin-panelen för att godkänna eller avvisa bilden.';
|
||||
$lang['mail_new_comment_subject'] = 'Ny kommentar på webbsida';
|
||||
$lang['mail_new_comment_content'] = 'En ny kommentar har registrerats på webbsidan. Om du väljer att godkänna varje kommentar, så måste du först godkänna denna kommentar i admin-panelen för att den ska synas i galleriet.'."\n\n".'Du kan se senaste kommentaren i admin-panelen';
|
||||
$lang['connected_user'] = 'ansluten användare';
|
||||
$lang['title_comments'] = 'Användarkommentar';
|
||||
$lang['stats_last_days'] = 'senaste dagarna';
|
||||
$lang['hint_comments'] = 'Se senaste användararnas kommentarer';
|
||||
$lang['menu_login'] = 'logga in';
|
||||
//-------------------------------------------------------------- administration
|
||||
if ( $isadmin )
|
||||
{
|
||||
$lang['title_liste_users'] = 'Användarlista';
|
||||
$lang['title_history'] = 'Historik';
|
||||
$lang['title_update'] = 'Uppdatera databas';
|
||||
$lang['title_configuration'] = 'Konfiguration för PhpWebGallery';
|
||||
$lang['title_instructions'] = 'Instruktioner';
|
||||
$lang['title_categories'] = 'Kategorihantering';
|
||||
$lang['title_edit_cat'] = 'Ändra en kategori';
|
||||
$lang['title_info_images'] = 'Ändra kategorins bildinformation';
|
||||
$lang['title_thumbnails'] = 'Skapa miniatyrer';
|
||||
$lang['title_thumbnails_2'] = 'för';
|
||||
$lang['title_default'] = 'Administration för PhpWebGallery';
|
||||
$lang['menu_title'] = 'Administration';
|
||||
$lang['menu_config'] = 'Konfiguration';
|
||||
$lang['menu_users'] = 'Användare';
|
||||
$lang['menu_add_user'] = 'Lägg till';
|
||||
$lang['menu_list_user'] = 'lista';
|
||||
$lang['menu_categories'] = 'Kategorier';
|
||||
$lang['menu_update'] = 'Uppdatera databas';
|
||||
$lang['menu_thumbnails'] = 'Miniatyrer';
|
||||
$lang['menu_history'] = 'Historik';
|
||||
$lang['menu_instructions'] = 'Instruktioner';
|
||||
$lang['menu_back'] = 'Tillbaka till gallerier';
|
||||
$lang['title_waiting'] = 'Bilder som väntar på godkännande';
|
||||
$lang['menu_waiting'] = 'Väntar på godkännande';
|
||||
$lang['default_message'] = 'PhpWebGallery administrationspanel';
|
||||
$lang['conf_err_prefixe'] = 'miniatyrens prefix får inte innehålla några accenttecken';
|
||||
$lang['conf_err_mail'] = 'e-postadress avvisad, ska se ut som: name@server.com';
|
||||
$lang['conf_err_sid_size'] = 'sessionens identifikationsstorlek måste vara ett heltal mellan 4 och 50';
|
||||
$lang['conf_err_sid_time'] = 'sessionens tid måste vara ett heltal mellan 5 och 60';
|
||||
$lang['conf_err_max_user_listbox'] = 'max antal användare i listboxen måste vara ett heltal mellan 0 och 255';
|
||||
$lang['conf_confirmation'] = 'Information registrerad i databasen';
|
||||
$lang['conf_general_title'] = 'Huvudkonfiguration';
|
||||
$lang['conf_general_webmaster'] = 'webmaster användare';
|
||||
$lang['conf_general_webmaster_info'] = 'Det kommer att visas för besökare. Det är nödvändigt för webbsidans administration';
|
||||
$lang['conf_general_mail'] = 'webmasters mailadress';
|
||||
$lang['conf_general_mail_info'] = 'Besökare kommer att kunna kontakta via denna epostadress';
|
||||
$lang['conf_general_prefix'] = 'miniatyrens prefix';
|
||||
$lang['conf_general_prefix_info'] = 'Minityren använder detta prefix. Ändra inte om du är osäker.';
|
||||
$lang['conf_general_access'] = 'Typ av åtkomst';
|
||||
$lang['conf_general_access_1'] = 'fri';
|
||||
$lang['conf_general_access_2'] = 'begränsad';
|
||||
$lang['conf_general_access_info'] = '- fri : vem som helst kan komma in på webbsidan, vilken besökare som helst ett konto för att ändra utseendet på webbsidan.<br />- begränsad : webmastern skapar användarkonton. Endast registrerade användare kan komma in på webbsidan';
|
||||
$lang['conf_general_max_user_listbox'] = 'maximalt antal användare i användarlistan';
|
||||
$lang['conf_general_max_user_listbox_info'] = '- detta är maximala antalet av användare som PhpWebGallery visar i en användarlista istället för en enkel textruta på identifieringssidan<br />- skriv in ett nummer mellan 0 och 255, 0 betyder att du inte vill visa användarlistan';
|
||||
$lang['conf_comments'] = 'användarkommentarer';
|
||||
$lang['conf_comments_title'] = 'Konfiguration av '.$lang['conf_comments'];
|
||||
$lang['conf_comments_show_comments'] = $lang['conf_comments'];
|
||||
$lang['conf_comments_show_comments_info'] = 'visa användarnas kommentarer under varje bild ?';
|
||||
$lang['conf_comments_comments_number'] = 'antal kommentarer per sida';
|
||||
$lang['conf_comments_comments_number_info'] = 'antal kommentarer som visas på varje sida. Detta antal är obegränsat för bilder. Skriv in ett nummer mellan 5 och 50.';
|
||||
$lang['conf_err_comment_number'] = 'Antalet kommentarer per sida måste vara mellan 5 och 50.';
|
||||
$lang['conf_remote_site_delete_info'] = 'Tar du bort en fjärrserver så tar du även bort alla bilder och kategorier som den är relaterad till.';
|
||||
$lang['conf_upload_title'] = 'Konfiguration av uppladdning av bilder för användare';
|
||||
$lang['conf_upload_available'] = 'godkänn uppladdningen av bilder';
|
||||
$lang['conf_upload_maxfilesize'] = 'max filstorlek';
|
||||
$lang['conf_upload_maxfilesize_info'] = 'Maximal filstorlek för uppladdade bilder. Måste vara ett nummer mellan 10 och 1000 KB.';
|
||||
$lang['conf_err_upload_maxfilesize'] = 'Maximal filstorlek för de uppladdade bilderna måste vara ett nummer mellan 10 och 1000 KB.';
|
||||
$lang['conf_upload_maxwidth'] = 'maximal bredd';
|
||||
$lang['conf_upload_maxwidth_info'] = 'Maximal bredd godkännd för uppladdade bilder. Måste vara högre än 10 pixlar';
|
||||
$lang['conf_err_upload_maxwidth'] = 'Maximal bredd godkännd för de uppladdade bilderna måste vara ett nummer högre än 10 pixlar.';
|
||||
$lang['conf_upload_maxheight'] = 'maximal höjd';
|
||||
$lang['conf_upload_maxheight_info'] = 'Maximal höjd godkännd för uppladdade bilder. Måste vara högre än 10 pixlar';
|
||||
$lang['conf_err_upload_maxwidth'] = 'Maximal höjd godkännd för de uppladdade bilderna måste vara ett nummer högre än 10 pixlar.';
|
||||
$lang['conf_upload_maxwidth_thumbnail'] = 'miniatyrers maximala bredd';
|
||||
$lang['conf_upload_maxwidth_thumbnail_info'] = 'Maximal bredd godkännd för uppladdade miniatyrer. Måste vara högre än 10 pixlar';
|
||||
$lang['conf_err_upload_maxwidth_thumbnail'] = 'Maximal bredd godkännd för de uppladdade miniatyrerna måste vara ett nummer högre än 10 pixlar.';
|
||||
$lang['conf_upload_maxheight_thumbnail'] = 'miniatyrers maximala höjd';
|
||||
$lang['conf_upload_maxheight_thumbnail_info'] = 'Maximal höjd godkännd för uppladdade miniatyrer. Måste vara högre än 10 pixlar';
|
||||
$lang['conf_err_upload_maxheight_thumbnail'] = 'Maximal höjd godkännd för de uppladdade miniatyrerna måste vara ett nummer högre än 10 pixlar.';
|
||||
$lang['conf_default_title'] = 'Visningsinställningar för oregistrerade besökare och nya konton';
|
||||
$lang['conf_default_language_info'] = 'standardspråk';
|
||||
$lang['conf_default_theme_info'] = 'standardtema';
|
||||
$lang['conf_session_title'] = 'Sessionskonfiguration';
|
||||
$lang['conf_session_size'] = 'identifikationsstorlek';
|
||||
$lang['conf_session_size_info'] = '- desto längre din identifikation är, desto säkrare blir din webbsida<br />- skriv ett tal mellan 4 och 50';
|
||||
$lang['conf_session_time'] = 'giltlighetstid';
|
||||
$lang['conf_session_time_info'] = '- desto kortare giltlighetstiden är, desto säkrare är webbsidan.<br />- skriv ett tal mellan 5 och 60 minuter';
|
||||
$lang['conf_session_key'] = 'nyckelord';
|
||||
$lang['conf_session_key_info'] = '- sessionens nyckelord förbättrar kodningen av sessionsindentifieringen<br />- skriv en mening kortare än 255 tecken';
|
||||
$lang['conf_session_delete'] = 'tabort ut-daterade sessioner';
|
||||
$lang['conf_session_delete_info'] = 'det är rekommenderat att tömma databasen med listan över sessioner, för annars ligger utgångna sessioner kvar i databasen(men det är inget säkerhetsproblem)';
|
||||
$lang['user_err_modify'] = 'Denna användare kan inte ändras eller tas bort';
|
||||
$lang['user_err_unknown'] = 'Denna användare finns inte i databasen';
|
||||
$lang['adduser_info_message'] = 'Information registrerad i databasen för användaren ';
|
||||
$lang['adduser_info_password_updated'] = '(lösenordet uppdaterat)';
|
||||
$lang['adduser_info_back'] = 'tillbaka till användarlistan';
|
||||
$lang['adduser_fill_form'] = 'Var god fyll i följande sida';
|
||||
$lang['adduser_unmodify'] = 'ej förändringsbar';
|
||||
$lang['adduser_status'] = 'status';
|
||||
$lang['adduser_status_admin'] = 'administratör';
|
||||
$lang['adduser_status_guest'] = 'gäst';
|
||||
$lang['permuser_info_message'] = 'Rättigheter registrerade';
|
||||
$lang['permuser_title'] = 'Rättigheter för användare';
|
||||
$lang['permuser_warning'] = 'Varning : en "<span style="font-weight:bold;">förbjuden åtkomst</span>" till roten av kategorin för att hindra åtkomst till hela kategorin';
|
||||
$lang['permuser_authorized'] = 'berättigad';
|
||||
$lang['permuser_forbidden'] = 'förbjuden';
|
||||
$lang['permuser_parent_forbidden'] = 'föräldrakategori förbjuden';
|
||||
$lang['listuser_confirm'] = 'Vill du verkligen ta bort denna användare';
|
||||
$lang['listuser_info_deletion'] = 'togs bort från databasen';
|
||||
$lang['listuser_user_group'] = 'Användargrupp';
|
||||
$lang['listuser_modify'] = 'ändra';
|
||||
$lang['listuser_modify_hint'] = 'ändra information på';
|
||||
$lang['listuser_permission'] = 'rättigheter';
|
||||
$lang['listuser_permission_hint'] = 'ändra rättigheter på';
|
||||
$lang['listuser_delete'] = 'ta bort';
|
||||
$lang['listuser_delete_hint'] = 'ta bort användare';
|
||||
$lang['listuser_button_all'] = 'allt';
|
||||
$lang['listuser_button_invert'] = 'inverterat';
|
||||
$lang['listuser_button_create_address'] = 'skapa e-postadress';
|
||||
$lang['cat_invisible'] = 'osynlig';
|
||||
$lang['cat_edit'] = 'Redigera';
|
||||
$lang['cat_up'] = 'Flytta upp';
|
||||
$lang['cat_down'] = 'Flytta ner';
|
||||
$lang['cat_image_info'] = 'Bildinfo';
|
||||
$lang['cat_total'] = 'totalt';
|
||||
$lang['editcat_confirm'] = 'Information registerad i databasen';
|
||||
$lang['editcat_back'] = 'kategorier';
|
||||
$lang['editcat_title1'] = 'Valmöjligheter för';
|
||||
$lang['editcat_name'] = 'Namn';
|
||||
$lang['editcat_comment'] = 'Kommentar';
|
||||
$lang['editcat_status'] = 'Status';
|
||||
$lang['infoimage_general'] = 'Generella val för denna kategorin';
|
||||
$lang['infoimage_useforall'] = 'använda detta för alla bilder ?';
|
||||
$lang['infoimage_creation_date'] = 'skapad den';
|
||||
$lang['infoimage_detailed'] = 'Inställningar för varje bild';
|
||||
$lang['infoimage_title'] = 'titel';
|
||||
$lang['infoimage_comment'] = 'kommentar';
|
||||
$lang['update_missing_tn'] = 'miniatyren saknas för';
|
||||
$lang['update_disappeared_tn'] = 'miniatyren försvann';
|
||||
$lang['update_disappeared'] = 'finns inte';
|
||||
$lang['update_part_deletion'] = 'Borttagning av bild som saknar miniatyr eller som inte finns';
|
||||
$lang['update_deletion_conclusion'] = 'bild borttagen från databasen';
|
||||
$lang['update_part_research'] = 'Söka efter nya bilder i kategorierna';
|
||||
$lang['update_research_added'] = 'tillagd';
|
||||
$lang['update_research_tn_ext'] = 'miniatyr i';
|
||||
$lang['update_research_conclusion'] = 'bild tillagd i databasen';
|
||||
$lang['update_default_title'] = 'Välj något av följande';
|
||||
$lang['update_only_cat'] = 'uppdatera kategorier, inte bilder';
|
||||
$lang['update_all'] = 'uppdatera allt';
|
||||
$lang['tn_width'] = 'bredd';
|
||||
$lang['tn_height'] = 'höjd';
|
||||
$lang['tn_no_support'] = 'Bilden kan ej nås eller så stöds den inte';
|
||||
$lang['tn_format'] = 'för filens format';
|
||||
$lang['tn_thisformat'] = 'för denna fils format';
|
||||
$lang['tn_err_width'] = 'bredd måste vara ett tal högre än';
|
||||
$lang['tn_err_height'] = 'höjd msåte vare ett tal högre än';
|
||||
$lang['tn_results_title'] = 'Resultat av miniatyrtillverkning';
|
||||
$lang['tn_picture'] = 'bild';
|
||||
$lang['tn_results_gen_time'] = 'genererades på';
|
||||
$lang['tn_stats'] = 'Generell statistik';
|
||||
$lang['tn_stats_nb'] = 'antal miniatyrbilder';
|
||||
$lang['tn_stats_total'] = 'total tid';
|
||||
$lang['tn_stats_max'] = 'maximala tid';
|
||||
$lang['tn_stats_min'] = 'minimala tid';
|
||||
$lang['tn_stats_mean'] = 'genomsnittlig tid';
|
||||
$lang['tn_err'] = 'Du gjorde misstag';
|
||||
$lang['tn_params_title'] = 'Miniatyr-parametrar';
|
||||
$lang['tn_params_GD'] = 'GD-version';
|
||||
$lang['tn_params_GD_info'] = '- GD är bibliotek för bildmanipulering med PHP<br />- välj en version som är installerad på din server. Om du väljer fel, så får du bara felmeddelanden, kom tillbaka och välj en annan version. Om ingen version fungerar, så stödjer inte din server GD.';
|
||||
$lang['tn_params_width_info'] = 'maximal bredd som miniatyren kan ha';
|
||||
$lang['tn_params_height_info'] = 'maximal höjd som miniatyren kan ha';
|
||||
$lang['tn_params_create'] = 'skapa';
|
||||
$lang['tn_params_create_info'] = 'Gör inte miniatyrer av för många bilder samtidigt.<br />Miniatyr-skapandet använder mycket processorkraft. Om du installerat PhpWebGallery på ett gratis webbhotell, kan en alldeles för hög processorbelastning kan ibland leda till att webbhotellet tar bort ditt konto.';
|
||||
$lang['tn_params_format'] = 'filformat';
|
||||
$lang['tn_params_format_info'] = 'endast filformatet jpeg fungerar med minityr-skapandet';
|
||||
$lang['tn_alone_title'] = 'bilder utan miniatyrer (endast jpeg och png)';
|
||||
$lang['tn_dirs_title'] = 'Kataloglista';
|
||||
$lang['tn_dirs_alone'] = 'bilder utan miniatyrer';
|
||||
$lang['help_images_title'] = 'Lägga till bilder';
|
||||
$lang['help_images_intro'] = 'Hur man placerar bilder i kataloger';
|
||||
$lang['help_images'][0] = 'i katalogen "gallerier", skapar du kataloger som ska bli dina kategorier';
|
||||
$lang['help_images'][1] = 'i varje katalog, kan du skapa hur många underkataloger som du önskar.';
|
||||
$lang['help_images'][2] = 'du kan skapa hur många kategorier och underkategorier som du önskar';
|
||||
$lang['help_images'][3] = 'bildfilerna måste vara av jpeg-format (ändelse jpg eller JPG), gif-format (ändelse gif eller GIF) eller png-format (ändelse png eller PNG).';
|
||||
$lang['help_images'][4] = 'försök att inte använda blanksteg " " eller bindesträck "-" i bildfilerna, jag råder dig att använda underscore "_" tecknet som PhpWebGallery klarar av och det kommer ge bättre resultat';
|
||||
$lang['help_thumbnails_title'] = 'Miniatyrer';
|
||||
$lang['help_thumbnails'][0] = 'i varje katalog som innehåller bilder som ska visas på din webbsida, så finns det en underkatalog som heter "thumbnail", om det inte finns, skapa en och lägg dina miniatyrer i den.';
|
||||
$lang['help_thumbnails'][1] = 'miniatyrer kan inte ha samma ändelse som deras associerade bild (en bild med .jpg ändelse kan ha en miniatyr i .GIF ändelse som exempel).';
|
||||
$lang['help_thumbnails'][2] = 'miniatyren som är associerad med en bild måste ha prefixet som anges på konfigurationssidan (exempelvis image.jpg -> TN_image.GIF).';
|
||||
$lang['help_thumbnails'][3] = 'Jag råder dig att använda den nerladdningsbara modulen för Windows som finns på PhpWebGallerys sidor för miniatyrhanteringen.';
|
||||
$lang['help_thumbnails'][4] = 'du kan använda dig av miniatyr-skaparsidan som finns i PhpWebGallery, men mitt råd är att inte göra det, för att miniatyrernas kvalite kan bli dålig och tar mycket processorkraft och det kan bli ett problem om du använder ett gratis webbhotell.';
|
||||
$lang['help_thumbnails'][5] = 'om du väljer att ditt webbhotell ska skapa miniatyrerna, så måste du ändra skrivrättigheterna på "galleries" katalogen till 775 och det gäller även för dina underkataloger.';
|
||||
$lang['help_database_title'] = 'Uppdaterar databasen';
|
||||
$lang['help_database'][0] = 'när bilderna och miniatyrerna är placerade i katalogerna, klicka på "uppdatera databas" i menyn för administrationspanelen.';
|
||||
$lang['help_infos_title'] = 'Övrig information';
|
||||
$lang['help_infos'][1] = 'Så fort du har skapat ditt galleri, gå in i användarlistan och ändra rättigheterna för "gäst". Varje ny registrerad användare kommer få samma rättigheter som "gästanvändaren".';
|
||||
$lang['help_remote_title'] = 'Fjärrsida';
|
||||
$lang['help_remote'][0] = 'PhpWebGallery erbjuder möjligheten att använda flera olika servrar att spara bilderna på som kommer utgöra ditt galleri. Det kan vara användbart om ditt galleri är installerad på en server med begränsad yta och du har många bilder som ska visas. Följ denna anvisning tack : ';
|
||||
$lang['help_remote'][1] = '1. ändra filen "create_listing_file.php" (du kommer hitta den i katalogen "admin"), genom att ändra raden "$prefix_thumbnail = "TN-";" om prefixet för dina miniatyrer inte är "TN-".';
|
||||
$lang['help_remote'][2] = '2. lägg filen "create_listing_file.php" ändrad på din andra webbsida, lägg den i rot-katalogen för dina kataloger med bilder i (som katalogen "galleries" på denna webbsidan) via ftp.';
|
||||
$lang['help_remote'][3] = '3. starta scriptet genom att gå till http://andraServern/andraGalleriet/create_listing_file.php, en listing.xml fil har precis skapats.';
|
||||
$lang['help_remote'][4] = '4. hämta tillbaka filen listing.xml från din andra webbsida och placera den i katalogen "admin" på denna webbsidan.';
|
||||
$lang['help_remote'][5] = '5. starta nu en updatering av alla data i administrationspanelen, så fort du använt listing.xml, stäng ner det från katalogen "admin".';
|
||||
$lang['help_remote'][6] = 'Du kan uppdatera innehållet på den andra webbsidan genom att göra om denna åtgärden. Du kan också stänga ner den andra webbsidan genom att välja det i administrationspanelen..';
|
||||
$lang['help_upload_title'] = 'Tillagda bilder av användare';
|
||||
$lang['help_upload'][0] = 'PhpWebGallery erbjuder möjligheten för användare att skicka upp bilder. För att det ska vara möjligt :';
|
||||
$lang['help_upload'][1] = '1. Se till att det är tillåtet i konfigurationsdelen i administrationspanelen';
|
||||
$lang['help_upload'][2] = '2. Se till att rättigheterna för att skriva i katalogerna är rätt';
|
||||
$lang['install_message'] = 'Meddelande';
|
||||
$lang['step1_confirmation'] = 'Parametrarna är korrekta';
|
||||
$lang['step1_err_db'] = 'Anslutning till servern lyckades, men kunde inte komma åt databasen';
|
||||
$lang['step1_err_server'] = 'Kan inte nå servern';
|
||||
$lang['step1_err_copy_2'] = 'Nästa steg i installationen är nu möjlig';
|
||||
$lang['step1_err_copy_next'] = 'nästa steg';
|
||||
$lang['step1_title'] = 'Steg 1/2';
|
||||
$lang['step1_host'] = 'MySQL-värd';
|
||||
$lang['step1_host_info'] = 'localhost, sql.multimania.com, toto.freesurf.fr';
|
||||
$lang['step1_user'] = 'Användarnamn';
|
||||
$lang['step1_user_info'] = 'användarnamn som du fått av din servervärd';
|
||||
$lang['step1_pass'] = 'Lösenord';
|
||||
$lang['step1_pass_info'] = 'användarnamnets lösenord som du fått av din servervärd';
|
||||
$lang['step1_database'] = 'Databasens namn';
|
||||
$lang['step1_database_info'] = 'också tillhandagetts av din servervärd';
|
||||
$lang['step1_prefix'] = 'Databasens prefix';
|
||||
$lang['step1_prefix_info'] = 'databasens namn som kommer bli märkt med detta prefix (gör att du enklare kan hantera din databas)';
|
||||
$lang['step2_err_login1'] = 'skriv användarnamn för din webmaster';
|
||||
$lang['step2_err_login3'] = 'webmaster användarnamn kan inte innehålla tecknen \' eller "';
|
||||
$lang['step2_err_pass'] = 'var god ange ditt lösenord igen';
|
||||
$lang['step2_err_mail'] = $lang['conf_err_mail'];
|
||||
$lang['install_end_title'] = 'Installationen klar';
|
||||
$lang['install_end_message'] = 'Konfigurationen av PhpWebGallery är klar, här kommer nästa steg<br /><br />
|
||||
För säkerhets skull, tavbort filen "install.php" som ligger i "admin"-katalogen<br />
|
||||
Så fort filen är bortagen, följ dessa instruktioner :
|
||||
<ul>
|
||||
<li>gå till identifieringssidan : [ <a href="../identification.php">identifiering</a> ] och använd användarnamnet och lösenordet som du angav för din webmaster</li>
|
||||
<li>detta användarnamn kommer ge dig tillträde till [ <a href="admin.php">administrationspanelen</a> ] och till instruktionerna för att kunna placera bilderna i dina kataloger</li>
|
||||
</ul>s';
|
||||
$lang['step2_title'] = 'Steg 2/2';
|
||||
$lang['step2_pwd'] = 'webmaster lösenord';
|
||||
$lang['step2_pwd_info'] = 'Håll detta hemligt, det ger tillträde till administrationspanelen';
|
||||
$lang['step2_pwd_conf'] = 'verifiera lösenord';
|
||||
$lang['step2_pwd_conf_info'] = 'verifiering';
|
||||
// new or modified in release 1.3
|
||||
$lang['remote_site'] = 'Fjärrsida';
|
||||
$lang['title_add'] = 'Lägg till användare';
|
||||
$lang['title_modify'] = 'Ändra användare';
|
||||
$lang['title_groups'] = 'Grupphantering';
|
||||
$lang['title_user_perm'] = 'Ändra rättigheter för användare';
|
||||
$lang['title_cat_perm'] = 'Ändra rättigheter för kategori';
|
||||
$lang['title_group_perm'] = 'Ändra rättigheter för grupp';
|
||||
$lang['title_picmod'] = 'Ändra information om en bild';
|
||||
$lang['menu_groups'] = 'Grupper';
|
||||
$lang['menu_comments'] = 'Kommentarer';
|
||||
$lang['conf_general_log'] = 'historik';
|
||||
$lang['conf_general_log_info'] = 'För en historik över besök på webbsidan ? Besökare kommer visas i historiksektionen i administrationspanelen';
|
||||
$lang['conf_general_mail_notification'] = 'E-postnotifikation';
|
||||
$lang['conf_general_mail_notification_info'] = 'Automatiserad e-postnotifikation för administratörer (och endast dem) när användare lägger till en kommentar eller skickar upp en bild.';
|
||||
$lang['conf_comments_validation'] = 'validering';
|
||||
$lang['conf_comments_validation_info'] = 'En administratör validerar användarnas postade kommentarer innan de visas offentligt på webbsidan';
|
||||
$lang['conf_comments_forall'] = 'för alla ?';
|
||||
$lang['conf_comments_forall_info'] = 'Även gäster som inte är registrerade kan posta kommentarer';
|
||||
$lang['conf_default_nb_image_per_row_info'] = 'antal bilder för varje rad som ska vara standard';
|
||||
$lang['conf_default_nb_row_per_page_info'] = 'antal rader per sida som ska vara standard';
|
||||
$lang['conf_default_short_period_info'] = 'I dagar. Period inom vilken bilder ska markeras med ett rött märke. Den korta perioden måste vara längre än 1 dag.';
|
||||
$lang['conf_default_long_period_info'] = 'I dagar. Period inom vilken bilder ska markeras med ett grönt märke. Den långa perioden måste vara längre än den korta perioden.';
|
||||
$lang['conf_default_expand_info'] = 'veckla ut alla kategorier i menyn som standard ?';
|
||||
$lang['conf_default_show_nb_comments_info'] = 'visa antalet kommentarer för varje bild på miniatyrsidan';
|
||||
$lang['conf_default_maxwidth_info'] = 'Maximal bredd för visning av bilder : bilden kommer bara visas i en ny storlek, bilden kommer inte att ändras på. Låt vara tom om du inte önskar ha en gräns.';
|
||||
$lang['conf_default_maxheight_info'] = 'Precis som den maximala bredden, men för höjden';
|
||||
$lang['conf_session_cookie'] = 'tillåt kakor';
|
||||
$lang['conf_session_cookie_info'] = 'användare behöver inte logga in för varje besök. Mindre säkerhet.';
|
||||
$lang['adduser_associate'] = 'Lägg till i grupp';
|
||||
$lang['group_add'] = 'Lägg till grupp';
|
||||
$lang['group_add_error1'] = 'Namnet i gruppen får inte innehålla " eller \'';
|
||||
$lang['group_add_error2'] = 'Detta namn finns redan på en annan grupp';
|
||||
$lang['group_confirm'] = 'Är du säker på att du vill ta bort denna grupp ?';
|
||||
$lang['group_list_title'] = 'Lista på befintliga grupper';
|
||||
$lang['group_err_unknown'] = 'Denna grupp finns inte i databasen';
|
||||
$lang['cat_permission'] = 'rättigheter';
|
||||
$lang['cat_update'] = 'uppdatera';
|
||||
$lang['cat_add'] = 'Lägg till virtuell kategori';
|
||||
$lang['cat_parent'] = 'föregående kategori';
|
||||
$lang['cat_error_name'] = 'Namnet på denna kategori får inte vara tom';
|
||||
$lang['cat_virtual'] = 'virtuell';
|
||||
$lang['cat_first'] = 'Flytta längst upp';
|
||||
$lang['cat_last'] = 'Flytta längst ner';
|
||||
$lang['editcat_visible_info'] = '(osynlig för alla utom administratörer)';
|
||||
$lang['editcat_visible'] = 'Synlig';
|
||||
$lang['editcat_uploadable'] = 'Uppladdning tillgänglig';
|
||||
$lang['infoimage_keyword_separation'] = '(separera med komma ",")';
|
||||
$lang['infoimage_addtoall'] = 'lägg till i alla';
|
||||
$lang['infoimage_removefromall'] = 'ta bort ifrån alla';
|
||||
$lang['infoimage_associate'] = 'Associera med kategori';
|
||||
$lang['update_wrong_dirname'] = 'Namnet på kataloger och filer måste skrivas med bokstäver, siffror, "-", "_" eller "."';
|
||||
$lang['stats_pages_seen'] = 'sidor visade';
|
||||
$lang['stats_visitors'] = 'besökare';
|
||||
$lang['stats_empty'] = 'töm historik';
|
||||
$lang['stats_pages_seen_graph_title'] = 'Antal sidor visade per dag';
|
||||
$lang['stats_visitors_graph_title'] = 'Antal besökare per dag';
|
||||
$lang['comments_last_title'] = 'Senaste kommentarer';
|
||||
$lang['comments_non_validated_title'] = 'Kommentarer i väntan på validering';
|
||||
$lang['help_database'][1] = 'För att komma från problemet med att uppdatera för många bilder i en enda uppdatering, råder jag till att börja med att bara uppdatera kategorier, sedan i kategorisektionen av administrationspanelen, uppdatera varje kategori tack vare länken "uppdatera"';
|
||||
$lang['help_upload'][3] = 'Kategorin måste ha uppladdning tillgängligt för att kunna laddas upp till.';
|
||||
$lang['help_upload'][4] = 'Uppladdning av bilder från användarna visas inte direkt på webbsidan, de måste bli godkända först av en administratör. För att kunna göra detta, måste en administratör gå till sidan "Väntar på godkännande" i administrationspanelen, för att godkänna eller förkasta uppskickade bilder, för att sedan starta en uppdatering av databasen.';
|
||||
$lang['help_virtual_title'] = 'Länkar mellan bilder, kategorier och virtuella kategorier';
|
||||
$lang['help_virtual'][0] = 'PhpWebGallery har möjligheten att ta bort associationer där bilder sparas i kategorier och kategorier där bilder visas.';
|
||||
$lang['help_virtual'][1] = 'Enligt standard, så visas bilder i deras riktiga kategorier : de som stämmer överrens med katalogerna på webbservern.';
|
||||
$lang['help_virtual'][2] = 'För att länka en bild till en kategori, så måste du göra en associering på sidan för bildens information eller i informationen för alla bilderna i kategorin.';
|
||||
$lang['help_virtual'][3] = 'Genom att använda denna princip, så blir de möjligt att skapa virtuella kategorier i PhpWebGallery : ingen riktig katalog finns till denna kategori. Du måste skapa denna kategori på sektionen "Kategorier" under administratörspanelen.';
|
||||
$lang['help_groups_title'] = 'Användargrupper';
|
||||
$lang['help_groups'][0] = 'PhpWebGallery kan hantera grupper av användare. Det kan vara väldigt användbart att ha allmänna rättigheter för privata kategorier.';
|
||||
$lang['help_groups'][1] = '1. Skapa en grupp som heter "familj" under sektionen "Grupper" i administratörspanelen.';
|
||||
$lang['help_groups'][2] = '2. I sektionen "Användare", ändra en av dem och lägg till den i gruppen "familj".';
|
||||
$lang['help_groups'][3] = '3. Genom att ändra rättigheterna för kategorin eller för en grupp, så kommer du se att alla kategorier som är tillåtna för en grupp är också tillåtna för dess medlemmar.';
|
||||
$lang['help_groups'][4] = 'En användare kan tillhöra många grupper. Berättigandet är starkare än förbudet : om en användare "jack" tillhör grupperna "familj" och "vänner", och endast gruppen "familj" kan se kategorin "Julen 2004", så kommer "jack" att kunna se "Julen 2004".';
|
||||
$lang['help_access_title'] = 'Berättigande av åtkomst';
|
||||
$lang['help_access'][0] = 'PhpWebGallery kan förbjuda åtkomsten till en kategori. Kategorier kan vara "publika" eller "privata". För att hindra åtkomsten till kategorier :';
|
||||
$lang['help_access'][1] = '1. Ändra kategoriinformationen (från "kategori" sektionen i administratörspanelen) och gör den "privat".';
|
||||
$lang['help_access'][2] = '2. På sidan för rättigheter (för en grupp eller användare) kommer den privata kategorin visas och du kan ge åtkomst eller neka åtkomst.';
|
||||
$lang['help_infos'][2] = 'Om du har några frågor, tveka inte att se efter på forumet eller ställa frågor där. <a href="'.$conf['forum_url'].'" style="text-decoration:underline">Forumet</a> (anslagstavlan) är tillgänglig på PhpWebGallery\'s webbsida.';
|
||||
$lang['step1_err_copy'] = 'Kopiera texten mellan bindesträcken och klistra in det i filen "include/mysql.inc.php"(Varning : mysql.inc.php får endast innehålla det som är i blått, inget radbyte eller blanksteg)';
|
||||
$lang['permuser_only_private'] = 'Endast privata kategorier kommer visas';
|
||||
$lang['waiting_update'] = 'Validerade bilder kommer visas endast efter en uppdatering av databasen';
|
||||
$lang['conf_upload_available_info'] = 'Godkännandet av uppladdade bilder från användare i kategorier på webbsidan (ej en fjärrserver). Detta är en generell parameter, det är nödvändigt att godkänna kategori för kategori, standard, så är ingen kategori "uppladdningsbar".';
|
||||
$lang['install_help'] = 'Behöver du hjälp ? Ställ frågor på <a href="http://forum.phpwebgallery.net">PhpWebGallery\'s anslagstavla</a>.';
|
||||
$lang['install_warning'] = 'Filen "admin/install.php" finns fortfarande kvar. Var vänlig och ta bort den från din server. Det är inte säkert att behålla den.';
|
||||
// new or modified in release 1.3.1
|
||||
$lang['cat_unknown_id'] = 'Denna kategori är okänd i databasen';
|
||||
}
|
||||
?>
|
289
picture.php
289
picture.php
|
@ -16,14 +16,12 @@
|
|||
* the Free Software Foundation; *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
// this page shows the image full size
|
||||
//----------------------------------------------------------- personnal include
|
||||
include_once( './include/init.inc.php' );
|
||||
//-------------------------------------------------- access authorization check
|
||||
check_cat_id( $_GET['cat'] );
|
||||
check_login_authorization();
|
||||
$page['plain_structure'] = get_plain_structure();
|
||||
if ( isset( $page['cat'] ) and is_numeric( $page['cat'] ) )
|
||||
{
|
||||
check_restrictions( $page['cat'] );
|
||||
|
@ -37,15 +35,15 @@ $query.= ';';
|
|||
//-------------------------------------------------------------- initialization
|
||||
initialize_category( 'picture' );
|
||||
//------------------------------------- main picture information initialization
|
||||
$query = 'SELECT id,date_available,comment,hit,keywords';
|
||||
$query.= ',author,name,file,date_creation,filesize,width,height';
|
||||
$query.= ',storage_category_id';
|
||||
if ( is_numeric( $page['cat'] ) )
|
||||
{
|
||||
$query.= ',category_id';
|
||||
}
|
||||
$infos = array( 'id','date_available','comment','hit','keywords','author'
|
||||
,'name','file','date_creation','filesize','width','height'
|
||||
,'storage_category_id' );
|
||||
|
||||
$query = 'SELECT '.implode( ',', $infos );
|
||||
if ( is_numeric( $page['cat'] ) ) $query.= ',category_id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'images';
|
||||
$query.= ' LEFT JOIN '.PREFIX_TABLE.'image_category AS ic ON id = ic.image_id';
|
||||
$query.= ' INNER JOIN '.PREFIX_TABLE.'image_category AS ic';
|
||||
$query.= ' ON id = ic.image_id';
|
||||
$query.= $page['where'];
|
||||
$query.= ' AND id = '.$_GET['image_id'];
|
||||
$query.= $conf['order_by'];
|
||||
|
@ -61,24 +59,17 @@ if ( mysql_num_rows( $result ) == 0 )
|
|||
exit();
|
||||
}
|
||||
$row = mysql_fetch_array( $result );
|
||||
$page['id'] = $row['id'];
|
||||
$page['file'] = $row['file'];
|
||||
$page['name'] = $row['name'];
|
||||
$page['date_available'] = $row['date_available'];
|
||||
$page['comment'] = $row['comment'];
|
||||
$page['hit'] = $row['hit'];
|
||||
$page['author'] = $row['author'];
|
||||
$page['date_creation'] = $row['date_creation'];
|
||||
$page['filesize'] = $row['filesize'];
|
||||
$page['width'] = $row['width'];
|
||||
$page['height'] = $row['height'];
|
||||
$page['category_id'] = $row['category_id'];
|
||||
$page['keywords'] = $row['keywords'];
|
||||
$page['storage_category_id'] = $row['storage_category_id'];
|
||||
|
||||
foreach ( $infos as $info ) {
|
||||
if ( isset( $row[$info] ) ) $page[$info] = $row[$info];
|
||||
else $page[$info] = '';
|
||||
}
|
||||
if ( is_numeric( $page['cat'] ) ) $page['category_id'] = $row['category_id'];
|
||||
// retrieving the number of the picture in its category (in order)
|
||||
$query = 'SELECT DISTINCT(id)';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'images';
|
||||
$query.= ' LEFT JOIN '.PREFIX_TABLE.'image_category AS ic ON id = ic.image_id';
|
||||
$query.= ' INNER JOIN '.PREFIX_TABLE.'image_category AS ic';
|
||||
$query.= ' ON id = ic.image_id';
|
||||
$query.= $page['where'];
|
||||
$query.= $conf['order_by'];
|
||||
$query.= ';';
|
||||
|
@ -140,7 +131,7 @@ if ( isset( $_GET['add_fav'] ) )
|
|||
}
|
||||
$query = 'SELECT id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'images';
|
||||
$query.= ' LEFT JOIN '.PREFIX_TABLE.'image_category AS ic';
|
||||
$query.= ' INNER JOIN '.PREFIX_TABLE.'image_category AS ic';
|
||||
$query.= ' ON id = ic.image_id';
|
||||
$query.= $page['where'];
|
||||
$query.= $conf['order_by'];
|
||||
|
@ -161,17 +152,79 @@ if ( isset( $_GET['add_fav'] ) )
|
|||
exit();
|
||||
}
|
||||
}
|
||||
|
||||
//---------------------------------------------- next picture thumbnail display
|
||||
$next = 0;
|
||||
if ( $page['num'] < $page['cat_nb_images']-1 )
|
||||
{
|
||||
$next = $page['num'] + 1;
|
||||
$query = 'SELECT DISTINCT(id),name,file,tn_ext,storage_category_id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'images';
|
||||
$query.= ' INNER JOIN '.PREFIX_TABLE.'image_category AS ic';
|
||||
$query.= ' ON id=ic.image_id';
|
||||
$query.= $page['where'];
|
||||
$query.= $conf['order_by'];
|
||||
$query.= ' LIMIT '.$next.',1';
|
||||
$query.= ';';
|
||||
$result = mysql_query( $query );
|
||||
$row = mysql_fetch_array( $result );
|
||||
|
||||
if ( !isset($array_cat_directories[$row['storage_category_id']]))
|
||||
{
|
||||
$array_cat_directories[$row['storage_category_id']] =
|
||||
get_complete_dir( $row['storage_category_id'] );
|
||||
}
|
||||
$cat_directory = $array_cat_directories[$row['storage_category_id']];
|
||||
|
||||
$file = substr ( $row['file'], 0, strrpos ( $row['file'], ".") );
|
||||
$next_lien_thumbnail = $cat_directory.'thumbnail/';
|
||||
$next_lien_thumbnail.= $conf['prefix_thumbnail'].$file.".".$row['tn_ext'];
|
||||
|
||||
if ( isset( $row['name'] ) and $row['name'] != '' )
|
||||
{
|
||||
$next_alt_thumbnail = $row['name'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$next_alt_thumbnail = $file;
|
||||
}
|
||||
$next_title = $lang['next_image']." : ".$next_alt_thumbnail;
|
||||
|
||||
$next_url_link = './picture.php?image_id='.$row['id'];
|
||||
$next_url_link.= '&cat='.$page['cat'];
|
||||
if ( isset( $_GET['expand'] ) )
|
||||
$next_url_link.= '&expand='.$_GET['expand'];
|
||||
if ( $page['cat'] == 'search' )
|
||||
{
|
||||
$next_url_link.= "&search=".$_GET['search'].'&mode='.$_GET['mode'];
|
||||
}
|
||||
}
|
||||
//----------------------------------------------------- template initialization
|
||||
$vtp = new VTemplate;
|
||||
//
|
||||
// Start output of page
|
||||
//
|
||||
//------------------------------------------------------------------ page title
|
||||
$title = $page['name'];
|
||||
if ( $title == '')
|
||||
{
|
||||
$title = str_replace("_"," ",get_filename_wo_extension($page['file']));
|
||||
}
|
||||
$refresh = 0;
|
||||
if ( isset( $_GET['slideshow'] ) && isset($next_url_link))
|
||||
{
|
||||
$refresh= $_GET['slideshow'];
|
||||
$url_link = $next_url_link;
|
||||
}
|
||||
include('include/page_header.php');
|
||||
|
||||
$handle = $vtp->Open( './template/'.$user['template'].'/picture.vtp' );
|
||||
initialize_template();
|
||||
$vtp->setGlobalVar( $handle, 'user_template', $user['template'] );
|
||||
|
||||
$tpl = array( 'back','submit','comments_title','comments_del','delete',
|
||||
'comments_add','author','slideshow','slideshow_stop',
|
||||
'period_seconds' );
|
||||
templatize_array( $tpl, 'lang', $handle );
|
||||
$vtp->setGlobalVar( $handle, 'user_template', $user['template'] );
|
||||
$vtp->setGlobalVar( $handle, 'text_color', $user['couleur_text'] );
|
||||
//-------------------------------------------------------- slideshow management
|
||||
if ( isset( $_GET['slideshow'] ) )
|
||||
{
|
||||
|
@ -199,7 +252,8 @@ else
|
|||
$url = './picture.php';
|
||||
$url.= '?image_id='.$page['id'];
|
||||
$url.= '&cat='.$page['cat'];
|
||||
$url.= '&expand='.$_GET['expand'];
|
||||
if (isset($_GET['expand']))
|
||||
$url.= '&expand='.$_GET['expand'];
|
||||
if ( $page['cat'] == 'search' )
|
||||
{
|
||||
$url.= '&search='.$_GET['search'];
|
||||
|
@ -211,23 +265,15 @@ else
|
|||
}
|
||||
$vtp->closeSession( $handle, 'start_slideshow' );
|
||||
}
|
||||
//------------------------------------------------------------------ page title
|
||||
if ( $page['name'] != '' )
|
||||
{
|
||||
$vtp->setGlobalVar( $handle, 'page_title', $page['name'] );
|
||||
}
|
||||
else
|
||||
{
|
||||
$page_title = str_replace("_"," ",get_filename_wo_extension($page['file']));
|
||||
$vtp->setGlobalVar( $handle, 'page_title', $page_title );
|
||||
}
|
||||
|
||||
//-------------------------------------------------- previous picture thumbnail
|
||||
if ( $page['num'] >= 1 )
|
||||
{
|
||||
$prev = $page['num'] - 1;
|
||||
$query = 'SELECT DISTINCT(id),name,file,tn_ext,storage_category_id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'images';
|
||||
$query.= ' LEFT JOIN '.PREFIX_TABLE.'image_category AS ic ON id=ic.image_id';
|
||||
$query.= ' INNER JOIN '.PREFIX_TABLE.'image_category AS ic';
|
||||
$query.= ' ON id=ic.image_id';
|
||||
$query.= $page['where'];
|
||||
$query.= $conf['order_by'];
|
||||
$query.= ' LIMIT '.$prev.',1';
|
||||
|
@ -235,7 +281,7 @@ if ( $page['num'] >= 1 )
|
|||
$result = mysql_query( $query );
|
||||
$row = mysql_fetch_array( $result );
|
||||
|
||||
if ( $array_cat_directories[$row['storage_category_id']] == '' )
|
||||
if ( !isset($array_cat_directories[$row['storage_category_id']]) )
|
||||
{
|
||||
$array_cat_directories[$row['storage_category_id']] =
|
||||
get_complete_dir( $row['storage_category_id'] );
|
||||
|
@ -243,17 +289,20 @@ if ( $page['num'] >= 1 )
|
|||
$cat_directory = $array_cat_directories[$row['storage_category_id']];
|
||||
|
||||
$file = substr( $row['file'], 0, strrpos ( $row['file'], '.' ) );
|
||||
$lien_thumbnail = $cat_directory.'/thumbnail/';
|
||||
$lien_thumbnail = $cat_directory.'thumbnail/';
|
||||
$lien_thumbnail.= $conf['prefix_thumbnail'].$file.".".$row['tn_ext'];
|
||||
|
||||
$prev_title = $lang['previous_image'].' : ';
|
||||
$alt_thumbnaill = '';
|
||||
if ( $row['name'] != '' ) $alt_thumbnail = $row['name'];
|
||||
else $alt_thumbnail = $file;
|
||||
|
||||
if ( isset( $row['name'] ) and $row['name'] != '' )
|
||||
$alt_thumbnail = $row['name'];
|
||||
else
|
||||
$alt_thumbnail = $file;
|
||||
|
||||
$prev_title.= $alt_thumbnail;
|
||||
|
||||
$url_link = './picture.php?image_id='.$row['id'].'&cat='.$page['cat'];
|
||||
$url_link.= '&expand='.$_GET['expand'];
|
||||
if ( isset( $_GET['expand'] ) ) $url_link.= '&expand='.$_GET['expand'];
|
||||
if ( $page['cat'] == 'search' )
|
||||
{
|
||||
$url_link.= '&search='.$_GET['search'].'&mode='.$_GET['mode'];
|
||||
|
@ -282,7 +331,7 @@ else
|
|||
$intitule_cat = $page['title'];
|
||||
}
|
||||
|
||||
if ( $array_cat_directories[$page['storage_category_id']] == '' )
|
||||
if ( !isset($array_cat_directories[$page['storage_category_id']]) )
|
||||
{
|
||||
$array_cat_directories[$page['storage_category_id']] =
|
||||
get_complete_dir( $page['storage_category_id'] );
|
||||
|
@ -290,7 +339,7 @@ if ( $array_cat_directories[$page['storage_category_id']] == '' )
|
|||
$cat_directory = $array_cat_directories[$page['storage_category_id']];
|
||||
|
||||
$n = $page['num'] + 1;
|
||||
$intitule_titre = replace_space( $intitule_cat." - " ).$n.'/'.
|
||||
$intitule_titre = replace_space( $intitule_cat." - " ).$n.'/';
|
||||
$intitule_titre.= $page['cat_nb_images']."<br />";
|
||||
if ( $page['name'] != "" )
|
||||
{
|
||||
|
@ -329,7 +378,9 @@ $final_width = $picture_size[0];
|
|||
$final_height = $picture_size[1];
|
||||
|
||||
$url_link = './category.php?cat='.$page['cat'].'&';
|
||||
$url_link.= 'num='.$page['num'].'&expand='.$_GET['expand'];
|
||||
$url_link.= 'num='.$page['num'];
|
||||
if (isset($_GET['expand']))
|
||||
$url_link.='&expand='.$_GET['expand'];
|
||||
if ( $page['cat'] == 'search' )
|
||||
{
|
||||
$url_link.= "&search=".$_GET['search'].'&mode='.$_GET['mode'];
|
||||
|
@ -337,7 +388,6 @@ if ( $page['cat'] == 'search' )
|
|||
$vtp->setGlobalVar( $handle, 'picture_link', add_session_id( $url_link ) );
|
||||
$vtp->setGlobalVar( $handle, 'picture_width', $final_width );
|
||||
$vtp->setGlobalVar( $handle, 'picture_height', $final_height );
|
||||
$vtp->setGlobalVar( $handle, 'picture_border_color', $user['couleur_text'] );
|
||||
$vtp->setGlobalVar( $handle, 'picture_src', $lien_image );
|
||||
$vtp->setGlobalVar( $handle, 'picture_alt', $page['file'] );
|
||||
|
||||
|
@ -426,7 +476,8 @@ if ( $page['keywords'] != '' )
|
|||
$vtp->setVar( $handle, 'info_line.name', $lang['keywords'].' : ' );
|
||||
$keywords = explode( ',', $page['keywords'] );
|
||||
$content = '';
|
||||
$url = './category.php?cat=search&expand='.$_GET['expand'];
|
||||
$url = './category.php?cat=search';
|
||||
if ( isset( $_GET['expand'] ) ) $url.= '&expand='.$_GET['expand'];
|
||||
$url.= '&mode=OR&search=';
|
||||
foreach ( $keywords as $i => $keyword ) {
|
||||
$local_url = add_session_id( $url.$keyword );
|
||||
|
@ -442,33 +493,45 @@ $vtp->setVar( $handle, 'info_line.name', $lang['visited'].' : ' );
|
|||
$vtp->setVar( $handle, 'info_line.content', $page['hit'].' '.$lang['times'] );
|
||||
$vtp->closeSession( $handle, 'info_line' );
|
||||
//------------------------------------------------------- favorite manipulation
|
||||
if ( $page['cat'] != 'fav' and !$user['is_the_guest'] )
|
||||
if ( !$user['is_the_guest'] )
|
||||
{
|
||||
$url = './picture.php?cat='.$page['cat'].'&image_id='.$page['id'];
|
||||
$url.= '&expand='.$_GET['expand'].'&add_fav=1';
|
||||
if ( $page['cat'] == 'search' )
|
||||
// verify if the picture is already in the favorite of the user
|
||||
$query = 'SELECT COUNT(*) AS nb_fav';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'favorites';
|
||||
$query.= ' WHERE image_id = '.$page['id'];
|
||||
$query.= ' AND user_id = '.$user['id'].';';
|
||||
$result = mysql_query( $query );
|
||||
$row = mysql_fetch_array( $result );
|
||||
if (!$row['nb_fav'])
|
||||
{
|
||||
$url.= '&search='.$_GET['search'].'&mode='.$_GET['mode'];
|
||||
$url = './picture.php?cat='.$page['cat'].'&image_id='.$page['id'];
|
||||
if (isset($_GET['expand']))
|
||||
$url.= '&expand='.$_GET['expand'];
|
||||
$url.='&add_fav=1';
|
||||
if ( $page['cat'] == 'search' )
|
||||
{
|
||||
$url.= '&search='.$_GET['search'].'&mode='.$_GET['mode'];
|
||||
}
|
||||
$vtp->addSession( $handle, 'favorite' );
|
||||
$vtp->setVar( $handle, 'favorite.link', add_session_id( $url ) );
|
||||
$vtp->setVar( $handle, 'favorite.title', $lang['add_favorites_hint'] );
|
||||
$vtp->setVar( $handle, 'favorite.src',
|
||||
'./template/'.$user['template'].'/theme/favorite.gif' );
|
||||
$vtp->setVar($handle,'favorite.alt','[ '.$lang['add_favorites_alt'].' ]');
|
||||
$vtp->closeSession( $handle, 'favorite' );
|
||||
}
|
||||
else
|
||||
{
|
||||
$url = './picture.php?cat='.$page['cat'].'&image_id='.$page['id'];
|
||||
$url.= '&expand='.$_GET['expand'].'&add_fav=0';
|
||||
$vtp->addSession( $handle, 'favorite' );
|
||||
$vtp->setVar( $handle, 'favorite.link', add_session_id( $url ) );
|
||||
$vtp->setVar( $handle, 'favorite.title', $lang['del_favorites_hint'] );
|
||||
$vtp->setVar( $handle, 'favorite.src',
|
||||
'./template/'.$user['template'].'/theme/del_favorite.gif' );
|
||||
$vtp->setVar($handle,'favorite.alt','[ '.$lang['del_favorites_alt'].' ]');
|
||||
$vtp->closeSession( $handle, 'favorite' );
|
||||
}
|
||||
$vtp->addSession( $handle, 'favorite' );
|
||||
$vtp->setVar( $handle, 'favorite.link', add_session_id( $url ) );
|
||||
$vtp->setVar( $handle, 'favorite.title', $lang['add_favorites_hint'] );
|
||||
$vtp->setVar( $handle, 'favorite.src',
|
||||
'./template/'.$user['template'].'/theme/favorite.gif' );
|
||||
$vtp->setVar( $handle, 'favorite.alt','[ '.$lang['add_favorites_alt'].' ]' );
|
||||
$vtp->closeSession( $handle, 'favorite' );
|
||||
}
|
||||
if ( $page['cat'] == 'fav' )
|
||||
{
|
||||
$url = './picture.php?cat='.$page['cat'].'&image_id='.$page['id'];
|
||||
$url.= '&expand='.$_GET['expand'].'&add_fav=0';
|
||||
$vtp->addSession( $handle, 'favorite' );
|
||||
$vtp->setVar( $handle, 'favorite.link', add_session_id( $url ) );
|
||||
$vtp->setVar( $handle, 'favorite.title', $lang['del_favorites_hint'] );
|
||||
$vtp->setVar( $handle, 'favorite.src',
|
||||
'./template/'.$user['template'].'/theme/del_favorite.gif' );
|
||||
$vtp->setVar( $handle, 'favorite.alt','[ '.$lang['del_favorites_alt'].' ]' );
|
||||
$vtp->closeSession( $handle, 'favorite' );
|
||||
}
|
||||
//------------------------------------ admin link for information modifications
|
||||
if ( $user['status'] == 'admin' )
|
||||
|
@ -479,68 +542,21 @@ if ( $user['status'] == 'admin' )
|
|||
$vtp->setVar( $handle, 'modification.link', add_session_id( $url ) );
|
||||
$vtp->setVar( $handle, 'modification.name', $lang['link_info_image'] );
|
||||
}
|
||||
//---------------------------------------------- next picture thumbnail display
|
||||
if ( $page['num'] < $page['cat_nb_images']-1 )
|
||||
|
||||
if ( $next )
|
||||
{
|
||||
$next = $page['num'] + 1;
|
||||
$query = 'SELECT DISTINCT(id),name,file,tn_ext,storage_category_id';
|
||||
$query.= ' FROM '.PREFIX_TABLE.'images';
|
||||
$query.= ' LEFT JOIN '.PREFIX_TABLE.'image_category AS ic ON id=ic.image_id';
|
||||
$query.= $page['where'];
|
||||
$query.= $conf['order_by'];
|
||||
$query.= ' LIMIT '.$next.',1';
|
||||
$query.= ';';
|
||||
$result = mysql_query( $query );
|
||||
$row = mysql_fetch_array( $result );
|
||||
|
||||
if ( $array_cat_directories[$row['storage_category_id']] == '' )
|
||||
{
|
||||
$array_cat_directories[$row['storage_category_id']] =
|
||||
get_complete_dir( $row['storage_category_id'] );
|
||||
}
|
||||
$cat_directory = $array_cat_directories[$row['storage_category_id']];
|
||||
|
||||
$file = substr ( $row['file'], 0, strrpos ( $row['file'], ".") );
|
||||
$lien_thumbnail = $cat_directory.'thumbnail/';
|
||||
$lien_thumbnail.= $conf['prefix_thumbnail'].$file.".".$row['tn_ext'];
|
||||
|
||||
if ( $row['name'] != "" )
|
||||
{
|
||||
$alt_thumbnail = $row['name'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$alt_thumbnail = $file;
|
||||
}
|
||||
$next_title = $lang['next_image']." : ".$alt_thumbnail;
|
||||
|
||||
$url_link = './picture.php?image_id='.$row['id'].'&cat='.$page['cat'];
|
||||
$url_link.= '&expand='.$_GET['expand'];
|
||||
if ( $page['cat'] == 'search' )
|
||||
{
|
||||
$url_link.= "&search=".$_GET['search'].'&mode='.$_GET['mode'];
|
||||
}
|
||||
// sending vars for display
|
||||
$vtp->addSession( $handle, 'next' );
|
||||
$vtp->setGlobalVar( $handle, 'next.url', add_session_id( $url_link ) );
|
||||
$vtp->setGlobalVar( $handle, 'next.url', add_session_id( $next_url_link ) );
|
||||
$vtp->setGlobalVar( $handle, 'next.title', $next_title );
|
||||
$vtp->setGlobalVar( $handle, 'next.src', $lien_thumbnail );
|
||||
$vtp->setGlobalVar( $handle, 'next.alt', $alt_thumbnail );
|
||||
$vtp->setGlobalVar( $handle, 'next.src', $next_lien_thumbnail );
|
||||
$vtp->setGlobalVar( $handle, 'next.alt', $next_alt_thumbnail );
|
||||
$vtp->closeSession( $handle, 'next' );
|
||||
// slideshow
|
||||
if ( isset( $_GET['slideshow'] ) )
|
||||
{
|
||||
$vtp->addSession( $handle, 'refresh' );
|
||||
$vtp->setVar( $handle, 'refresh.time', $_GET['slideshow'] );
|
||||
$url = $url_link.'&slideshow='.$_GET['slideshow'];
|
||||
$vtp->setVar( $handle, 'refresh.url', add_session_id( $url ) );
|
||||
$vtp->closeSession( $handle, 'refresh' );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$vtp->addSession( $handle, 'previous_empty' );
|
||||
$vtp->closeSession( $handle, 'previous_empty' );
|
||||
$vtp->addSession( $handle, 'next_empty' );
|
||||
$vtp->closeSession( $handle, 'next_empty' );
|
||||
}
|
||||
//---------------------------------------------------- users's comments display
|
||||
if ( $conf['show_comments'] )
|
||||
|
@ -645,7 +661,8 @@ if ( $conf['show_comments'] )
|
|||
$page['nb_comments'] = $row['nb_comments'];
|
||||
// navigation bar creation
|
||||
$url = './picture.php?cat='.$page['cat'].'&image_id='.$page['id'];
|
||||
$url.= '&expand='.$_GET['expand'];
|
||||
if (isset($_GET['expand']))
|
||||
$url.= '&expand='.$_GET['expand'];
|
||||
if ( $page['cat'] == 'search' )
|
||||
{
|
||||
$url.= '&search='.$_GET['search'].'&mode='.$_GET['mode'];
|
||||
|
@ -723,7 +740,8 @@ if ( $conf['show_comments'] )
|
|||
if ( !$user['is_the_guest'] )
|
||||
{
|
||||
$vtp->addSession( $handle, 'author_known' );
|
||||
$vtp->setVar( $handle, 'author_known.value', $user['pseudo'] );
|
||||
if (isset($user['pseudo']))
|
||||
$vtp->setVar( $handle, 'author_known.value', $user['pseudo'] );
|
||||
$vtp->closeSession( $handle, 'author_known' );
|
||||
}
|
||||
else
|
||||
|
@ -739,6 +757,7 @@ if ( $conf['show_comments'] )
|
|||
pwg_log( 'picture', $intitule_cat, $page['file'] );
|
||||
mysql_close();
|
||||
//----------------------------------------------------------- html code display
|
||||
$code = $vtp->Display( $handle, 0 );
|
||||
echo $code;
|
||||
?>
|
||||
$output.= $vtp->Display( $handle, 0 );
|
||||
|
||||
include('include/page_tail.php');
|
||||
?>
|
||||
|
|
56
profile.php
56
profile.php
|
@ -27,8 +27,6 @@ if ( $user['is_the_guest'] )
|
|||
echo '<a href="./identification.php">'.$lang['ident_title'].'</a></div>';
|
||||
exit();
|
||||
}
|
||||
//-------------------------------------------------------------- initialization
|
||||
check_cat_id( $_GET['cat'] );
|
||||
//------------------------------------------------------ update & customization
|
||||
$infos = array( 'nb_image_line', 'nb_line_page', 'language',
|
||||
'maxwidth', 'maxheight', 'expand', 'show_nb_comments',
|
||||
|
@ -69,19 +67,12 @@ if ( isset( $_POST['submit'] ) )
|
|||
}
|
||||
}
|
||||
$mail_error = validate_mail_address( $_POST['mail_address'] );
|
||||
if ( $mail_error != '' )
|
||||
{
|
||||
array_push( $errors, $mail_error );
|
||||
}
|
||||
if ( $_POST['use_new_pwd'] == 1 )
|
||||
{
|
||||
// password must be the same as its confirmation
|
||||
if ( $_POST['password'] != $_POST['passwordConf'] )
|
||||
{
|
||||
array_push( $errors, $lang['reg_err_pass'] );
|
||||
}
|
||||
}
|
||||
|
||||
if ( $mail_error != '' ) array_push( $errors, $mail_error );
|
||||
// password must be the same as its confirmation
|
||||
if ( isset( $_POST['use_new_pwd'] )
|
||||
and $_POST['password'] != $_POST['passwordConf'] )
|
||||
array_push( $errors, $lang['reg_err_pass'] );
|
||||
|
||||
if ( count( $errors ) == 0 )
|
||||
{
|
||||
$query = 'UPDATE '.PREFIX_TABLE.'users';
|
||||
|
@ -97,7 +88,7 @@ if ( isset( $_POST['submit'] ) )
|
|||
$query.= ';';
|
||||
mysql_query( $query );
|
||||
|
||||
if ( $_POST['use_new_pwd'] == 1 )
|
||||
if ( isset( $_POST['use_new_pwd'] ) )
|
||||
{
|
||||
$query = 'UPDATE '.PREFIX_TABLE.'users';
|
||||
$query.= " SET password = '".md5( $_POST['password'] )."'";
|
||||
|
@ -105,7 +96,7 @@ if ( isset( $_POST['submit'] ) )
|
|||
$query.= ';';
|
||||
mysql_query( $query );
|
||||
}
|
||||
if ( $_POST['create_cookie'] == 1 )
|
||||
if ( isset( $_POST['create_cookie'] ) )
|
||||
{
|
||||
setcookie( 'id',$page['session_id'],$_POST['cookie_expiration'],
|
||||
cookie_path() );
|
||||
|
@ -117,12 +108,8 @@ if ( isset( $_POST['submit'] ) )
|
|||
mysql_query( $query );
|
||||
}
|
||||
// redirection
|
||||
$url = 'category.php?cat='.$page['cat'].'&expand='.$_GET['expand'];
|
||||
if ( $page['cat'] == 'search' )
|
||||
{
|
||||
$url.= '&search='.$_GET['search'].'&mode='.$_GET['mode'];
|
||||
}
|
||||
if ( $_POST['create_cookie'] != 1 ) $url = add_session_id( $url, true );
|
||||
$url = 'category.php';
|
||||
if ( !isset($_POST['create_cookie']) ) $url = add_session_id( $url,true );
|
||||
header( 'Request-URI: '.$url );
|
||||
header( 'Content-Location: '.$url );
|
||||
header( 'Location: '.$url );
|
||||
|
@ -130,18 +117,19 @@ if ( isset( $_POST['submit'] ) )
|
|||
}
|
||||
}
|
||||
//----------------------------------------------------- template initialization
|
||||
$vtp = new VTemplate;
|
||||
//
|
||||
// Start output of page
|
||||
//
|
||||
$title = $lang['customize_page_title'];
|
||||
include('include/page_header.php');
|
||||
|
||||
$handle = $vtp->Open( './template/'.$user['template'].'/profile.vtp' );
|
||||
initialize_template();
|
||||
$tpl = array( 'customize_page_title','customize_title','password','new',
|
||||
$tpl = array( 'customize_title','password','new',
|
||||
'reg_confirm','submit','create_cookie' );
|
||||
templatize_array( $tpl, 'lang', $handle );
|
||||
//----------------------------------------------------------------- form action
|
||||
$url = './profile.php?cat='.$page['cat'].'&expand='.$page['expand'];
|
||||
if ( $page['cat'] == 'search' )
|
||||
{
|
||||
$url.= '&search='.$_GET['search'].'&mode='.$_GET['mode'];
|
||||
}
|
||||
$url = './profile.php';
|
||||
$vtp->setGlobalVar( $handle, 'form_action', add_session_id( $url ) );
|
||||
//-------------------------------------------------------------- errors display
|
||||
if ( count( $errors ) != 0 )
|
||||
|
@ -201,7 +189,7 @@ if ( in_array( 'template', $infos ) )
|
|||
$vtp->setVar( $handle, 'line.name', $lang['customize_template'] );
|
||||
$vtp->addSession( $handle, 'select' );
|
||||
$vtp->setVar( $handle, 'select.name', 'template' );
|
||||
$option = get_dirs( './template/' );
|
||||
$option = get_dirs( './template' );
|
||||
for ( $i = 0; $i < sizeof( $option ); $i++ )
|
||||
{
|
||||
$vtp->addSession( $handle, 'option' );
|
||||
|
@ -376,6 +364,6 @@ if ( $conf['authorize_cookies'] )
|
|||
$vtp->closeSession( $handle, 'cookie' );
|
||||
}
|
||||
//----------------------------------------------------------- html code display
|
||||
$code = $vtp->Display( $handle, 0 );
|
||||
echo $code;
|
||||
?>
|
||||
$output.= $vtp->Display( $handle, 0 );
|
||||
include('include/page_tail.php');
|
||||
?>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
PhpWebGallery version 1.3 beta (14/09/2003)
|
||||
PhpWebGallery version 1.3 (12/10/2003)
|
||||
http://phpwebgallery.net
|
||||
http://forum.phpwebgallery.net
|
||||
|
||||
|
|
21
register.php
21
register.php
|
@ -42,11 +42,14 @@ if ( isset( $_POST['submit'] ) )
|
|||
}
|
||||
}
|
||||
//----------------------------------------------------- template initialization
|
||||
$vtp = new VTemplate;
|
||||
//
|
||||
// Start output of page
|
||||
//
|
||||
$title= $lang['register_page_title'];
|
||||
include('include/page_header.php');
|
||||
|
||||
$handle = $vtp->Open( './template/'.$user['template'].'/register.vtp' );
|
||||
// language
|
||||
$vtp->setGlobalVar( $handle, 'register_page_title',
|
||||
$lang['register_page_title'] );
|
||||
$vtp->setGlobalVar( $handle, 'register_title', $lang['register_title'] );
|
||||
$vtp->setGlobalVar( $handle, 'ident_guest_visit',$lang['ident_guest_visit'] );
|
||||
$vtp->setGlobalVar( $handle, 'submit', $lang['submit'] );
|
||||
|
@ -70,7 +73,8 @@ $vtp->addSession( $handle, 'line' );
|
|||
$vtp->setVar( $handle, 'line.name', $lang['login'] );
|
||||
$vtp->addSession( $handle, 'text' );
|
||||
$vtp->setVar( $handle, 'text.name', 'login' );
|
||||
$vtp->setVar( $handle, 'text.value', $_POST['login'] );
|
||||
if (isset( $_POST['login']))
|
||||
$vtp->setVar( $handle, 'text.value', $_POST['login'] );
|
||||
$vtp->closeSession( $handle, 'text' );
|
||||
$vtp->closeSession( $handle, 'line' );
|
||||
//-------------------------------------------------------------------- password
|
||||
|
@ -94,10 +98,11 @@ $vtp->addSession( $handle, 'line' );
|
|||
$vtp->setVar( $handle, 'line.name', $lang['mail_address'] );
|
||||
$vtp->addSession( $handle, 'text' );
|
||||
$vtp->setVar( $handle, 'text.name', 'mail_address' );
|
||||
$vtp->setVar( $handle, 'text.value', $_POST['mail_address'] );
|
||||
if (isset( $_POST['mail_address']))
|
||||
$vtp->setVar( $handle, 'text.value', $_POST['mail_address'] );
|
||||
$vtp->closeSession( $handle, 'text' );
|
||||
$vtp->closeSession( $handle, 'line' );
|
||||
//----------------------------------------------------------- html code display
|
||||
$code = $vtp->Display( $handle, 0 );
|
||||
echo $code;
|
||||
?>
|
||||
$output.= $vtp->Display( $handle, 0 );
|
||||
include('include/page_tail.php');
|
||||
?>
|
||||
|
|
21
search.php
21
search.php
|
@ -53,10 +53,14 @@ if ( isset( $_POST['search'] ) )
|
|||
}
|
||||
}
|
||||
//----------------------------------------------------- template initialization
|
||||
$vtp = new VTemplate;
|
||||
//
|
||||
// Start output of page
|
||||
//
|
||||
$title= $lang['search_title'];
|
||||
include('include/page_header.php');
|
||||
|
||||
$handle = $vtp->Open( './template/'.$user['template'].'/search.vtp' );
|
||||
initialize_template();
|
||||
|
||||
$tpl = array( 'search_title','search_return_main_page','submit',
|
||||
'search_comments' );
|
||||
templatize_array( $tpl, 'lang', $handle );
|
||||
|
@ -81,6 +85,7 @@ $vtp->setVar( $handle, 'line.name', $lang['search_field_search'].' *' );
|
|||
$vtp->addSession( $handle, 'text' );
|
||||
$vtp->setVar( $handle, 'text.size', '40' );
|
||||
$vtp->setVar( $handle, 'text.name', 'search' );
|
||||
if (isset($_POST['search']))
|
||||
$vtp->setVar( $handle, 'text.value', $_POST['search'] );
|
||||
$vtp->closeSession( $handle, 'text' );
|
||||
$vtp->closeSession( $handle, 'line' );
|
||||
|
@ -92,7 +97,7 @@ $vtp->addSession( $handle, 'radio' );
|
|||
$vtp->setVar( $handle, 'radio.name', 'mode' );
|
||||
$vtp->setVar( $handle, 'radio.value', 'OR' );
|
||||
$vtp->setVar( $handle, 'radio.option', $lang['search_mode_or'] );
|
||||
if ( $_POST['mode'] == 'OR' or $_POST['mode'] == '' )
|
||||
if (!isset($_POST['mode']) || $_POST['mode'] == 'OR' )
|
||||
{
|
||||
$vtp->setVar( $handle, 'radio.checked', ' checked="checked"' );
|
||||
}
|
||||
|
@ -102,7 +107,7 @@ $vtp->addSession( $handle, 'radio' );
|
|||
$vtp->setVar( $handle, 'radio.name', 'mode' );
|
||||
$vtp->setVar( $handle, 'radio.value', 'AND' );
|
||||
$vtp->setVar( $handle, 'radio.option', $lang['search_mode_and'] );
|
||||
if ( $_POST['mode'] == 'AND' )
|
||||
if ( isset($_POST['mode']) && $_POST['mode'] == 'AND' )
|
||||
{
|
||||
$vtp->setVar( $handle, 'radio.checked', ' checked="checked"' );
|
||||
}
|
||||
|
@ -113,9 +118,9 @@ $vtp->closeSession( $handle, 'line' );
|
|||
//---------------------------------------------------- return to main page link
|
||||
$vtp->setGlobalVar( $handle, 'back_url', add_session_id( './category.php' ) );
|
||||
//----------------------------------------------------------- html code display
|
||||
$code = $vtp->Display( $handle, 0 );
|
||||
echo $code;
|
||||
$output.= $vtp->Display( $handle, 0 );
|
||||
//------------------------------------------------------------ log informations
|
||||
pwg_log( 'search', $page['title'] );
|
||||
pwg_log( 'search', $title );
|
||||
mysql_close();
|
||||
?>
|
||||
include('include/page_tail.php');
|
||||
?>
|
||||
|
|
|
@ -1,11 +1,3 @@
|
|||
<html>
|
||||
<head>
|
||||
{#style}
|
||||
<title>{#about_page_title}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={#charset}" />
|
||||
</head>
|
||||
<body>
|
||||
{#header}
|
||||
<table style="width:100%;height:100%">
|
||||
<tr align="center" valign="middle">
|
||||
<td>
|
||||
|
@ -26,7 +18,4 @@
|
|||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{#footer}
|
||||
</body>
|
||||
</html>
|
||||
</table>
|
|
@ -1,164 +1,10 @@
|
|||
<html>
|
||||
<head>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={#charset}" />
|
||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
<title>{#title_default}</title>
|
||||
<style>
|
||||
a {
|
||||
text-decoration:none;
|
||||
color:#006699;
|
||||
}
|
||||
a:hover {
|
||||
text-decoration:underline;
|
||||
}
|
||||
body,table,input,form,select,textarea {
|
||||
font-family:arial,verdana,sans-serif;
|
||||
font-size:12px;
|
||||
}
|
||||
.miniature {
|
||||
border:solid 1px black;
|
||||
}
|
||||
body {
|
||||
background-color:#E5E5E5;
|
||||
}
|
||||
.titretable1 {
|
||||
color:black;
|
||||
background-color:#D3DCE3;
|
||||
text-align:center;
|
||||
border:2px solid #006699;
|
||||
font-weight:bold;
|
||||
border-bottom:0px;
|
||||
}
|
||||
.grostitre {
|
||||
text-align:center;
|
||||
margin:10px 50px 10px 50px;
|
||||
font-size:20px;
|
||||
width:300px;
|
||||
}
|
||||
.plan {
|
||||
margin:10px 10px 10px 2px;
|
||||
white-space:nowrap;
|
||||
}
|
||||
.table1 {
|
||||
border-collapse:collapse;
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
.contenucellule {
|
||||
background-color:#EEEEEE;
|
||||
border:2px solid #006699;
|
||||
}
|
||||
.style1 {
|
||||
margin-top:20px;
|
||||
}
|
||||
th {
|
||||
font-weight:bold;
|
||||
background-color:#D3DCE3;
|
||||
}
|
||||
td.row1 {
|
||||
background-color:#E6E4E4;
|
||||
}
|
||||
td.row2,td.throw2 {
|
||||
background-color:#E8E8E8;
|
||||
}
|
||||
td.throw2 {
|
||||
text-align:center;
|
||||
font-weight:bold;
|
||||
}
|
||||
td.row3 {
|
||||
background-color:#eeeeee;
|
||||
}
|
||||
td.row4 {
|
||||
background-color:#cccccc;
|
||||
}
|
||||
.cat_plan {
|
||||
font-weight:bold;
|
||||
}
|
||||
.retrait {
|
||||
margin:10px;
|
||||
margin-left:30px;
|
||||
margin-top:2px;
|
||||
}
|
||||
input,textarea {
|
||||
border-width:1;
|
||||
border-color:#000000;
|
||||
background:#ffffff;
|
||||
color: #000000;
|
||||
}
|
||||
.erreur {
|
||||
color:red;
|
||||
text-align:center;
|
||||
}
|
||||
.errors {
|
||||
text-align:left;
|
||||
margin:25px;
|
||||
background-color:#ffe1e1;
|
||||
border:1px solid red;
|
||||
color:black;
|
||||
}
|
||||
.errors_title {
|
||||
margin:5px;
|
||||
font-weight:bold;
|
||||
font-size:120%;
|
||||
text-align:center;
|
||||
color:red;
|
||||
}
|
||||
.info {
|
||||
color:darkblue;
|
||||
text-align:center;
|
||||
}
|
||||
div.key {
|
||||
margin-left : 10px;
|
||||
}
|
||||
td.choice {
|
||||
text-align : center;
|
||||
}
|
||||
div.install_warning {
|
||||
text-align:center;
|
||||
color:red;
|
||||
margin:20px;
|
||||
font-weight:bold;
|
||||
}
|
||||
<!-- comments CSS style -->
|
||||
.commentsAuthor,.commentsTitle,.commentsInfos,.commentsContent,.commentsNavigationBar {
|
||||
color:black;
|
||||
font-family:arial,sans-Serif;
|
||||
font-size:12px;
|
||||
}
|
||||
.commentsTitle,.commentsAuthor {
|
||||
text-align:center;
|
||||
font-weight:bold;
|
||||
}
|
||||
.commentsInfos {
|
||||
text-align:right;
|
||||
margin:3px 3px 3px 10px;
|
||||
font-size:11px;
|
||||
}
|
||||
.commentsContent {
|
||||
margin:10px;
|
||||
}
|
||||
.commentsTitle {
|
||||
margin-top:15px;
|
||||
}
|
||||
.commentsAuthor {
|
||||
margin:5px;
|
||||
}
|
||||
.commentsNavigationBar {
|
||||
margin:10px;
|
||||
}
|
||||
.tableComment {
|
||||
width:100%;
|
||||
border:2px solid #006699;
|
||||
margin:10px;
|
||||
}
|
||||
.cellAuthor {
|
||||
border-right:1px solid #006699;
|
||||
width:100px;
|
||||
}
|
||||
.cellInfo {
|
||||
border-bottom:1px solid #006699;
|
||||
}
|
||||
.imgLink {
|
||||
border:1px solid black;
|
||||
}
|
||||
</style>
|
||||
<link rel="stylesheet" href="{#style}" type="text/css" />
|
||||
<script language="javascript">
|
||||
function SelectAll( formulaire )
|
||||
{
|
||||
|
@ -188,7 +34,7 @@
|
|||
}
|
||||
}
|
||||
</script>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={#charset}">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<!--VTP_install_warning--><div class="install_warning">{#install_warning}</div><!--/VTP_install_warning-->
|
||||
|
@ -203,7 +49,7 @@
|
|||
<td class="contenucellule">
|
||||
<div class="plan">
|
||||
<!--VTP_summary-->
|
||||
{#indent}<img src="../template/{#user_template}/admin/images/puce.gif" alt="> "><a href="{#link}" class="cat_plan">{#name}</a><br />
|
||||
{#indent}<img src="../template/{#user_template}/admin/images/puce.gif" alt=""><a href="{#link}" class="cat_plan">{#name}</a><br />
|
||||
<!--/VTP_summary-->
|
||||
</div>
|
||||
</td>
|
||||
|
|
|
@ -8,26 +8,32 @@
|
|||
</ul>
|
||||
</div>
|
||||
<!--/VTP_errors-->
|
||||
<table style="width:100%;">
|
||||
<tr>
|
||||
<td colspan="8" style="text-align:center;padding-top:10px;padding-bottom:10px;">
|
||||
<div style="text-align:center;padding-top:10px;padding-bottom:5px;">
|
||||
<form action="" method="post">
|
||||
{#cat_add} <input type="text" name="virtual_name" />
|
||||
{#cat_parent}
|
||||
<!--VTP_associate_LOV-->
|
||||
<select name="associate">
|
||||
<!--VTP_associate_cat-->
|
||||
<option value="{#value}">{#content}</option>
|
||||
<!--/VTP_associate_cat-->
|
||||
</select>
|
||||
<!--/VTP_associate_LOV-->
|
||||
<!--VTP_associate_text-->
|
||||
<input type="text" name="associate" />
|
||||
<!--/VTP_associate_text-->
|
||||
<input type="submit" value="{#submit}" name="submit" />
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
<table style="width:100%;">
|
||||
<!--VTP_cat-->
|
||||
<tr>
|
||||
<{#td} style="width:50%;text-align:left;">
|
||||
<a name="{#id}"></a>
|
||||
{#indent}<img src="../template/{#user_template}/admin/images/puce.gif" alt=">" />
|
||||
{#indent}
|
||||
<!--VTP_bullet_collapsed--><a href="{#link}"><img src="../template/{#user_template}/admin/images/collapsed.gif" style="border:none;" alt=">" /></a><!--/VTP_bullet_collapsed-->
|
||||
<!--VTP_bullet_expanded--><a href="{#link}"><img src="../template/{#user_template}/admin/images/expanded.gif" style="border:none;" alt=">" /></a><!--/VTP_bullet_expanded-->
|
||||
<!--VTP_bullet_wo_link--><img src="../template/{#user_template}/admin/images/collapsed.gif" style="border:none;" alt=">" /><!--/VTP_bullet_wo_link-->
|
||||
{#name} [
|
||||
<!--VTP_storage-->
|
||||
dir : {#dir}
|
||||
|
@ -41,19 +47,19 @@
|
|||
<{#td} class="{#class}"
|
||||
style="width:1px;white-space:nowrap;text-align:center;">
|
||||
<!--VTP_up-->
|
||||
<a href="{#up_url}#{#id}"><img src="../template/{#user_template}/admin/images/arrow_up.gif" alt="{#cat_up}" title="{#cat_up}" style="border:none;" /></a>
|
||||
<a href="{#up_url}"><img src="../template/{#user_template}/admin/images/arrow_up.gif" alt="{#cat_up}" title="{#cat_up}" style="border:none;" /></a>
|
||||
<!--/VTP_up-->
|
||||
<!--VTP_no_up-->
|
||||
<a href="{#last_url}#{#id}"><img src="../template/{#user_template}/admin/images/arrow_last.gif" alt="{#cat_last}" title="{#cat_last}" style="border:none;" /></a>
|
||||
<a href="{#last_url}"><img src="../template/{#user_template}/admin/images/arrow_last.gif" alt="{#cat_last}" title="{#cat_last}" style="border:none;" /></a>
|
||||
<!--/VTP_no_up-->
|
||||
</{#td}>
|
||||
<{#td} class="{#class}"
|
||||
style="width:1px;white-space:nowrap;text-align:center;">
|
||||
<!--VTP_down-->
|
||||
<a href="{#down_url}#{#id}"><img src="../template/{#user_template}/admin/images/arrow_down.gif" alt="{#cat_down}" title="{#cat_down}" style="border:none;" /></a>
|
||||
<a href="{#down_url}"><img src="../template/{#user_template}/admin/images/arrow_down.gif" alt="{#cat_down}" title="{#cat_down}" style="border:none;" /></a>
|
||||
<!--/VTP_down-->
|
||||
<!--VTP_no_down-->
|
||||
<a href="{#first_url}#{#id}"><img src="../template/{#user_template}/admin/images/arrow_first.gif" alt="{#cat_first}" title="{#cat_first}" style="border:none;" /></a>
|
||||
<a href="{#first_url}"><img src="../template/{#user_template}/admin/images/arrow_first.gif" alt="{#cat_first}" title="{#cat_first}" style="border:none;" /></a>
|
||||
<!--/VTP_no_down-->
|
||||
</{#td}>
|
||||
<{#td} class="{#class}" style="width:1px;text-align:center;">
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
<!--/VTP_status_option-->
|
||||
</td>
|
||||
</tr>
|
||||
<!--
|
||||
<tr>
|
||||
<td>{#editcat_visible}</td>
|
||||
<td class="row2">
|
||||
|
@ -50,6 +51,8 @@
|
|||
{#editcat_visible_info}
|
||||
</td>
|
||||
</tr>
|
||||
-->
|
||||
<input type="hidden" name="visible" value="true"/>
|
||||
<!--VTP_uploadable-->
|
||||
<tr>
|
||||
<td>{#editcat_uploadable}</td>
|
||||
|
@ -64,11 +67,16 @@
|
|||
<tr>
|
||||
<td>{#cat_parent}</td>
|
||||
<td class="row2">
|
||||
<!--VTP_associate_LOV-->
|
||||
<select name="associate">
|
||||
<!--VTP_associate_cat-->
|
||||
<option value="{#value}"{#selected}>{#content}</option>
|
||||
<option value="{#value}" {#selected}>{#content}</option>
|
||||
<!--/VTP_associate_cat-->
|
||||
</select>
|
||||
<!--/VTP_associate_LOV-->
|
||||
<!--VTP_associate_text-->
|
||||
<input type="text" name="associate" value="{#value}" />
|
||||
<!--/VTP_associate_text-->
|
||||
</td>
|
||||
</tr>
|
||||
<!--/VTP_parent-->
|
||||
|
@ -81,4 +89,4 @@
|
|||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</form>
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<form action="{#action}" method="post">
|
||||
<!--/VTP_start_form-->
|
||||
<!--VTP_picture-->
|
||||
<div style="border:2px solid #D3DCE3;margin:2px;">
|
||||
<div style="border:2px solid #D3DCE3;margin:3px;">
|
||||
<table style="width:100%;">
|
||||
<tr>
|
||||
<td valign="top" width="1px">
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
<!--/VTP_param_line-->
|
||||
<!--VTP_title_line-->
|
||||
<tr>
|
||||
<th colspan="3" align="center">{#title}</th>
|
||||
<th colspan="3">{#title}</th>
|
||||
</tr>
|
||||
<!--/VTP_title_line-->
|
||||
<!--VTP_space_line-->
|
||||
|
|
|
@ -1,3 +1,13 @@
|
|||
<!--VTP_errors-->
|
||||
<div class="errors">
|
||||
<div class="errors_title">{#errors_title}</div>
|
||||
<ul>
|
||||
<!--VTP_li-->
|
||||
<li>{#content}</li>
|
||||
<!--/VTP_li-->
|
||||
</ul>
|
||||
</div>
|
||||
<!--/VTP_errors-->
|
||||
<form method="post" action="{#form_action}">
|
||||
<table width="100%">
|
||||
<tr>
|
||||
|
@ -75,13 +85,18 @@
|
|||
<td colspan="6">
|
||||
<img src="../template/{#user_template}/admin/images/arrow_select.gif" alt="<" />
|
||||
{#infoimage_associate}
|
||||
<!--VTP_associate_LOV-->
|
||||
<select name="associate">
|
||||
<!--VTP_associate_cat-->
|
||||
<option value="{#value}">{#content}</option>
|
||||
<!--/VTP_associate_cat-->
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<!--/VTP_associate_LOV-->
|
||||
<!--VTP_associate_text-->
|
||||
<input type="text" name="associate" />
|
||||
<!--/VTP_associate_text-->
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6" style="text-align:center;">
|
||||
<input type="submit" value="{#submit}" name="submit" />
|
||||
|
|
|
@ -76,11 +76,17 @@
|
|||
<tr><td colspan="2"> </td></tr>
|
||||
<tr>
|
||||
<td>{#infoimage_associate}
|
||||
<!--VTP_associate_LOV-->
|
||||
<select name="associate">
|
||||
<!--VTP_associate_cat-->
|
||||
<option value="{#value}">{#content}</option>
|
||||
<!--/VTP_associate_cat-->
|
||||
</select>
|
||||
<!--/VTP_associate_LOV-->
|
||||
<!--VTP_associate_text-->
|
||||
<input type="text" name="associate" />
|
||||
<!--/VTP_associate_text-->
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -1,46 +1,3 @@
|
|||
<style>
|
||||
.commentsAuthor,.commentsTitle,.commentsInfos,.commentsContent,.commentsNavigationBar {
|
||||
color:{#text_color};
|
||||
font-family:arial,sans-Serif;
|
||||
font-size:12px;
|
||||
}
|
||||
.commentsTitle,.commentsAuthor {
|
||||
text-align:center;
|
||||
font-weight:bold;
|
||||
}
|
||||
.commentsInfos {
|
||||
text-align:right;
|
||||
margin:3px 3px 3px 10px;
|
||||
font-size:11px;
|
||||
}
|
||||
.commentsContent {
|
||||
margin:10px;
|
||||
}
|
||||
.commentsTitle {
|
||||
margin-top:15px;
|
||||
}
|
||||
.commentsAuthor {
|
||||
margin:5px;
|
||||
}
|
||||
.commentsNavigationBar {
|
||||
margin:10px;
|
||||
}
|
||||
.tableComment {
|
||||
width:100%;
|
||||
border:2px solid #006699;
|
||||
margin:10px;
|
||||
}
|
||||
.cellAuthor {
|
||||
border-right:1px solid #006699;
|
||||
width:100px;
|
||||
}
|
||||
.cellInfo {
|
||||
border-bottom:1px solid #006699;
|
||||
}
|
||||
.imgLink {
|
||||
border:1px solid black;
|
||||
}
|
||||
</style>
|
||||
<div style="text-align:center;margin-top:5px;">
|
||||
<!--VTP_last_day_option-->
|
||||
<a href="{#link}" style="{#style}">{#option}</a>{#separation}
|
||||
|
|
|
@ -1,26 +1,20 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={#charset}" />
|
||||
{#style}
|
||||
<title>{#title}</title>
|
||||
</head>
|
||||
<body>
|
||||
{#header}
|
||||
<table style="width:100%;">
|
||||
<tr>
|
||||
<td valign="top" style="width:1%;padding:10px;">
|
||||
{#frame_start}100%{#frame_begin}
|
||||
<div class="titreMenu">{#categories}</div>
|
||||
<div class="titreMenu">
|
||||
<a href="{#home_url}">{#categories}</a>
|
||||
</div>
|
||||
<div class="menu">
|
||||
<!--VTP_category-->{#indent}<!--VTP_bullet_w_link--><a href="{#bullet_link}"><img src="{#bullet_url}" style="border:none;" alt=">" /></a><!--/VTP_bullet_w_link--><!--VTP_bullet_wo_link--><img src="{#bullet_url}" style="border:none;" alt=">" /><!--/VTP_bullet_wo_link--> <a href="{#link_url}"><span title="{#hint_category}" style="{#name_style}">{#link_name}</span> <span class="menuInfoCat">[ <!--VTP_subcat--><span title="{#nb_subcats} {#sub-cat}">{#nb_subcats}</span> - <!--/VTP_subcat--><span title="{#total_cat} {#images_available}">{#total_cat}</span> ]</span></a>{#cat_icon}<br />
|
||||
<!--/VTP_category-->
|
||||
<div class="totalImages">[ {#nb_total_pictures} {#total} ]</div>
|
||||
<!--VTP_favorites-->
|
||||
<br /> <img src="{#lien_collapsed}" al=">" /> <a href="{#url}"><span title="{#favorite_cat_hint}" style="font-weight:bold;">{#favorite_cat}</span></a> <span class="menuInfoCat">[ {#nb_favorites} ]</span>
|
||||
<br /> <img src="{#lien_collapsed}" alt=">" /> <a href="{#url}"><span title="{#favorite_cat_hint}" style="font-weight:bold;">{#favorite_cat}</span></a> <span class="menuInfoCat">[ {#nb_favorites} ]</span>
|
||||
<!--/VTP_favorites-->
|
||||
<br /> <img src="{#lien_collapsed}" al=">" /> <span style="font-weight:bold;">{#stats}</span></a>
|
||||
<br /> <img src="{#lien_collapsed}" al=">" /> <a href="{#most_visited_url}"><span title="{#most_visited_cat_hint}" style="font-weight:bold;">{#top_number} {#most_visited_cat}</span></a>
|
||||
<br /> <img src="{#lien_collapsed}" al=">" /> <a href="{#recent_url}"><span title="{#recent_cat_hint}" style="font-weight:bold;">{#recent_cat}</span></a> {#icon_short}
|
||||
<br /> <img src="{#lien_collapsed}" alt=">" /> <span style="font-weight:bold;">{#stats}</span>
|
||||
<br /> <img src="{#lien_collapsed}" alt=">" /> <a href="{#most_visited_url}"><span title="{#most_visited_cat_hint}" style="font-weight:bold;">{#top_number} {#most_visited_cat}</span></a>
|
||||
<br /> <img src="{#lien_collapsed}" alt=">" /> <a href="{#recent_url}"><span title="{#recent_cat_hint}" style="font-weight:bold;">{#recent_cat}</span></a> {#icon_short}
|
||||
</div>
|
||||
{#frame_end}
|
||||
<div style="margin-bottom:5px;"> </div>
|
||||
|
@ -31,7 +25,7 @@
|
|||
<img src="{#lien_collapsed}" alt=">"/> <a href="{#url}" title="{#title}">{#name}</a><br />
|
||||
<!--/VTP_summary-->
|
||||
<!--VTP_upload-->
|
||||
<br /> <img src="{#lien_collapsed}" alt=">"/> <a href="{#url}" class="back">{#upload_picture}</a>
|
||||
<br /> <img src="{#lien_collapsed}" alt=">"/> <a href="{#url}">{#upload_picture}</a>
|
||||
<!--/VTP_upload-->
|
||||
</div>
|
||||
{#frame_end}
|
||||
|
@ -54,9 +48,9 @@
|
|||
<img src="{#src}"
|
||||
alt="{#alt}"
|
||||
title="{#title}"
|
||||
class="imgLink"/><br />
|
||||
{#name}
|
||||
</a>
|
||||
class="imgLink"/></a>
|
||||
<br />
|
||||
<a href="{#url}" class="back">{#name}</a>
|
||||
{#icon}
|
||||
<!--VTP_nb_comments-->
|
||||
<br />{#nb} {#comments}
|
||||
|
@ -101,12 +95,4 @@
|
|||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="copyright">{#generation_time} {#time}</div>
|
||||
<!-- Please, do not remove this copyright. If you really want to,
|
||||
contact me pierrick@z0rglub.com to find a solution on how
|
||||
to show the origin of the script...-->
|
||||
<div class="copyright">Powered by <a href="{#site_url}" class="back">PhpWebGallery</a> {#version}</div>
|
||||
{#footer}
|
||||
</body>
|
||||
</html>
|
||||
</table>
|
|
@ -1,52 +1,3 @@
|
|||
<html>
|
||||
<head>
|
||||
{#style}
|
||||
<title>{#title_comments}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; {#charset}">
|
||||
<!-- Specific style to comments.php-->
|
||||
<style type="text/css">
|
||||
.commentsAuthor,.commentsTitle,.commentsInfos,.commentsContent,.commentsNavigationBar {
|
||||
color:{#text_color};
|
||||
font-family:arial,sans-Serif;
|
||||
font-size:12px;
|
||||
}
|
||||
.commentsTitle,.commentsAuthor {
|
||||
text-align:center;
|
||||
font-weight:bold;
|
||||
}
|
||||
.commentsInfos {
|
||||
margin:3px 3px 3px 10px;
|
||||
font-size:11px;
|
||||
text-align:right;
|
||||
}
|
||||
.commentsContent {
|
||||
margin:10px;
|
||||
}
|
||||
.commentsTitle {
|
||||
margin-top:15px;
|
||||
}
|
||||
.commentsAuthor {
|
||||
margin:5px;
|
||||
}
|
||||
.commentsNavigationBar {
|
||||
margin:10px;
|
||||
}
|
||||
.tableComment {
|
||||
width:100%;
|
||||
border:2px solid {#text_color};
|
||||
margin:10px;
|
||||
}
|
||||
.cellAuthor {
|
||||
border-right:1px solid {#text_color};
|
||||
width:100px;
|
||||
}
|
||||
.cellInfo {
|
||||
border-bottom:1px solid {#text_color};
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
{#header}
|
||||
<table style="width:100%;">
|
||||
<tr align="center" valign="middle">
|
||||
<td>
|
||||
|
@ -72,18 +23,15 @@
|
|||
<div style="border:2px solid gray;margin:2px;padding:2px;">
|
||||
<table style="width:100%;">
|
||||
<tr>
|
||||
<td valign="top" width="1px">
|
||||
<td valign="top" style="width:15%;">
|
||||
<!-- the thumbnail of the picture, linked to the full size page -->
|
||||
<a href="{#thumb_url}" title="{#thumb_title}">
|
||||
<img src="{#thumb_src}" class="imgLink" alt="{#thumb_alt}"/>
|
||||
</a>
|
||||
</td>
|
||||
<td style="padding:2px;">
|
||||
<div style="font-weight:bold;padding-left:10px;">{#title}</div>
|
||||
<td style="padding:10px;width:85%;">
|
||||
<div style="font-weight:bold;padding-left:10px;text-align:left;">{#title}</div>
|
||||
<!--VTP_comment-->
|
||||
<table style="width:100%;">
|
||||
<tr>
|
||||
<td>
|
||||
<table class="tableComment">
|
||||
<tr>
|
||||
<td rowspan="2" valign="top" class="cellAuthor">
|
||||
|
@ -101,9 +49,6 @@
|
|||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--/VTP_comment-->
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -113,7 +58,4 @@
|
|||
{#frame_end}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{#footer}
|
||||
</body>
|
||||
</html>
|
||||
</table>
|
93
template/default/default-admin.css
Normal file
93
template/default/default-admin.css
Normal file
|
@ -0,0 +1,93 @@
|
|||
@import url("default.css");
|
||||
|
||||
a, a:hover {
|
||||
color:#006699;
|
||||
}
|
||||
|
||||
body,font,table,input,form,select,textarea {
|
||||
font-family:arial,verdana,sans-serif;
|
||||
font-size:12px;
|
||||
color:#000000;
|
||||
text-align:left;
|
||||
}
|
||||
table
|
||||
{
|
||||
border-collapse:separate;
|
||||
}
|
||||
body {
|
||||
background-color:#E5E5E5;
|
||||
margin:5px;
|
||||
}
|
||||
|
||||
.table1 {
|
||||
border-collapse:collapse;
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
.contenucellule {
|
||||
background-color:#EEEEEE;
|
||||
border:2px solid #006699;
|
||||
}
|
||||
.style1 {
|
||||
margin-top:20px;
|
||||
}
|
||||
th {
|
||||
font-weight:bold;
|
||||
background-color:#D3DCE3;
|
||||
margin-bottom:10px;
|
||||
text-align: center;
|
||||
}
|
||||
td.row1 {
|
||||
background-color:#E6E4E4;
|
||||
}
|
||||
td.row2,td.throw2 {
|
||||
background-color:#E8E8E8;
|
||||
}
|
||||
td.throw2 {
|
||||
text-align:center;
|
||||
font-weight:bold;
|
||||
}
|
||||
td.row3 {
|
||||
background-color:#eeeeee;
|
||||
}
|
||||
td.row4 {
|
||||
background-color:#cccccc;
|
||||
}
|
||||
.info {
|
||||
color:darkblue;
|
||||
text-align:center;
|
||||
}
|
||||
div.key {
|
||||
margin-left : 10px;
|
||||
}
|
||||
td.choice {
|
||||
text-align : center;
|
||||
}
|
||||
div.install_warning {
|
||||
text-align:center;
|
||||
color:red;
|
||||
margin:20px;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
.tableComment,.cellAuthor,.cellInfo {
|
||||
color:#000000;
|
||||
border-color:#006699;
|
||||
}
|
||||
.commentsAuthor,.commentsTitle,.commentsInfos,.commentsContent
|
||||
{
|
||||
color:#000000;
|
||||
}
|
||||
.errors {
|
||||
text-align:left;
|
||||
margin:25px;
|
||||
background-color:#ffe1e1;
|
||||
border:1px solid red;
|
||||
color:black;
|
||||
}
|
||||
.errors_title {
|
||||
margin:5px;
|
||||
font-weight:bold;
|
||||
font-size:120%;
|
||||
text-align:center;
|
||||
color:red;
|
||||
}
|
220
template/default/default.css
Normal file
220
template/default/default.css
Normal file
|
@ -0,0 +1,220 @@
|
|||
a {
|
||||
text-decoration:none;
|
||||
color:#E0E0E0;
|
||||
}
|
||||
a:hover {
|
||||
text-decoration:underline;
|
||||
color:#E0E0E0;
|
||||
}
|
||||
|
||||
a.back,body {
|
||||
color:#E0E0E0;
|
||||
}
|
||||
body {
|
||||
font-family:arial, sans-serif;
|
||||
font-size:12px;
|
||||
background-color:#444444;
|
||||
margin:5px;
|
||||
}
|
||||
table, input {
|
||||
font-family:arial, sans-serif;
|
||||
font-size:12px;
|
||||
}
|
||||
.imgLink {
|
||||
border:1px solid #E0E0E0;
|
||||
}
|
||||
.imgLink:hover {
|
||||
text-decoration:none;
|
||||
}
|
||||
.titrePage,.titreMenu,.menu,.info,.commentsAuthor,.commentsTitle,.commentsInfos,.commentsContent,.commentsNavigationBar {
|
||||
color:lightgray;
|
||||
}
|
||||
.titreMenu, .menu, .info {
|
||||
margin-bottom:5px;
|
||||
white-space:nowrap;
|
||||
}
|
||||
.menu, .titrePage, .info {
|
||||
margin-left:2px;
|
||||
margin-right:2px;
|
||||
}
|
||||
.menuInfoCat {
|
||||
font-family:sans-serif;
|
||||
font-size:11px;
|
||||
}
|
||||
.totalImages {
|
||||
text-align:center;
|
||||
margin-top:5px;
|
||||
font-family:sans-serif;
|
||||
font-size:11px;
|
||||
}
|
||||
.titreMenu {
|
||||
font-weight:600;
|
||||
text-align:center;
|
||||
}
|
||||
.info {
|
||||
text-align:right;
|
||||
}
|
||||
.titrePage {
|
||||
white-space:nowrap;
|
||||
font-weight:500;
|
||||
font-size:18px;
|
||||
text-align:center;
|
||||
}
|
||||
.comments, .infoCat, .navigationBar {
|
||||
margin-top:10px;
|
||||
margin-bottom:10px;
|
||||
}
|
||||
.comments {
|
||||
text-align:justify;
|
||||
font-style:italic;
|
||||
}
|
||||
.navigationBar {
|
||||
text-align:center;
|
||||
}
|
||||
.infoCat {
|
||||
text-align:left;
|
||||
}
|
||||
.thumbnail {
|
||||
font-size:11px;
|
||||
text-align:center;
|
||||
}
|
||||
.copyright {
|
||||
font-size:11px;
|
||||
text-align:center;
|
||||
font-family:sans-serif;
|
||||
letter-spacing:0.3mm;
|
||||
}
|
||||
.commentImage {
|
||||
font-weight:bold;
|
||||
text-align:center;
|
||||
font-size:17px;
|
||||
}
|
||||
.bouton {
|
||||
background:lightgray;
|
||||
}
|
||||
textarea,input {
|
||||
color:black;
|
||||
}
|
||||
table {
|
||||
border-collapse:collapse;
|
||||
}
|
||||
table.thumbnail {
|
||||
border-collapse:separate;
|
||||
}
|
||||
td {
|
||||
font-family:sans-serif;
|
||||
padding:0px;
|
||||
}
|
||||
.errors {
|
||||
text-align:left;
|
||||
margin-top:5px;
|
||||
margin-bottom:5px;
|
||||
background-color:red;
|
||||
font-weight:bold;
|
||||
border:1px solid black;
|
||||
color:white;
|
||||
}
|
||||
div.information {
|
||||
text-align:center;
|
||||
border:2px solid #E0E0E0;
|
||||
margin:10px;
|
||||
padding:5px;
|
||||
}
|
||||
.commentsAuthor, .commentsTitle, .commentsInfos, .commentsContent, .commentsNavigationBar {
|
||||
|
||||
font-family:arial, sans-Serif;
|
||||
font-size:12px;
|
||||
}
|
||||
.commentsTitle, .commentsAuthor {
|
||||
text-align:center;
|
||||
font-weight:bold;
|
||||
}
|
||||
.commentsInfos {
|
||||
padding:3px 3px 3px 10px;
|
||||
font-size:11px;
|
||||
text-align:right;
|
||||
}
|
||||
.commentsContent {
|
||||
margin:10px;
|
||||
}
|
||||
.commentsTitle {
|
||||
margin-top:15px;
|
||||
}
|
||||
.commentsAuthor {
|
||||
margin:5px;
|
||||
}
|
||||
.commentsNavigationBar {
|
||||
margin:10px;
|
||||
}
|
||||
.tableComment,.cellAuthor,.cellInfo {
|
||||
border-color:#E0E0E0;
|
||||
border-style:solid;
|
||||
}
|
||||
.tableComment {
|
||||
width:100%;
|
||||
border-width:2px;
|
||||
text-align:left;
|
||||
padding: 10px;
|
||||
}
|
||||
.cellAuthor {
|
||||
border-width:0px;
|
||||
border-right-width:1px;
|
||||
width:20%;
|
||||
}
|
||||
.cellInfo {
|
||||
border-width:0px;
|
||||
border-bottom-width:1px;
|
||||
}
|
||||
|
||||
.miniature {
|
||||
border:solid 1px black;
|
||||
}
|
||||
.titretable1 {
|
||||
color:black;
|
||||
background-color:#D3DCE3;
|
||||
text-align:center;
|
||||
border:2px solid #006699;
|
||||
font-weight:bold;
|
||||
border-bottom:0px;
|
||||
}
|
||||
.grostitre {
|
||||
text-align:center;
|
||||
margin:10px 50px 10px 50px;
|
||||
font-size:20px;
|
||||
width:300px;
|
||||
}
|
||||
.plan {
|
||||
margin:10px 10px 10px 2px;
|
||||
white-space:nowrap;
|
||||
}
|
||||
.cat_plan {
|
||||
font-weight:bold;
|
||||
}
|
||||
.retrait {
|
||||
margin:10px;
|
||||
margin-left:30px;
|
||||
margin-top:2px;
|
||||
}
|
||||
.erreur {
|
||||
color:red;
|
||||
text-align:center;
|
||||
}
|
||||
.errors_title {
|
||||
margin:5px;
|
||||
font-weight:bold;
|
||||
font-size:120%;
|
||||
text-align:center;
|
||||
color:red;
|
||||
}
|
||||
.thumbnail {
|
||||
font-size:11px;
|
||||
text-align:center;
|
||||
vertical-align: baseline;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
table.thumbnail {
|
||||
border-collapse:separate;
|
||||
display:inline-table;
|
||||
}
|
||||
|
8
template/default/footer.vtp
Normal file
8
template/default/footer.vtp
Normal file
|
@ -0,0 +1,8 @@
|
|||
<div class="copyright">{#generation_time} {#time}</div>
|
||||
<!-- Please, do not remove this copyright. If you really want to,
|
||||
contact me pierrick@z0rglub.com to find a solution on how
|
||||
to show the origin of the script...-->
|
||||
<div class="copyright">Powered by <a href="{#site_url}" class="back">PhpWebGallery</a> {#version}</div>
|
||||
{#footer}
|
||||
</body>
|
||||
</html>
|
13
template/default/header.vtp
Normal file
13
template/default/header.vtp
Normal file
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={#charset}" />
|
||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
<!--VTP_refresh-->
|
||||
<meta http-equiv="refresh" content="{#time};url={#url}">
|
||||
<!--/VTP_refresh-->
|
||||
<title>{#title}</title>
|
||||
<link rel="stylesheet" href="{#style}" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
{#header}
|
|
@ -17,14 +17,20 @@
|
|||
* *
|
||||
***************************************************************************/
|
||||
|
||||
include( PREFIX_INCLUDE.'./template/'.$user['template'].'/theme/conf.php' );
|
||||
//include( PREFIX_INCLUDE.'./template/'.$user['template'].'/theme/conf.php' );
|
||||
$user['lien_expanded']='./template/'.$user['template'].'/theme/expanded.gif';
|
||||
$user['lien_collapsed']='./template/'.$user['template'].'/theme/collapsed.gif';
|
||||
include_once( PREFIX_INCLUDE.'./template/'.$user['template'].'/style.inc.php');
|
||||
//include_once( PREFIX_INCLUDE.'./template/'.$user['template'].'/style.inc.php');
|
||||
|
||||
function get_icon( $date_comparaison )
|
||||
{
|
||||
global $user, $conf;
|
||||
|
||||
if ( !is_numeric( $date_comparaison ) )
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
$difference = time() - $date_comparaison;
|
||||
$jours = 24*60*60;
|
||||
$output = '';
|
||||
|
@ -160,15 +166,15 @@ function initialize_template()
|
|||
{
|
||||
global $vtp, $handle, $user, $lang;
|
||||
|
||||
$vtp->setGlobalVar( $handle, 'charset', $lang['charset'] );
|
||||
$vtp->setGlobalVar( $handle, 'style', $user['style'] );
|
||||
// $vtp->setGlobalVar( $handle, 'charset', $lang['charset'] );
|
||||
//$vtp->setGlobalVar( $handle, 'style', $user['style'] );
|
||||
$vtp->setGlobalVar( $handle, 'frame_start', get_frame_start() );
|
||||
$vtp->setGlobalVar( $handle, 'frame_begin', get_frame_begin() );
|
||||
$vtp->setGlobalVar( $handle, 'frame_end', get_frame_end() );
|
||||
$vtp->setVarF( $handle, 'header',
|
||||
'./template/'.$user['template'].'/header.htm' );
|
||||
$vtp->setVarF( $handle, 'footer',
|
||||
'./template/'.$user['template'].'/footer.htm' );
|
||||
//$vtp->setVarF( $handle, 'header',
|
||||
// './template/'.$user['template'].'/header.htm' );
|
||||
//$vtp->setVarF( $handle, 'footer',
|
||||
// './template/'.$user['template'].'/footer.htm' );
|
||||
}
|
||||
|
||||
function display_category( $category, $indent, $handle )
|
||||
|
@ -177,8 +183,7 @@ function display_category( $category, $indent, $handle )
|
|||
|
||||
$vtp->addSession( $handle, 'category' );
|
||||
$vtp->setVar( $handle, 'category.indent', $indent );
|
||||
|
||||
if ( $user['expand'] or count( $category['subcats'] ) == 0 )
|
||||
if ( $user['expand'] or $category['nb_sub_categories'] == 0 )
|
||||
{
|
||||
$vtp->addSession( $handle, 'bullet_wo_link' );
|
||||
$vtp->setVar( $handle, 'bullet_wo_link.bullet_url',
|
||||
|
@ -188,12 +193,16 @@ function display_category( $category, $indent, $handle )
|
|||
else
|
||||
{
|
||||
$vtp->addSession( $handle, 'bullet_w_link' );
|
||||
$url = './category.php?cat='.$page['cat'];
|
||||
$url = './category.php';
|
||||
if (isset($page['cat']))
|
||||
{
|
||||
$url .='?cat='.$page['cat'];
|
||||
$url.= '&expand='.$category['expand_string'];
|
||||
if ( $page['cat'] == 'search' )
|
||||
{
|
||||
$url.= '&search='.$_GET['search'].'&mode='.$_GET['mode'];
|
||||
}
|
||||
}
|
||||
else if ($category['expand_string']<>'')
|
||||
{
|
||||
$url.= '?expand='.$category['expand_string'];
|
||||
}
|
||||
$vtp->setVar( $handle, 'bullet_w_link.bullet_link', add_session_id($url) );
|
||||
if ( $category['expanded'] )
|
||||
{
|
||||
|
@ -220,14 +229,17 @@ function display_category( $category, $indent, $handle )
|
|||
{
|
||||
$vtp->setVar( $handle, 'category.name_style', 'font-weight:bold;' );
|
||||
}
|
||||
if ( count( $category['subcats'] ) > 0 )
|
||||
if ( $category['nb_sub_categories'] > 0 )
|
||||
{
|
||||
$vtp->addSession( $handle, 'subcat' );
|
||||
$vtp->setVar( $handle, 'subcat.nb_subcats', count($category['subcats']) );
|
||||
$vtp->setVar( $handle,'subcat.nb_subcats',$category['nb_sub_categories'] );
|
||||
$vtp->closeSession( $handle, 'subcat' );
|
||||
}
|
||||
$vtp->setVar( $handle, 'category.total_cat', $category['nb_images'] );
|
||||
$vtp->setVar( $handle, 'category.cat_icon',get_icon($category['date_last']));
|
||||
if ( isset( $category['date_last'] ) )
|
||||
{
|
||||
$vtp->setVar($handle,'category.cat_icon',get_icon($category['date_last']));
|
||||
}
|
||||
$vtp->closeSession( $handle, 'category' );
|
||||
|
||||
// recursive call
|
||||
|
|
|
@ -1,11 +1,3 @@
|
|||
<html>
|
||||
<head>
|
||||
{#style}
|
||||
<title>{#ident_page_title}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={#charset}" />
|
||||
</head>
|
||||
<body>
|
||||
{#header}
|
||||
<table style="width:100%;height:100%">
|
||||
<tr align="center" valign="middle">
|
||||
<td>
|
||||
|
@ -72,7 +64,4 @@
|
|||
{#frame_end}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{#footer}
|
||||
</body>
|
||||
</html>
|
||||
</table>
|
|
@ -1,54 +1,3 @@
|
|||
<html>
|
||||
<head>
|
||||
<!--VTP_refresh-->
|
||||
<meta http-equiv="refresh" content="{#time};url={#url}">
|
||||
<!--/VTP_refresh-->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset={#charset}">
|
||||
{#style}
|
||||
<!-- Specific style to picture.php-->
|
||||
<style type="text/css">
|
||||
.commentsAuthor,.commentsTitle,.commentsInfos,.commentsContent,.commentsNavigationBar {
|
||||
color:{#text_color};
|
||||
font-family:arial,sans-Serif;
|
||||
font-size:12px;
|
||||
}
|
||||
.commentsTitle,.commentsAuthor {
|
||||
text-align:center;
|
||||
font-weight:bold;
|
||||
}
|
||||
.commentsInfos {
|
||||
margin:3px 3px 3px 10px;
|
||||
font-size:11px;
|
||||
}
|
||||
.commentsContent {
|
||||
margin:10px;
|
||||
}
|
||||
.commentsTitle {
|
||||
margin-top:15px;
|
||||
}
|
||||
.commentsAuthor {
|
||||
margin:5px;
|
||||
}
|
||||
.commentsNavigationBar {
|
||||
margin:10px;
|
||||
}
|
||||
.tableComment {
|
||||
width:90%;
|
||||
border:2px solid {#text_color};
|
||||
margin:10px;
|
||||
}
|
||||
.cellAuthor {
|
||||
border-right:1px solid {#text_color};
|
||||
width:100px;
|
||||
}
|
||||
.cellInfo {
|
||||
border-bottom:1px solid {#text_color};
|
||||
}
|
||||
</style>
|
||||
<title>{#page_title}</title>
|
||||
</head>
|
||||
<body>
|
||||
{#header}
|
||||
<!--VTP_information-->
|
||||
<div class="information">{#content}</div>
|
||||
<!--/VTP_information-->
|
||||
|
@ -85,7 +34,7 @@
|
|||
<div style="margin-bottom:5px"> </div>
|
||||
{#frame_start}1%{#frame_begin}
|
||||
<a href="{#picture_link}">
|
||||
<img style="margin:10px;width:{#picture_width}px;height:{#picture_height}px;border:1px solid {#picture_border_color}" src="{#picture_src}" alt="{#picture_alt}"/>
|
||||
<img class="imgLink" style="margin:10px;width:{#picture_width}px;height:{#picture_height}px;border:1px solid" src="{#picture_src}" alt="{#picture_alt}"/>
|
||||
</a>
|
||||
<div class="commentImage">{#picture_comment}</div>
|
||||
<table style="width:100%;">
|
||||
|
@ -184,7 +133,4 @@
|
|||
</td>
|
||||
</tr>
|
||||
<!--/VTP_comments-->
|
||||
</table>
|
||||
{#footer}
|
||||
</body>
|
||||
</html>
|
||||
</table>
|
|
@ -1,11 +1,3 @@
|
|||
<html>
|
||||
<head>
|
||||
{#style}
|
||||
<title>{#customize_page_title}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; {#charset}">
|
||||
</head>
|
||||
<body>
|
||||
{#header}
|
||||
<table style="width:100%;height:100%">
|
||||
<tr align="center" valign="middle">
|
||||
<td>
|
||||
|
@ -96,7 +88,4 @@
|
|||
{#frame_end}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{#footer}
|
||||
</body>
|
||||
</html>
|
||||
</table>
|
|
@ -1,11 +1,3 @@
|
|||
<html>
|
||||
<head>
|
||||
{#style}
|
||||
<title>{#register_page_title}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={#charset}">
|
||||
</head>
|
||||
<body>
|
||||
{#header}
|
||||
<table style="width:100%;height:100%">
|
||||
<tr align="center" valign="middle">
|
||||
<td>
|
||||
|
@ -68,7 +60,4 @@
|
|||
{#frame_end}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{#footer}
|
||||
</body>
|
||||
</html>
|
||||
</table>
|
|
@ -1,11 +1,3 @@
|
|||
<html>
|
||||
<head>
|
||||
{#style}
|
||||
<title>{#search_title}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={#charset}">
|
||||
</head>
|
||||
<body>
|
||||
{#header}
|
||||
<table style="width:100%;height:100%">
|
||||
<tr align="center" valign="middle">
|
||||
<td>
|
||||
|
@ -78,7 +70,4 @@
|
|||
{#frame_end}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{#footer}
|
||||
</body>
|
||||
</html>
|
||||
</table>
|
|
@ -1,147 +0,0 @@
|
|||
<?php
|
||||
/***************************************************************************
|
||||
* style.inc.php *
|
||||
* ------------------- *
|
||||
* application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
|
||||
* author : Pierrick LE GALL <pierrick@z0rglub.com> *
|
||||
* *
|
||||
* $Id$
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* 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; *
|
||||
* *
|
||||
***************************************************************************/
|
||||
$user['style'] = '<style type="text/css">
|
||||
a {
|
||||
text-decoration:none;
|
||||
}
|
||||
a:hover {
|
||||
text-decoration:underline;
|
||||
}
|
||||
a.back, body {
|
||||
color:'.$user['couleur_text_fond'].';
|
||||
}
|
||||
body,table,input {
|
||||
font-family:arial,sans-serif;
|
||||
font-size:12px;
|
||||
}
|
||||
.imgLink {
|
||||
border:1px solid '.$user['couleur_text_fond'].';
|
||||
}
|
||||
.titrePage,.titreMenu,.menu,.info, a {
|
||||
color:'.$user['couleur_text'].';
|
||||
}
|
||||
.titreMenu,.menu,.info {
|
||||
margin-bottom:5px;
|
||||
white-space:nowrap;
|
||||
}
|
||||
.menu,.titrePage,.info {
|
||||
margin-left:2px;
|
||||
margin-right:2px;
|
||||
}
|
||||
.menuInfoCat {
|
||||
font-family:sans-serif;
|
||||
font-size:11px;
|
||||
}
|
||||
.totalImages {
|
||||
text-align:center;
|
||||
margin-top:5px;
|
||||
font-family:sans-serif;
|
||||
font-size:11px;
|
||||
}
|
||||
.titreMenu {
|
||||
font-weight:600;
|
||||
text-align:center;
|
||||
}
|
||||
.info {
|
||||
text-align:right;
|
||||
}
|
||||
.titrePage {
|
||||
white-space:nowrap;
|
||||
font-weight:500;
|
||||
font-size:18px;
|
||||
text-align:center;
|
||||
}
|
||||
.comments,.infoCat,.navigationBar {
|
||||
margin-top:10px;
|
||||
margin-bottom:10px;
|
||||
}
|
||||
.comments {
|
||||
text-align:justify;
|
||||
font-style:italic;
|
||||
}
|
||||
.navigationBar {
|
||||
text-align:center;
|
||||
}
|
||||
.infoCat {
|
||||
text-align:left;
|
||||
}
|
||||
.thumbnail {
|
||||
font-size:11px;
|
||||
text-align:center;
|
||||
}
|
||||
.copyright {
|
||||
font-size:11px;
|
||||
text-align:center;
|
||||
font-family:sans-serif;
|
||||
letter-spacing:0.3mm;
|
||||
}
|
||||
.commentImage {
|
||||
font-weight:bold;
|
||||
text-align:center;
|
||||
font-size:17px;
|
||||
}
|
||||
.bouton {
|
||||
background:#EEEEEE;
|
||||
}
|
||||
input {
|
||||
border-width:1;
|
||||
border-color:#000000;
|
||||
background:#ffffff;
|
||||
color: #000000;
|
||||
}
|
||||
body {';
|
||||
$image = './theme/'.$user['theme'].'/background.gif';
|
||||
if ( @is_file( $image ) )
|
||||
{
|
||||
$user['style'].= '
|
||||
background-image:url('.$image.');';
|
||||
}
|
||||
else
|
||||
{
|
||||
$user['style'].= '
|
||||
background-color:'.$user['couleur_fond'].';';
|
||||
}
|
||||
$user['style'].= '
|
||||
margin:5px;
|
||||
}
|
||||
table {
|
||||
border-collapse:collapse;
|
||||
}
|
||||
table.thumbnail {
|
||||
border-collapse:separate;
|
||||
}
|
||||
td {
|
||||
font-family:sans-serif;
|
||||
padding:0;
|
||||
}
|
||||
.errors {
|
||||
text-align:left;
|
||||
margin-top:5px;
|
||||
margin-bottom:5px;
|
||||
background-color:red;
|
||||
font-weight:bold;
|
||||
border:1px solid black;
|
||||
color:white;
|
||||
}
|
||||
div.information {
|
||||
text-align:center;
|
||||
border:2px solid '.$user['couleur_text_fond'].';
|
||||
margin:10px;padding:5px;
|
||||
}
|
||||
</style>';
|
|
@ -1,11 +1,3 @@
|
|||
<html>
|
||||
<head>
|
||||
{#style}
|
||||
<title>{#upload_title}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={#charset}">
|
||||
</head>
|
||||
<body>
|
||||
{#header}
|
||||
<table style="width:100%;height:100%">
|
||||
<tr align="center" valign="middle">
|
||||
<td>
|
||||
|
@ -109,7 +101,4 @@
|
|||
{#frame_end}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{#footer}
|
||||
</body>
|
||||
</html>
|
||||
</table>
|
48
upload.php
48
upload.php
|
@ -30,13 +30,13 @@
|
|||
function validate_upload( $temp_name, $my_max_file_size,
|
||||
$image_max_width, $image_max_height )
|
||||
{
|
||||
global $lang;
|
||||
global $conf, $lang;
|
||||
|
||||
$result = array();
|
||||
$result['error'] = array();
|
||||
//echo $_FILES['picture']['name']."<br />".$temp_name;
|
||||
$extension = get_extension( $_FILES['picture']['name'] );
|
||||
if ( $extension != 'gif' and $extension != 'jpg' and $extension != 'png' )
|
||||
if ( !in_array( $extension, $conf['picture_ext'] ) )
|
||||
{
|
||||
array_push( $result['error'], $lang['upload_advise_filetype'] );
|
||||
return $result;
|
||||
|
@ -49,7 +49,7 @@ function validate_upload( $temp_name, $my_max_file_size,
|
|||
else if ( $_FILES['picture']['size'] > $my_max_file_size * 1024 )
|
||||
{
|
||||
array_push( $result['error'],
|
||||
$lang['upload_advise_width'].$my_max_file_size.' KB' );
|
||||
$lang['upload_advise_filesize'].$my_max_file_size.' KB' );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -94,6 +94,10 @@ function validate_upload( $temp_name, $my_max_file_size,
|
|||
// destruction de l'image avec le nom temporaire
|
||||
@unlink( $temp_name );
|
||||
}
|
||||
else
|
||||
{
|
||||
@chmod( $temp_name, 0644);
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
//----------------------------------------------------------- personnal include
|
||||
|
@ -109,13 +113,7 @@ if ( isset( $page['cat'] ) and is_numeric( $page['cat'] ) )
|
|||
$page['cat_site_id'] = $result['site_id'];
|
||||
$page['cat_name'] = $result['name'];
|
||||
$page['cat_uploadable'] = $result['uploadable'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$access_forbidden = true;
|
||||
}
|
||||
if ( $access_forbidden == true
|
||||
or $page['cat_site_id'] != 1
|
||||
if ( $page['cat_site_id'] != 1
|
||||
or !$conf['upload_available']
|
||||
or !$page['cat_uploadable'] )
|
||||
{
|
||||
|
@ -124,8 +122,13 @@ if ( $access_forbidden == true
|
|||
echo $lang['thumbnails'].'</a></div>';
|
||||
exit();
|
||||
}
|
||||
}
|
||||
//----------------------------------------------------- template initialization
|
||||
$vtp = new VTemplate;
|
||||
//
|
||||
// Start output of page
|
||||
//
|
||||
$title= $lang['upload_title'];
|
||||
include('include/page_header.php');
|
||||
$handle = $vtp->Open( './template/'.$user['template'].'/upload.vtp' );
|
||||
initialize_template();
|
||||
|
||||
|
@ -164,7 +167,8 @@ if ( isset( $_POST['submit'] ) and !isset( $_GET['waiting_id'] ) )
|
|||
{
|
||||
array_push( $error, $lang['upload_err_username'] );
|
||||
}
|
||||
|
||||
|
||||
$date_creation = '';
|
||||
if ( $_POST['date_creation'] != '' )
|
||||
{
|
||||
list( $day,$month,$year ) = explode( '/', $_POST['date_creation'] );
|
||||
|
@ -189,13 +193,20 @@ if ( isset( $_POST['submit'] ) and !isset( $_GET['waiting_id'] ) )
|
|||
$xml_infos.= ' date_creation="'.$date_creation.'"';
|
||||
$xml_infos.= ' name="'.htmlspecialchars( $_POST['name'], ENT_QUOTES).'"';
|
||||
$xml_infos.= ' />';
|
||||
|
||||
if ( !preg_match( '/^[a-zA-Z0-9-_.]+$/', $_FILES['picture']['name'] ) )
|
||||
{
|
||||
// reload language file with administration labels
|
||||
$isadmin = true;
|
||||
include( './language/'.$user['language'].'.php' );
|
||||
array_push( $error, $lang['update_wrong_dirname'] );
|
||||
}
|
||||
|
||||
if ( sizeof( $error ) == 0 )
|
||||
{
|
||||
$result = validate_upload( $path, $conf['upload_maxfilesize'],
|
||||
$conf['upload_maxwidth'],
|
||||
$conf['upload_maxheight'] );
|
||||
$upload_type = $result['type'];
|
||||
for ( $j = 0; $j < sizeof( $result['error'] ); $j++ )
|
||||
{
|
||||
array_push( $error, $result['error'][$j] );
|
||||
|
@ -237,7 +248,6 @@ if ( isset( $_POST['submit'] ) and isset( $_GET['waiting_id'] ) )
|
|||
$result = validate_upload( $path, $conf['upload_maxfilesize'],
|
||||
$conf['upload_maxwidth_thumbnail'],
|
||||
$conf['upload_maxheight_thumbnail'] );
|
||||
$upload_type = $result['type'];
|
||||
for ( $j = 0; $j < sizeof( $result['error'] ); $j++ )
|
||||
{
|
||||
array_push( $error, $result['error'][$j] );
|
||||
|
@ -347,12 +357,16 @@ if ( !$page['upload_successful'] )
|
|||
else $mail_address=$user['mail_address'];
|
||||
$vtp->setGlobalVar( $handle, 'user_mail_address',$user['mail_address'] );
|
||||
// name of the picture
|
||||
if (isset($_POST['name']))
|
||||
$vtp->setVar( $handle, 'fields.name', $_POST['name'] );
|
||||
// author
|
||||
if (isset($_POST['author']))
|
||||
$vtp->setVar( $handle, 'fields.author', $_POST['author'] );
|
||||
// date of creation
|
||||
if (isset($_POST['date_creation']))
|
||||
$vtp->setVar( $handle, 'fields.date_creation', $_POST['date_creation'] );
|
||||
// comment
|
||||
if (isset($_POST['comment']))
|
||||
$vtp->setVar( $handle, 'fields.comment', $_POST['comment'] );
|
||||
|
||||
$vtp->closeSession( $handle, 'fields' );
|
||||
|
@ -371,6 +385,6 @@ else
|
|||
$url = './category.php?cat='.$page['cat'].'&expand='.$_GET['expand'];
|
||||
$vtp->setGlobalVar( $handle, 'return_url', add_session_id( $url ) );
|
||||
//----------------------------------------------------------- html code display
|
||||
$code = $vtp->Display( $handle, 0 );
|
||||
echo $code;
|
||||
?>
|
||||
$output.= $vtp->Display( $handle, 0 );
|
||||
include('include/page_tail.php');
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue