本文整理汇总了PHP中Html::img方法的典型用法代码示例。如果您正苦于以下问题:PHP Html::img方法的具体用法?PHP Html::img怎么用?PHP Html::img使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Html
的用法示例。
在下文中一共展示了Html::img方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: NaviEdit
function NaviEdit(&$system)
{
$this->system =& $system;
$this->add_db_prefix();
$this->connection = $system->connection;
$this->install_path = INSTALL_PATH;
//Bilder
$this->images['add_rubrik'] = Html::img('/Libraries/Icons/16x16/folder_new.png', 'Neue Rubrik', array('title' => 'Neue Rubrik'));
$this->images['new_file'] = Html::img('/Libraries/Icons/16x16/filenew.png', 'Neue Seite', array('title' => 'Neue Seite'));
$this->images['visible'] = Html::img('/Libraries/Icons/16x16/14_layer_novisible.png', 'Sichtbar im Hauptmenü', array('title' => 'Sichtbar im Hauptmenü'));
$this->images['invisible'] = Html::img('/Libraries/Icons/16x16/14_layer_visible.png', 'Nicht sichtbar im Hauptmenü', array('title' => 'Nicht sichtbar im Hauptmenü'));
$this->images['img_apply_path'] = '/Libraries/Icons/16x16/apply.png';
$this->images['delete'] = Html::img('/Libraries/Icons/16x16/cancel.png', 'Löschen', array('title' => 'Löschen'));
$this->images['edit'] = Html::img('/Libraries/Icons/16x16/edit.png', 'Eigenschaften bearbeiten', array('title' => 'Eigenschaften bearbeiten'));
$this->images['delete'] = Html::img('/Libraries/Icons/16x16/cancel.png', 'Löschen', array('title' => 'Löschen'));
$this->images['cancel'] = Html::img('/Libraries/Icons/16x16/cancel.png', 'Abbruch', array('title' => 'Abbruch'));
$this->images['order'] = Html::img('/Libraries/Icons/16x16/enumList.png', 'Reihenfolge', array('title' => 'Reihenfolge'));
$this->images['modul'] = Html::img('/Libraries/Icons/16x16/plug.png', 'Modul', array('title' => 'Modul'));
$this->images['locked'] = Html::img('/Libraries/Icons/16x16/locked.png', 'Zugang beschränkt', array('title' => 'Zugang beschränkt'));
$this->images['browse'] = Html::img('/Libraries/Icons/16x16/folderopen.gif', 'Interne Links', array('title' => 'Interne Links'));
$this->images['intern'] = Html::img('/Libraries/Icons/16x16/world.png', 'Internationalisiert', array('title' => 'Internationalisiert'));
$this->buttons['cancel'] = Html::a(SELF, $this->images['cancel'], array('title' => 'Abbruch'));
$this->buttons['cancel_page'] = Html::a(SELF . '?edit=' . $_GET['edit'], $this->images['cancel'], array('title' => 'Abbruch'));
/*if (USE_I18N)
{
$this->languages = $this->connection->db_assoc("SELECT * FROM `RheinaufCMS>Languages`");
print_r($this->languages);
}*/
$this->navi = $this->navi_array();
$this->installed_modules = $this->connection->db_assoc("SELECT * FROM `RheinaufCMS>Module` WHERE `SYSTEM` = 0 AND `Frontend` != '' ORDER BY `id` ASC");
$this->event_listen();
}
示例2: group_table
function group_table()
{
$group_table = '';
$this->images['edit'] = Html::img('/' . INSTALL_PATH . '/Classes/Admin/Icons/16x16/edit.png', 'Eigenschaften bearbeiten', array('title' => 'Eigenschaften bearbeiten'));
$this->images['apply'] = Html::img('/' . INSTALL_PATH . '/Classes/Admin/Icons/16x16/apply.png', 'Speichern');
$this->images['apply_path'] = '/' . INSTALL_PATH . '/Classes/Admin/Icons/16x16/apply.png';
$this->images['checkbox_disabled_unchecked'] = Html::img('/' . INSTALL_PATH . '/Classes/Admin/Icons/16x16/checkbox_disabled_unchecked.png', 'Nicht erlaubt');
$this->images['checkbox_disabled_checked'] = Html::img('/' . INSTALL_PATH . '/Classes/Admin/Icons/16x16/checkbox_disabled_checked.png', 'Erlaubt');
$this->images['new_group'] = Html::img('/' . INSTALL_PATH . '/Classes/Admin/Icons/16x16/add_group.png', 'Gruppe hinzufügen', array('title' => 'Gruppe hinzufügen'));
$this->images['delete_group'] = Html::img('/' . INSTALL_PATH . '/Classes/Admin/Icons/16x16/delete_group.png', 'Gruppe löschen', array('title' => 'Gruppe löschen'));
$img_group = Html::img('/' . INSTALL_PATH . '/Classes/Admin/Icons/16x16/edit_group.png', 'Gruppe');
$cols = count($this->rechte) + 3;
$table = new Table($cols, array('id' => 'groups_table'));
$form_tag = Form::form_tag('/Admin/Gruppen');
$form_close = Form::close_form();
$th = array(Html::bold('Gruppe'));
foreach ($this->rechte as $recht) {
$th[] = $recht['RechtName'];
}
$table->add_th($th);
for ($i = 0; $i < count($this->existent_groups); $i++) {
if (isset($_GET['editgroup']) && $_GET['editgroup'] == $i) {
$td = array(Form::add_input('text', 'name', $this->existent_groups[$i]['Name']));
for ($j = 0; $j < count($this->rechte); $j++) {
if (in_array($this->rechte[$j]['id'], $this->existent_groups[$i]['Rechte'])) {
$td[] = Form::add_input('checkbox', 'Recht[]', $this->rechte[$j]['id'], array('checked' => 'checked'));
} else {
$td[] = Form::add_input('checkbox', 'Recht[]', $this->rechte[$j]['id']);
}
}
$id = Form::add_input('hidden', 'group_id', $i);
$new_rechte_submit = Form::add_input('image', 'submit_rechte', 'Speichern', array('src' => $this->images['apply_path'], 'alt' => 'Speichern'));
$td[] = $id . $new_rechte_submit;
} else {
$td = array(Html::bold($this->existent_groups[$i]['Name']));
for ($j = 0; $j < count($this->rechte); $j++) {
$td[] = in_array($this->rechte[$j]['id'], $this->existent_groups[$i]['Rechte']) ? $this->images['checkbox_disabled_checked'] : $this->images['checkbox_disabled_unchecked'];
}
$edit_button = Html::a('/Admin/Gruppen?editgroup=' . $i, $this->images['edit'], array('title' => 'Eigenschaften bearbeiten'));
$delete_button = Html::a('/Admin/Gruppen?deletegroup=' . $i, $this->images['delete_group'], array('title' => 'Gruppe löschen', 'onclick' => "return confirm('Gruppe " . $this->existent_groups[$i]['Name'] . " löschen?')"));
$td[] = $edit_button;
$td[] = $delete_button;
}
$class = is_int($i / 2) ? 'abwechselnde_flaechen_1' : 'abwechselnde_flaechen_2';
$table->add_td($td, array('class' => is_int($i / 2) ? 'abwechselnde_flaechen_1' : 'abwechselnde_flaechen_2'));
}
$new_group_button = Html::a('/Admin/Gruppen?newgroup', $this->images['new_group'] . ' Gruppe hinzufügen');
if (isset($_GET['newgroup'])) {
$td = array(Form::add_input('text', 'name', 'Name...'));
for ($j = 0; $j < count($this->rechte); $j++) {
$td[] = Form::add_input('checkbox', 'Recht[]', $this->rechte[$j]['id']);
}
$new_group_submit = Form::add_input('image', 'submit_newgroup', 'Speichern', array('src' => $this->images['apply_path'], 'alt' => 'Speichern'));
$td[] = $id . $new_group_submit;
$table->add_td($td);
} else {
$table->add_td(array(array(2 => $new_group_button)));
}
return $form_tag . $table->flush_table() . $form_close;
}
示例3: getDisplayImage
public function getDisplayImage()
{
if (empty($model->image_file)) {
// if you do not want a placeholder
$image = null;
// else if you want to display a placeholder
$image = Html::img(self::IMAGE_PLACEHOLDER, ['alt' => Yii::t('app', 'No avatar yet'), 'title' => Yii::t('app', 'Upload your avatar by selecting browse below'), 'class' => 'file-preview-image']);
}
}
示例4: Module
function Module(&$system)
{
$this->system =& $system;
$this->system->backend->top = 'Module installieren';
$this->add_db_prefix();
$this->connection = $system->connection;
$this->images['plus'] = Html::img('/' . INSTALL_PATH . '/Libraries/Icons/16x16/edit_add.png', 'Hinzufügen');
$this->event_listen();
}
示例5: Module
function Module($db_connection, $path_information)
{
$this->images['plus'] = Html::img('/' . INSTALL_PATH . '/Classes/Admin/Icons/16x16/edit_add.png', 'Hinzufügen');
$this->connection = $db_connection;
$this->extract_to_this($path_information);
$this->path_information = $path_information;
$this->admin_installed = $this->connection->db_assoc("SELECT * FROM `RheinaufCMS>Admin>Module` ORDER BY `id` ASC");
$this->frontend_installed = $this->connection->db_assoc("SELECT * FROM `RheinaufCMS>Module` ORDER BY `id` ASC");
$this->event_listen();
}
示例6: displayList
public static function displayList($value, $edit_link, &$settings, &$model)
{
if (isset($value)) {
if (isset($value['poster']) && !empty($value['poster'])) {
return \Html::anchor($edit_link, \Html::img('image/2/110/80/' . $value['poster'], array()));
} else {
return \Html::anchor($edit_link, '/' . $value['src']);
}
}
return '-';
}
示例7: show
function show()
{
$img_scan = Html::img('/Module/RheinaufExhibition/Backend/icons/search.png', '');
$scan_button = Html::a('/Admin/RheinaufExhibitionAdmin/Scan', $img_scan . 'Ordner scannen', array('class' => 'button'));
$img_up = Html::img('/Module/RheinaufExhibition/Backend/icons/up.png', '');
$up_button = Html::a('/Admin/RheinaufExhibitionAdmin/Upload', $img_up . 'Bilder hochladen', array('class' => 'button'));
$return = Html::div($scan_button . $up_button);
if ($_GET['edit']) {
$entry = $this->pics_scaff->get_entry($_GET['edit']);
return $return . Html::div($this->pics_scaff->make_form($_GET['edit']), array('style' => 'float:left')) . Html::div(Html::img(SELF . '/InputPreview?img=' . $entry['Dateiname'], 'Vorschau'));
}
return $return . $this->overview();
}
示例8: RDirList
function RDirList($start_folder = '', $dirlistDirActionJs = '', $dirlistFileActionJs = '', $show_only_folders = false, $hilited_file = null)
{
$this->list_id = $start_folder;
$this->dirlistDirActionJs = $dirlistDirActionJs;
$this->dirlistFileActionJs = $dirlistFileActionJs;
$this->show_only_folders = $show_only_folders;
$this->hilited_file = $hilited_file;
$this->start_folder = $start_folder != '' ? INSTALL_PATH . '/Download/' . $start_folder : INSTALL_PATH . '/Download';
$this->icons = array();
$this->icons['folder'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/folder.png');
$this->icons['file'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/file.png');
$this->icons['pdf'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/pdf.png');
$this->icons['excel'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/excel.png');
$this->icons['word'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/word.png');
$this->icons['jpg'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/jpg.png');
$this->icons['gif'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/png.png');
$this->icons['png'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/png.png');
$this->icons['sound'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/sound.png');
$this->icons['zip'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/zip.png');
$this->icons['download'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/download.png');
$GLOBALS['other_css'] .= Html::style('
.filelist ul{
list-style-type:none;
list-style-position:inside;
margin-left:16px;
padding:0;
}
.filelist ul ul {
padding-left:8px;
margin-left:8px;
border-left:1px black dotted;
}
.filelist a{
text-decoration:none;
white-space:nowrap;
}
');
/*$GLOBALS['scripts'] .= Html::script('
function dirlistDirAction(el)
{
var url = el.getAttribute("href",2);
return false;
}
');*/
if ($dirlistDirActionJs || $dirlistFileActionJs) {
$GLOBALS['scripts'] .= Html::script($dirlistDirActionJs . "\n" . $dirlistFileActionJs);
}
}
示例9: SeiteEdit
function SeiteEdit(&$system)
{
$this->system =& $system;
$this->add_db_prefix();
$this->connection = $system->connection;
$this->install_path = INSTALL_PATH;
//Bilder
$this->images['edit'] = Html::img('/Libraries/Icons/16x16/edit.png', 'Eigenschaften bearbeiten', array('title' => 'Eigenschaften bearbeiten'));
$this->navi_array_update();
$this->event_listen();
if (isset($_GET['edit']) && isset($_GET['edit_page']) && !isset($_GET['golive'])) {
$this->system->noframe = true;
}
}
示例10: SeiteEdit
function SeiteEdit($db_connection, $path_information)
{
$this->add_db_prefix();
$this->connection = $db_connection;
$this->extract_to_this($path_information);
$this->install_path = INSTALL_PATH;
//Bilder
$this->images['edit'] = Html::img('/' . INSTALL_PATH . '/Classes/Admin/Icons/16x16/edit.png', 'Eigenschaften bearbeiten', array('title' => 'Eigenschaften bearbeiten'));
$this->navi_array_update();
$this->event_listen();
if (isset($_GET['edit']) && isset($_GET['edit_page']) && !isset($_GET['golive'])) {
$this->noframe = true;
}
}
示例11: show
function show()
{
$year = date("Y");
$month = date("n");
$monate = Date::monate();
$monat = $monate[$month];
$sql = "SELECT * FROM `{$this->db_table}` WHERE `BDM_Monat`='{$month}' AND `BDM_Jahr`='{$year}'";
$result = $this->connection->db_single_row($sql);
extract($result);
$img = Html::img('/Images/Galerie/' . $Dateiname, $Name, array('width' => 450, 'class' => 'rahmen', 'title' => $Name . ' - klicken für mehr Informationen'));
$link = Html::a('/Bilder?Detailid=' . $id, $img);
$return = $link . Html::h(2, "Bild des Monats {$monat} {$year}", array('style' => 'font-size:18px;text-indent:3px;'));
$return .= Html::p("\"{$Name}\"", array('style' => 'color:white;font-size:18px;margin-top:15px;text-indent:3px;'));
$return .= Html::p("{$Technik}, {$Jahr}", array('style' => 'text-indent:3px;'));
return $return;
}
示例12: DirList
function DirList($start_folder = '')
{
$this->list_id = $start_folder;
$this->start_folder = $start_folder != '' ? INSTALL_PATH . '/Download/' . $start_folder : INSTALL_PATH . '/Download';
$this->list_path = '/' . $_GET['list'] ? $_GET['list'] : '';
$this->icons = array();
$this->icons['folder'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/folder.png');
$this->icons['file'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/file.png');
$this->icons['pdf'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/pdf.png');
$this->icons['excel'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/excel.png');
$this->icons['word'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/word.png');
$this->icons['jpg'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/jpg.png');
$this->icons['gif'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/png.png');
$this->icons['png'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/png.png');
$this->icons['sound'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/sound.png');
$this->icons['zip'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/zip.png');
$this->icons['download'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/download.png');
}
示例13: ofertas_novedades
/**
* Página de inicio de muebleBBB
* @param array $ofertas -> Array de Productos en oferta
* @param array $novedades -> Array de Productos novedad
*/
function ofertas_novedades($ofertas, $novedades)
{
echo Html::div_("contenedor_inicio");
// Columna izquierda "Ofertas"
echo Html::div_("ofertas columnas_inicio left") . Html::seccion(1, "Ofertas");
foreach ($ofertas as $oferta) {
$precio_descuento = $oferta->__get("precio") - $oferta->__get("precio") / 100 * $oferta->__get("descuento");
echo Html::div_("contenedor_producto") . Html::a_("catalogo.php?id_producto={$oferta->__get("codigo")}") . Html::img("{$oferta->__get("imagen")}", "{$oferta->__get("nombre")}") . Html::span("{$oferta->__get("descuento")}%", "oferta") . Html::seccion(2, "{$oferta->__get("nombre")}", "nombre_producto") . Html::div_("detalles") . Html::p("{$oferta->__get("categoria")}", "categoria") . Html::p_("{$precio_descuento} €", "precio") . Html::br() . Html::del("{$oferta->__get("precio")}€", "precio_antes") . Html::_p() . Html::_div() . Html::_a() . Html::_div();
}
echo Html::_div();
// Fin columna izquierda "Ofertas"
// Columna derecha "Novedades"
echo Html::div_("novedades columnas_inicio right") . Html::seccion(1, "Novedades");
foreach ($novedades as $novedad) {
echo Html::div_("contenedor_producto") . Html::a_("catalogo.php?id_producto={$novedad->__get("codigo")}") . Html::img("{$novedad->__get("imagen")}", "{$novedad->__get("nombre")}") . Html::div_("novedad") . Html::img("../imagenes/nuevo.png", "etiqueta indicando novedad", "etiqueta_nuevo") . Html::_div() . Html::seccion(2, "{$novedad->__get("nombre")}", "nombre_producto") . Html::div_("detalles") . Html::p("{$novedad->__get("categoria")}", "categoria") . Html::p("{$novedad->__get("precio")}€", "precio") . Html::_div() . Html::_div() . Html::_a();
}
echo Html::_div();
echo Html::_div();
}
示例14: DirList
function DirList($start_folder = '', $db_connection = '', $path_information = '')
{
$this->list_id = $start_folder;
$this->start_folder = $start_folder != '' ? INSTALL_PATH . '/Download/' . $start_folder : INSTALL_PATH . '/Download';
$this->connection = $db_connection != '' ? $db_connection : new RheinaufDB();
$path_information != '' ? $this->extract_to_this($path_information) : $this->pfad();
$this->list_path = '/' . $_GET['list'] ? $_GET['list'] : '';
$this->icons = array();
$this->icons['folder'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/folder.png');
$this->icons['file'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/file.png');
$this->icons['pdf'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/pdf.png');
$this->icons['excel'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/excel.png');
$this->icons['word'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/word.png');
$this->icons['jpg'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/jpg.png');
$this->icons['gif'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/png.png');
$this->icons['png'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/png.png');
$this->icons['sound'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/sound.png');
$this->icons['zip'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/zip.png');
$this->icons['download'] = Html::img('/' . INSTALL_PATH . '/Module/DirList/Icons/download.png');
}
示例15: display
public function display()
{
$iae8c74e5273dec25096dbae362493a9f609ecfc8 = parent::display();
$i84bc545bbb2cff247d6ae6400af05eeb443267d9 = $this->getCoupons();
if (function_exists("filter_input")) {
$i2fb7b08d75ddb5bf1383929c82f63cb5beaca6da = filter_input(INPUT_GET, "recipient", FILTER_SANITIZE_STRING);
$iab6a314decb74f5c532ecb082cfeb1655b9e98bb = filter_input(INPUT_GET, "country", FILTER_SANITIZE_STRING);
} else {
$i2fb7b08d75ddb5bf1383929c82f63cb5beaca6da = $_GET["recipient"];
$iab6a314decb74f5c532ecb082cfeb1655b9e98bb = $_GET["country"];
}
if ($this->recipients == "" && ($i2fb7b08d75ddb5bf1383929c82f63cb5beaca6da != null && $iab6a314decb74f5c532ecb082cfeb1655b9e98bb != null)) {
$i4367816f1ae76ddc44b3953c9ce6460e181a0a3a = new SmsModel($this->getDb());
$this->recipients = $i4367816f1ae76ddc44b3953c9ce6460e181a0a3a->number($i2fb7b08d75ddb5bf1383929c82f63cb5beaca6da, 0, 0, $iab6a314decb74f5c532ecb082cfeb1655b9e98bb)->getNumber() . ", ";
} elseif ($this->recipients == "" && $i2fb7b08d75ddb5bf1383929c82f63cb5beaca6da != null) {
$this->recipients = $i2fb7b08d75ddb5bf1383929c82f63cb5beaca6da . ", ";
}
$iae8c74e5273dec25096dbae362493a9f609ecfc8 .= ' <script type="text/javascript"> var v_smsmarketing_longtext = "' . v_smsmarketing_longtext . '"; var v_smsmarketing_jstotalcustomers = "' . v_smsmarketing_jstotalcustomers . '"; var v_smsmarketing_jstotalsms = "' . v_smsmarketing_jstotalsms . '"; var v_smsmarketing_jschars = "' . v_smsmarketing_jschars . '"; var v_smsanswers_sms = "' . v_smsanswers_sms . '"; </script> ';
$iae8c74e5273dec25096dbae362493a9f609ecfc8 .= '<h2>' . v_sendsms_sendsms . '</h2> <p>' . v_sendsms_sendtext . '</p>';
$if429efc5a59c5e838378c1af65309e5e9550c9de = $this->getTimezoneSettings();
$iae8c74e5273dec25096dbae362493a9f609ecfc8 .= $this->getTemplateRepalce();
$i738fb66ac1450318a6afd838e3ce268b59e35f75 = new DateTime($this->laterDate);
$i738fb66ac1450318a6afd838e3ce268b59e35f75->setTimezone(new DateTimeZone($this->timezone));
$iae8c74e5273dec25096dbae362493a9f609ecfc8 .= "<script type=\"text/javascript\" src=\"" . DIR_SMS_JS . "sms.js\"></script>";
$iae8c74e5273dec25096dbae362493a9f609ecfc8 .= '<script type="text/javascript" src="' . DIR_SMS_JS . 'jquery.at.caret.min.js"></script>';
$iae8c74e5273dec25096dbae362493a9f609ecfc8 .= ' <form name="formSMS" action="" method="post" enctype="multipart/form-data"> <fieldset> ' . Html::legend(Html::img(array("src" => self::$transImg)) . " " . v_sendsms_bulksms . "<span class=\"right\"><a href=\"" . $this->smsLinkSaveTemplate() . "\" class=\"ajax\" onclick=\"showPopup();\">[" . v_template_save . "]</a> <a href=\"" . $this->smsLinkSavedTemplate() . "\" class=\"ajax\" onclick=\"showPopup();\">[" . v_template_load . "]</a></span>") . ' <table class="formTableSend"> <tbody> <tr> <td>' . v_smsmarketing_entertext . ':</td> <td>' . v_adminsms_preview . ': <span id="labelSMS" class="note s12 right"></span></td> <td></td> </tr> <tr> <td rowspan=4 class="sendTextArea" id="snippet-textarea">' . self::getTextArea(array("name" => "text", "onchange" => "smsCounter()", "onkeyup" => "smsCounter()", "rows" => 12, "cols" => 60, "class" => "left", "id" => "smsText"), $this->text) . '</td> <td rowspan=4 class="sendTextArea">' . self::getTextArea(array("name" => "preview", "rows" => 12, "cols" => 60, "class" => "left", "id" => "smsPreview", "disabled" => "disabled")) . '</td> <td id="snippet-unicode">' . self::getInput(array("type" => "checkbox", "onchange" => "smsCounter()", "id" => "unicode", "name" => "unicode", "value" => 1), $this->unicode) . ' ' . v_smsmarketing_unicode . ' ' . self::getHint(v_smsmarketing_unicodetext) . '</td> </tr> <tr> <td id="snippet-unique">' . self::getInput(array("type" => "checkbox", "id" => "unique", "name" => "unique", "value" => 1), $this->unique) . ' ' . v_remove_duplicate . '</td> </tr> <tr> <td>' . self::getInput(array("type" => "checkbox", "id" => "sendlater", "name" => "sendlater", "value" => 1, "onclick" => "jQuery('.sendLater').toggleClass('invisibility');"), $this->sendlater) . ' ' . v_smsmarketing_sendlater . '</td> </tr> <tr> <td> <table class="sendLater ' . ($this->sendlater == 1 ? "" : "invisibility") . '"> <tr> <td>' . v_smsmarketing_date . '</td> <td>' . self::getInput(array("type" => "text", "id" => "datetimepicker", "class" => "datetime", "name" => "laterdate")) . '</td> </tr> <tr> <td>' . v_smsmarketing_yourtime . '</td> <td>' . self::getSelect(array("name" => "datereal"), array(-1 => $if429efc5a59c5e838378c1af65309e5e9550c9de . " -" . v_smsmarketing_hr, 0 => $if429efc5a59c5e838378c1af65309e5e9550c9de, 1 => $if429efc5a59c5e838378c1af65309e5e9550c9de . " +" . v_smsmarketing_hr), $this->datereal) . '</td> </tr> <tr> <td></td> <td>(' . v_smsmarketing_timezone . '<a href="' . $this->smsLinkTimezone() . '">' . $this->timezone . '</a>)</td> </tr> </table> </td> </tr> <tr> <td colspan="2"><p>' . v_smsprestashop_notice . '</p> <p>' . $this->getStoreForm($this->store) . " " . $this->getTags(self::$MarketingTemplateShop) . '<p/> ' . $this->getCouponForm($i84bc545bbb2cff247d6ae6400af05eeb443267d9, $this->coupon) . ' </td> <td class="bottom"></td> </tr> </tbody> </table> </fieldset> <fieldset> ' . Html::legend(Html::img(array("src" => self::$adminCustomerImg)) . ' ' . v_sendsms_addrecipients . ' ' . self::getHint(v_sendsms_addtext) . ' ' . v_sendsms_eg) . ' <table class="formTableSend"> <tbody> <tr> <td class="sendTextArea" rowspan="4">' . self::getTextArea(array("name" => "recipients", "id" => "recipients", "cols" => 80, "rows" => 8), $this->recipients) . '</td> <td> ' . v_sendsms_addcsv_vcard . ' ' . self::getHint(v_sendsms_csvtext) . '</td> </tr> <tr> <td class="top">' . self::getInput(array("type" => "file", "name" => "sms_file")) . '</td> </tr> <tr> <td><h3> <img src="' . self::$adminEmployeesImg . '" alt="" /> <a href="' . $this->smsLinkAddressBook() . '" class="ajax" onclick="showPopup();">' . v_sendsms_addrecipients . '</a></h3></td> </tr> <tr> <td></td> </tr> <tr> <td></td> <td class="top">' . self::getInput(array("type" => "submit", "name" => "submitSendSmsSendSMS", "value" => v_smsmarketing_send, "class" => "button", "onclick" => "return confirmSend('" . v_smsmarketing_send . "', '" . v_smsanswers_sms . "');")) . '</td> </tr> </tbody> </table> </fieldset> </form> ';
if (defined("SMS_CLOSE_SYMBOL")) {
$if4a22975defb18dcde9f11b9d3783f045bc15a73 = SMS_CLOSE_SYMBOL;
} else {
$if4a22975defb18dcde9f11b9d3783f045bc15a73 = "×";
}
$iae8c74e5273dec25096dbae362493a9f609ecfc8 .= ' <div id="popup"> <p class="popuphead"> <span id="snippet-popuphead"></span> <span class="close right" onclick="showPopup();">' . $if4a22975defb18dcde9f11b9d3783f045bc15a73 . '</span> </p> <div class="popupcontent"> <p id="snippet-popupcontent"></p> </div> </div> <div id="popupbackground"></div> ';
$iae8c74e5273dec25096dbae362493a9f609ecfc8 .= self::getAjaxLoader("submitSend", "<div id=\"smsloader\"><h3>" . v_send_busy . "</h3><br/><img src=\"" . self::$busy . "\" /></div><div id=\"smsloaderbackground\"></div>");
$iae8c74e5273dec25096dbae362493a9f609ecfc8 .= " <script type=\"text/javascript\"> jQuery('#datetimepicker').datetimepicker({ lang:'" . lang_iso_code . "', value:'" . $i738fb66ac1450318a6afd838e3ce268b59e35f75->format("Y-m-d H:i") . "' }); smsCounter(); toggleCouponVariables(); </script> ";
return $iae8c74e5273dec25096dbae362493a9f609ecfc8;
}