Code Duplication    Length = 16-16 lines in 2 locations

class/adsense.php 1 location

@@ 235-250 (lines=16) @@
232
    /**
233
     * @return string
234
     */
235
    public function getCloneLink()
236
    {
237
        $ret = '<a href="' .
238
               SMARTOBJECT_URL .
239
               'admin/adsense.php?op=clone&adsenseid=' .
240
               $this->getVar('adsenseid') .
241
               '"><img src="' .
242
               SMARTOBJECT_IMAGES_ACTIONS_URL .
243
               'editcopy.png" alt="' .
244
               _CO_SOBJECT_ADSENSE_CLONE .
245
               '" title="' .
246
               _CO_SOBJECT_ADSENSE_CLONE .
247
               '" /></a>';
248
249
        return $ret;
250
    }
251
}
252
253
/**

class/smartobjectlink.php 1 location

@@ 129-144 (lines=16) @@
126
    /**
127
     * @return string
128
     */
129
    public function getViewItemLink()
130
    {
131
        $ret = '<a href="' .
132
               SMARTOBJECT_URL .
133
               'admin/link.php?op=view&linkid=' .
134
               $this->getVar('linkid') .
135
               '"><img src="' .
136
               SMARTOBJECT_IMAGES_ACTIONS_URL .
137
               'mail_find.png" alt="' .
138
               _AM_SOBJECT_SENT_LINK_VIEW .
139
               '" title="' .
140
               _AM_SOBJECT_SENT_LINK_VIEW .
141
               '" /></a>';
142
143
        return $ret;
144
    }
145
146
    /**
147
     * @return string