示例#1
0
                ?>
</a></p>

				<?php 
            } elseif ($productsList->content != '') {
                ?>

					<p><?php 
                echo $productsList->content;
                ?>
… <a href="<?php 
                echo html::escapeHTML($productsList->url);
                ?>
"
					title="<?php 
                echo util::escapeAttrHTML(sprintf(__('m_catalog_more_details_on_%s'), $productsList->title));
                ?>
"><?php 
                _e('m_catalog_more_details');
                ?>
</a></p>

				<?php 
            }
            ?>

			<?php 
        }
        # fin Okatea : affichage texte tronqué
        ?>
示例#2
0
文件: index.php 项目: jewelhuq/okatea
"
					class="icon table"><?php 
        _e('m_estimate_list_show_details');
        ?>
</a></li>

					<li><a href="module.php?m=estimate&amp;action=delete&amp;estimate_id=<?php 
        echo $rsEstimates->id;
        ?>
"
					onclick="return window.confirm('<?php 
        echo html::escapeJS(__('m_estimate_list_delete_confirm'));
        ?>
')"
					title="<?php 
        echo util::escapeAttrHTML(sprintf(__('m_estimate_list_delete_%s'), $rsEstimates->id));
        ?>
"
					class="icon delete"><?php 
        _e('c_c_action_Delete');
        ?>
</a></li>
				</ul>
			</td>
		</tr>
		<?php 
    }
    ?>
		</tbody>
	</table>
示例#3
0
文件: index.php 项目: jewelhuq/okatea
				title="<?php 
        printf(__('c_a_config_navigation_manage_items_menu_%s'), util::escapeAttrHTML($rsMenus->title));
        ?>
"
				class="icon application_view_list"><?php 
        _e('c_a_config_navigation_manage_items');
        ?>
</a>
				</li>
				<li>
				<a href="configuration.php?action=navigation&amp;do=item&amp;menu_id=<?php 
        echo $rsMenus->id;
        ?>
"
				title="<?php 
        printf(__('c_a_config_navigation_add_item_to_%s'), util::escapeAttrHTML($rsMenus->title));
        ?>
"
				class="icon application_add"><?php 
        _e('c_a_config_navigation_add_item');
        ?>
</a>
				</li>
			</ul>
		</td>
	</tr>
	<?php 
    }
    ?>
	</tbody>
</table>
示例#4
0
				class="icon pencil"><?php 
        _e('c_c_action_edit');
        ?>
</a>
				</li>
				<li>
				<a href="module.php?m=estimate&amp;action=accessories&amp;delete_accessory=<?php 
        echo $rsAccessories->id;
        ?>
"
				onclick="return window.confirm('<?php 
        echo html::escapeJS(__('m_estimate_estimate_accessory_delete_confirm'));
        ?>
')"
				title="<?php 
        printf(__('c_c_action_Delete_%s'), util::escapeAttrHTML($rsAccessories->title));
        ?>
"
				class="icon delete"><?php 
        _e('c_c_action_delete');
        ?>
</a>
				</li>
			</ul>
		</td>
	</tr>
	<?php 
    }
    ?>
	</tbody>
</table>
示例#5
0
		<?php 
        # début Okatea : affichage texte tronqué
        if ($okt->pages->config->insert_truncat_char > 0) {
            ?>

		<p><?php 
            echo $rsInsertPage->content;
            ?>
…</p>

		<p class="read-more-link-wrapper"><a href="<?php 
            echo html::escapeHTML($rsInsertPage->url);
            ?>
"
		title="<?php 
            echo util::escapeAttrHTML(sprintf(__('m_pages_read_more_of_%s'), $rsInsertPage->title));
            ?>
"
		class="read-more-link" rel="nofollow"><?php 
            _e('m_pages_read_more');
            ?>
</a></p>

		<?php 
        }
        # fin Okatea : affichage texte tronqué
        ?>


		<?php 
        # début Okatea : affichage texte pas tronqué
示例#6
0
				<?php 
                # début Okatea : affichage texte tronqué
                if ($okt->news->config->insert_truncat_char > 0) {
                    ?>

				<p><?php 
                    echo $rsInsertPosts->content;
                    ?>
…</p>

				<p class="read-more-link-wrapper"><a href="<?php 
                    echo html::escapeHTML($rsInsertPosts->url);
                    ?>
"
				title="<?php 
                    echo util::escapeAttrHTML(sprintf(__('m_news_read_more_of_%s'), $rsInsertPosts->title));
                    ?>
"
				class="read-more-link" rel="nofollow"><?php 
                    _e('m_news_read_more');
                    ?>
</a></p>

				<?php 
                }
                # fin Okatea : affichage texte tronqué
                ?>


				<?php 
                # début Okatea : affichage texte pas tronqué
示例#7
0
            ?>
" title="<?php 
            echo util::escapeAttrHTML($rsPost->title);
            ?>
, image <?php 
            echo $i;
            ?>
" class="modal" rel="news-images">
				<img src="<?php 
            echo $image['square_url'];
            ?>
" <?php 
            echo $image['square_attr'];
            ?>
				alt="<?php 
            echo util::escapeAttrHTML(isset($image['alt'][$okt->user->language]) ? $image['alt'][$okt->user->language] : $rsPost->title);
            ?>
" /></a>

				<?php 
        }
        ?>

			<?php 
    }
    # fin Okatea : boucle sur les images
    ?>

		</p><!-- #post-images -->
		<?php 
}
示例#8
0
        if ($rsCategories->num_total > 0) {
            $sNumPosts = sprintf(__('m_news_cats_%s_total_%s'), $sNumPosts, $rsCategories->num_total);
        }
        if ($rsCategories->num_posts == 0) {
            $sDeleteLink = ' - <a href="module.php?m=news&amp;action=categories&amp;delete=' . $rsCategories->id . '" ' . 'class="icon delete" ' . 'onclick="return window.confirm(\'' . html::escapeJS(__('m_news_cats_delete_confirm')) . '\')">' . __('c_c_action_Delete') . '</a></p>';
        } else {
            $sDeleteLink = ' - <span class="disabled icon delete"></span>' . __('c_c_action_Delete');
        }
        echo '<p><strong>' . html::escapeHTML($rsCategories->title) . '</strong> - ' . $sNumPosts . '</p>';
        echo '<p>';
        if ($rsCategories->active) {
            echo '<a href="module.php?m=news&amp;action=categories&amp;switch_status=' . $rsCategories->id . '" ' . 'class="icon tick">' . __('c_c_action_visible') . '</a>';
        } else {
            echo '<a href="module.php?m=news&amp;action=categories&amp;switch_status=' . $rsCategories->id . '" ' . 'class="icon cross">' . __('c_c_action_hidden_fem') . '</a>';
        }
        echo ' - <a href="module.php?m=news&amp;action=categories&amp;do=edit&amp;category_id=' . $rsCategories->id . '" ' . 'title="' . util::escapeAttrHTML(sprintf(__('m_news_cats_edit_%s'), $rsCategories->title)) . '" ' . 'class="icon pencil">' . __('c_c_action_Edit') . '</a>';
        echo $sDeleteLink . '</p>';
        $level = $rsCategories->level;
    }
    if ($ref_level - $level < 0) {
        echo str_repeat('</li></ul>', -($ref_level - $level));
    }
    ?>

</div><!-- #rubriques_lists  -->
<?php 
}
?>


<?php 
示例#9
0
            ?>
" title="<?php 
            echo util::escapeAttrHTML($product->title);
            ?>
, image <?php 
            echo $i;
            ?>
" class="modal" rel="product-images">
				<img src="<?php 
            echo $image['square_url'];
            ?>
" <?php 
            echo $image['square_attr'];
            ?>
				alt="<?php 
            echo util::escapeAttrHTML(isset($image['alt']) ? $image['alt'] : $product->title);
            ?>
" /></a>

				<?php 
        }
        ?>

			<?php 
    }
    # fin Okatea : boucle sur les images
    ?>

		</p><!-- #product-images -->
		<?php 
}
示例#10
0
			<h3><?php 
    _e('Dev');
    ?>
</h3>
			<p><?php 
    echo html::escapeHTML($aDevVersion['version']);
    ?>
</p>
		</a>
		<?php 
} else {
    ?>
			<h3><?php 
    _e('Dev');
    ?>
</h3>
			<p><abbr title="<?php 
    echo util::escapeAttrHTML(__('currently no release'));
    ?>
">-</abbr></p>
		<?php 
}
?>
	</div>

	<p class="github"><a href="https://github.com/okateadotorg/okatea"><?php 
_e('View sources on GitHub');
?>
</a></p>
</div>
示例#11
0
文件: index.php 项目: jewelhuq/okatea
        }
        ?>

				<?php 
        if ($rsPosts->isDeletable()) {
            ?>
					<li><a href="module.php?m=news&amp;action=delete&amp;post_id=<?php 
            echo $rsPosts->id;
            ?>
"
					onclick="return window.confirm('<?php 
            echo html::escapeJS(__('m_news_list_post_delete_confirm'));
            ?>
')"
					title="<?php 
            echo util::escapeAttrHTML(sprintf(__('m_news_list_delete_%s'), $rsPosts->title));
            ?>
"
					class="icon delete"><?php 
            _e('c_c_action_Delete');
            ?>
</a></li>
				<?php 
        }
        ?>
				</ul>
			</td>
		</tr>
		<?php 
    }
    ?>
示例#12
0
			title="<?php 
            echo util::escapeAttrHTML($rsEvent->title);
            ?>
, image <?php 
            echo $i;
            ?>
" class="modal" rel="images">
			<img src="<?php 
            echo $image['square_url'];
            ?>
"
			<?php 
            echo $image['square_attr'];
            ?>
			alt="<?php 
            echo util::escapeAttrHTML(isset($image['alt']) ? $image['alt'] : $rsEvent->title);
            ?>
" /></a>

			<?php 
        }
        ?>

		<?php 
    }
    # fin Okatea : boucle sur les images
    ?>

	</p><!-- #diary-images -->
	<?php 
}
示例#13
0
<?php 
# début Okatea : ce template étend le template principal "main"
$this->extend('main');
# fin Okatea : ce template étend le template principal "main"
?>


<div id="global">
	<header>
		<div id="head">
			<div class="title"><a href="<?php 
echo util::escapeAttrHTML($okt->page->getBaseUrl());
?>
"><?php 
echo html::escapeHTML(util::getSiteTitle());
?>
</a></div>
			<div class="description"><?php 
echo html::escapeHTML(util::getSiteDescription());
?>
</div>
		</div><!-- #head -->

		<ul id="access-links">
			<li><a href="#main"><?php 
_e('c_c_go_to_content');
?>
</a></li>
			<li><a href="#main-navigation"><?php 
_e('c_c_go_to_menu');
示例#14
0
文件: post.php 项目: jewelhuq/okatea
 <span class="lang-switcher-buttons"></span></label>
					<?php 
                echo form::text(array('p_images_alt_' . $i . '[' . $aLanguage['code'] . ']', 'p_images_alt_' . $i . '_' . $aLanguage['code']), 40, 255, isset($aCurImageAlt[$aLanguage['code']]) ? html::escapeHTML($aCurImageAlt[$aLanguage['code']]) : '');
                ?>
</p>

					<?php 
            }
            ?>

					<p><a href="<?php 
            echo $aPageData['images'][$i]['img_url'];
            ?>
" rel="pages_images"
					title="<?php 
            echo util::escapeAttrHTML(sprintf(__('m_pages_page_image_title_attr_%s'), $aPageData['locales'][$okt->user->language]['title'], $i));
            ?>
"
					class="modal"><img src="<?php 
            echo $sCurImageUrl;
            ?>
"
					<?php 
            echo $sCurImageAttr;
            ?>
 alt="" /></a></p>

					<p><a href="module.php?m=pages&amp;action=edit&amp;post_id=<?php 
            echo $aPageData['post']['id'];
            ?>
&amp;delete_image=<?php 
            echo $aPartnerLogoInfos['img_url'];
            ?>
"
			title="<?php 
            echo util::escapeAttrHTML($rsPartners->name);
            ?>
"
			class="modal" rel="partner-logo"><img src="<?php 
            echo $logo_url;
            ?>
"
			<?php 
            echo $logo_attr;
            ?>
			alt="<?php 
            echo util::escapeAttrHTML(isset($aPartnerLogoInfos['alt']) ? $aPartnerLogoInfos['alt'] : 'Logo ' . $rsPartners->name);
            ?>
" /></a>
		</div>
		<?php 
        }
        # fin Okatea : affichage logo
        ?>

		<?php 
        # début Okatea : affichage du nom
        ?>
		<h3 class="partner-name"><?php 
        echo html::escapeHTML($rsPartners->name);
        ?>
</h3>
示例#16
0
		<?php 
    }
    ?>

		<?php 
    /* URL */
    if ($okt->guestbook->config->chp_url && ($signaturesList->url != '' && $signaturesList->url != 'http://')) {
        ?>
		<li class="url"><a href="<?php 
        echo util::escapeAttrHTML($signaturesList->url);
        ?>
"><img src="<?php 
        echo OKT_THEME;
        ?>
/modules/guestbook/house.png" alt="<?php 
        echo util::escapeAttrHTML(__('m_guestbook_website'));
        ?>
" /></a></li>
		<?php 
    }
    ?>

		<?php 
    /* note */
    if ($signaturesList->note) {
        ?>
		<li class="note"><?php 
        _e('m_guestbook_note_colon');
        ?>
&nbsp;<?php 
        echo $signaturesList->note;
示例#17
0
			<?php 
        }
        ?>
		</div>
		<?php 
    }
    ?>
	</div>
	<?php 
}
?>


<h2>Commentaire</h2>

	<p><?php 
echo util::nlToP(html::escapeHTML($aEstimateData['comment']));
?>
</p>

<p id="buttons">
	<a href="<?php 
echo util::escapeAttrHTML($okt->page->getBaseUrl() . $okt->estimate->config->public_summary_url[$okt->user->language]);
?>
?send=1" id="send_estimate">Valider et envoyer</a>
	<a href="<?php 
echo util::escapeAttrHTML($okt->estimate->config->url);
?>
" id="update_estimate">Modifier</a>
</p>
示例#18
0
文件: index.php 项目: jewelhuq/okatea
        ?>
</a></li>

					<?php 
        if ($okt->checkPerm('pages_remove')) {
            ?>
					<li><a href="module.php?m=pages&amp;action=delete&amp;post_id=<?php 
            echo $rsPages->id;
            ?>
"
					onclick="return window.confirm('<?php 
            echo html::escapeJS(__('m_pages_list_page_delete_confirm'));
            ?>
')"
					title="<?php 
            echo util::escapeAttrHTML(sprintf(__('m_pages_list_delete_%s'), $rsPages->title));
            ?>
"
					class="icon delete"><?php 
            _e('c_c_action_delete');
            ?>
</a></li>
					<?php 
        }
        ?>
				</ul>
			</td>
		</tr>
		<?php 
    }
    ?>
示例#19
0
文件: item.php 项目: jewelhuq/okatea
 <span class="lang-switcher-buttons"></span></label>
	<?php 
        echo form::text(array('p_images_alt_1[' . $aLanguage['code'] . ']', 'p_images_alt_1_' . $aLanguage['code']), 40, 255, isset($aCurImageAlt[$aLanguage['code']]) ? html::escapeHTML($aCurImageAlt[$aLanguage['code']]) : '');
        ?>
</p>

	<?php 
    }
    ?>

	<p><a href="<?php 
    echo $aItemData['image']['img_url'];
    ?>
" rel="item_images"
	title="<?php 
    echo util::escapeAttrHTML($aItemData['locales'][$aLanguage['code']]['title']);
    ?>
"
	class="modal"><img src="<?php 
    echo $sCurImageUrl;
    ?>
" <?php 
    echo $sCurImageAttr;
    ?>
 alt="" /></a></p>

	<p><a href="module.php?m=galleries&amp;action=gallery&amp;gallery_id=<?php 
    echo $iGalleryId;
    ?>
&amp;delete_image=1"
	onclick="return window.confirm('<?php 

			<?php 
            # début Okatea : affichage réponse tronqué
            if ($okt->faq->config->public_truncat_char > 0) {
                ?>

			<p><?php 
                echo $faqList->content;
                ?>
… <a href="<?php 
                echo html::escapeHTML($faqList->url);
                ?>
"
			title="<?php 
                echo util::escapeAttrHTML(sprintf(__('m_faq_read_more_of_%s'), $faqList->title));
                ?>
" rel="nofollow"><?php 
                _e('m_faq_read_more');
                ?>
</a></p>

			<?php 
            }
            # fin Okatea : affichage texte tronqué
            ?>


			<?php 
            # début Okatea : affichage texte pas tronqué
            if (!$okt->faq->config->public_truncat_char) {
示例#21
0
	<?php 
# début Okatea : affichage image
if (!empty($rsItem->image) && isset($rsItem->image['img_url'])) {
    ?>

	<p>
		<img src="<?php 
    echo $rsItem->image['img_url'];
    ?>
"
		<?php 
    echo $rsItem->image['img_attr'];
    ?>
		alt="<?php 
    echo util::escapeAttrHTML(isset($rsItem->image['alt']) && isset($rsItem->image['alt'][$okt->user->language]) ? $rsItem->image['alt'][$okt->user->language] : $rsItem->title);
    ?>
" />
	</p>

	<?php 
}
# fin Okatea : affichage image
?>

	<?php 
# début : si il y a un contenu à afficher
if ($rsItem->content != '') {
    ?>
		<?php 
    echo $rsItem->content;
示例#22
0
<ul>
<?php 
while ($rsItems->fetch()) {
    ?>
	<li><a href="<?php 
    echo util::escapeAttrHTML($rsItems->getUrl());
    ?>
"><?php 
    echo html::escapeHTML($rsItems->title);
    ?>
</a></li>
<?php 
}
?>
</ul>
示例#23
0
 protected static function getItem($aItem, $haspopup = false)
 {
     if (empty($aItem['href'])) {
         return '<div class="ab-item ab-empty-item"' . (!empty($aItem['title']) ? ' title="' . util::escapeAttrHTML($aItem['title']) . '"' : '') . '>' . $aItem['intitle'] . '</div>';
     } else {
         return '<a class="ab-item" href="' . $aItem['href'] . '"' . ($haspopup ? ' aria-haspopup="true"' : '') . (!empty($aItem['title']) ? ' title="' . util::escapeAttrHTML($aItem['title']) . '"' : '') . '>' . $aItem['intitle'] . '</a>';
     }
 }
示例#24
0
            echo $image['img_url'];
            ?>
"
				title="<?php 
            printf(__('m_faq_%s_image_%s'), util::escapeAttrHTML($faqQuestion->title), $i);
            ?>
"
				class="modal" rel="questions-images"><img src="<?php 
            echo $image['square_url'];
            ?>
"
				<?php 
            echo $image['square_attr'];
            ?>
				alt="<?php 
            echo util::escapeAttrHTML(isset($image['alt']) ? $image['alt'] : $faqQuestion->title);
            ?>
" /></a>

				<?php 
        }
        ?>

			<?php 
    }
    # fin Okatea : boucle sur les images
    ?>

		</p><!-- #post-images -->
		<?php 
}
示例#25
0
"
				class="icon pencil"><?php 
    _e('c_c_action_Edit');
    ?>
</a>

				- <a href="configuration.php?action=languages&amp;delete=<?php 
    echo $rsLanguages->id;
    ?>
"
				onclick="return window.confirm('<?php 
    echo html::escapeJS(__('c_a_config_l10n_confirm_delete'));
    ?>
')"
				title="<?php 
    echo util::escapeAttrHTML(sprintf(__('c_c_action_Delete_%s'), $rsLanguages->title));
    ?>
"
				class="icon delete"><?php 
    _e('c_c_action_Delete');
    ?>
</a>

			</li>
			<?php 
}
?>
			</ul>
			<p><?php 
echo form::hidden('action', 'languages');
?>
示例#26
0
				class="icon pencil"><?php 
        _e('c_c_action_edit');
        ?>
</a>
				</li>
				<li>
				<a href="module.php?m=estimate&amp;action=products&amp;delete_product=<?php 
        echo $rsProducts->id;
        ?>
"
				onclick="return window.confirm('<?php 
        echo html::escapeJS(__('m_estimate_estimate_product_delete_confirm'));
        ?>
')"
				title="<?php 
        printf(__('c_c_action_Delete_%s'), util::escapeAttrHTML($rsProducts->title));
        ?>
"
				class="icon delete"><?php 
        _e('c_c_action_delete');
        ?>
</a>
				</li>
			</ul>
		</td>
	</tr>
	<?php 
    }
    ?>
	</tbody>
</table>