Changeset 1916


Ignore:
Timestamp:
Mar 16, 2007, 11:52:52 PM (17 years ago)
Author:
rub
Message:

Send email on pwg group:

o Best mail content
o Add a text area in order to complete email

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/cat_modify.php

    r1915 r1916  
    284284      ),
    285285
     286    'MAIL_CONTENT' => empty($_POST['mail_content'])
     287        ? '' : stripslashes($_POST['mail_content']),
    286288    'U_CHILDREN' => $cat_list_url.'&parent_id='.$category['id'],
    287289    'U_HELP' => PHPWG_ROOT_PATH.'popuphelp.php?page=cat_modify',
     
    566568    $_POST['group'],
    567569    get_str_email_format(true), /* TODO add a checkbox in order to choose format*/
    568     get_l10n_args('Come to visit %s', $category['name']),
     570    get_l10n_args('[%s] Come to visit the category %s',
     571      array($conf['gallery_title'], $category['name'])),
    569572    'admin',
    570573    'cat_group_info',
     
    572575    (
    573576      'IMG_URL' => $img_url,
     577      'CAT_NAME' => $category['name'],
    574578      'LINK' => make_index_url(
    575579          array(
     
    579583              'permalink' => $category['permalink']
    580584              ))),
    581       'CPL_CONTENT' => '' /* TODO Add text area to add complementary content */
     585      'CPL_CONTENT' => empty($_POST['mail_content'])
     586                          ? '' : stripslashes($_POST['mail_content'])
    582587    ),
    583588    '' /* TODO Add listbox in order to choose Language selected */);
  • trunk/language/en_UK.iso-8859-1/admin.lang.php

    r1915 r1916  
    583583$lang['Send an information email to group members'] = 'Send an information email to group members';
    584584$lang['Group'] = 'Group';
    585 $lang['Come to visit %s'] = 'Come to visit %s';
     585$lang['[%s] Come to visit the category %s'] = '[%s] Come to visit the category %s';
     586$lang['See you soon.'] = 'See you soon.';
     587$lang['Come to discover the category:'] = 'Come to discover the category:';
     588$lang['mail_content'] = 'Mail content';
    586589?>
  • trunk/language/fr_FR.iso-8859-1/admin.lang.php

    r1915 r1916  
    582582$lang['Send an information email to group members'] = 'Envoyer un mail d\'informations aux membres d\'un groupe';
    583583$lang['Group'] = 'Groupe';
    584 $lang['Come to visit %s'] = 'Venez visiter %s';
     584$lang['[%s] Come to visit the category %s'] = '[%s] Venez visiter la catégorie %s';
     585$lang['See you soon.'] = 'A bientôt.';
     586$lang['Come to discover the category:'] = 'Venez découvrir la catégorie:';
     587$lang['mail_content'] = 'Contenu du mail';
    585588?>
  • trunk/template/yoga/admin/cat_modify.tpl

    r1900 r1916  
    7373      <td><strong>{L_EDIT_STATUS}</strong>
    7474      <td>
    75           <input type="radio" name="status" value="public" {STATUS_PUBLIC} />{L_STATUS_PUBLIC}
    76           <input type="radio" name="status" value="private" {STATUS_PRIVATE} />{L_STATUS_PRIVATE}
     75    <input type="radio" name="status" value="public" {STATUS_PUBLIC} />{L_STATUS_PUBLIC}
     76    <input type="radio" name="status" value="private" {STATUS_PRIVATE} />{L_STATUS_PRIVATE}
    7777      </td>
    7878    </tr>
     
    8080      <td><strong>{L_EDIT_LOCK}</strong>
    8181      <td>
    82           <input type="radio" name="visible" value="false" {LOCKED} />{L_YES}
    83           <input type="radio" name="visible" value="true" {UNLOCKED} />{L_NO}
     82    <input type="radio" name="visible" value="false" {LOCKED} />{L_YES}
     83    <input type="radio" name="visible" value="true" {UNLOCKED} />{L_NO}
    8484      </td>
    8585    </tr>
     
    218218  <table>
    219219    <tr>
    220       <td>{lang:Group}</td>
     220      <td><strong>{lang:Group}</strong></td>
    221221      <td>
    222222        <select name="group">
     
    227227      </td>
    228228    </tr>
     229    <tr>
     230      <td><strong>{lang:mail_content}</strong></td>
     231      <td>
     232        <textarea cols="50" rows="5" name="mail_content" class="description">{MAIL_CONTENT}</textarea>
     233      </td>
     234    </tr>
     235
    229236  </table>
    230237
  • trunk/template/yoga/mail/text/html/admin/cat_group_info.tpl

    r1912 r1916  
    33<p>{IMG_URL}</p>
    44<p>{lang:hello}</p>
    5 <p><a href="{LINK}">{LINK}</a></p>
     5<p>{lang:Come to discover the category:} <a href="{LINK}">{CAT_NAME}</a></p>
    66<p>{CPL_CONTENT}</p>
     7<p>{lang:See you soon.}</p>
    78</div>
  • trunk/template/yoga/mail/text/plain/admin/cat_group_info.tpl

    r1912 r1916  
    11{lang:hello}
    22
     3{lang:Come to discover the category:} {CAT_NAME}
    34{LINK}
    45
    56{CPL_CONTENT}
    67
     8{lang:See you soon.}
Note: See TracChangeset for help on using the changeset viewer.