Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F76132194
20151231.proj.01.icon.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Aug 6, 09:26
Size
763 B
Mime Type
text/x-php
Expires
Thu, Aug 8, 09:26 (1 d, 22 h)
Engine
blob
Format
Raw Data
Handle
19654134
Attached To
rPH Phabricator
20151231.proj.01.icon.php
View Options
<?php
$icon_map
=
array
(
'fa-briefcase'
=>
'project'
,
'fa-tags'
=>
'tag'
,
'fa-lock'
=>
'policy'
,
'fa-users'
=>
'group'
,
'fa-folder'
=>
'folder'
,
'fa-calendar'
=>
'timeline'
,
'fa-flag-checkered'
=>
'goal'
,
'fa-truck'
=>
'release'
,
'fa-bug'
=>
'bugs'
,
'fa-trash-o'
=>
'cleanup'
,
'fa-umbrella'
=>
'umbrella'
,
'fa-envelope'
=>
'communication'
,
'fa-building'
=>
'organization'
,
'fa-cloud'
=>
'infrastructure'
,
'fa-credit-card'
=>
'account'
,
'fa-flask'
=>
'experimental'
,
);
$table
=
new
PhabricatorProject
();
$conn_w
=
$table
->
establishConnection
(
'w'
);
foreach
(
$icon_map
as
$old_icon
=>
$new_key
)
{
queryfx
(
$conn_w
,
'UPDATE %T SET icon = %s WHERE icon = %s'
,
$table
->
getTableName
(),
$new_key
,
$old_icon
);
}
Event Timeline
Log In to Comment