Changeset 20341 for extensions/Piwecard
- Timestamp:
- Jan 23, 2013, 12:20:32 AM (12 years ago)
- Location:
- extensions/Piwecard
- Files:
-
- 3 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Piwecard/admin/admin_configuration.php
r20320 r20341 173 173 $template->assign('ecard_email_message_html', ((isset($configuration['email_message']['html'])) ? $configuration['email_message']['html'] : htmlspecialchars_decode($piwecard->config['email_message']['html']))); 174 174 $template->assign('preview_image', get_root_url().PIWECARD_PATH.'admin/images/image.jpg'); 175 175 176 176 $template->set_filename('plugin_admin_content', dirname(__FILE__) . '/template/admin_configuration.tpl'); 177 177 $template->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_content'); -
extensions/Piwecard/admin/template/admin_configuration.tpl
r20320 r20341 24 24 if (data.stat =='ok') { 25 25 $("#previewEmail").html(data.result.message); 26 $.each(data.result.style, function(index, value) { 27 document.getElementById(index).setAttribute("style", value); 28 }); 26 29 $.colorbox({ 27 30 inline:true, 28 31 href:"#previewEmail", 29 onComplete: function(){32 onComplete: function(style){ 30 33 $("#cboxLoadedContent").css('text-align', 'left'); 31 34 } -
extensions/Piwecard/include/piwecard.class.php
r20320 r20341 180 180 181 181 if (!empty($page['category'])) { 182 // Gets all upper categories from the image category 182 // Gets all upper categories from the image category to test 183 // - if the upper category is activated for this function 183 184 $query = 'SELECT * FROM '.CATEGORIES_TABLE.' WHERE id = '.pwg_db_real_escape_string($page['category']['id']).';'; 184 185 $cat = pwg_db_fetch_assoc(pwg_query($query)); -
extensions/Piwecard/mail/template/mail_html.tpl
r20320 r20341 6 6 <style> 7 7 {literal} 8 body {8 #email_body { 9 9 font-family: Univers, Helvetica, Optima; 10 10 font-size:12px; … … 13 13 background-color: #DDDDDD; 14 14 } 15 #the_ page{15 #the_email { 16 16 margin: 0px; 17 17 padding: 0px; 18 18 text-align: left; 19 19 } 20 # content {20 #email_content { 21 21 margin: 0px; 22 22 padding: 30px 0px 0px 30px; 23 23 width: 732px; 24 24 } 25 hr {25 .email_hr { 26 26 width: 632px; 27 27 margin-left: 0; 28 28 } 29 # copyright {29 #email_copyright { 30 30 font-size: 10px; 31 31 margin: 0px; … … 39 39 </style> 40 40 </head> 41 <body >42 <div id="the_ page">43 <div id=" content" class="content">41 <body id="email_body"> 42 <div id="the_email"> 43 <div id="email_content" class="content"> 44 44 {$MESSAGE_HTML} 45 45 </div> 46 <div id=" copyright">47 <hr >46 <div id="email_copyright"> 47 <hr class="email_hr" /> 48 48 {'Sent by'|@translate} 49 49 <a href="{$GALLERY_URL}">{$GALLERY_TITLE}</a> -
extensions/Piwecard/main.inc.php
r20320 r20341 77 77 78 78 function piwecard_ws_add_methods($arr) { 79 require_once(' admin/ws_functions.inc.php');79 require_once('ws/ws_functions.inc.php'); 80 80 } 81 81 ?>
Note: See TracChangeset
for help on using the changeset viewer.