Changeset 6365
- Timestamp:
- May 26, 2010, 2:20:07 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 24 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin.php
r6363 r6365 103 103 array( 104 104 'USERNAME' => $user['username'], 105 'ENABLE_SYNCHRONIZATION' => $conf['enable_synchronization'], 105 106 'U_SITE_MANAGER'=> $link_start.'site_manager', 106 107 'U_HISTORY_STAT'=> $link_start.'stats', -
trunk/admin/cat_options.php
r6363 r6365 163 163 $tabsheet->add('status', l10n('Public / Private'), $opt_link.'status'); 164 164 $tabsheet->add('visible', l10n('Lock'), $opt_link.'visible'); 165 $tabsheet->add('upload', l10n('Upload'), $opt_link.'upload'); 165 if ($conf['enable_synchronization']) 166 { 167 $tabsheet->add('upload', l10n('Upload'), $opt_link.'upload'); 168 } 166 169 $tabsheet->add('comments', l10n('Comments'), $opt_link.'comments'); 167 170 if ($conf['allow_random_representative']) -
trunk/admin/configuration.php
r6363 r6365 222 222 $tabsheet->add('history', l10n('History'), $conf_link.'history'); 223 223 $tabsheet->add('comments', l10n('Comments'), $conf_link.'comments'); 224 $tabsheet->add('upload', l10n('Upload'), $conf_link.'upload'); 224 if ($conf['enable_synchronization']) 225 { 226 $tabsheet->add('upload', l10n('Upload'), $conf_link.'upload'); 227 } 225 228 $tabsheet->add('default', l10n('Guest Settings'), $conf_link.'default'); 226 229 // TabSheet selection -
trunk/admin/help.php
r6363 r6365 34 34 $help_section_title = null; 35 35 36 $tabs = array( 37 array( 38 'code' => 'add_photos', 39 'label' => l10n('Add Photos'), 40 ), 41 array( 42 'code' => 'permissions', 43 'label' => l10n('Permissions'), 44 ), 45 array( 46 'code' => 'groups', 47 'label' => l10n('Groups'), 48 ), 49 array( 36 $tabs = array(); 37 $tabs[] = array( 38 'code' => 'add_photos', 39 'label' => l10n('Add Photos'), 40 ); 41 $tabs[] = array( 42 'code' => 'permissions', 43 'label' => l10n('Permissions'), 44 ); 45 $tabs[] = array( 46 'code' => 'groups', 47 'label' => l10n('Groups'), 48 ); 49 if ($conf['enable_synchronization']) 50 { 51 $tabs[] = array( 50 52 'code' => 'user_upload', 51 53 'label' => l10n('User Upload'), 52 ) ,53 array( 54 'code' => 'virtual_links', 55 'label' => l10n('Virtual Links'),56 57 array(58 'code' => 'misc', 59 'label' => l10n('Miscellaneous'),60 54 ); 55 } 56 $tabs[] = array( 57 'code' => 'virtual_links', 58 'label' => l10n('Virtual Links'), 59 ); 60 $tabs[] = array( 61 'code' => 'misc', 62 'label' => l10n('Miscellaneous'), 61 63 ); 62 64 -
trunk/admin/photos_add.php
r6363 r6365 153 153 'label' => l10n('Piwigo Uploader'), 154 154 ), 155 array( 156 'code' => 'ftp', 157 'label' => l10n('FTP + Synchronization'), 158 ), 159 ); 155 ); 156 157 if ($conf['enable_synchronization']) 158 { 159 array_push( 160 $tabs, 161 array( 162 'code' => 'ftp', 163 'label' => l10n('FTP + Synchronization'), 164 ) 165 ); 166 } 160 167 161 168 $tab_codes = array_map( -
trunk/admin/themes/default/template/admin.tpl
r6363 r6365 20 20 <ul> 21 21 <li><a href="{$U_ADD_PHOTOS}">{'Add'|@translate}</a></li> 22 {if $ENABLE_SYNCHRONIZATION} 22 23 <li><a href="{$U_WAITING}">{'Waiting'|@translate}</a></li> 24 {/if} 23 25 <li><a href="{$U_RATING}">{'Rating'|@translate}</a></li> 24 26 <li><a href="{$U_TAGS}">{'Tags'|@translate}</a></li> … … 69 71 <dd> 70 72 <ul> 73 {if $ENABLE_SYNCHRONIZATION} 71 74 <li><a href="{$U_CAT_UPDATE}">{'Synchronize'|@translate}</a></li> 72 75 <li><a href="{$U_SITE_MANAGER}">{'Site manager'|@translate}</a></li> 76 {/if} 73 77 <li><a href="{$U_HISTORY_STAT}">{'History'|@translate}</a></li> 78 {if $ENABLE_SYNCHRONIZATION} 74 79 <li><a href="{$U_THUMBNAILS}">{'Thumbnails'|@translate}</a></li> 80 {/if} 75 81 <li><a href="{$U_MAINTENANCE}">{'Maintenance'|@translate}</a></li> 76 82 <li><a href="{$U_PENDING_COMMENTS}">{'Pending Comments'|@translate}</a></li> -
trunk/admin/themes/default/template/element_set_global.tpl
r6363 r6365 86 86 <fieldset> 87 87 <legend>{'Deletions'|@translate}</legend> 88 {if $ENABLE_SYNCHRONIZATION} 88 89 <p style="font-style:italic">{'Note: photo deletion does not apply to photos added by synchronization. For photos added by synchronization, remove them from the filesystem and then perform another synchronization.'|@translate}</p> 90 {/if} 89 91 <p> 90 92 {'target'|@translate} -
trunk/admin/themes/default/template/footer.tpl
r6363 r6365 62 62 {/literal} 63 63 64 {if not $ENABLE_SYNCHRONIZATION} 65 {literal} 66 <script type='text/javascript'> 67 $(document).ready(function() { 68 $("#helpSynchro").hide(); 69 }); 70 </script> 71 {/literal} 72 {/if} 73 64 74 </body> 65 75 </html> -
trunk/admin/themes/default/template/intro.tpl
r6363 r6365 60 60 </dl> 61 61 62 62 {if $ENABLE_SYNCHRONIZATION} 63 63 <form name="QuickSynchro" action="{$U_CAT_UPDATE}" method="post" id="QuickSynchro" style="display: block; text-align:right;"> 64 64 <div> … … 76 76 </div> 77 77 </form> 78 {/if} -
trunk/include/config_default.inc.php
r6363 r6365 781 781 // pLoader direct download url for linux 782 782 $conf['ploader_download_linux'] = 'http://piwigo.org/ext/download.php?eid=269'; 783 784 // enable the synchronization method for adding photos 785 $conf['enable_synchronization'] = true; 783 786 ?> -
trunk/language/cs_CZ/help/help_add_photos.html
r6146 r6365 14 14 <p class="nextStepLink"><a href="admin.php?page=photos_add§ion=ploader">Přejděte na pLoader</a></p> 15 15 16 <div id="helpSynchro"> 16 17 <ul> 17 18 <li><strong>FTP přenos</strong> je nejvíce doporučená cesta, jak nahrát velké množství fotografií s minimálním úsilím. Následujte návod, jak připravit Vaše fotografie. Tato metoda Vám dává možnost přesně řídit uspořádání Vašich fotografií na Vašem serveru.</li> … … 19 20 20 21 <p class="nextStepLink"><a href="admin.php?page=photos_add§ion=ftp">Přejděte na FTP přenos</a></p> 22 </div> -
trunk/language/de_DE/help/help_add_photos.html
r5951 r6365 16 16 <p class="nextStepLink"><a href="admin.php?page=photos_add§ion=ploader">Zum Piwigo Uploader</a></p> 17 17 18 <div id="helpSynchro"> 18 19 <ul> 19 20 <li><strong>FTP Upload</strong> ist die empfohlene Methode, um große Mengen … … 25 26 26 27 <p class="nextStepLink"><a href="admin.php?page=photos_add§ion=ftp">Zum FTP Upload</a></p> 28 </div> -
trunk/language/en_UK/help/help_add_photos.html
r5369 r6365 16 16 <p class="nextStepLink"><a href="admin.php?page=photos_add§ion=ploader">Go to pLoader</a></p> 17 17 18 <div id="helpSynchro"> 18 19 <ul> 19 20 <li><strong>FTP transfer</strong> is the most recommended way to add a … … 24 25 25 26 <p class="nextStepLink"><a href="admin.php?page=photos_add§ion=ftp">Go to FTP</a></p> 27 </div> -
trunk/language/es_ES/help/help_add_photos.html
r5946 r6365 18 18 <p class="nextStepLink"><a href="admin.php?page=photos_add§ion=ploader">Utilizar pLoader</a></p> 19 19 20 <div id="helpSynchro"> 20 21 <ul> 21 22 <li><strong>El FTP</strong> es el método ideal para añadir una colección importante en un mínimo de operaciones. … … 24 25 25 26 <p class="nextStepLink"><a href="admin.php?page=photos_add§ion=ftp">Utilizar FTP</a></p> 27 </div> -
trunk/language/fr_FR/help/help_add_photos.html
r5945 r6365 21 21 <p class="nextStepLink"><a href="admin.php?page=photos_add§ion=ploader">Utiliser pLoader</a></p> 22 22 23 <div id="helpSynchro"> 23 24 <ul> 24 25 <li><strong>Le transfert FTP</strong> … … 30 31 31 32 <p class="nextStepLink"><a href="admin.php?page=photos_add§ion=ftp">Utiliser FTP</a></p> 33 </div> -
trunk/language/hr_HR/help/help_add_photos.html
r6136 r6365 16 16 <p class="nextStepLink"><a href="admin.php?page=photos_add§ion=ploader">Go to pLoader</a></p> 17 17 18 <div id="helpSynchro"> 18 19 <ul> 19 20 <li><strong>FTP transfer</strong> is the most recommended way to add a … … 24 25 25 26 <p class="nextStepLink"><a href="admin.php?page=photos_add§ion=ftp">Go to FTP</a></p> 27 </div> -
trunk/language/hu_HU/help/help_add_photos.html
r5857 r6365 13 13 <p class="nextStepLink"><a href="admin.php?page=photos_add§ion=ploader">Tovább a pLoader beszerzéséhez</a></p> 14 14 15 <div id="helpSynchro"> 15 16 <ul> 16 17 <li>Nagy mennyiségű képek minimális munkával történő hozzáadásának legegyszerűbb módja a <strong>Feltöltés FTP-n keresztül</strong>. Feltöltés előtt el kell végezni a képek előkészítését. Az FTP módszer használata esetén a képek helyének előkészítését kézzel kell elvégezni a tárhelyen lévő könyvtárstruktúra kialakításával.</li> … … 18 19 19 20 <p class="nextStepLink"><a href="admin.php?page=photos_add§ion=ftp">Tovább az FTP feltöltést bemutató oldalra</a></p> 21 </div> -
trunk/language/it_IT/help/help_add_photos.html
r6202 r6365 21 21 <p class="nextStepLink"><a href="admin.php?page=photos_add§ion=ploader">Utilizzare pLoader</a></p> 22 22 23 <div id="helpSynchro"> 23 24 <ul> 24 25 <li><strong>FTP</strong> … … 29 30 30 31 <p class="nextStepLink"><a href="admin.php?page=photos_add§ion=ftp">Utilizzare FTP</a></p> 32 </div> -
trunk/language/ja_JP/help/help_add_photos.html
r5973 r6365 13 13 <p class="nextStepLink"><a href="admin.php?page=photos_add§ion=ploader">pLoaderへ</a></p> 14 14 15 <div id="helpSynchro"> 15 16 <ul> 16 17 <li>多数の写真をアップロードする場合、<strong>FTP</strong> は推薦しています。写真をアップロードするために、ガイドをお読みください。FTPの方法はサーバー上に写真の場所を正確に指定することができます。</li> … … 18 19 19 20 <p class="nextStepLink"><a href="admin.php?page=photos_add§ion=ftp">FTPへ</a></p> 21 </div> -
trunk/language/nl_NL/help/help_add_photos.html
r5949 r6365 15 15 <p class="nextStepLink"><a href="admin.php?page=photos_add§ion=ploader">Ga naar pLoader</a></p> 16 16 17 <div id="helpSynchro"> 17 18 <ul> 18 19 <li><strong>FTP overdracht</strong> is de meest geschikte nainier om een grote hoeveelheid fotos toe te voegen met zo min mogelijk handelingen. Volg de aanwijzingen om je fotos voor te bereiden. De FTP manier is laat je precies de indeling van je fotos op de server bepalen.</li> … … 20 21 21 22 <p class="nextStepLink"><a href="admin.php?page=photos_add§ion=ftp">Ga naar FTP</a></p> 23 </div> -
trunk/language/pl_PL/help/help_add_photos.html
r6096 r6365 13 13 <p class="nextStepLink"><a href="admin.php?page=photos_add§ion=ploader">PrzejdŸ do pLoader</a></p> 14 14 15 <div id="helpSynchro"> 15 16 <ul> 16 17 <li><strong>Transfer FTP</strong> jest najbardziej rekomendowanym sposobem dodawania bardzo du¿ej iloœci zdjêæ przy pomocy niewielu klikniêæ. Skorzystaj z przewodnika aby przygotowaæ swoje zdjêcia. Metoda FTP umo¿liwia Ci bardzo dok³adn¹ kontrolê nad umiejscowieniem plików zdjêæ na serwerze.</li> … … 18 19 19 20 <p class="nextStepLink"><a href="admin.php?page=photos_add§ion=ftp">PrzejdŸ do FTP</a></p> 21 </div> -
trunk/language/ru_RU/help/help_add_photos.html
r5932 r6365 14 14 <p class="nextStepLink"><a href="admin.php?page=photos_add§ion=ploader">Перейти к pLoader</a></p> 15 15 16 <div id="helpSynchro"> 16 17 <ul> 17 18 <li><strong>Загрузка по FTP</strong> – наиболее рекомендуемый способ загрузки очень большой коллекции фотографии при минимальном количестве кликов. Подготовьте фотографии, воспользовавшись инструкцией. Загрузка по FTP позволит вам организовать фотографии на сервере именно так, как нужно.</li> … … 19 20 20 21 <p class="nextStepLink"><a href="admin.php?page=photos_add§ion=ftp">Загрузка по FTP</a></p> 22 </div> -
trunk/language/sr_RS/help/help_add_photos.html
r5953 r6365 15 15 <p class="nextStepLink"><a href="admin.php?page=photos_add§ion=ploader">Idi na pLoader</a></p> 16 16 17 <div id="helpSynchro"> 17 18 <ul> 18 19 <li><strong>FTP prenos</strong>je najčešće preporučen način da dodate … … 22 23 23 24 <p class="nextStepLink"><a href="admin.php?page=photos_add§ion=ftp">Idi na FTP</a></p> 25 </div> -
trunk/language/zh_CN/help/help_add_photos.html
r5947 r6365 13 13 <p class="nextStepLink"><a href="admin.php?page=photos_add§ion=ploader">使用 pLoader</a></p> 14 14 15 <div id="helpSynchro"> 15 16 <ul> 16 17 <li><strong>FTP 上传</strong> 是非常推荐的方法,其可以一次性上传大批量的相片。以下向导将教您如何准备您的相片。使用 FTP 方式,您可以很精确地控制您服务器上的相片目录的物理结构。</li> … … 18 19 19 20 <p class="nextStepLink"><a href="admin.php?page=photos_add§ion=ftp">使用 FTP</a></p> 21 </div>
Note: See TracChangeset
for help on using the changeset viewer.