noalyss Version-9
Static Public Member Functions
Icon_Action Class Reference

Utility , library of icon with javascript. More...

+ Collaboration diagram for Icon_Action:

Static Public Member Functions

static button_magnifier ($id, $p_javascript, $p_style="")
 Display a icon with a magnify glass. More...
 
static cancel ($p_id, $p_javascript)
 Display the icon to modify a idem. More...
 
static card ($p_js)
 
static checkbox ($p_id, $p_javascript="", $p_value=0, $p_classrange="")
 
static checked ($p_id, $p_javascript="", $p_classrange="")
 
static clean_zone ($id, $p_javascript, $p_style="")
 
static close ($p_div)
 Return a html string with an anchor which close the inside popup. More...
 
static comment ($p_comment)
 Display a info in a bubble, text is given as parameter. More...
 
static detail ($p_id, $p_javascript)
 
static detail_anchor ($p_id, $url)
 
static draggable ($p_div)
 Display a icon for fix or move a div. More...
 
static duplicate ($p_js)
 
static full_size ($p_div)
 
static hide ($action, $javascript)
 Return a html string with an anchor to hide a div, put it in the right corner. More...
 
static hide_icon ( $p_id, $javascript)
 Return a html string with an anchor to hide a div, put it in the right corner. More...
 
static icon_add ($id, $p_javascript, $p_style="")
 
static icon_magnifier ($id, $p_javascript, $p_style="")
 Display a icon with a magnify glass. More...
 
static icon_onoff ($p_id, $p_javascript, $p_style, $p_value)
 Display a icon ON is $p_value == 1 otherwise OFF. More...
 
static iconoff ($p_id, $p_javascript, $p_style="")
 Display a icon OFF. More...
 
static iconon ($p_id, $p_javascript, $p_style="")
 Display a icon ON. More...
 
static infobulle ($p_comment)
 Display a info in a bubble, text is in message_javascript. More...
 
static less ($p_id, $p_javascript)
 
static lock ($p_id, $p_javascript)
 Display the icon of a padlock to lock or unlock element. More...
 
static longer ($p_domid, $p_size)
 Increase size of input_text (p_domid) with p_domid. More...
 
static menu_click ($p_id, $p_javascript)
 When a mouse is over this or if you click on it , it will trigger the javascript. More...
 
static modify ($p_id, $p_javascript)
 Display the icon to modify a idem. More...
 
static more ($p_id, $p_javascript)
 
static option ($p_js)
 
static show_icon ($p_id, $javascript)
 Return a html string with an eye. More...
 
static show_note ($p_domid)
 Increase size of input_text (p_domid) with p_domid. More...
 
static slider ($p_id, $p_javascript)
 Display the icon of a slider. More...
 
static tips ($p_comment)
 Display a info in a bubble, text is given as parameter. More...
 
static toggle_hide ($p_id, $p_id_to_hide)
 hide or display an element, to be used for an accordon More...
 
static trash ($p_id, $p_javascript)
 Display the icon of a trashbin. More...
 
static unchecked ($p_id, $p_javascript="", $p_classrange="")
 
static unlock ($p_id, $p_javascript)
 Display the icon of a trashbin. More...
 
static validate ($p_id, $p_javascript)
 Display the icon to modify a idem. More...
 
static warnbulle ($p_comment)
 Display a warning in a bubble, text is in message_javascript. More...
 
static zoom ($p_div, $p_javascript)
 Display a icon for zooming. More...
 

Detailed Description

Utility , library of icon with javascript.

Definition at line 30 of file icon_action.class.php.

Member Function Documentation

◆ button_magnifier()

static Icon_Action::button_magnifier (   $id,
  $p_javascript,
  $p_style = "" 
)
static

Display a icon with a magnify glass.

Parameters
string$idid of element
string$p_javascript
string$p_styleoptionnal HTML code
Returns
type

Definition at line 54 of file icon_action.class.php.

55 {
56 $r="";
57 $r.=sprintf('<input type="button" id="%s" class=" smallbutton icon" style="%s" onclick="%s" value="&#xf50d;">',
58 $id, $p_style, $p_javascript);
59 return $r;
60 }
catch(Exception $exc) if(! $g_user->can_write_action($ag_id)) $r

References $id, and $r.

Referenced by ICard\search().

◆ cancel()

static Icon_Action::cancel (   $p_id,
  $p_javascript 
)
static

Display the icon to modify a idem.

Parameters
type$p_id
type$p_javascript
Returns
string

Definition at line 296 of file icon_action.class.php.

297 {
298 $r='<span id="'.$p_id.'" onclick="'.$p_javascript.'" style="background-color:lightgrey; border:1px solid blue;padding:2px;margin:0px 1px 0px 1px" class="smallicon icon" >&#xe845;</span>';
299
300 return $r;
301 }

References $r.

Referenced by Inplace_Edit\ajax_input(), and INum\change().

◆ card()

static Icon_Action::card (   $p_js)
static

Definition at line 451 of file icon_action.class.php.

451 {
452 $r=sprintf('<span id="%s" onclick="%s" class="icon smallbutton">%s</span>',
453 uniqid(),$p_js,"&#xe843;");
454 return $r;
455 }

References $r.

◆ checkbox()

static Icon_Action::checkbox (   $p_id,
  $p_javascript = "",
  $p_value = 0,
  $p_classrange = "" 
)
static

Definition at line 435 of file icon_action.class.php.

435 {
436 if ( $p_value == 0 ) { return \Icon_Action::checked($p_id, $p_javascript,$p_classrange); }
437 if ( $p_value == 1 ) { return \Icon_Action::unchecked($p_id, $p_javascript,$p_classrange);}
438 }

References $p_id.

◆ checked()

static Icon_Action::checked (   $p_id,
  $p_javascript = "",
  $p_classrange = "" 
)
static

Definition at line 416 of file icon_action.class.php.

416 {
417 $lock_cur="&#xe741;";
418 $r=sprintf( '<span id="%s" onclick="%s" class="icon smallicon %s" >%s</span>',
419 $p_id,
420 $p_javascript,
421 $p_classrange,
422 $lock_cur);
423 return $r;
424 }

References $p_id, and $r.

Referenced by InputCheckBox\display(), and InputCheckBox\input().

◆ clean_zone()

static Icon_Action::clean_zone (   $id,
  $p_javascript,
  $p_style = "" 
)
static
Parameters
string$id
string$p_javascript
stringopt $p_style
Returns
html string

Definition at line 83 of file icon_action.class.php.

84 {
85 $r=sprintf('<input class="smallbutton " onclick="%s" id="%s" value="X" %s type="button" style="">',
86 $p_javascript, $id, $p_style
87 );
88 return $r;
89 }

References $id, and $r.

Referenced by ICard\input().

◆ close()

static Icon_Action::close (   $p_div)
static

Return a html string with an anchor which close the inside popup.

(top-right corner)

Parameters
nameof the DIV to close

Definition at line 170 of file icon_action.class.php.

171 {
172 $r='';
173 $r.=sprintf('<A class="icon text-danger" onclick="removeDiv(\'%s\')">&#xe816;</A>',
174 $p_div);
175 return $r;
176 }

Referenced by HtmlInput\title_box().

◆ comment()

static Icon_Action::comment (   $p_comment)
static

Display a info in a bubble, text is given as parameter.

Parameters
string$p_comment
Returns
html string

Definition at line 126 of file icon_action.class.php.

127 {
128 $p_comment=noalyss_str_replace("'",' ',$p_comment);
129 $js=sprintf("displayBulle('%s')",$p_comment);
130
131 $r=sprintf('<span tabindex="-1" class="icon" style="cursor:pointer;display:inline;text-decoration:none;" onmouseover="%s" onclick="%s" onmouseout="hideBulle(0)">',
132 $js,$js);
133 $r.="&#xf0e5;";
134 $r.='</span>';
135
136 return $r;
137 }
noalyss_str_replace($search, $replace, $string)
Definition: ac_common.php:1553

◆ detail()

static Icon_Action::detail (   $p_id,
  $p_javascript 
)
static

Definition at line 302 of file icon_action.class.php.

303 {
304 $r=sprintf('<span id="%s" onclick="%s" class="smallicon icon" style="margin-left:5px">&#xe803;</span>',
305 $p_id,
306 $p_javascript);
307 return $r;
308 }

References $p_id, and $r.

◆ detail_anchor()

static Icon_Action::detail_anchor (   $p_id,
  $url 
)
static

Definition at line 310 of file icon_action.class.php.

311 {
312 $r=sprintf('
313 <A HREF="%s">
314 <span id="%s" class="smallicon icon" style="margin-left:5px">&#xe803;</span></A>',
315 $url
316 ,$p_id);
317
318 return $r;
319 }
$url

References $p_id, $r, and $url.

◆ draggable()

static Icon_Action::draggable (   $p_div)
static

Display a icon for fix or move a div.

Parameters
string$p_divid of the div to fix/move
string$p_javascript
Returns
html string

Definition at line 184 of file icon_action.class.php.

185 {
186 $drag=sprintf('<span id="pin_%s" style="" class="icon " onclick="pin(\'%s\')" >'.UNPINDG.'</span>',
187 $p_div, $p_div);
188 return $drag;
189 }
const UNPINDG
Definition: constant.php:348

References UNPINDG.

Referenced by HtmlInput\title_box().

◆ duplicate()

static Icon_Action::duplicate (   $p_js)
static

Definition at line 446 of file icon_action.class.php.

446 {
447 $r=sprintf('<span id="%s" onclick="%s" class="icon smallicon">%s</span>',
448 uniqid(),$p_js,"&#xf0c5;");
449 return $r;
450 }

References $r.

◆ full_size()

static Icon_Action::full_size (   $p_div)
static

Definition at line 439 of file icon_action.class.php.

439 {
440 $js=sprintf("full_size('%s')",$p_div);
441 $icon="&#xe80a;";
442 $r=sprintf('<span id="size_%s" onclick="%s" class="icon smallicon">%s</span>',
443 $p_div,$js,$icon);
444 return $r;
445 }

References $js, and $r.

Referenced by HtmlInput\title_box().

◆ hide()

static Icon_Action::hide (   $action,
  $javascript 
)
static

Return a html string with an anchor to hide a div, put it in the right corner.

Parameters
$actionaction action to perform (message)
$javascriptjavascript
Note
not protected against html
See also
Acc_Ledger::display_search_form

Definition at line 225 of file icon_action.class.php.

226 {
227 $r='';
228 $r.='<span id="hide" style="" class="icon text-danger" onclick="'.$javascript.'">'.$action.'</span>';
229 return $r;
230 }
$action

References $action, and $r.

Referenced by HtmlInput\title_box().

◆ hide_icon()

static Icon_Action::hide_icon (   $p_id,
  $javascript 
)
static

Return a html string with an anchor to hide a div, put it in the right corner.

Parameters
$actionaction action to perform (message)
$javascriptjavascript
Note
not protected against html
See also
Acc_Ledger::display_search_form

Definition at line 238 of file icon_action.class.php.

239 {
240 $r='';
241 $r.='<span id="'.$p_id.'" class="icon" onclick="'.$javascript.'">'."&#xe83b;".'</span>';
242 return $r;
243 }

References $r.

◆ icon_add()

static Icon_Action::icon_add (   $id,
  $p_javascript,
  $p_style = "" 
)
static
Parameters
type$id
type$p_javascript
type$p_style
Returns
type

Definition at line 69 of file icon_action.class.php.

70 {
71 $r=sprintf('<input class="smallbutton icon" onclick="%s" id="%s" type="button" %s value="&#xe828;">',
72 $p_javascript, $id, $p_style);
73 return $r;
74 }

References $id, and $r.

Referenced by Acc_Ledger\add_card(), and Template_Card_Category\input().

◆ icon_magnifier()

static Icon_Action::icon_magnifier (   $id,
  $p_javascript,
  $p_style = "" 
)
static

Display a icon with a magnify glass.

Parameters
string$idid of element
string$p_javascript
string$p_styleoptionnal HTML code
Returns
type

Definition at line 40 of file icon_action.class.php.

41 {
42 $r="";
43 $r.=sprintf('<span id="%s" class=" smallbutton icon" style="%s" onclick="%s">&#xf50d;</span>',
44 $id, $p_style, $p_javascript);
45 return $r;
46 }

References $id, and $r.

Referenced by Anc_Print\display_form(), Anc_Balance_Double\display_form(), IPoste\dsp_button(), and IConcerned\input().

◆ icon_onoff()

static Icon_Action::icon_onoff (   $p_id,
  $p_javascript,
  $p_style,
  $p_value 
)
static

Display a icon ON is $p_value == 1 otherwise OFF.

Parameters
string$p_divid of element
string$p_javascript
string$p_styleoptionnal HTML code
integer0 or 1 , 0 means OFF and 1 means ON
Returns
html string

Definition at line 410 of file icon_action.class.php.

411 {
412 if ( $p_value == 1 ) { return \Icon_Action::iconon($p_id, $p_javascript,$p_style);}
413 if ( $p_value == 0 ) { return \Icon_Action::iconoff($p_id, $p_javascript,$p_style);}
414 }

References $p_id.

◆ iconoff()

static Icon_Action::iconoff (   $p_id,
  $p_javascript,
  $p_style = "" 
)
static

Display a icon OFF.

Parameters
string$p_divid of element
string$p_javascript
string$p_styleoptionnal HTML code
Returns
html string

Definition at line 159 of file icon_action.class.php.

160 {
161 $r=sprintf('<span style="color:red;cursor:pointer" id="%s" class="icon" style="%s" onclick="%s">&#xf204;</span>',
162 $p_id, $p_style, $p_javascript);
163 return $r;
164 }

Referenced by Inplace_Switch\__construct(), InputSwitch\display(), Periode_Ledger_Table\display_row(), Periode\display_row_global(), and InputSwitch\input().

◆ iconon()

static Icon_Action::iconon (   $p_id,
  $p_javascript,
  $p_style = "" 
)
static

Display a icon ON.

Parameters
string$p_divid of element
string$p_javascript
string$p_styleoptionnal HTML code
Returns
html string

Definition at line 145 of file icon_action.class.php.

146 {
147 $r=sprintf('<span style="color:green;cursor:pointer" id="%s" class="icon" style="%s" onclick="%s">&#xf205;</span>',
148 $p_id, $p_style, $p_javascript);
149 return $r;
150 }

Referenced by Inplace_Switch\__construct(), InputSwitch\display(), Periode_Ledger_Table\display_row(), Periode\display_row_global(), and InputSwitch\input().

◆ infobulle()

static Icon_Action::infobulle (   $p_comment)
static

Display a info in a bubble, text is in message_javascript.

Parameters
integer$p_comment
See also
message_javascript.php
Returns
html string
Examples
ajax_manage_table_sql.php, and test_manage_table_sql.php.

Definition at line 97 of file icon_action.class.php.

98 {
99 $r='<span tabindex="-1" class="icon" style="cursor:pointer;display:inline;text-decoration:none;" onmouseover="showBulle(\''.$p_comment.'\')" onclick="showBulle(\''.$p_comment.'\')" onmouseout="hideBulle(0)">';
100 $r.="&#xf086;";
101 $r.='</span>';
102
103 return $r;
104 }

References $r.

Referenced by Card_Property\build_input(), Acc_Ledger_Purchase\confirm(), Acc_Ledger_Sale\confirm(), Pre_Op_Advanced\display(), Anc_Print\display_form(), Acc_Ledger_Fin\input(), Acc_Ledger\input(), Acc_Ledger_Purchase\input(), Acc_Ledger_Sale\input(), Tva_Rate_MTable\input(), Manage_Table_SQL\input(), Card_Property\print(), and Acc_Ledger_Search\search_form().

◆ less()

static Icon_Action::less (   $p_id,
  $p_javascript 
)
static

Definition at line 327 of file icon_action.class.php.

328 {
329 $r=sprintf('<span id="%s" onclick="%s" class="smallicon icon" style="margin-left:5px">&#xe827;</span>',
330 $p_id,
331 $p_javascript);
332 return $r;
333 }

References $p_id, and $r.

Referenced by Anticipation\input_category().

◆ lock()

static Icon_Action::lock (   $p_id,
  $p_javascript 
)
static

Display the icon of a padlock to lock or unlock element.

Parameters
string$p_idDOMid
string$p_javascript
Returns
htmlString

Definition at line 354 of file icon_action.class.php.

355 {
356 $lock_cur="&#xe831;";
357 $lock_next="&#xe832;";
358
359 $r=sprintf( '<span id="%s" is_locked="1" onclick="toggle_lock(\'%s\');%s" class="icon smallicon">%s</span>',
360 $p_id,
361 $p_id,
362 $p_javascript,
363 $lock_cur);
364 return $r;
365 }

References $p_id, and $r.

◆ longer()

static Icon_Action::longer (   $p_domid,
  $p_size 
)
static

Increase size of input_text (p_domid) with p_domid.

Parameters
$p_domiddomid of the input "text" element
$p_sizesize of the element
Returns
string HTML string

Definition at line 468 of file icon_action.class.php.

468 {
469 $r=sprintf('<span id="%s_longer" '.
470 ' onclick="enlarge_text(\'%s\',\'%s\') "'.
471 ' class="icon smallicon">%s</span>',
472 $p_domid,$p_domid,$p_size,"&#xf138");
473 return $r;
474 }

References $r.

Referenced by Acc_Ledger\input().

◆ menu_click()

static Icon_Action::menu_click (   $p_id,
  $p_javascript 
)
static

When a mouse is over this or if you click on it , it will trigger the javascript.

Parameters
domid$p_id
string$p_javascript
Returns
html string

Definition at line 340 of file icon_action.class.php.

341 {
342
343 $r=sprintf('<input type="button" id="%s" onclick="%s" class="smallbutton icon" value="&#xf142;" style="font-weigth:bolder">',
344 $p_id,
345 $p_javascript);
346 return $r;
347 }

References $p_id, and $r.

◆ modify()

static Icon_Action::modify (   $p_id,
  $p_javascript 
)
static

Display the icon to modify a idem.

Parameters
type$p_id
type$p_javascript
Returns
string

Definition at line 272 of file icon_action.class.php.

273 {
274 $r='<span id="'.$p_id.'" onclick="'.$p_javascript.'" class="smallicon icon" style="margin-left:5px">&#xe80d;</span>';
275
276 return $r;
277 }

References $r.

Referenced by INum\change(), Manage_Table_SQL\display_icon_mod(), Operation_Exercice\display_row(), Forecast_Item_MTable\display_row(), Periode\display_row_global(), and Anc_Operation\html_table().

◆ more()

static Icon_Action::more (   $p_id,
  $p_javascript 
)
static

Definition at line 320 of file icon_action.class.php.

321 {
322 $r=sprintf('<span id="%s" onclick="%s" class="smallicon icon" style="margin-left:5px">&#xe824;</span>',
323 $p_id,
324 $p_javascript);
325 return $r;
326 }

References $p_id, and $r.

Referenced by Acc_Plan_MTable\display_row().

◆ option()

static Icon_Action::option (   $p_js)
static

Definition at line 456 of file icon_action.class.php.

456 {
457 $r=sprintf('<span id="%s" onclick="%s" class="icon smallicon">%s</span>',
458 uniqid(),$p_js,"&#xf142;");
459 return $r;
460 }

References $r.

◆ show_icon()

static Icon_Action::show_icon (   $p_id,
  $javascript 
)
static

Return a html string with an eye.

Parameters
type$javascript
Returns
string

Definition at line 249 of file icon_action.class.php.

249 {
250 $r='';
251 $r.='<span id="'.$p_id.'" class="icon" onclick="'.$javascript.'">&#xe803;</span>';
252 return $r;
253
254 }

References $r.

◆ show_note()

static Icon_Action::show_note (   $p_domid)
static

Increase size of input_text (p_domid) with p_domid.

Parameters
$p_domiddomid of the input "text" element
$p_sizesize of the element
Returns
string HTML string

Definition at line 481 of file icon_action.class.php.

481 {
482 $r='<span id="'.uniqid().'" class="smallicon icon" style="background-color:yellow" onclick="document.getElementById(\''.$p_domid.'\').show()">&#xf0f6;</span>';
483 return $r;
484 }

References $r.

Referenced by Acc_Ledger\input().

◆ slider()

static Icon_Action::slider (   $p_id,
  $p_javascript 
)
static

Display the icon of a slider.

Parameters
string$p_idDOMid
string$p_javascript
Returns
htmlString

Definition at line 390 of file icon_action.class.php.

391 {
392
393 $lock_cur="&#xf1de;";
394
395 $r=sprintf( '<span id="%s" onclick="%s" class="icon smallicon">%s</span>',
396 $p_id,
397 $p_javascript,
398 $lock_cur);
399 return $r;
400 }

References $p_id, and $r.

◆ tips()

static Icon_Action::tips (   $p_comment)
static

Display a info in a bubble, text is given as parameter.

Parameters
string$p_comment
Returns
html string

Definition at line 111 of file icon_action.class.php.

112 {
113 $p_comment=noalyss_str_replace("'",' ',$p_comment);
114 $r='<span tabindex="-1" class="icon" style="cursor:pointer;display:inline;text-decoration:none;" onmouseover="displayBulle(\''.$p_comment.'\')" onclick="displayBulle(\''.$p_comment.'\')" onmouseout="hideBulle(0)">';
115 $r.="&#xf086;";
116 $r.='</span>';
117
118 return $r;
119 }

◆ toggle_hide()

static Icon_Action::toggle_hide (   $p_id,
  $p_id_to_hide 
)
static

hide or display an element, to be used for an accordon

Parameters
$p_idip of the icon
$p_id_to_hideelement to hide or show
Returns
HTML string

Definition at line 492 of file icon_action.class.php.

493 {
494 $javascript=sprintf("toggleHideShow('%s','%s',true)",$p_id_to_hide,$p_id);
495 $r=sprintf('<i id="%s" onclick="%s" class="smallicon icon icon-down-open-2" style="margin-left:5px"></i>',
496 $p_id,$javascript
497 );
498 return $r;
499 }

Referenced by Output_Html_Tab\build_js().

◆ trash()

static Icon_Action::trash (   $p_id,
  $p_javascript 
)
static

Display the icon of a trashbin.

Parameters
string$p_idDOMid
string$p_javascript
Returns
htmlString

Definition at line 261 of file icon_action.class.php.

262 {
263 $r='<span id="'.$p_id.'" onclick="'.$p_javascript.'" class="smallicon icon">&#xe80f;</span>';
264 return $r;
265 }

References $r.

Referenced by Follow_Up\display_children(), Manage_Table_SQL\display_icon_del(), Follow_Up\display_parent(), Follow_Up_Other_Concerned\display_row(), Forecast_Item_MTable\display_row(), Periode\display_row_global(), Template_Card_Category\input(), Tag_Group_MTable\input_tag(), Profile_Menu\sub_menu(), and Follow_Up\tag_cell().

◆ unchecked()

static Icon_Action::unchecked (   $p_id,
  $p_javascript = "",
  $p_classrange = "" 
)
static

Definition at line 425 of file icon_action.class.php.

425 {
426 $lock_cur="&#xf096";
427
428 $r=sprintf( '<span id="%s" onclick="%s" class="icon smallicon %s" >%s</span>',
429 $p_id,
430 $p_javascript,
431 $p_classrange,
432 $lock_cur);
433 return $r;
434 }

References $p_id, and $r.

Referenced by InputCheckBox\display(), and InputCheckBox\input().

◆ unlock()

static Icon_Action::unlock (   $p_id,
  $p_javascript 
)
static

Display the icon of a trashbin.

Parameters
string$p_idDOMid
string$p_javascript
Returns
htmlString

Definition at line 372 of file icon_action.class.php.

373 {
374
375 $lock_cur="&#xe832;";
376
377 $r=sprintf( '<span id="%s" is_locked="0" onclick="toggle_lock(\'%s\');%s" class="icon smallicon">%s</span>',
378 $p_id,
379 $p_id,
380 $p_javascript,
381 $lock_cur);
382 return $r;
383 }

References $p_id, and $r.

◆ validate()

static Icon_Action::validate (   $p_id,
  $p_javascript 
)
static

Display the icon to modify a idem.

Parameters
type$p_id
type$p_javascript
Returns
string

Definition at line 284 of file icon_action.class.php.

285 {
286 $r='<span id="'.$p_id.'" onclick="'.$p_javascript.'" class="smallicon icon" style="background-color:lightgrey; border:1px solid blue;padding:2px;margin:0px 1px 0px 1px" >&#xe844;</span>';
287
288 return $r;
289 }

References $r.

Referenced by Inplace_Edit\ajax_input(), and INum\change().

◆ warnbulle()

static Icon_Action::warnbulle (   $p_comment)
static

Display a warning in a bubble, text is in message_javascript.

Parameters
integer$p_comment
See also
message_javascript.php
Returns
html string

Definition at line 210 of file icon_action.class.php.

211 {
212 $r=sprintf('<span tabindex="-1" onmouseover="showBulle(\'%s\')" onclick="showBulle(\'%s\')" onmouseout="hideBulle(0)" style="color:red" class="icon">&#xe80e;</span>',
213 $p_comment, $p_comment);
214
215 return $r;
216 }

References $r.

Referenced by Card_Property\build_input(), mailTo(), and Card_Property\print().

◆ zoom()

static Icon_Action::zoom (   $p_div,
  $p_javascript 
)
static

Display a icon for zooming.

Parameters
string$p_divid of the div to zoom
string$p_javascript
Returns
html string

Definition at line 197 of file icon_action.class.php.

198 {
199 $r=sprintf('<span id="span_%s" class="icon" onclick="%s">
200 &#xf08e;</span>', $p_div, $p_javascript);
201 return $r;
202 }

References $r.

Referenced by HtmlInput\title_box().


The documentation for this class was generated from the following file: