Last change
on this file since 5133 was
3609,
checked in by patdenice, 15 years ago
|
Convert all php and tpl files in Unix format for my plugins.
|
File size:
1.8 KB
|
Line | |
---|
1 | <script type="text/javascript"> |
---|
2 | pop = '<a href="./popuphelp.php?page=extended_desc" onclick="popuphelp(this.href); return false;" title="{'ExtendedDesc_help'|@translate|@escape:'javascript'}" style="vertical-align: middle; border: 0; margin: 0.5em;"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/help.png" class="button" alt="{'ExtendedDesc_help'|@translate|@escape:'javascript'}"></a>'; |
---|
3 | {if $ed_page == 'cat_modify'} |
---|
4 | comment = jQuery("td:has(textarea[name=\'comment\'])").html(); |
---|
5 | mail_content = jQuery("td:has(textarea[name=\'mail_content\'])").html(); |
---|
6 | jQuery("td:has(textarea[name=\'comment\'])").html(comment + pop); |
---|
7 | jQuery("td:has(textarea[name=\'mail_content\'])").html(mail_content + pop); |
---|
8 | jQuery("td:has(input[name=\'name\'])").html('<textarea cols="50" rows="2" name="name" id="name" class="description" style="height: 2em">' + '{$CAT_NAME|@escape:'javascript'}' + '</textarea>' + pop); |
---|
9 | {/if} |
---|
10 | {if $ed_page == 'picture_modify'} |
---|
11 | name = jQuery("td:has(input[name=\'name\'])").html(); |
---|
12 | desc = jQuery("td:has(textarea[name=\'description\'])").html(); |
---|
13 | jQuery("td:has(input[name=\'name\'])").html(name + pop); |
---|
14 | jQuery("td:has(textarea[name=\'description\'])").html(desc + pop); |
---|
15 | {/if} |
---|
16 | {if $ed_page == 'configuration'} |
---|
17 | page_banner = jQuery("li:has(textarea[name=\'page_banner\'])").html(); |
---|
18 | jQuery("li:has(textarea[name=\'page_banner\'])").html(page_banner + pop); |
---|
19 | {/if} |
---|
20 | {if $ed_page == 'notification_by_mail'} |
---|
21 | nbm_complementary_mail_content = jQuery("td:has(textarea[name=\'nbm_complementary_mail_content\'])").html(); |
---|
22 | send_customize_mail_content = jQuery("td:has(textarea[name=\'send_customize_mail_content\'])").html(); |
---|
23 | jQuery("td:has(textarea[name=\'nbm_complementary_mail_content\'])").html(nbm_complementary_mail_content + pop); |
---|
24 | jQuery("td:has(textarea[name=\'send_customize_mail_content\'])").html(send_customize_mail_content + pop); |
---|
25 | {/if} |
---|
26 | </script> |
---|
Note: See
TracBrowser
for help on using the repository browser.