Ignore:
Timestamp:
Jan 15, 2007, 11:44:48 PM (17 years ago)
Author:
vdigital
Message:

Feature "Admin Advices !" (Standard plugin) : May give you always now an advice on the administration page.
Quick solved list:
1 - Wording on EXIF/IPTC Advices
2 - Default language is English
3 - Some Transparency issues under IE
4 - Some Border issues
5 - PWG Menu moved from Advices Box to Intro.
6 - phpwebgallery.net URLs are available thru a new admin function pwg_URL()
7 - PWG Menu URL open in a new target (XHTML strict compliant (JS)).

Location:
trunk/plugins/admin_advices
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/admin_advices/admin_advices.tpl

    r1718 r1724  
    55    <h3>{ADVICE_TEXT}</h3>
    66    <table>
    7     <tr><td style="text-align: left; width: 45em;">
     7    <tr><td style="text-align: left; width: 50%;">
    88    <!-- BEGIN More -->
    99      {More.ADVICE}  <br />
    1010    <!-- END More -->
    1111    <br />
    12  <ul class="pwgmenu">
    13   <li><a href="http://demo.phpwebgallery.net">DEMO</a></li>
    14   <li><a href="http://phpwebgallery.net/doc">WIKI / DOC</a></li>
    15   <li><a href="http://forum.phpwebgallery.net">FORUM</a></li>
    16   <li><a href="http://bugs.phpwebgallery.net">BUGS</a></li>
    17   <li><a href="http://phpwebgallery.net/ext">EXTENSIONS</a></li>
    18 </ul>   
    19     </td><td style="text-align: right; width: 155px;">
     12    </td><td style="text-align: right; width: 20%;">
    2013    <!-- BEGIN thumbnail -->
    2114    <a href="{thumbnail.U_MODIFY}" alt="{lang:link_info_image}">
  • trunk/plugins/admin_advices/default-layout.css

    r1718 r1724  
    33  list-style-type:none;
    44  margin: 0 1em 0 14.5em;
    5   border: 1px solid;
    6   padding: 0;
     5  padding: 0 0 15px 0;
    76}
    87.content h2 {
     
    1918  padding-left: 2em;
    2019}
    21 .pwgmenu {
    22   display: table;
    23   list-style-type: none;
    24   list-style-image: none; /* for firefox */
    25   white-space: nowrap;
    26   position: relative;
    27   text-decoration : none;
    28   font-family: verdana, arial, helvetica, sans-serif;
    29   font-size: 70%;
    30   line-height: 1.1em;
    31   width: 66em;
    32   margin: 1px 8px;
    33   padding: 3px;
    34   background: transparent;
    35 }
    36 .pwgmenu li {
    37   float: left;
    38   width: 10em !important;
    39   text-align: center;
    40   margin: 0 6px;
    41   padding: 0;
    4220
    43 }
    44 .pwgmenu a {
    45   width: 9em !important;
    46   display: block;
    47   padding: 4px 8px;
    48   background: #69c; /* PWG Graphic charts */
    49   color: white;
    50   text-align: center; 
    51   text-decoration: none;
    52   font-weight: bold;
    53   border: 1px solid #fff; /* Why bordered? in case of #69c background */
    54 }
    55 .pwgmenu a:hover {
    56   background: #f92;
    57   color: white;
    58 } /* PWG Graphic charts */
  • trunk/plugins/admin_advices/en_UK.iso-8859-1/lang.adv.php

    r1718 r1724  
    335335                        $adv[] = 'Do NOT confuse between <strong>show</strong>_iptc and ' .
    336336               '<strong>use</strong>_iptc (have a look on metadata page ' .
    337                                                          'on our wiki.';
     337                                                         'on our wiki).';
    338338      $cond = $conf['show_iptc'];
    339339      $confk = 'show_iptc';
     
    350350                        $adv[] = 'Do NOT confuse between <strong>show</strong>_iptc and ' .
    351351               '<strong>use</strong>_iptc (have a look on metadata page ' .
    352                                                          'on our wiki.';
     352                                                         'on our wiki).';
    353353      $cond = $conf['use_iptc'];
    354354      $confk = 'use_iptc';
     
    405405                        $adv[] = 'Do NOT confuse between <strong>show</strong>_exif and ' .
    406406               '<strong>use</strong>_exif (have a look on metadata page ' .
    407                                                          'on our wiki.';
     407                                                         'on our wiki).';
    408408      $cond = true;
    409409      $confk = 'show_exif';
     
    420420      $adv[] = 'Advanced users would take care of $lang values and ' .
    421421                                 'impacts on templates.';
    422                         $adv[] = 'In any case, <strong>show</strong>_exif_mapping and ' .
     422                        $adv[] = 'In any case, <strong>show</strong>_exif_fields and ' .
    423423               '<strong>use</strong>_exif_mapping must be totally different.';
    424424      $cond = true;
    425       $confk = 'show_exif_mapping';
     425      $confk = 'show_exif_fields';
    426426      break;                               
    427427                         
     
    436436                        $adv[] = 'Do NOT confuse between <strong>show</strong>_exif and ' .
    437437               '<strong>use</strong>_exif (have a look on metadata page ' .
    438                                                          'on our wiki.';
     438                                                         'on our wiki).';
    439439      $cond = true;
    440440      $confk = 'use_exif';
     
    452452                                 'prior to synchronize.';
    453453      $adv[] = 'Take care of mentionned fields in metadata synchronization.' .
    454                '<br />Mentionned fields would be rewrited with IPTC values ' .
     454               '<br />Mentionned fields would be rewrited with EXIF values ' .
    455455                                                         ' even those ones are NOT empty.';
    456                         $adv[] = 'In any case, <strong>show</strong>_iptc_mapping and ' .
    457                '<strong>use</strong>_iptc_mapping must be totally different.';
     456                        $adv[] = 'In any case, <strong>show</strong>_exif_fields and ' .
     457               '<strong>use</strong>_exif_mapping must be totally different.';
    458458      $cond = true;
    459459      $confk = 'use_exif_mapping';
  • trunk/plugins/admin_advices/fr_FR.iso-8859-1/lang.adv.php

    r1718 r1724  
    356356                        $adv[] = 'Ne confondez pas <strong>show</strong>_iptc et '
    357357             . '<strong>use</strong>_iptc (consultez la pages de métadonnées '
    358                                                  . 'sur notre wiki.';
     358                                                 . 'sur notre wiki).';
    359359      $cond = $conf['show_iptc'];
    360360      $confk = 'show_iptc';
     
    372372                        $adv[] = 'Ne confondez pas <strong>show</strong>_iptc et '
    373373             . '<strong>use</strong>_iptc (consultez la pages de métadonnées '
    374                                                  . 'sur notre wiki.';
     374                                                 . 'sur notre wiki).';
    375375      $cond = $conf['use_iptc'];
    376376      $confk = 'use_iptc';
     
    432432                        $adv[] = 'Ne confondez pas <strong>show</strong>_exif et '
    433433             . '<strong>use</strong>_exif (consultez la pages de métadonnées '
    434                                                  . 'sur notre wiki.';
     434                                                 . 'sur notre wiki).';
    435435      $cond = true;
    436436      $confk = 'show_exif';
     
    447447      $adv[] = 'Les utilisateurs avancés penseront aux valeurs du tableau '
    448448             . '$lang; voire même à l\'impact possible sur les templates.';
    449                         $adv[] = 'Dans tous les cas, <strong>show</strong>_iptc_mapping et '
    450                                . '<strong>use</strong>_iptc_mapping seront '
     449                        $adv[] = 'Dans tous les cas, <strong>show</strong>_exif_fields et '
     450                               . '<strong>use</strong>_exif_mapping seront '
    451451                                                 . 'totalement différents.';                           
    452452      $cond = true;
    453       $confk = 'show_exif_mapping';
     453      $confk = 'show_exif_fields';
    454454      break;                               
    455455                         
     
    466466                        $adv[] = 'Ne confondez pas <strong>show</strong>_exif et '
    467467             . '<strong>use</strong>_exif (consultez la pages de métadonnées '
    468                                                  . 'sur notre wiki.';
     468                                                 . 'sur notre wiki).';
    469469      $cond = true;
    470470      $confk = 'use_exif';
     
    481481      $adv[] = 'Les utilisateurs avancés penseront aux valeurs du tableau '
    482482             . '$lang; voire même à l\'impact possible sur les templates.';
    483       $adv[] = 'Les débutants laisseront $conf[\'use_iptc\'] = false;';
     483      $adv[] = 'Les débutants laisseront $conf[\'use_exif\'] = false;';
    484484      $adv[] = 'Les utilisateurs avancés feront très attention aux champs '
    485485                               . 'sélectionnés et modifiés par la synchronisation.';
     
    488488                                                 . 'écrasés par des valeurs de champs EXIF quand bien même ces '
    489489                                                 . 'champs ne seraient pas vides.';
    490                         $adv[] = 'Dans tous les cas, <strong>show</strong>_iptc_mapping et '
    491                                . '<strong>use</strong>_iptc_mapping seront '
     490                        $adv[] = 'Dans tous les cas, <strong>show</strong>_exif_fields et '
     491                               . '<strong>use</strong>_exif_mapping seront '
    492492                                                 . 'totalement différents.';
    493493      $cond = true;
  • trunk/plugins/admin_advices/main.inc.php

    r1718 r1724  
    6262
    6363    $adv = array();
    64 
     64    if ( !@file_exists(PHPWG_ROOT_PATH
     65         . "plugins/admin_advices/$advlang/lang.adv.php") )
     66    {
     67      $advlang = 'en_UK.iso-8859-1';
     68    }
    6569//  Include language advices
    66     include_once( PHPWG_ROOT_PATH
     70    @include_once( PHPWG_ROOT_PATH
    6771      . "plugins/admin_advices/$advlang/lang.adv.php" );
    6872
Note: See TracChangeset for help on using the changeset viewer.