Changeset 12029
- Timestamp:
- Sep 1, 2011, 4:01:52 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 25 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/plugins_installed.php
r11227 r12029 31 31 $template->set_filenames(array('plugins' => 'plugins_installed.tpl')); 32 32 33 // display mode 34 $plugin_display = isset($_GET['plugin_display']) ? $_GET['plugin_display'] : (pwg_get_session_var('plugin_display') != null ? pwg_get_session_var('plugin_display') : 'compact'); 35 pwg_set_session_var('plugin_display', $plugin_display); 33 // should we display details on plugins? 34 if (isset($_GET['show_details'])) 35 { 36 if (1 == $_GET['show_details']) 37 { 38 $show_details = true; 39 } 40 else 41 { 42 $show_details = false; 43 } 44 45 pwg_set_session_var('plugins_show_details', $show_details); 46 } 47 elseif (null != pwg_get_session_var('plugins_show_details')) 48 { 49 $show_details = pwg_get_session_var('plugins_show_details'); 50 } 51 else 52 { 53 $show_details = false; 54 } 36 55 37 56 $base_url = get_root_url().'admin.php?page='.$page['page']; … … 177 196 usort($tpl_plugins, 'cmp'); 178 197 179 $template->assign(array( 180 'plugin_display' => $plugin_display, 181 'plugins' => $tpl_plugins, 182 'active_plugins' => $active_plugins, 183 'PWG_TOKEN' => $pwg_token, 184 )); 198 $template->assign( 199 array( 200 'plugins' => $tpl_plugins, 201 'active_plugins' => $active_plugins, 202 'PWG_TOKEN' => $pwg_token, 203 'base_url' => $base_url, 204 'show_details' => $show_details, 205 ) 206 ); 185 207 186 208 $template->assign_var_from_handle('ADMIN_CONTENT', 'plugins'); -
trunk/admin/themes/default/template/plugins_installed.tpl
r11838 r12029 50 50 for (i=0;i<data.length;i++) { 51 51 {/literal} 52 {if $ plugin_display == 'complete'}52 {if $show_details} 53 53 jQuery('#'+data[i]+' .pluginBoxNameCell').prepend('<a class="warning" title="'+incompatible_msg+'"></a>') 54 54 {else} … … 88 88 89 89 <div class="titrePage"> 90 <span class="sort">91 <form action="" method="get" name="change_display">92 <input type="hidden" name="page" value="plugins"/>93 {'Display'|@translate} :94 <select name="plugin_display" onchange="this.form.submit();">95 <option value="compact" {if $plugin_diplay=='compact'}selected="selected"{/if}>{'Compact'|@translate}</option>96 <option value="complete" {if $plugin_display=='complete'}selected="selected"{/if}>{'Complete'|@translate}</option>97 </select>98 </form>99 </span>100 90 <h2>{'Plugins'|@translate}</h2> 91 </div> 92 93 <div class="showDetails"> 94 {if $show_details} 95 <a href="{$base_url}&show_details=0">{'hide details'|@translate}</a> 96 {else} 97 <a href="{$base_url}&show_details=1">{'show details'|@translate}</a> 98 {/if} 101 99 </div> 102 100 … … 135 133 {/if} 136 134 137 {if $ plugin_display == 'complete'}135 {if $show_details} 138 136 <div id="{$plugin.ID}" class="pluginBox {$plugin.STATE}"> 139 137 <table> … … 176 174 </div> {*<!-- pluginBox -->*} 177 175 178 {else if $plugin_display == 'compact'}176 {else} 179 177 {if not empty($plugin.VISIT_URL)} 180 178 {assign var='version' value="<a class='externalLink' href='"|cat:$plugin.VISIT_URL|cat:"'>"|cat:$plugin.VERSION|cat:"</a>"} -
trunk/admin/themes/default/theme.css
r12005 r12029 927 927 .warning:before {content:url(icon/warning.png);vertical-align:top;} 928 928 .deactivate_all {text-align:right;font-size:0.95em;} 929 .showDetails {text-align:right; margin-bottom:-15px; margin-top:-10px; padding-right:1em;} 929 930 930 931 .languageBoxes {min-height:0;text-align:left;} … … 1077 1078 #progressbar {border:1px solid #ccc; background-color:#eee;} 1078 1079 .ui-progressbar-value { background-image: url(images/pbar-ani.gif); height:10px;margin:-1px;border:1px solid #E78F08;} 1080 -
trunk/language/cs_CZ/admin.lang.php
r11978 r12029 790 790 $lang['Type in a search term'] = 'Zadejte hledaný výraz'; 791 791 $lang['Activate icon "new" next to albums and pictures'] = 'Aktivovat ikonu "nové" vedle alb a obrázků'; 792 $lang['Compact'] = 'Kompaktní';793 $lang['Complete'] = 'Kompletní';794 792 $lang['Deactivate all'] = 'Deaktivovat vše'; 795 793 $lang['Default photos order'] = 'Výchozí pořadí fotografií'; -
trunk/language/de_DE/admin.lang.php
r11978 r12029 797 797 $lang['Type in a search term'] = 'Geben Sie bitte einen Suchbegriff ein'; 798 798 $lang['Activate icon "new" next to albums and pictures'] = ' Aktivieren Sie das Icon "Neu" neben Alben und Fotos '; 799 $lang['Compact'] = 'Kompakt';800 $lang['Complete'] = 'Komplett';801 799 $lang['Deactivate all'] = 'Deaktiviere alle'; 802 800 $lang['Default photos order'] = 'Voreingestellte Fotoanordnung'; -
trunk/language/en_UK/admin.lang.php
r12005 r12029 187 187 $lang['Comments for all'] = "Comments for all"; 188 188 $lang['Comments'] = "Comments"; 189 $lang['Compact'] = "Compact";190 $lang['Complete'] = "Complete";191 189 $lang['Complementary mail content'] = "Complementary mail content"; 192 190 $lang['Complementary mail content'] = "Complementary mail content"; … … 850 848 $lang['Manage Permissions'] = 'Manage Permissions'; 851 849 $lang['Photo %s of %s'] = 'Photo %s of %s'; 850 $lang['show details'] = 'show details'; 851 $lang['hide details'] = 'hide details'; 852 852 ?> -
trunk/language/es_ES/admin.lang.php
r11978 r12029 795 795 $lang['Activate icon "new" next to albums and pictures'] = 'Activar el icono "nuevo" al lado de álbumes y fotos'; 796 796 $lang['Add a criteria'] = 'Añadir un criterio'; 797 $lang['Compact'] = 'Compacto';798 $lang['Complete'] = 'Completo';799 797 $lang['Deactivate all'] = 'desactivar todo'; 800 798 $lang['Default photos order'] = 'Orden de las fotos por defecto'; -
trunk/language/fr_CA/admin.lang.php
r11978 r12029 792 792 $lang['ERROR: THIS PLUGIN IS MISSING BUT IT IS INSTALLED! UNINSTALL IT NOW.'] = 'ERREUR: CE GREFFON EST MANQUANT MAIS TOUJOURS INSTALLÉ! DÉSINSTALLEZ-LE.'; 793 793 $lang['display'] = 'Afficher'; 794 $lang['Compact'] = "Compact";795 $lang['Complete'] = "Complet";796 794 $lang['Restore'] = "Restaurer"; 797 795 $lang['Restore default configuration. You will lose your plugin settings!'] = "Restaurer la configuration par défaut? Vous perdrez vos réglages personnels !"; -
trunk/language/fr_FR/admin.lang.php
r12005 r12029 791 791 $lang['ERROR: THIS PLUGIN IS MISSING BUT IT IS INSTALLED! UNINSTALL IT NOW.'] = 'ERREUR: CE PLUGIN EST MANQUANT MAIS TOUJOURS INSTALLÉ! DÉSINSTALLEZ-LE.'; 792 792 $lang['display'] = 'Afficher'; 793 $lang['Compact'] = "Compact";794 $lang['Complete'] = "Complet";795 793 $lang['Restore'] = "Restaurer"; 796 794 $lang['Restore default configuration. You will lose your plugin settings!'] = "Restaurer la configuration par défaut? Vous perdrez vos réglages personnels !"; … … 859 857 $lang['Manage Permissions'] = 'Gérer les permissions'; 860 858 $lang['Photo %s of %s'] = 'Photo %s sur %s'; 859 $lang['show details'] = 'montrer les détails'; 860 $lang['hide details'] = 'cacher les détails'; 861 861 ?> -
trunk/language/he_IL/admin.lang.php
r11978 r12029 800 800 $lang['Graphics Library'] = 'ספריית גרפיקה'; 801 801 $lang['Activate icon "new" next to albums and pictures'] = 'הפעל כפתו "חדש" ליד אלבומים'; 802 $lang['Compact'] = 'קומפקטי';803 $lang['Complete'] = 'סיים';804 802 $lang['Deactivate all'] = 'בטל פעולה להכל'; 805 803 $lang['Default photos order'] = 'סדר ברירת מחדל לתמונות'; -
trunk/language/hu_HU/admin.lang.php
r11978 r12029 791 791 $lang['Type in a search term'] = 'Írd be a keresett kifejezést'; 792 792 // missing translations 793 $lang['Compact'] = 'Kompakt';794 $lang['Complete'] = 'Részletes';795 793 $lang['Deactivate all'] = 'Összes kikapcsolása'; 796 794 $lang['Restore'] = 'Visszaállítás'; -
trunk/language/it_IT/admin.lang.php
r12006 r12029 791 791 $lang['ERROR: THIS PLUGIN IS MISSING BUT IT IS INSTALLED! UNINSTALL IT NOW.'] = 'ERRORE: QUESTO PLUGIN È MANCANTE MA TUTTORA INSTALLATO! CANCELLATELO.'; 792 792 $lang['display'] = 'Visualizzare'; 793 $lang['Compact'] = 'Compatto';794 $lang['Complete'] = 'Completo';795 793 $lang['Restore'] = 'Restaurare'; 796 794 $lang['Restore default configuration. You will lose your plugin settings!'] = 'Reimpostare la configurazione di defaut? Perderete tutte le vostre impostazioni!'; -
trunk/language/ja_JP/admin.lang.php
r11978 r12029 720 720 $lang['Batch Manager'] = 'バッチ・マネージャー'; 721 721 $lang['Choose an action'] = 'アックションを選択して下さい'; 722 $lang['Compact'] = 'コンパクト';723 $lang['Complete'] = '完了';724 722 $lang['Activate icon "new" next to albums and pictures'] = 'アルバムと写真のとなりに、\'起動アイコン "新" があります'; 725 723 $lang['Deactivate all'] = '全て非活性する'; -
trunk/language/lv_LV/admin.lang.php
r11978 r12029 787 787 $lang['Searching...'] = 'Meklē...'; 788 788 $lang['Type in a search term'] = 'Ierakstiet meklējamo vārdu'; 789 $lang['Compact'] = 'Kompaktēt';790 $lang['Complete'] = 'Pabeigt';791 789 $lang['Deactivate all'] = 'Deaktivēt visu'; 792 790 $lang['Default photos order'] = 'Foto kārtojums pēc noklusējuma'; -
trunk/language/nl_NL/admin.lang.php
r11978 r12029 797 797 $lang['Type in a search term'] = 'Type een zoekterm in'; 798 798 $lang['Activate icon "new" next to albums and pictures'] = 'Activeer "nieuw" pictogram naast albums en afbeeldingen'; 799 $lang['Compact'] = 'Compact';800 $lang['Complete'] = 'Compleet';801 799 $lang['Deactivate all'] = 'Deactiveer alles'; 802 800 $lang['Default photos order'] = 'Standaard foto volgorde'; -
trunk/language/pl_PL/admin.lang.php
r11978 r12029 787 787 $lang['Type in a search term'] = 'Wpisz frazę do wyszukania'; 788 788 $lang['Activate icon "new" next to albums and pictures'] = 'Aktywuj ikonę "nowe" obok albumów i zdjęć'; 789 $lang['Compact'] = 'Minimalne';790 $lang['Complete'] = 'Pełne';791 789 $lang['Deactivate all'] = 'Deaktywuj wszystko'; 792 790 $lang['Default photos order'] = 'Domślne sortowanie zdjęć'; -
trunk/language/ru_RU/admin.lang.php
r11978 r12029 786 786 $lang['display'] = 'показать'; 787 787 $lang['Activate icon "new" next to albums and pictures'] = 'Активировать иконку "new" рядом с альбомами и фотографиями'; 788 $lang['Compact'] = 'Компактный';789 $lang['Complete'] = 'Полный';790 788 $lang['Deactivate all'] = 'Деактивировать все'; 791 789 $lang['Default photos order'] = 'Порядок фотографий по умолчанию'; -
trunk/language/sk_SK/admin.lang.php
r11978 r12029 797 797 $lang['Searching...'] = 'Vyhľadávam...'; 798 798 $lang['Type in a search term'] = 'Napíšte vo vyhľadávaní'; 799 $lang['Compact'] = 'Kompaktné';800 $lang['Complete'] = 'Kompletné';801 799 $lang['Deactivate all'] = 'Ukončiť všetko'; 802 800 $lang['Restore'] = 'Obnoviť'; -
trunk/language/sl_SL/admin.lang.php
r11994 r12029 66 66 $lang['Comments for all'] = 'Komentarji za vse'; 67 67 $lang['Comments'] = 'Komentarji'; 68 $lang['Compact'] = 'Stisnjeno';69 $lang['Complete'] = 'Zakljuceno';70 68 $lang['Complementary mail content'] = 'Komplementarna vsebina pote'; 71 69 $lang['Configuration'] = 'Konfiguracija'; -
trunk/language/sr_RS/admin.lang.php
r11978 r12029 790 790 $lang['Average rate'] = 'Просечна оцена'; 791 791 $lang['Rate'] = 'Оцена'; 792 $lang['Compact'] = 'Запаковано';793 $lang['Complete'] = 'Завршено';794 792 $lang['Deactivate all'] = 'Искључи све'; 795 793 $lang['Restore'] = 'Обнови'; -
trunk/language/sv_SE/admin.lang.php
r11978 r12029 794 794 $lang['Type in a search term'] = 'Ange nytt sökord'; 795 795 $lang['Activate icon "new" next to albums and pictures'] = 'Aktivera ikonen "ny" intill album och bilder'; 796 $lang['Compact'] = 'Kompakt';797 $lang['Complete'] = 'Komplett';798 796 $lang['Deactivate all'] = 'Avaktivera allt'; 799 797 $lang['Default photos order'] = 'Standardordning för bilder'; -
trunk/language/tr_TR/admin.lang.php
r11978 r12029 773 773 $lang['THIS PLUGIN IS NOW PART OF PIWIGO CORE! DELETE IT NOW.'] = 'Bu eklenti şimdi Piwigo\'nun kendi parçasıdır lütfen siliniz.!'; 774 774 $lang['ERROR: THIS PLUGIN IS MISSING BUT IT IS INSTALLED! UNINSTALL IT NOW.'] = 'Hata: Bu eklenti eksik, ama yüklenmiş. Lütfen siliniz.'; 775 $lang['Compact'] = 'Kompakt';776 $lang['Complete'] = 'Tamamı';777 775 $lang['Restore'] = 'Onarım'; 778 776 $lang['Restore default configuration. You will lose your plugin settings!'] = 'Varsayılan yapılandırmalarınızı onarın. Eklenti ayarlrınız kaybolacaktır!'; -
trunk/language/uk_UA/admin.lang.php
r11978 r12029 205 205 $lang['default values'] = 'значення за замовчуванням'; 206 206 $lang['default'] = 'за замовчуванням'; 207 $lang['Compact'] = 'Компактний';208 $lang['Complete'] = 'Повний';209 207 $lang['delete album'] = 'видалити альбом'; 210 208 $lang['Delete orphan tags'] = 'Видалити пусті теги'; -
trunk/language/vi_VN/admin.lang.php
r11986 r12029 794 794 $lang['Type in a search term'] = 'Nhập vào trong mục tìm kiếm'; 795 795 $lang['display'] = 'hiển thị'; 796 $lang['Compact'] = 'Thu gọn';797 $lang['Complete'] = 'Hoàn thành';798 796 $lang['Deactivate all'] = 'Bỏ kích hoạt tất cả'; 799 797 $lang['Restore'] = 'Phục hồi'; -
trunk/language/zh_CN/admin.lang.php
r11984 r12029 787 787 $lang['Activate icon "new" next to albums and pictures'] = '激活相册和图片旁边的"新建"图标'; 788 788 $lang['Add a criteria'] = '添加一个条件'; 789 $lang['Compact'] = '简洁';790 $lang['Complete'] = '完整';791 789 $lang['Deactivate all'] = '解除所有'; 792 790 $lang['Default photos order'] = '默认相片排序';
Note: See TracChangeset
for help on using the changeset viewer.